diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 135cfdef..58fe8714 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -34,6 +34,9 @@ jobs: - name: Install dependencies run: | sudo apt-get install jq curl + - name: Set Release version env variable + run: | + echo "RELEASE_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV - name: Run example run: | echo "running example"; @@ -78,7 +81,7 @@ jobs: echo "maven install"; mvn clean install; - export CLASSPATH=.:./src/main/java:./target/lib/gson-2.8.9.jar:./target/talon-one-client-11.0.0.jar:./target/lib/okio-1.17.2.jar:./target/lib/okhttp-3.14.7.jar:./target/lib/threetenbp-1.4.3.jar:./target/lib/gson-fire-1.8.4.jar; + export CLASSPATH=.:./src/main/java:./target/lib/gson-2.8.9.jar:./target/talon-one-client-${{ env.RELEASE_VERSION }}.jar:./target/lib/okio-1.17.2.jar:./target/lib/okhttp-3.14.7.jar:./target/lib/threetenbp-1.4.3.jar:./target/lib/gson-fire-1.8.4.jar; echo "java compile"; javac -d . Example.java; diff --git a/Example.java b/Example.java index d7a2a8ca..2f9f2511 100644 --- a/Example.java +++ b/Example.java @@ -24,7 +24,7 @@ public static void main(String[] args) throws Exception { CartItem cartItem = new CartItem(); cartItem.setName("Hawaiian Pizza"); cartItem.setSku("pizza-x"); - cartItem.setQuantity(1); + cartItem.setQuantity(1L); cartItem.setPrice(new java.math.BigDecimal("5.5")); // Creating a customer session of V2 @@ -35,12 +35,12 @@ public static void main(String[] args) throws Exception { // Initiating integration request wrapping the customer session update IntegrationRequest request = new IntegrationRequest() - .customerSession(customerSession) - // Optional parameter of requested information to be present on the response related to the customer session update - .responseContent(Arrays.asList( - IntegrationRequest.ResponseContentEnum.CUSTOMERSESSION, - IntegrationRequest.ResponseContentEnum.CUSTOMERPROFILE - )); + .customerSession(customerSession) + // Optional parameter of requested information to be present on the response + // related to the customer session update + .responseContent(Arrays.asList( + IntegrationRequest.ResponseContentEnum.CUSTOMERSESSION, + IntegrationRequest.ResponseContentEnum.CUSTOMERPROFILE)); // Flag to communicate whether the request is a "dry run" Boolean dryRun = false; @@ -49,14 +49,15 @@ public static void main(String[] args) throws Exception { IntegrationStateV2 is = iApi.updateCustomerSessionV2("deetdoot", request, dryRun, null); System.out.println(is.toString()); - // Parsing the returned effects list, please consult https://developers.talon.one/Integration-API/handling-effects-v2 for the full list of effects and their corresponding properties + // Parsing the returned effects list, please consult + // https://developers.talon.one/Integration-API/handling-effects-v2 for the full + // list of effects and their corresponding properties for (Effect eff : is.getEffects()) { if (eff.getEffectType().equals("addLoyaltyPoints")) { // Typecasting according to the specific effect type AddLoyaltyPointsEffectProps props = gson.fromJson( - gson.toJson(eff.getProps()), - AddLoyaltyPointsEffectProps.class - ); + gson.toJson(eff.getProps()), + AddLoyaltyPointsEffectProps.class); // Access the specific effect's properties System.out.println(props.getName()); System.out.println(props.getProgramId()); @@ -65,9 +66,8 @@ public static void main(String[] args) throws Exception { if (eff.getEffectType().equals("acceptCoupon")) { // Typecasting according to the specific effect type AcceptCouponEffectProps props = gson.fromJson( - gson.toJson(eff.getProps()), - AcceptCouponEffectProps.class - ); + gson.toJson(eff.getProps()), + AcceptCouponEffectProps.class); // work with AcceptCouponEffectProps' properties // ... } diff --git a/README.md b/README.md index 08227fee..ba0d2a81 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Add this dependency to your project's POM: one.talon talon-one-client - 11.0.0 + 12.0.0 compile ``` @@ -45,7 +45,7 @@ Add this dependency to your project's POM: Add this dependency to your project's build file: ```groovy -compile "one.talon:talon-one-client:11.0.0" +compile "one.talon:talon-one-client:12.0.0" ``` ### Others diff --git a/api/openapi.yaml b/api/openapi.yaml index 0a1f1c41..2129491e 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -687,6 +687,7 @@ paths: name: audienceId required: true schema: + format: int64 type: integer responses: "204": @@ -728,6 +729,7 @@ paths: name: audienceId required: true schema: + format: int64 type: integer requestBody: content: @@ -774,6 +776,7 @@ paths: name: audienceId required: true schema: + format: int64 type: integer responses: "204": @@ -854,6 +857,7 @@ paths: name: audienceId required: true schema: + format: int64 type: integer requestBody: content: @@ -906,6 +910,7 @@ paths: name: loyaltyProgramId required: true schema: + format: int64 type: integer - description: | Identifier of the loyalty card. You can get the identifier with @@ -1496,6 +1501,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -1504,6 +1510,7 @@ paths: in: query name: skip schema: + format: int64 type: integer responses: "200": @@ -1559,6 +1566,7 @@ paths: name: achievementId required: true schema: + format: int64 type: integer - description: | Filter by customer progress status in the achievement. @@ -1593,6 +1601,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -1601,6 +1610,7 @@ paths: in: query name: skip schema: + format: int64 type: integer responses: "200": @@ -1647,6 +1657,7 @@ paths: name: loyaltyProgramId required: true schema: + format: int64 type: integer - description: | Identifier of the loyalty card. You can get the identifier with @@ -1731,6 +1742,7 @@ paths: name: loyaltyProgramId required: true schema: + format: int64 type: integer - description: | The integration identifier for this customer profile. Must be: @@ -1825,6 +1837,7 @@ paths: name: loyaltyProgramId required: true schema: + format: int64 type: integer - description: | Identifier of the loyalty card. You can get the identifier with @@ -1886,6 +1899,7 @@ paths: name: pageSize schema: default: 50 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -1894,6 +1908,7 @@ paths: in: query name: skip schema: + format: int64 type: integer responses: "200": @@ -1944,6 +1959,7 @@ paths: name: loyaltyProgramId required: true schema: + format: int64 type: integer - description: | The integration identifier for this customer profile. Must be: @@ -2003,6 +2019,7 @@ paths: name: pageSize schema: default: 50 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -2011,6 +2028,7 @@ paths: in: query name: skip schema: + format: int64 type: integer responses: "200": @@ -2061,6 +2079,7 @@ paths: name: loyaltyProgramId required: true schema: + format: int64 type: integer - description: | Identifier of the loyalty card. You can get the identifier with @@ -2095,6 +2114,7 @@ paths: name: pageSize schema: default: 50 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -2103,6 +2123,7 @@ paths: in: query name: skip schema: + format: int64 type: integer responses: "200": @@ -2153,6 +2174,7 @@ paths: name: loyaltyProgramId required: true schema: + format: int64 type: integer - description: | The integration identifier for this customer profile. Must be: @@ -2185,6 +2207,7 @@ paths: name: pageSize schema: default: 50 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -2193,6 +2216,7 @@ paths: in: query name: skip schema: + format: int64 type: integer responses: "200": @@ -2235,6 +2259,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -2243,6 +2268,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. @@ -2274,6 +2300,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer responses: "200": @@ -2297,6 +2324,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -2305,6 +2333,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. @@ -2320,6 +2349,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: | Filter results by the state of the campaign. @@ -2374,16 +2404,19 @@ paths: in: query name: campaignGroupId schema: + format: int64 type: integer - description: The ID of the campaign template this campaign was created from. in: query name: templateId schema: + format: int64 type: integer - description: Filter results to campaigns linked to the specified store ID. in: query name: storeId schema: + format: int64 type: integer responses: "200": @@ -2413,6 +2446,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -2420,6 +2454,7 @@ paths: name: campaignId required: true schema: + format: int64 type: integer responses: "204": @@ -2439,6 +2474,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -2446,6 +2482,7 @@ paths: name: campaignId required: true schema: + format: int64 type: integer responses: "200": @@ -2471,6 +2508,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -2478,6 +2516,7 @@ paths: name: campaignId required: true schema: + format: int64 type: integer requestBody: content: @@ -2510,6 +2549,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -2517,6 +2557,7 @@ paths: name: campaignId required: true schema: + format: int64 type: integer requestBody: content: @@ -2549,6 +2590,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -2557,6 +2599,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. @@ -2572,6 +2615,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: | Filter results by the state of the campaign. @@ -2626,6 +2670,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -2634,6 +2679,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. @@ -2649,6 +2695,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -2656,6 +2703,7 @@ paths: name: campaignId required: true schema: + format: int64 type: integer responses: "200": @@ -2679,6 +2727,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -2686,12 +2735,14 @@ paths: name: campaignId required: true schema: + format: int64 type: integer - description: The ID of the ruleset. in: path name: rulesetId required: true schema: + format: int64 type: integer responses: "200": @@ -2715,6 +2766,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -2722,6 +2774,7 @@ paths: name: campaignId required: true schema: + format: int64 type: integer - description: Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric @@ -2810,6 +2863,7 @@ paths: in: query name: referralId schema: + format: int64 type: integer - description: | Filter results by match with a profile ID specified in the coupon's `RecipientIntegrationId` field. @@ -2853,6 +2907,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -2860,6 +2915,7 @@ paths: name: campaignId required: true schema: + format: int64 type: integer requestBody: content: @@ -2910,6 +2966,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -2917,6 +2974,7 @@ paths: name: campaignId required: true schema: + format: int64 type: integer requestBody: content: @@ -2955,6 +3013,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -2962,6 +3021,7 @@ paths: name: campaignId required: true schema: + format: int64 type: integer requestBody: content: @@ -3000,6 +3060,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -3007,6 +3068,7 @@ paths: name: campaignId required: true schema: + format: int64 type: integer requestBody: content: @@ -3040,6 +3102,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -3047,6 +3110,7 @@ paths: name: campaignId required: true schema: + format: int64 type: integer requestBody: content: @@ -3080,6 +3144,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -3088,6 +3153,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. @@ -3103,6 +3169,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -3110,6 +3177,7 @@ paths: name: campaignId required: true schema: + format: int64 type: integer - description: Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric @@ -3169,6 +3237,7 @@ paths: in: query name: referralId schema: + format: int64 type: integer - description: Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. @@ -3249,6 +3318,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -3256,6 +3326,7 @@ paths: name: campaignId required: true schema: + format: int64 type: integer - description: | The internal ID of the coupon code. You can find this value in the `id` property from the @@ -3291,6 +3362,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -3298,6 +3370,7 @@ paths: name: campaignId required: true schema: + format: int64 type: integer - description: | The internal ID of the coupon code. You can find this value in the `id` property from the @@ -3344,6 +3417,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -3352,6 +3426,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. @@ -3367,6 +3442,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -3374,6 +3450,7 @@ paths: name: campaignId required: true schema: + format: int64 type: integer - description: Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric @@ -3422,6 +3499,7 @@ paths: in: query name: referralId schema: + format: int64 type: integer - description: Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. @@ -3478,6 +3556,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -3486,6 +3565,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. @@ -3501,6 +3581,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric @@ -3549,6 +3630,7 @@ paths: in: query name: referralId schema: + format: int64 type: integer - description: Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. @@ -3619,6 +3701,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -3626,6 +3709,7 @@ paths: name: campaignId required: true schema: + format: int64 type: integer - description: The ID of the referral code. in: path @@ -3651,6 +3735,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -3658,6 +3743,7 @@ paths: name: campaignId required: true schema: + format: int64 type: integer - description: The ID of the referral code. in: path @@ -3695,6 +3781,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -3703,6 +3790,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. @@ -3718,6 +3806,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -3725,6 +3814,7 @@ paths: name: campaignId required: true schema: + format: int64 type: integer - description: Filter results performing case-insensitive matching against the referral code. Both the code and the query are folded to remove all non-alpha-numeric @@ -3795,6 +3885,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -3803,6 +3894,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. @@ -3833,6 +3925,7 @@ paths: name: campaignGroupId required: true schema: + format: int64 type: integer responses: "200": @@ -3855,6 +3948,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -3863,6 +3957,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. @@ -3897,6 +3992,7 @@ paths: in: query name: userId schema: + format: int64 type: integer responses: "200": @@ -3925,6 +4021,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer requestBody: content: @@ -3978,6 +4075,7 @@ paths: name: loyaltyProgramId required: true schema: + format: int64 type: integer responses: "200": @@ -4007,6 +4105,7 @@ paths: name: loyaltyProgramId required: true schema: + format: int64 type: integer - description: The ID of the subledger by which we filter the data. in: query @@ -4103,6 +4202,7 @@ paths: name: loyaltyProgramId required: true schema: + format: int64 type: integer requestBody: content: @@ -4166,6 +4266,7 @@ paths: name: loyaltyProgramId required: true schema: + format: int64 type: integer requestBody: content: @@ -4536,6 +4637,7 @@ paths: name: loyaltyProgramId required: true schema: + format: int64 type: integer responses: "200": @@ -4680,6 +4782,7 @@ paths: name: loyaltyProgramId required: true schema: + format: int64 type: integer - description: | Filter results by loyalty transaction type: @@ -4728,6 +4831,7 @@ paths: name: pageSize schema: default: 50 + format: int64 maximum: 50 minimum: 1 type: integer @@ -4736,6 +4840,7 @@ paths: in: query name: skip schema: + format: int64 type: integer responses: "200": @@ -4795,6 +4900,7 @@ paths: name: loyaltyProgramId required: true schema: + format: int64 type: integer requestBody: content: @@ -4849,6 +4955,7 @@ paths: name: loyaltyProgramId required: true schema: + format: int64 type: integer requestBody: content: @@ -4913,6 +5020,7 @@ paths: name: loyaltyProgramId required: true schema: + format: int64 type: integer - description: | Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. @@ -4961,6 +5069,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -4969,6 +5078,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. @@ -4985,6 +5095,7 @@ paths: name: loyaltyProgramId required: true schema: + format: int64 type: integer - description: The card code by which to filter loyalty cards in the response. in: query @@ -4996,6 +5107,7 @@ paths: in: query name: profileId schema: + format: int64 minimum: 1 type: integer - description: Filter results by loyalty card batch ID. @@ -5044,6 +5156,7 @@ paths: name: loyaltyProgramId required: true schema: + format: int64 type: integer requestBody: content: @@ -5104,6 +5217,7 @@ paths: name: loyaltyProgramId required: true schema: + format: int64 type: integer - description: Filter results by loyalty card batch ID. in: query @@ -5154,6 +5268,7 @@ paths: name: loyaltyProgramId required: true schema: + format: int64 type: integer - description: | Identifier of the loyalty card. You can get the identifier with @@ -5195,6 +5310,7 @@ paths: name: loyaltyProgramId required: true schema: + format: int64 type: integer - description: | Identifier of the loyalty card. You can get the identifier with @@ -5246,6 +5362,7 @@ paths: name: loyaltyProgramId required: true schema: + format: int64 type: integer - description: | Identifier of the loyalty card. You can get the identifier with @@ -5307,6 +5424,7 @@ paths: name: loyaltyProgramId required: true schema: + format: int64 type: integer - description: | Identifier of the loyalty card. You can get the identifier with @@ -5365,6 +5483,7 @@ paths: name: loyaltyProgramId required: true schema: + format: int64 type: integer - description: | Identifier of the loyalty card. You can get the identifier with @@ -5425,6 +5544,7 @@ paths: name: loyaltyProgramId required: true schema: + format: int64 type: integer - description: | Identifier of the loyalty card. You can get the identifier with @@ -5506,6 +5626,7 @@ paths: name: loyaltyProgramId required: true schema: + format: int64 type: integer - description: | Identifier of the loyalty card. You can get the identifier with @@ -5545,6 +5666,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -5553,6 +5675,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: The ID of the subledger by which we filter the data. in: query @@ -5600,6 +5723,7 @@ paths: name: loyaltyProgramId required: true schema: + format: int64 type: integer - description: | Identifier of the loyalty card. You can get the identifier with @@ -5683,6 +5807,7 @@ paths: name: poolId required: true schema: + format: int64 type: integer requestBody: content: @@ -5733,6 +5858,7 @@ paths: name: poolId required: true schema: + format: int64 type: integer - description: Timestamp that filters the results to only contain giveaways created before this date. Must be an RFC3339 timestamp string. @@ -5776,6 +5902,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -5784,6 +5911,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. @@ -5888,6 +6016,7 @@ paths: name: collectionId required: true schema: + format: int64 type: integer responses: "204": @@ -5913,6 +6042,7 @@ paths: name: collectionId required: true schema: + format: int64 type: integer responses: "200": @@ -5942,6 +6072,7 @@ paths: name: collectionId required: true schema: + format: int64 type: integer requestBody: content: @@ -5994,6 +6125,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -6002,6 +6134,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. @@ -6009,6 +6142,7 @@ paths: name: collectionId required: true schema: + format: int64 type: integer responses: "200": @@ -6038,12 +6172,14 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The number of items in the response. in: query name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -6052,6 +6188,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. @@ -6103,6 +6240,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -6110,12 +6248,14 @@ paths: name: campaignId required: true schema: + format: int64 type: integer - description: The number of items in the response. in: query name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -6124,6 +6264,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. @@ -6174,6 +6315,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -6181,6 +6323,7 @@ paths: name: campaignId required: true schema: + format: int64 type: integer requestBody: content: @@ -6213,6 +6356,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -6220,6 +6364,7 @@ paths: name: campaignId required: true schema: + format: int64 type: integer - description: The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint. @@ -6227,6 +6372,7 @@ paths: name: collectionId required: true schema: + format: int64 type: integer responses: "204": @@ -6252,6 +6398,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -6259,6 +6406,7 @@ paths: name: campaignId required: true schema: + format: int64 type: integer - description: The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint. @@ -6266,6 +6414,7 @@ paths: name: collectionId required: true schema: + format: int64 type: integer responses: "200": @@ -6294,6 +6443,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -6301,6 +6451,7 @@ paths: name: campaignId required: true schema: + format: int64 type: integer - description: The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint. @@ -6308,6 +6459,7 @@ paths: name: collectionId required: true schema: + format: int64 type: integer requestBody: content: @@ -6367,6 +6519,7 @@ paths: name: collectionId required: true schema: + format: int64 type: integer requestBody: content: @@ -6433,6 +6586,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -6440,6 +6594,7 @@ paths: name: campaignId required: true schema: + format: int64 type: integer - description: The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint. @@ -6447,6 +6602,7 @@ paths: name: collectionId required: true schema: + format: int64 type: integer requestBody: content: @@ -6489,6 +6645,7 @@ paths: name: collectionId required: true schema: + format: int64 type: integer responses: "200": @@ -6528,6 +6685,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -6535,6 +6693,7 @@ paths: name: campaignId required: true schema: + format: int64 type: integer - description: The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint. @@ -6542,6 +6701,7 @@ paths: name: collectionId required: true schema: + format: int64 type: integer responses: "200": @@ -6583,6 +6743,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer responses: "200": @@ -6607,6 +6768,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: Only return results where the request path matches the given regular expression. @@ -6663,6 +6825,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -6671,6 +6834,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. @@ -6702,6 +6866,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -6709,6 +6874,7 @@ paths: name: campaignId required: true schema: + format: int64 type: integer - description: | Only return results from after this timestamp. @@ -6767,6 +6933,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: Filter results performing an exact matching against the profile integration identifier. @@ -6779,6 +6946,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -6787,6 +6955,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: | When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. @@ -6822,12 +6991,14 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The number of items in the response. in: query name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -6836,6 +7007,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: | When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. @@ -6879,6 +7051,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -6887,6 +7060,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: Indicates whether you are pointing to a sandbox or live customer. in: query @@ -6937,6 +7111,7 @@ paths: name: customerId required: true schema: + format: int64 type: integer responses: "200": @@ -6959,6 +7134,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -6967,6 +7143,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: Indicates whether you are pointing to a sandbox or live customer. in: query @@ -6997,6 +7174,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: | The value of the `id` property of a customer profile. Get it with the @@ -7005,6 +7183,7 @@ paths: name: customerId required: true schema: + format: int64 type: integer responses: "200": @@ -7029,6 +7208,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -7037,6 +7217,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. @@ -7076,6 +7257,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: Only return reports matching the customer name. in: query @@ -7120,6 +7302,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -7128,6 +7311,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: | Only return results from after this timestamp. @@ -7159,6 +7343,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: | The value of the `id` property of a customer profile. Get it with the @@ -7167,6 +7352,7 @@ paths: name: customerId required: true schema: + format: int64 type: integer responses: "200": @@ -7189,6 +7375,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -7197,6 +7384,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. @@ -7212,6 +7400,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: | The value of the `id` property of a customer profile. Get it with the @@ -7220,6 +7409,7 @@ paths: name: customerId required: true schema: + format: int64 type: integer responses: "200": @@ -7243,6 +7433,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -7251,6 +7442,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. @@ -7316,6 +7508,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer responses: "200": @@ -7341,6 +7534,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: | The **internal** ID of the session. You can get the ID with the [List Application sessions](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationSessions) endpoint. @@ -7348,6 +7542,7 @@ paths: name: sessionId required: true schema: + format: int64 type: integer responses: "200": @@ -7371,6 +7566,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -7379,6 +7575,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. @@ -7457,6 +7654,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer responses: "200": @@ -7482,6 +7680,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -7490,6 +7689,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. @@ -7505,6 +7705,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer responses: "200": @@ -7528,6 +7729,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -7536,6 +7738,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. @@ -7610,12 +7813,14 @@ paths: name: audienceId required: true schema: + format: int64 type: integer - description: The number of items in the response. in: query name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -7624,6 +7829,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. @@ -7681,6 +7887,7 @@ paths: name: audienceId required: true schema: + format: int64 type: integer requestBody: content: @@ -7737,6 +7944,7 @@ paths: name: audienceId required: true schema: + format: int64 type: integer responses: "200": @@ -7779,6 +7987,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -7787,6 +7996,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. @@ -7802,6 +8012,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: | When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. @@ -7840,6 +8051,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -7848,6 +8060,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. @@ -7921,6 +8134,7 @@ paths: name: attributeId required: true schema: + format: int64 type: integer responses: "200": @@ -7949,6 +8163,7 @@ paths: name: attributeId required: true schema: + format: int64 type: integer requestBody: content: @@ -8001,6 +8216,7 @@ paths: name: attributeId required: true schema: + format: int64 type: integer requestBody: content: @@ -8053,12 +8269,14 @@ paths: name: catalogId required: true schema: + format: int64 type: integer - description: The number of items in the response. in: query name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -8067,6 +8285,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: | When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. @@ -8363,6 +8582,7 @@ paths: name: catalogId required: true schema: + format: int64 type: integer requestBody: content: @@ -8415,6 +8635,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -8423,6 +8644,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. @@ -8481,6 +8703,7 @@ paths: name: additionalCostId required: true schema: + format: int64 type: integer responses: "200": @@ -8504,6 +8727,7 @@ paths: name: additionalCostId required: true schema: + format: int64 type: integer requestBody: content: @@ -8551,6 +8775,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -8559,6 +8784,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: Filter results by creation type. in: query @@ -8580,6 +8806,7 @@ paths: in: query name: outgoingIntegrationsTypeId schema: + format: int64 type: integer - description: Filter results performing case-insensitive matching against the webhook title. @@ -8609,6 +8836,7 @@ paths: name: webhookId required: true schema: + format: int64 type: integer responses: "200": @@ -8633,6 +8861,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -8641,6 +8870,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. @@ -8705,6 +8935,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -8713,6 +8944,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. @@ -8886,11 +9118,13 @@ paths: in: query name: loyaltyProgramId schema: + format: int64 type: integer - description: Filter results by response status code. in: query name: responseCode schema: + format: int64 type: integer - description: Filter results by webhook ID (include up to 30 values, separated by a comma). @@ -8932,6 +9166,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -8940,6 +9175,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. @@ -9000,6 +9236,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -9007,6 +9244,7 @@ paths: name: campaignId required: true schema: + format: int64 type: integer - description: | An indicator of whether to skip duplicate coupon values instead of causing an error. @@ -9078,6 +9316,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: Filter results by campaign ID. in: query @@ -9139,6 +9378,7 @@ paths: in: query name: referralId schema: + format: int64 type: integer - description: Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field. @@ -9228,6 +9468,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: Filter results by campaign ID. in: query @@ -9330,6 +9571,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: Filter results by campaign ID. in: query @@ -9409,6 +9651,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: Filter results comparing the parameter value, expected to be an RFC3339 timestamp string. @@ -9502,6 +9745,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -9509,6 +9753,7 @@ paths: name: campaignId required: true schema: + format: int64 type: integer requestBody: content: @@ -9542,6 +9787,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -9550,6 +9796,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. @@ -9580,6 +9827,7 @@ paths: name: userId required: true schema: + format: int64 type: integer responses: "204": @@ -9599,6 +9847,7 @@ paths: name: userId required: true schema: + format: int64 type: integer responses: "200": @@ -9620,6 +9869,7 @@ paths: name: userId required: true schema: + format: int64 type: integer requestBody: content: @@ -9709,6 +9959,7 @@ paths: name: userId required: true schema: + format: int64 type: integer responses: "204": @@ -9729,6 +9980,7 @@ paths: name: userId required: true schema: + format: int64 type: integer responses: "200": @@ -9753,6 +10005,7 @@ paths: name: userId required: true schema: + format: int64 type: integer requestBody: content: @@ -9786,6 +10039,7 @@ paths: name: userId required: true schema: + format: int64 type: integer requestBody: content: @@ -9958,6 +10212,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -9966,6 +10221,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. @@ -9990,6 +10246,7 @@ paths: in: query name: userId schema: + format: int64 type: integer - description: Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the change creation timestamp. You can use @@ -10020,6 +10277,7 @@ paths: in: query name: managementKeyId schema: + format: int64 type: integer - description: When this flag is set to false, the state without the change will not be returned. The default value is true. @@ -10159,6 +10417,7 @@ paths: name: accountId required: true schema: + format: int64 type: integer responses: "200": @@ -10185,6 +10444,7 @@ paths: name: accountId required: true schema: + format: int64 type: integer responses: "200": @@ -10256,6 +10516,7 @@ paths: name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -10264,6 +10525,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: Filter results by Application ID. in: query @@ -10274,6 +10536,7 @@ paths: in: query name: campaignId schema: + format: int64 type: integer - description: The name of the entity type that was exported. in: query @@ -10329,6 +10592,7 @@ paths: name: roleId required: true schema: + format: int64 type: integer responses: "200": @@ -10353,6 +10617,7 @@ paths: name: roleId required: true schema: + format: int64 type: integer requestBody: content: @@ -10385,12 +10650,14 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The number of items in the response. in: query name: pageSize schema: default: 1000 + format: int64 maximum: 1000 minimum: 1 type: integer @@ -10399,6 +10666,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. @@ -10458,6 +10726,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer requestBody: content: @@ -10503,6 +10772,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: | The ID of the store. @@ -10536,6 +10806,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: | The ID of the store. @@ -10572,6 +10843,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: | The ID of the store. @@ -10631,6 +10903,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -10638,6 +10911,7 @@ paths: name: campaignId required: true schema: + format: int64 type: integer responses: "200": @@ -10680,6 +10954,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -10687,6 +10962,7 @@ paths: name: campaignId required: true schema: + format: int64 type: integer responses: "204": @@ -10733,6 +11009,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -10740,6 +11017,7 @@ paths: name: campaignId required: true schema: + format: int64 type: integer requestBody: content: @@ -10791,6 +11069,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -10798,12 +11077,14 @@ paths: name: campaignId required: true schema: + format: int64 type: integer - description: The number of items in the response. in: query name: pageSize schema: default: 50 + format: int64 maximum: 50 minimum: 1 type: integer @@ -10812,6 +11093,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: | Filter by the display name for the achievement in the campaign manager. @@ -10842,6 +11124,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -10849,6 +11132,7 @@ paths: name: campaignId required: true schema: + format: int64 type: integer requestBody: content: @@ -10896,6 +11180,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -10903,6 +11188,7 @@ paths: name: campaignId required: true schema: + format: int64 type: integer - description: The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) @@ -10911,6 +11197,7 @@ paths: name: achievementId required: true schema: + format: int64 type: integer responses: "204": @@ -10942,6 +11229,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -10949,6 +11237,7 @@ paths: name: campaignId required: true schema: + format: int64 type: integer - description: The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) @@ -10957,6 +11246,7 @@ paths: name: achievementId required: true schema: + format: int64 type: integer responses: "200": @@ -10991,6 +11281,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -10998,6 +11289,7 @@ paths: name: campaignId required: true schema: + format: int64 type: integer - description: The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) @@ -11006,6 +11298,7 @@ paths: name: achievementId required: true schema: + format: int64 type: integer requestBody: content: @@ -11067,6 +11360,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: The ID of the campaign. It is displayed in your Talon.One deployment URL. @@ -11074,6 +11368,7 @@ paths: name: campaignId required: true schema: + format: int64 type: integer - description: The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) @@ -11082,6 +11377,7 @@ paths: name: achievementId required: true schema: + format: int64 type: integer responses: "200": @@ -11125,6 +11421,7 @@ paths: name: applicationId required: true schema: + format: int64 type: integer - description: | The integration identifier for this customer profile. Must be: @@ -11142,6 +11439,7 @@ paths: name: pageSize schema: default: 50 + format: int64 maximum: 50 minimum: 1 type: integer @@ -11150,6 +11448,7 @@ paths: in: query name: skip schema: + format: int64 type: integer - description: The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) @@ -11157,6 +11456,7 @@ paths: in: query name: achievementId schema: + format: int64 type: integer - description: Filter results by the `title` of an achievement. in: query @@ -11203,6 +11503,7 @@ components: description: The globally unique Talon.One ID of the session where this entity was created. example: 2 + format: int64 type: integer required: - sessionId @@ -11211,6 +11512,7 @@ components: properties: totalResultSize: example: 1 + format: int64 type: integer data: items: @@ -11224,6 +11526,7 @@ components: properties: totalResultSize: example: 1 + format: int64 type: integer data: items: @@ -11238,6 +11541,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -11247,6 +11551,7 @@ components: accountId: description: The ID of the account that owns this entity. example: 3886 + format: int64 type: integer modified: description: The time this entity was last modified. @@ -11266,18 +11571,22 @@ components: modifiedBy: description: ID of the user who last updated this effect if available. example: 48 + format: int64 type: integer createdBy: description: ID of the user who created this effect. example: 134 + format: int64 type: integer applicationId: description: The ID of the Application that owns this entity. example: 1 + format: int64 type: integer campaignId: description: The ID of the campaign that owns this entity. example: 7 + format: int64 type: integer payload: description: The content of the collection. @@ -11301,6 +11610,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -11310,6 +11620,7 @@ components: accountId: description: The ID of the account that owns this entity. example: 3886 + format: int64 type: integer modified: description: The time this entity was last modified. @@ -11329,18 +11640,22 @@ components: modifiedBy: description: ID of the user who last updated this effect if available. example: 48 + format: int64 type: integer createdBy: description: ID of the user who created this effect. example: 134 + format: int64 type: integer applicationId: description: The ID of the Application that owns this entity. example: 1 + format: int64 type: integer campaignId: description: The ID of the campaign that owns this entity. example: 7 + format: int64 type: integer required: - accountId @@ -11355,6 +11670,7 @@ components: campaignGroups: description: The IDs of the campaign groups that own this entity. items: + format: int64 type: integer type: array type: object @@ -11363,6 +11679,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -11372,9 +11689,11 @@ components: campaignId: description: The ID of the campaign that owns this entity. example: 322 + format: int64 type: integer storeId: description: The ID of the store. + format: int64 type: integer limits: description: The set of budget limits for stores linked to the campaign. @@ -11442,6 +11761,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -11451,20 +11771,24 @@ components: campaignId: description: The ID of the campaign that owns this entity. example: 211 + format: int64 title: Campaign ID type: integer applicationId: description: The ID of the Application that owns this entity. example: 322 + format: int64 type: integer accountId: description: The ID of the account that owns this entity. example: 3886 + format: int64 type: integer usageLimit: description: | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. example: 100 + format: int64 maximum: 999999 minimum: 0 type: integer @@ -11479,6 +11803,7 @@ components: description: | The number of reservations that can be made with this coupon code. example: 45 + format: int64 maximum: 999999 minimum: 0 type: integer @@ -11496,6 +11821,7 @@ components: numberOfCoupons: description: The number of new coupon codes to generate for the campaign. example: 200000 + format: int64 maximum: 5E+6 minimum: 1 type: integer @@ -11525,11 +11851,13 @@ components: description: The number of coupon codes that were already created for this request. example: 1000000 + format: int64 title: Created Amount type: integer failCount: description: The number of times this job failed. example: 10 + format: int64 title: Fail Count type: integer errors: @@ -11545,6 +11873,7 @@ components: createdBy: description: ID of the user who created this effect. example: 1 + format: int64 title: Created By type: integer communicated: @@ -11556,12 +11885,14 @@ components: description: The number of times an attempt to create a chunk of coupons was made during the processing of the job. example: 0 + format: int64 title: Iterations type: integer chunkSize: description: The number of coupons that will be created in a single transactions. Coupons will be created in chunks until arriving at the requested amount. example: 20000 + format: int64 title: Chunk size type: integer required: @@ -11587,6 +11918,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -11596,10 +11928,12 @@ components: applicationId: description: The ID of the Application that owns this entity. example: 322 + format: int64 type: integer accountId: description: The ID of the account that owns this entity. example: 3886 + format: int64 type: integer filters: $ref: '#/components/schemas/CouponDeletionFilters' @@ -11617,11 +11951,13 @@ components: description: The number of coupon codes that were already deleted for this request. example: 1000000 + format: int64 title: Deleted Amount type: integer failCount: description: The number of times this job failed. example: 10 + format: int64 title: Fail Count type: integer errors: @@ -11636,6 +11972,7 @@ components: createdBy: description: ID of the user who created this effect. example: 1 + format: int64 title: Created By type: integer communicated: @@ -11645,6 +11982,7 @@ components: type: boolean campaignIDs: items: + format: int64 title: Campaign ID type: integer type: array @@ -11715,9 +12053,11 @@ components: properties: RoleID: description: ID of role. + format: int64 type: integer UserID: description: ID of User. + format: int64 type: integer required: - RoleID @@ -11741,15 +12081,18 @@ components: description: The ID of the Application to which the catalog items labels belongs. example: 322 + format: int64 type: integer currentBatch: description: The batch number of the notification. Notifications might be sent in different batches. example: 1 + format: int64 type: integer totalBatches: description: The total number of batches for the notification. example: 10 + format: int64 type: integer trigger: $ref: '#/components/schemas/StrikethroughTrigger' @@ -11782,6 +12125,7 @@ components: - 2 - 3 items: + format: int64 type: integer type: array type: object @@ -11792,6 +12136,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -11824,6 +12169,7 @@ components: applicationId: description: The ID of the Application that owns this entity. example: 322 + format: int64 type: integer required: - applicationId @@ -11859,6 +12205,7 @@ components: - 10 - 12 items: + format: int64 type: integer title: Campaigns to evaluate type: array @@ -11926,6 +12273,7 @@ components: if you provide a quantity greater than 1, the item will be split in as many items as the provided quantity. This will impact the number of **per-item** effects triggered from your campaigns. example: 1 + format: int64 minimum: 1 title: Quantity of item type: integer @@ -11933,12 +12281,14 @@ components: description: Number of returned items, calculated internally based on returns of this item. example: 1 + format: int64 title: Returned quantity of item type: integer remainingQuantity: description: Remaining quantity of the item, calculated internally based on returns of this item. example: 1 + format: int64 title: Remaining quantity of item type: integer price: @@ -12000,6 +12350,7 @@ components: type: object catalogItemID: description: The [catalog item ID](https://docs.talon.one/docs/product/account/dev-tools/managing-cart-item-catalogs/#synchronizing-a-cart-item-catalog). + format: int64 title: The catalog item ID type: integer required: @@ -12094,6 +12445,7 @@ components: - 10 - 12 items: + format: int64 type: integer title: Campaigns to evaluate type: array @@ -12281,6 +12633,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -12296,6 +12649,7 @@ components: applicationId: description: The ID of the Application that owns this entity. example: 322 + format: int64 type: integer profileId: description: | @@ -12320,6 +12674,7 @@ components: - 10 - 12 items: + format: int64 type: integer title: Campaigns to evaluate type: array @@ -12480,16 +12835,19 @@ components: campaignId: description: The ID of the campaign that triggered this effect. example: 244 + format: int64 type: integer rulesetId: description: The ID of the ruleset that was active in the campaign when this effect was triggered. example: 73 + format: int64 type: integer ruleIndex: description: The position of the rule that triggered this effect within the ruleset. example: 2 + format: int64 type: integer ruleName: description: The name of the rule that triggered this effect. @@ -12503,20 +12861,24 @@ components: description: The ID of the coupon that was being evaluated when this effect was triggered. example: 4928 + format: int64 type: integer triggeredForCatalogItem: description: The ID of the catalog item that was being evaluated when this effect was triggered. example: 786 + format: int64 type: integer conditionIndex: description: The index of the condition that was triggered. example: 786 + format: int64 type: integer evaluationGroupID: description: The ID of the evaluation group. For more information, see [Managing campaign evaluation](https://docs.talon.one/docs/product/applications/managing-campaign-evaluation). example: 3 + format: int64 type: integer evaluationGroupMode: description: The evaluation mode of the evaluation group. For more information, @@ -12527,11 +12889,13 @@ components: description: The revision ID of the campaign that was used when triggering the effect. example: 1 + format: int64 type: integer campaignRevisionVersionId: description: The revision version ID of the campaign that was used when triggering the effect. example: 5 + format: int64 type: integer required: - campaignId @@ -12569,6 +12933,7 @@ components: properties: id: description: The id of the referral code that was redeemed. + format: int64 type: integer value: description: The referral code that was redeemed. @@ -12591,9 +12956,11 @@ components: conditionIndex: description: The index of the condition that caused the rejection of the coupon. + format: int64 type: integer effectIndex: description: The index of the effect that caused the rejection of the coupon. + format: int64 type: integer details: description: More details about the failure. @@ -12620,9 +12987,11 @@ components: conditionIndex: description: The index of the condition that caused the rejection of the referral. + format: int64 type: integer effectIndex: description: The index of the effect that caused the rejection of the referral. + format: int64 type: integer details: description: More details about the failure. @@ -12730,6 +13099,7 @@ components: bundleIndex: description: The position of the bundle in a list of item bundles created from the same bundle definition. + format: int64 type: integer bundleName: description: The name of the bundle definition. @@ -12758,6 +13128,7 @@ components: type: string additionalCostId: description: The ID of the additional cost. + format: int64 type: integer additionalCost: description: The name of the additional cost. @@ -12806,6 +13177,7 @@ components: type: string programId: description: The ID of the loyalty program where these points were added. + format: int64 type: integer subLedgerId: description: The ID of the subledger within the loyalty program where these @@ -12851,6 +13223,7 @@ components: bundleIndex: description: The position of the bundle in a list of item bundles created from the same bundle definition. + format: int64 type: integer bundleName: description: The name of the bundle definition. @@ -12875,6 +13248,7 @@ components: type: string programId: description: The ID of the loyalty program where these points were added. + format: int64 type: integer subLedgerId: description: The ID of the subledger within the loyalty program where these @@ -12915,6 +13289,7 @@ components: type: string programId: description: The ID of the loyalty program where these points were added. + format: int64 type: integer subLedgerId: description: The ID of the subledger within the loyalty program where these @@ -12949,6 +13324,7 @@ components: type: string desiredQuantity: description: The original quantity in case a partial reward was applied. + format: int64 type: integer required: - name @@ -13037,6 +13413,7 @@ components: type: number additionalCostId: description: The ID of the additional cost that was rolled back. + format: int64 type: integer additionalCost: description: The name of the additional cost that was rolled back. @@ -13059,6 +13436,7 @@ components: programId: description: The ID of the loyalty program where the points were originally added. + format: int64 type: integer subLedgerId: description: The ID of the subledger within the loyalty program where these @@ -13105,6 +13483,7 @@ components: properties: programId: description: The ID of the loyalty program where these points were reimbursed. + format: int64 type: integer subLedgerId: description: The ID of the subledger within the loyalty program where these @@ -13176,6 +13555,7 @@ components: poolId: description: The ID of the giveaways pool the code was taken from. example: 2 + format: int64 type: integer poolName: description: The name of the giveaways pool the code was taken from. @@ -13189,6 +13569,7 @@ components: giveawayId: description: The internal ID for the giveaway that was awarded. example: 5 + format: int64 type: integer code: description: The giveaway code that was awarded. @@ -13210,6 +13591,7 @@ components: poolId: description: The ID of the giveaways pool the code will be taken from. example: 2 + format: int64 type: integer poolName: description: The name of the giveaways pool the code will be taken from. @@ -13242,6 +13624,7 @@ components: effectId: description: The ID of the custom effect that was triggered. example: 1 + format: int64 type: integer name: description: The type of the custom effect. @@ -13261,6 +13644,7 @@ components: description: The position of the bundle in a list of item bundles created from the same bundle definition. example: 1 + format: int64 type: integer bundleName: description: The name of the bundle definition. @@ -13287,6 +13671,7 @@ components: type: string additionalCostId: description: The ID of the additional cost. + format: int64 type: integer value: description: The total monetary value of the discount. @@ -13340,6 +13725,7 @@ components: audienceId: description: The internal ID of the audience. example: 10 + format: int64 type: integer audienceName: description: The name of the audience. @@ -13353,6 +13739,7 @@ components: profileId: description: The internal ID of the customer profile. example: 150 + format: int64 type: integer type: object RemoveFromAudienceEffectProps: @@ -13362,6 +13749,7 @@ components: audienceId: description: The internal ID of the audience. example: 10 + format: int64 type: integer audienceName: description: The name of the audience. @@ -13375,6 +13763,7 @@ components: profileId: description: The internal ID of the customer profile. example: 150 + format: int64 type: integer type: object IncreaseAchievementProgressEffectProps: @@ -13385,6 +13774,7 @@ components: achievementId: description: The internal ID of the achievement. example: 10 + format: int64 type: integer achievementName: description: The name of the achievement. @@ -13392,6 +13782,7 @@ components: type: string progressTrackerId: description: The internal ID of the achievement progress tracker. + format: int64 type: integer delta: description: The value by which the customer's current progress in the achievement @@ -13424,6 +13815,7 @@ components: achievementId: description: The internal ID of the achievement. example: 10 + format: int64 type: integer achievementName: description: The name of the achievement. @@ -13431,6 +13823,7 @@ components: type: string progressTrackerId: description: The internal ID of the achievement progress tracker. + format: int64 type: integer decreaseProgressBy: description: The value by which the customer's current progress in the achievement @@ -13474,16 +13867,19 @@ components: campaignId: description: The ID of the campaign that triggered this effect. example: 244 + format: int64 type: integer rulesetId: description: The ID of the ruleset that was active in the campaign when this effect was triggered. example: 73 + format: int64 type: integer ruleIndex: description: The position of the rule that triggered this effect within the ruleset. example: 2 + format: int64 type: integer ruleName: description: The name of the rule that triggered this effect. @@ -13497,20 +13893,24 @@ components: description: The ID of the coupon that was being evaluated when this effect was triggered. example: 4928 + format: int64 type: integer triggeredForCatalogItem: description: The ID of the catalog item that was being evaluated when this effect was triggered. example: 786 + format: int64 type: integer conditionIndex: description: The index of the condition that was triggered. example: 786 + format: int64 type: integer evaluationGroupID: description: The ID of the evaluation group. For more information, see [Managing campaign evaluation](https://docs.talon.one/docs/product/applications/managing-campaign-evaluation). example: 3 + format: int64 type: integer evaluationGroupMode: description: The evaluation mode of the evaluation group. For more information, @@ -13521,11 +13921,13 @@ components: description: The revision ID of the campaign that was used when triggering the effect. example: 1 + format: int64 type: integer campaignRevisionVersionId: description: The revision version ID of the campaign that was used when triggering the effect. example: 5 + format: int64 type: integer props: description: The properties of the effect. See [API effects](https://docs.talon.one/docs/dev/integration-api/api-effects). @@ -13706,6 +14108,7 @@ components: type: array StatusCode: description: The error code + format: int64 type: integer type: object IntegrationRequest: @@ -13831,6 +14234,7 @@ components: loyaltyProgramId: description: The ID of the loyalty program belonging to this entity. example: 323414846 + format: int64 title: Loyalty program ID type: integer required: @@ -13844,6 +14248,7 @@ components: id: description: The ID of the audience belonging to this entity. example: 2 + format: int64 title: Audience ID type: integer name: @@ -13882,6 +14287,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -13904,12 +14310,14 @@ components: accountId: description: The ID of the Talon.One account that owns this profile. example: 31 + format: int64 title: Profile belongs to Account type: integer closedSessions: description: The total amount of closed sessions by a customer. A closed session is a successful purchase. example: 3 + format: int64 title: Closed sessions type: integer totalSales: @@ -14013,6 +14421,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -14028,18 +14437,22 @@ components: type: string accountId: description: The ID of the Talon.One account that owns this profile. + format: int64 type: integer loyaltyProgramId: description: ID of the ledger. example: 323414846 + format: int64 type: integer eventId: description: ID of the related event. example: 3 + format: int64 type: integer amount: description: Amount of loyalty points. example: 100 + format: int64 type: integer reason: description: reason for awarding/deducting points. @@ -14052,6 +14465,7 @@ components: type: string referenceId: description: The ID of the balancing ledgerEntry. + format: int64 type: integer required: - accountId @@ -14075,9 +14489,11 @@ components: properties: campaignId: example: 244 + format: int64 type: integer couponId: example: 4928 + format: int64 type: integer reason: enum: @@ -14110,8 +14526,10 @@ components: referralId: 5 properties: campaignId: + format: int64 type: integer referralId: + format: int64 type: integer reason: enum: @@ -14217,6 +14635,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -14226,6 +14645,7 @@ components: applicationId: description: The ID of the Application that owns this entity. example: 322 + format: int64 type: integer profileId: description: | @@ -14288,6 +14708,7 @@ components: programID: description: The ID of the loyalty program that owns this entity. example: 125 + format: int64 type: integer programName: description: The integration name of the loyalty program that owns this @@ -14414,6 +14835,7 @@ components: id: description: The internal ID of the tier. example: 11 + format: int64 type: integer name: description: The name of the tier. @@ -14585,6 +15007,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -14594,6 +15017,7 @@ components: programID: description: The ID of the loyalty program that owns this entity. example: 125 + format: int64 type: integer programName: description: The integration name of the loyalty program that owns this @@ -14626,6 +15050,7 @@ components: description: | The max amount of customer profiles that can be linked to the card. 0 means unlimited. example: 111 + format: int64 minimum: 0 type: integer profiles: @@ -14716,6 +15141,7 @@ components: id: description: The internal ID of loyalty program. example: 5 + format: int64 type: integer title: description: Visible name of loyalty program. @@ -14926,6 +15352,7 @@ components: description: | The number of times a referral code can be used. `0` means no limit but any campaign usage limits will still apply. example: 1 + format: int64 maximum: 999999 minimum: 0 title: Referral code Usage Limit @@ -14959,6 +15386,7 @@ components: description: | The number of times a referral code can be used. `0` means no limit but any campaign usage limits will still apply. example: 1 + format: int64 maximum: 999999 minimum: 0 title: Referral code Usage Limit @@ -14967,6 +15395,7 @@ components: description: ID of the campaign from which the referral received the referral code. example: 78 + format: int64 title: Referral's Campaign ID type: integer advocateProfileIntegrationId: @@ -14995,6 +15424,7 @@ components: importId: description: The ID of the Import which created this referral. example: 4 + format: int64 type: integer type: object Referral: @@ -15017,6 +15447,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -15040,6 +15471,7 @@ components: description: | The number of times a referral code can be used. `0` means no limit but any campaign usage limits will still apply. example: 1 + format: int64 maximum: 999999 minimum: 0 title: Referral code Usage Limit @@ -15048,6 +15480,7 @@ components: description: ID of the campaign from which the referral received the referral code. example: 78 + format: int64 title: Referral's Campaign ID type: integer advocateProfileIntegrationId: @@ -15070,6 +15503,7 @@ components: importId: description: The ID of the Import which created this referral. example: 4 + format: int64 type: integer code: description: The referral code. @@ -15081,6 +15515,7 @@ components: description: The number of times this referral code has been successfully used. example: 1 + format: int64 title: Referral code Usages type: integer batchId: @@ -15120,6 +15555,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -15143,6 +15579,7 @@ components: description: | The number of times a referral code can be used. `0` means no limit but any campaign usage limits will still apply. example: 1 + format: int64 maximum: 999999 minimum: 0 title: Referral code Usage Limit @@ -15151,6 +15588,7 @@ components: description: ID of the campaign from which the referral received the referral code. example: 78 + format: int64 title: Referral's Campaign ID type: integer advocateProfileIntegrationId: @@ -15173,6 +15611,7 @@ components: importId: description: The ID of the Import which created this referral. example: 4 + format: int64 type: integer code: description: The referral code. @@ -15184,6 +15623,7 @@ components: description: The number of times this referral code has been successfully used. example: 1 + format: int64 title: Referral code Usages type: integer batchId: @@ -15211,6 +15651,7 @@ components: campaignId: description: The ID of the campaign that owns this entity. example: 211 + format: int64 title: Campaign ID type: integer required: @@ -15231,6 +15672,7 @@ components: description: | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. example: 100 + format: int64 maximum: 999999 minimum: 0 type: integer @@ -15245,6 +15687,7 @@ components: description: | The number of reservations that can be made with this coupon code. example: 45 + format: int64 maximum: 999999 minimum: 0 type: integer @@ -15361,6 +15804,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -15370,6 +15814,7 @@ components: campaignId: description: The ID of the campaign that owns this entity. example: 211 + format: int64 title: Campaign ID type: integer value: @@ -15382,6 +15827,7 @@ components: description: | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. example: 100 + format: int64 maximum: 999999 minimum: 0 type: integer @@ -15396,6 +15842,7 @@ components: description: | The number of reservations that can be made with this coupon code. example: 45 + format: int64 maximum: 999999 minimum: 0 type: integer @@ -15423,6 +15870,7 @@ components: usageCounter: description: The number of times the coupon has been successfully redeemed. example: 10 + format: int64 title: Total coupon redemptions type: integer discountCounter: @@ -15450,6 +15898,7 @@ components: description: The integration ID of the referring customer (if any) for whom this coupon was created as an effect. example: 326632952 + format: int64 title: Advocate ID type: integer recipientIntegrationId: @@ -15462,6 +15911,7 @@ components: importId: description: The ID of the Import which created this coupon. example: 4 + format: int64 title: Import ID type: integer reservation: @@ -15538,6 +15988,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -15547,6 +15998,7 @@ components: campaignId: description: The ID of the campaign that owns this entity. example: 211 + format: int64 title: Campaign ID type: integer value: @@ -15559,6 +16011,7 @@ components: description: | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. example: 100 + format: int64 maximum: 999999 minimum: 0 type: integer @@ -15573,6 +16026,7 @@ components: description: | The number of reservations that can be made with this coupon code. example: 45 + format: int64 maximum: 999999 minimum: 0 type: integer @@ -15600,6 +16054,7 @@ components: usageCounter: description: The number of times the coupon has been successfully redeemed. example: 10 + format: int64 title: Total coupon redemptions type: integer discountCounter: @@ -15627,6 +16082,7 @@ components: description: The integration ID of the referring customer (if any) for whom this coupon was created as an effect. example: 326632952 + format: int64 title: Advocate ID type: integer recipientIntegrationId: @@ -15639,6 +16095,7 @@ components: importId: description: The ID of the Import which created this coupon. example: 4 + format: int64 title: Import ID type: integer reservation: @@ -15671,6 +16128,7 @@ components: profileRedemptionCount: description: The number of times the coupon was redeemed by the profile. example: 5 + format: int64 title: Coupon redemptions for the profile type: integer required: @@ -15687,6 +16145,7 @@ components: id: description: Unique ID for this entity. example: 4 + format: int64 type: integer created: description: The exact moment this entity was created. @@ -15702,6 +16161,7 @@ components: userId: description: The ID of the user associated with this entity. example: 388 + format: int64 type: integer required: - userId @@ -15844,6 +16304,7 @@ components: [ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this campaign applies on customer session evaluation. example: 6 + format: int64 type: integer tags: description: A list of tags for the campaign. @@ -15887,6 +16348,7 @@ components: - 1 - 3 items: + format: int64 type: integer type: array type: @@ -15913,6 +16375,7 @@ components: - 2 - 3 items: + format: int64 type: integer type: array required: @@ -15969,12 +16432,14 @@ components: This property is **deprecated**. The count should be available under *budgets* property. Number of coupons redeemed in the campaign. example: 163 + format: int64 type: integer referralRedemptionCount: description: | This property is **deprecated**. The count should be available under *budgets* property. Number of referral codes redeemed in the campaign. example: 3 + format: int64 type: integer discountCount: description: | @@ -15987,36 +16452,42 @@ components: This property is **deprecated**. The count should be available under *budgets* property. Total number of times discounts were redeemed in this campaign. example: 343 + format: int64 type: integer couponCreationCount: description: | This property is **deprecated**. The count should be available under *budgets* property. Total number of coupons created by rules in this campaign. example: 16 + format: int64 type: integer customEffectCount: description: | This property is **deprecated**. The count should be available under *budgets* property. Total number of custom effects triggered by rules in this campaign. example: 0 + format: int64 type: integer referralCreationCount: description: | This property is **deprecated**. The count should be available under *budgets* property. Total number of referrals created by rules in this campaign. example: 8 + format: int64 type: integer addFreeItemEffectCount: description: | This property is **deprecated**. The count should be available under *budgets* property. Total number of times the [add free item effect](https://docs.talon.one/docs/dev/integration-api/api-effects#addfreeitem) can be triggered in this campaign. example: 0 + format: int64 type: integer awardedGiveawaysCount: description: | This property is **deprecated**. The count should be available under *budgets* property. Total number of giveaways awarded by rules in this campaign. example: 9 + format: int64 type: integer createdLoyaltyPointsCount: description: | @@ -16029,6 +16500,7 @@ components: This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty point creation effects triggered by rules in this campaign. example: 2 + format: int64 type: integer redeemedLoyaltyPointsCount: description: | @@ -16041,18 +16513,21 @@ components: This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty point redemption effects triggered by rules in this campaign. example: 9 + format: int64 type: integer callApiEffectCount: description: | This property is **deprecated**. The count should be available under *budgets* property. Total number of webhooks triggered by rules in this campaign. example: 0 + format: int64 type: integer reservecouponEffectCount: description: | This property is **deprecated**. The count should be available under *budgets* property. Total number of reserve coupon effects triggered by rules in this campaign. example: 9 + format: int64 type: integer lastActivity: description: Timestamp of the most recent event received by this campaign. @@ -16076,6 +16551,7 @@ components: templateId: description: The ID of the Campaign Template this Campaign was created from. example: 3 + format: int64 type: integer frontendState: description: The campaign state displayed in the Campaign Manager. @@ -16099,6 +16575,7 @@ components: - 100 - 215 items: + format: int64 type: integer type: array required: @@ -16118,26 +16595,31 @@ components: description: | ID of the revision that was last activated on this campaign. example: 6 + format: int64 type: integer activeRevisionVersionId: description: | ID of the revision version that is active on the campaign. example: 6 + format: int64 type: integer version: description: | Incrementing number representing how many revisions have been activated on this campaign, starts from 0 for a new campaign. example: 6 + format: int64 type: integer currentRevisionId: description: | ID of the revision currently being modified for the campaign. example: 6 + format: int64 type: integer currentRevisionVersionId: description: | ID of the latest version applied on the current revision. example: 6 + format: int64 type: integer stageRevision: default: false @@ -16304,6 +16786,7 @@ components: id: description: Unique ID for this entity. example: 4 + format: int64 type: integer created: description: The exact moment this entity was created. @@ -16313,10 +16796,12 @@ components: applicationId: description: The ID of the Application that owns this entity. example: 322 + format: int64 type: integer userId: description: The ID of the user associated with this entity. example: 388 + format: int64 type: integer name: description: A user-facing name for this campaign. @@ -16358,6 +16843,7 @@ components: [ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this campaign applies on customer session evaluation. example: 6 + format: int64 type: integer tags: description: A list of tags for the campaign. @@ -16401,6 +16887,7 @@ components: - 1 - 3 items: + format: int64 type: integer type: array type: @@ -16427,6 +16914,7 @@ components: - 2 - 3 items: + format: int64 type: integer type: array budgets: @@ -16443,12 +16931,14 @@ components: This property is **deprecated**. The count should be available under *budgets* property. Number of coupons redeemed in the campaign. example: 163 + format: int64 type: integer referralRedemptionCount: description: | This property is **deprecated**. The count should be available under *budgets* property. Number of referral codes redeemed in the campaign. example: 3 + format: int64 type: integer discountCount: description: | @@ -16461,36 +16951,42 @@ components: This property is **deprecated**. The count should be available under *budgets* property. Total number of times discounts were redeemed in this campaign. example: 343 + format: int64 type: integer couponCreationCount: description: | This property is **deprecated**. The count should be available under *budgets* property. Total number of coupons created by rules in this campaign. example: 16 + format: int64 type: integer customEffectCount: description: | This property is **deprecated**. The count should be available under *budgets* property. Total number of custom effects triggered by rules in this campaign. example: 0 + format: int64 type: integer referralCreationCount: description: | This property is **deprecated**. The count should be available under *budgets* property. Total number of referrals created by rules in this campaign. example: 8 + format: int64 type: integer addFreeItemEffectCount: description: | This property is **deprecated**. The count should be available under *budgets* property. Total number of times the [add free item effect](https://docs.talon.one/docs/dev/integration-api/api-effects#addfreeitem) can be triggered in this campaign. example: 0 + format: int64 type: integer awardedGiveawaysCount: description: | This property is **deprecated**. The count should be available under *budgets* property. Total number of giveaways awarded by rules in this campaign. example: 9 + format: int64 type: integer createdLoyaltyPointsCount: description: | @@ -16503,6 +16999,7 @@ components: This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty point creation effects triggered by rules in this campaign. example: 2 + format: int64 type: integer redeemedLoyaltyPointsCount: description: | @@ -16515,18 +17012,21 @@ components: This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty point redemption effects triggered by rules in this campaign. example: 9 + format: int64 type: integer callApiEffectCount: description: | This property is **deprecated**. The count should be available under *budgets* property. Total number of webhooks triggered by rules in this campaign. example: 0 + format: int64 type: integer reservecouponEffectCount: description: | This property is **deprecated**. The count should be available under *budgets* property. Total number of reserve coupon effects triggered by rules in this campaign. example: 9 + format: int64 type: integer lastActivity: description: Timestamp of the most recent event received by this campaign. @@ -16550,6 +17050,7 @@ components: templateId: description: The ID of the Campaign Template this Campaign was created from. example: 3 + format: int64 type: integer frontendState: description: The campaign state displayed in the Campaign Manager. @@ -16573,6 +17074,7 @@ components: - 100 - 215 items: + format: int64 type: integer type: array revisionFrontendState: @@ -16586,26 +17088,31 @@ components: description: | ID of the revision that was last activated on this campaign. example: 6 + format: int64 type: integer activeRevisionVersionId: description: | ID of the revision version that is active on the campaign. example: 6 + format: int64 type: integer version: description: | Incrementing number representing how many revisions have been activated on this campaign, starts from 0 for a new campaign. example: 6 + format: int64 type: integer currentRevisionId: description: | ID of the revision currently being modified for the campaign. example: 6 + format: int64 type: integer currentRevisionVersionId: description: | ID of the latest version applied on the current revision. example: 6 + format: int64 type: integer stageRevision: default: false @@ -16648,17 +17155,20 @@ components: properties: campaignID: description: The ID of the campaign that contains the rule that failed. + format: int64 type: integer campaignName: description: The name of the campaign that contains the rule that failed. type: string rulesetID: description: The ID of the ruleset that contains the rule that failed. + format: int64 type: integer couponID: description: The ID of the coupon that was being evaluated at the time of the rule failure. example: 4928 + format: int64 type: integer couponValue: description: The code of the coupon that was being evaluated at the time @@ -16667,6 +17177,7 @@ components: referralID: description: The ID of the referral that was being evaluated at the time of the rule failure. + format: int64 type: integer referralValue: description: The code of the referral that was being evaluated at the time @@ -16674,15 +17185,18 @@ components: type: string ruleIndex: description: The index of the rule that failed within the ruleset. + format: int64 type: integer ruleName: description: The name of the rule that failed within the ruleset. type: string conditionIndex: description: The index of the condition that failed. + format: int64 type: integer effectIndex: description: The index of the effect that failed. + format: int64 type: integer details: description: More details about the failure. @@ -16691,6 +17205,7 @@ components: description: The ID of the evaluation group. For more information, see [Managing campaign evaluation](https://docs.talon.one/docs/product/applications/managing-campaign-evaluation). example: 3 + format: int64 type: integer evaluationGroupMode: description: The evaluation mode of the evaluation group. For more information, @@ -16721,6 +17236,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -16734,6 +17250,7 @@ components: poolId: description: The ID of the pool to return giveaway codes from. example: 1 + format: int64 type: integer startDate: description: Timestamp at which point the giveaway becomes valid. @@ -16754,6 +17271,7 @@ components: importId: description: The ID of the Import which created this giveaway. example: 4 + format: int64 type: integer profileIntegrationId: description: The third-party integration ID of the customer profile that @@ -16764,6 +17282,7 @@ components: description: The internal ID of the customer profile that was awarded the giveaway, if the giveaway was awarded and an internal ID exists. example: 1 + format: int64 type: integer required: - code @@ -16776,6 +17295,7 @@ components: accountId: description: The ID of the account that owns this entity. example: 3886 + format: int64 type: integer required: - accountId @@ -16789,11 +17309,13 @@ components: description: The index of the cart item in the provided customer session's `cartItems` property. example: 2 + format: int64 type: integer quantity: description: | Number of cart items to return. example: 1 + format: int64 type: integer required: - position @@ -16835,6 +17357,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -16844,10 +17367,12 @@ components: applicationId: description: The ID of the Application that owns this entity. example: 322 + format: int64 type: integer accountId: description: The ID of the account that owns this entity. example: 3886 + format: int64 type: integer returnedCartItems: description: List of cart items to be returned. @@ -16857,11 +17382,13 @@ components: eventId: description: The event ID of that was generated for this return. example: 123 + format: int64 title: Event ID type: integer sessionId: description: The internal ID of the session this return was requested on. example: 123 + format: int64 title: Session ID type: integer sessionIntegrationId: @@ -16874,6 +17401,7 @@ components: profileId: description: The internal ID of the profile this return was requested on. example: 123 + format: int64 title: Profile ID type: integer profileIntegrationId: @@ -16886,6 +17414,7 @@ components: createdBy: description: ID of the user who requested this return. example: 123 + format: int64 title: Created By type: integer required: @@ -17940,6 +18469,7 @@ components: - 2 - 4 items: + format: int64 type: integer title: Audiences to join type: array @@ -17948,6 +18478,7 @@ components: example: - 7 items: + format: int64 type: integer title: Audiences to leave type: array @@ -17992,6 +18523,7 @@ components: - 10 - 12 items: + format: int64 type: integer title: Campaigns to evaluate type: array @@ -18964,10 +19496,12 @@ components: accountId: description: The ID of the account that owns this entity. example: 3886 + format: int64 type: integer id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -19060,6 +19594,7 @@ components: description: The ID of the audience. You get it via the `id` property when [creating an audience](#operation/createAudienceV2). example: 748 + format: int64 type: integer required: - action @@ -19216,6 +19751,7 @@ components: - 4 - 9 items: + format: int64 type: integer type: array subscribedCatalogsIds: @@ -19224,6 +19760,7 @@ components: - 2 - 5 items: + format: int64 type: integer type: array allowedSubscriptions: @@ -19285,6 +19822,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -19294,6 +19832,7 @@ components: accountId: description: The ID of the account that owns this entity. example: 3886 + format: int64 type: integer entity: description: The name of the entity that can have this attribute. When creating @@ -19382,6 +19921,7 @@ components: - 4 - 9 items: + format: int64 type: integer type: array subscribedCatalogsIds: @@ -19390,6 +19930,7 @@ components: - 2 - 5 items: + format: int64 type: integer type: array allowedSubscriptions: @@ -19409,6 +19950,7 @@ components: type: array eventTypeId: example: 22 + format: int64 type: integer required: - accountId @@ -19447,6 +19989,7 @@ components: - 10 - 12 items: + format: int64 type: integer title: Campaigns to evaluate type: array @@ -19505,6 +20048,7 @@ components: - 10 - 12 items: + format: int64 type: integer title: Campaigns to evaluate type: array @@ -19551,10 +20095,13 @@ components: - 2 - 3 items: + format: int64 type: integer type: array limit: + default: 10 description: The maximum number of coupons included in the response. + format: int64 maximum: 1E+3 minimum: 1 type: integer @@ -19602,6 +20149,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -19611,6 +20159,7 @@ components: campaignId: description: The ID of the campaign that owns this entity. example: 211 + format: int64 title: Campaign ID type: integer value: @@ -19623,6 +20172,7 @@ components: description: | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. example: 100 + format: int64 maximum: 999999 minimum: 0 type: integer @@ -19637,6 +20187,7 @@ components: description: | The number of reservations that can be made with this coupon code. example: 45 + format: int64 maximum: 999999 minimum: 0 type: integer @@ -19664,6 +20215,7 @@ components: usageCounter: description: The number of times the coupon has been successfully redeemed. example: 10 + format: int64 title: Total coupon redemptions type: integer discountCounter: @@ -19691,6 +20243,7 @@ components: description: The integration ID of the referring customer (if any) for whom this coupon was created as an effect. example: 326632952 + format: int64 title: Advocate ID type: integer recipientIntegrationId: @@ -19703,6 +20256,7 @@ components: importId: description: The ID of the Import which created this coupon. example: 4 + format: int64 title: Import ID type: integer reservation: @@ -19735,6 +20289,7 @@ components: profileRedemptionCount: description: The number of times the coupon was redeemed by the profile. example: 5 + format: int64 title: Number of coupon usages per profile type: integer state: @@ -19857,6 +20412,7 @@ components: description: ID of the Application that is connected to the loyalty program. It is displayed in your Talon.One deployment URL. example: 322 + format: int64 type: integer required: - points @@ -19987,10 +20543,12 @@ components: campaigns will be added unless a different group is selected when creating the campaign. example: 3 + format: int64 type: integer defaultCartItemFilterId: description: The ID of the default Cart-Item-Filter for this application. example: 3 + format: int64 type: integer enableCampaignStateManagement: description: | @@ -20021,6 +20579,7 @@ components: - 132 - 97 items: + format: int64 type: integer type: array defaultValidity: @@ -20048,6 +20607,7 @@ components: The max amount of user profiles with whom a card can be shared. This can be set to 0 for no limit. This property is only used when `cardBased` is `true`. example: 111 + format: int64 minimum: 0 type: integer sandbox: @@ -20158,6 +20718,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -20167,6 +20728,7 @@ components: programID: description: The ID of the loyalty program that owns this entity. example: 125 + format: int64 type: integer programName: description: The integration name of the loyalty program that owns this @@ -20284,6 +20846,7 @@ components: id: description: The ID of loyalty program. example: 139 + format: int64 type: integer created: description: The time this entity was created. @@ -20305,6 +20868,7 @@ components: - 132 - 97 items: + format: int64 type: integer type: array defaultValidity: @@ -20332,6 +20896,7 @@ components: The max amount of user profiles with whom a card can be shared. This can be set to 0 for no limit. This property is only used when `cardBased` is `true`. example: 111 + format: int64 minimum: 0 type: integer sandbox: @@ -20421,6 +20986,7 @@ components: accountID: description: The ID of the Talon.One account that owns this program. example: 1 + format: int64 type: integer name: description: The internal name for the Loyalty Program. This is an immutable @@ -20713,6 +21279,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -20727,6 +21294,7 @@ components: accountId: description: The ID of the account that owns this entity. example: 3886 + format: int64 type: integer name: description: The name of this application. @@ -20807,10 +21375,12 @@ components: campaigns will be added unless a different group is selected when creating the campaign. example: 3 + format: int64 type: integer defaultCartItemFilterId: description: The ID of the default Cart-Item-Filter for this application. example: 3 + format: int64 type: integer enableCampaignStateManagement: description: | @@ -20888,6 +21458,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -20926,6 +21497,7 @@ components: accountId: description: The ID of the account that owns this entity. example: 3886 + format: int64 type: integer audiences: items: @@ -21020,6 +21592,7 @@ components: applicationId: description: The ID of the Application that owns this entity. example: 322 + format: int64 type: integer profileId: description: | @@ -21967,6 +22540,7 @@ components: description: | The number of times a referral code can be used. `0` means no limit but any campaign usage limits will still apply. example: 1 + format: int64 maximum: 999999 minimum: 0 title: Referral code Usage Limit @@ -21975,6 +22549,7 @@ components: description: The ID of the campaign from which the referral received the referral code. example: 45 + format: int64 title: Referral's Campaign ID type: integer advocateProfileIntegrationIds: @@ -22145,6 +22720,7 @@ components: achievementId: description: The internal ID of the achievement. example: 3 + format: int64 type: integer name: description: | @@ -22166,6 +22742,7 @@ components: campaignId: description: The ID of the campaign the achievement belongs to. example: 3 + format: int64 type: integer target: description: The required number of actions or the transactional milestone @@ -22584,6 +23161,7 @@ components: **Note**: Only applicable if the period is set to `Y`. example: 11 + format: int64 maximum: 12 minimum: 1 type: integer @@ -22593,6 +23171,7 @@ components: **Note**: Only applicable if the period is set to `Y` or `M`. example: 23 + format: int64 maximum: 31 minimum: 1 type: integer @@ -22601,20 +23180,24 @@ components: The achievement ends and resets on this day of the week. `1` represents `Monday` and `7` represents `Sunday`. **Note**: Only applicable if the period is set to `W`. + format: int64 maximum: 7 minimum: 1 type: integer hour: description: The achievement ends and resets at this hour. example: 23 + format: int64 type: integer minute: description: The achievement ends and resets at this minute. example: 59 + format: int64 type: integer second: description: The achievement ends and resets at this second. example: 59 + format: int64 type: integer required: - hour @@ -22857,6 +23440,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -22955,6 +23539,7 @@ components: campaignId: description: The ID of the campaign the achievement belongs to. example: 1 + format: int64 type: integer status: description: The status of the achievement. @@ -23228,6 +23813,7 @@ components: programId: description: ID of the loyalty program. example: 324 + format: int64 type: integer cardIdentifier: description: | @@ -23284,11 +23870,13 @@ components: id: description: ID of the loyalty ledger transaction. example: 123 + format: int64 type: integer rulesetId: description: The ID of the ruleset containing the rule that triggered this effect. example: 11 + format: int64 type: integer ruleName: description: The name of the rule that triggered this effect. @@ -23340,6 +23928,7 @@ components: programId: description: ID of the loyalty program. example: 324 + format: int64 type: integer customerSessionId: description: ID of the customer session where the transaction occurred. @@ -23389,11 +23978,13 @@ components: id: description: ID of the loyalty ledger transaction. example: 123 + format: int64 type: integer rulesetId: description: The ID of the ruleset containing the rule that triggered this effect. example: 11 + format: int64 type: integer ruleName: description: The name of the rule that triggered this effect. @@ -23429,6 +24020,7 @@ components: id: description: ID of the transaction that adds loyalty points. example: 123 + format: int64 type: integer created: description: Date and time the loyalty card points were added. @@ -23437,6 +24029,7 @@ components: programId: description: ID of the loyalty program. example: 324 + format: int64 type: integer customerProfileID: description: Integration ID of the customer profile linked to the card. @@ -23502,6 +24095,7 @@ components: id: description: ID of the transaction that adds loyalty points. example: 123 + format: int64 type: integer created: description: Date and time the loyalty points were added. @@ -23510,6 +24104,7 @@ components: programId: description: ID of the loyalty program. example: 324 + format: int64 type: integer customerSessionId: description: ID of the customer session where points were added. @@ -23685,6 +24280,7 @@ components: [ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this campaign applies on customer session evaluation. example: 6 + format: int64 type: integer tags: description: A list of tags for the campaign. @@ -23728,6 +24324,7 @@ components: - 1 - 3 items: + format: int64 type: integer type: array type: @@ -23754,12 +24351,14 @@ components: - 2 - 3 items: + format: int64 type: integer type: array evaluationGroupId: description: The ID of the campaign evaluation group the campaign belongs to. example: 2 + format: int64 title: Evaluation Group ID type: integer required: @@ -23775,6 +24374,7 @@ components: description: Unique ID for this entity. Not to be confused with the Integration ID, which is set by your integration layer and used in most endpoints. example: 6 + format: int64 type: integer required: - id @@ -23818,6 +24418,7 @@ components: activeRulesetId: description: The ID of the ruleset this campaign template will use. example: 5 + format: int64 nullable: true type: integer tags: @@ -23856,21 +24457,28 @@ components: description: Unique ID for this entity. Not to be confused with the Integration ID, which is set by your integration layer and used in most endpoints. example: 6 + format: int64 type: integer accountId: + format: int64 type: integer applicationId: + format: int64 type: integer campaignId: + format: int64 type: integer created: format: date-time type: string createdBy: + format: int64 type: integer revisionId: + format: int64 type: integer version: + format: int64 type: integer name: description: A user-facing name for this campaign. @@ -23903,6 +24511,7 @@ components: activeRulesetId: description: The ID of the ruleset this campaign template will use. example: 5 + format: int64 nullable: true type: integer tags: @@ -23950,25 +24559,31 @@ components: description: Unique ID for this entity. Not to be confused with the Integration ID, which is set by your integration layer and used in most endpoints. example: 6 + format: int64 type: integer activateAt: format: date-time type: string accountId: + format: int64 type: integer applicationId: + format: int64 type: integer campaignId: + format: int64 type: integer created: format: date-time type: string createdBy: + format: int64 type: integer activatedAt: format: date-time type: string activatedBy: + format: int64 type: integer currentVersion: $ref: '#/components/schemas/RevisionVersion' @@ -23990,6 +24605,7 @@ components: - 2 - 3 items: + format: int64 type: integer maxItems: 5 type: array @@ -24013,6 +24629,7 @@ components: description: The ID of the parent group that contains the campaign evaluation group. example: 2 + format: int64 minimum: 1 type: integer description: @@ -24052,6 +24669,7 @@ components: applicationId: description: The ID of the Application that owns this entity. example: 322 + format: int64 type: integer name: description: The name of the campaign evaluation group. @@ -24061,6 +24679,7 @@ components: description: The ID of the parent group that contains the campaign evaluation group. example: 2 + format: int64 minimum: 1 type: integer description: @@ -24092,6 +24711,7 @@ components: description: Unique ID for this entity. Not to be confused with the Integration ID, which is set by your integration layer and used in most endpoints. example: 6 + format: int64 type: integer required: - applicationId @@ -24112,6 +24732,7 @@ components: description: The ID of the parent group that contains the campaign evaluation group. example: 2 + format: int64 minimum: 1 type: integer description: @@ -24172,6 +24793,7 @@ components: type: array groupId: description: The ID of the campaign set. + format: int64 type: integer locked: description: An indicator of whether the campaign set is locked for modification. @@ -24213,6 +24835,7 @@ components: type: string campaignId: description: ID of the campaign + format: int64 type: integer required: - campaignId @@ -24231,14 +24854,17 @@ components: applicationId: description: The ID of the Application that owns this entity. example: 322 + format: int64 type: integer id: description: Internal ID of this entity. example: 6 + format: int64 type: integer version: description: Version of the campaign set. example: 3 + format: int64 minimum: 1 type: integer set: @@ -24258,10 +24884,12 @@ components: applicationId: description: The ID of the Application that owns this entity. example: 322 + format: int64 type: integer version: description: Version of the campaign set. example: 2 + format: int64 minimum: 1 type: integer set: @@ -24428,6 +25056,7 @@ components: [ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this campaign applies on customer session evaluation. example: 2 + format: int64 type: integer tags: description: A list of tags for the campaign. @@ -24471,12 +25100,14 @@ components: - 1 - 3 items: + format: int64 type: integer type: array evaluationGroupId: description: The ID of the campaign evaluation group the campaign belongs to. example: 2 + format: int64 type: integer type: default: advanced @@ -24502,6 +25133,7 @@ components: - 2 - 3 items: + format: int64 type: integer type: array required: @@ -24538,6 +25170,7 @@ components: - 2 - 3 items: + format: int64 type: integer type: array description: @@ -24570,6 +25203,7 @@ components: description: The ID of the campaign evaluation group the campaign belongs to. example: 2 + format: int64 type: integer required: - applicationIds @@ -24584,6 +25218,7 @@ components: - 2 - 3 items: + format: int64 type: integer maxItems: 5 type: array @@ -24607,6 +25242,7 @@ components: - 2 - 3 items: + format: int64 type: integer maxItems: 50 type: array @@ -24626,6 +25262,7 @@ components: id: description: Unique ID for this entity. example: 6 + format: int64 type: integer name: description: Name of the outgoing integration. @@ -24746,14 +25383,17 @@ components: id: description: Unique ID for this entity. example: 6 + format: int64 type: integer accountId: description: The ID of the account to which this configuration belongs. example: 3886 + format: int64 type: integer typeId: description: The outgoing integration type ID. example: 12 + format: int64 type: integer policy: description: The outgoing integration policy specific to each integration @@ -24770,10 +25410,12 @@ components: id: description: Unique ID for this entity. example: 6 + format: int64 type: integer integrationType: description: Unique ID of outgoing integration type. example: 2 + format: int64 type: integer title: description: The title of the integration template. @@ -24838,10 +25480,12 @@ components: id: description: Unique ID for this entity. example: 6 + format: int64 type: integer integrationType: description: Unique ID of outgoing integration type. example: 2 + format: int64 type: integer title: description: The title of the integration template. @@ -24915,6 +25559,7 @@ components: - 2 - 3 items: + format: int64 type: integer type: array required: @@ -24971,6 +25616,7 @@ components: type: string picklistID: description: ID of the picklist linked to a template. + format: int64 type: integer restrictedByPicklist: description: Whether or not this attribute's value is restricted by picklist @@ -24988,6 +25634,7 @@ components: The IDs of the Applications in which this webhook is available. An empty array means the webhook is available in `All Applications`. items: + format: int64 type: integer type: array title: @@ -25068,6 +25715,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -25084,6 +25732,7 @@ components: The IDs of the Applications in which this webhook is available. An empty array means the webhook is available in `All Applications`. items: + format: int64 type: integer type: array title: @@ -25149,6 +25798,7 @@ components: properties: amount: description: The amount of period. + format: int64 minimum: 0 type: integer period: @@ -25181,9 +25831,11 @@ components: example: true type: boolean batchSize: + default: 1000 description: The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. example: 1000 + format: int64 type: integer required: - name @@ -25193,6 +25845,7 @@ components: properties: amount: description: The amount of period. + format: int64 minimum: 1 type: integer period: @@ -25225,9 +25878,11 @@ components: example: true type: boolean batchSize: + default: 1000 description: The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. example: 1000 + format: int64 type: integer required: - name @@ -25237,6 +25892,7 @@ components: properties: amount: description: The amount of period. + format: int64 minimum: 1 type: integer period: @@ -25269,9 +25925,11 @@ components: example: true type: boolean batchSize: + default: 1000 description: The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. example: 1000 + format: int64 type: integer required: - name @@ -25350,9 +26008,11 @@ components: example: true type: boolean batchSize: + default: 1000 description: The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. example: 1000 + format: int64 type: integer required: - name @@ -25368,6 +26028,7 @@ components: aheadOfDaysTrigger: description: The number of days in advance that strikethrough pricing updates should be sent. + format: int64 maximum: 3E+1 minimum: 1 type: integer @@ -25387,9 +26048,11 @@ components: example: false type: boolean batchSize: + default: 1000 description: The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. example: 1000 + format: int64 type: integer required: - name @@ -25407,9 +26070,11 @@ components: example: false type: boolean batchSize: + default: 5 description: The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. example: 5 + format: int64 type: integer required: - name @@ -25427,9 +26092,11 @@ components: example: false type: boolean batchSize: + default: 1000 description: The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. example: 1000 + format: int64 type: integer required: - name @@ -25447,9 +26114,11 @@ components: example: false type: boolean batchSize: + default: 1000 description: The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. example: 1000 + format: int64 type: integer required: - name @@ -25458,6 +26127,7 @@ components: properties: amount: description: The amount of period. + format: int64 type: integer period: description: Notification period indicated by a letter; "w" means week, @@ -25483,9 +26153,11 @@ components: example: false type: boolean batchSize: + default: 1000 description: The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. example: 1000 + format: int64 type: integer triggers: items: @@ -25539,6 +26211,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -25587,6 +26260,7 @@ components: id: description: Unique ID for this entity. example: 6 + format: int64 minimum: 1 type: integer type: @@ -25664,6 +26338,7 @@ components: effectId: description: ID of the effect. example: 1 + format: int64 type: integer name: description: The type of the custom effect. @@ -25687,16 +26362,19 @@ components: campaignId: description: The ID of the campaign that effect belongs to. example: 3 + format: int64 type: integer rulesetId: description: The ID of the ruleset containing the rule that triggered this effect. example: 11 + format: int64 type: integer ruleIndex: description: The position of the rule that triggered this effect within the ruleset. example: 2 + format: int64 type: integer ruleName: description: The name of the rule that triggered this effect. @@ -25731,6 +26409,7 @@ components: campaignsIDs: description: The campaign IDs that got fetched for the evaluation process. items: + format: int64 type: integer type: array effects: @@ -25815,6 +26494,7 @@ components: httpStatus: description: The returned http status code. example: 200 + format: int64 type: integer required: - httpResponse @@ -26149,6 +26829,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -26158,6 +26839,7 @@ components: userId: description: The ID of the user associated with this entity. example: 388 + format: int64 type: integer rules: description: Set of rules to apply. @@ -26190,11 +26872,13 @@ components: campaignId: description: The ID of the campaign that owns this entity. example: 320 + format: int64 title: Campaign ID type: integer templateId: description: The ID of the campaign template that owns this entity. example: 3 + format: int64 title: Campaign Template ID type: integer activatedAt: @@ -26222,6 +26906,7 @@ components: description: | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. example: 100 + format: int64 maximum: 999999 minimum: 0 type: integer @@ -26236,6 +26921,7 @@ components: description: | The number of reservations that can be made with this coupon code. example: 45 + format: int64 maximum: 999999 minimum: 0 type: integer @@ -26300,6 +26986,7 @@ components: description: | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. example: 100 + format: int64 maximum: 999999 minimum: 0 type: integer @@ -26314,6 +27001,7 @@ components: description: | The number of reservations that can be made with this coupon code. example: 45 + format: int64 maximum: 999999 minimum: 0 type: integer @@ -26342,6 +27030,7 @@ components: description: The number of new coupon codes to generate for the campaign. Must be at least 1. example: 1 + format: int64 type: integer uniquePrefix: description: | @@ -26443,6 +27132,7 @@ components: description: | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. example: 100 + format: int64 maximum: 999999 minimum: 0 type: integer @@ -26457,6 +27147,7 @@ components: description: | The number of reservations that can be made with this coupon code. example: 45 + format: int64 maximum: 999999 minimum: 0 type: integer @@ -26586,6 +27277,7 @@ components: description: | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. example: 100 + format: int64 maximum: 999999 minimum: 0 type: integer @@ -26600,6 +27292,7 @@ components: description: | The number of reservations that can be made with this coupon code. example: 45 + format: int64 maximum: 999999 minimum: 0 type: integer @@ -26617,6 +27310,7 @@ components: numberOfCoupons: description: The number of new coupon codes to generate for the campaign. example: 200000 + format: int64 maximum: 5E+6 minimum: 1 type: integer @@ -26724,6 +27418,7 @@ components: referralId: description: Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. + format: int64 type: integer expiresAfter: description: Filter results comparing the parameter value, expected to be @@ -26769,6 +27464,7 @@ components: description: Unique ID for this entity. Not to be confused with the Integration ID, which is set by your integration layer and used in most endpoints. example: 6 + format: int64 type: integer required: - id @@ -26779,6 +27475,7 @@ components: $ref: '#/components/schemas/CouponDeletionFilters' campaignids: items: + format: int64 type: integer type: array required: @@ -26812,6 +27509,7 @@ components: description: | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. example: 100 + format: int64 maximum: 999999 minimum: 0 type: integer @@ -26826,6 +27524,7 @@ components: description: | The number of reservations that can be made with this coupon code. example: 45 + format: int64 maximum: 999999 minimum: 0 type: integer @@ -26912,6 +27611,7 @@ components: description: | The number of times a referral code can be used. This can be set to 0 for no limit, but any campaign usage limits will still apply. example: 1 + format: int64 maximum: 999999 minimum: 0 title: Referral code Usage Limit @@ -26950,6 +27650,7 @@ components: description: | The number of times a referral code can be used. This can be set to 0 for no limit, but any campaign usage limits will still apply. example: 1 + format: int64 maximum: 999999 minimum: 0 title: Referral code Usage Limit @@ -26978,6 +27679,7 @@ components: - 2 - 3 items: + format: int64 type: integer type: array campaignIds: @@ -26988,6 +27690,7 @@ components: - 6 - 8 items: + format: int64 type: integer type: array required: @@ -27014,6 +27717,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -27028,6 +27732,7 @@ components: accountId: description: The ID of the account that owns this entity. example: 3886 + format: int64 type: integer name: description: The name of the campaign access group. @@ -27046,6 +27751,7 @@ components: - 2 - 3 items: + format: int64 type: integer type: array campaignIds: @@ -27056,6 +27762,7 @@ components: - 6 - 8 items: + format: int64 type: integer type: array required: @@ -27084,6 +27791,7 @@ components: - 2 - 3 items: + format: int64 type: integer type: array campaignIds: @@ -27094,6 +27802,7 @@ components: - 6 - 8 items: + format: int64 type: integer type: array required: @@ -27104,6 +27813,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -27118,12 +27828,14 @@ components: accountId: description: The ID of the account that owns this entity. example: 3886 + format: int64 type: integer campaignGroupID: description: | The ID of the [Campaign Group](https://docs.talon.one/docs/product/account/account-settings/managing-campaign-groups) this role was created for. example: 3 + format: int64 type: integer name: description: Name of the role. @@ -27141,6 +27853,7 @@ components: - 475 - 18 items: + format: int64 type: integer type: array acl: @@ -27167,6 +27880,7 @@ components: description: | The number of reservations that can be made with this coupon code. example: 45 + format: int64 maximum: 999999 minimum: 0 type: integer @@ -27259,6 +27973,7 @@ components: attributeId: description: ID of the corresponding attribute. example: 42 + format: int64 type: integer required: - description @@ -27323,6 +28038,7 @@ components: activeRulesetId: description: The ID of the ruleset this campaign template will use. example: 5 + format: int64 type: integer tags: description: A list of tags for the campaign template. @@ -27370,6 +28086,7 @@ components: - 2 - 3 items: + format: int64 type: integer type: array campaignCollections: @@ -27381,6 +28098,7 @@ components: defaultCampaignGroupId: description: The default campaign group ID. example: 42 + format: int64 type: integer campaignType: default: advanced @@ -27545,6 +28263,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -27554,10 +28273,12 @@ components: accountId: description: The ID of the account that owns this entity. example: 3886 + format: int64 type: integer userId: description: The ID of the user associated with this entity. example: 388 + format: int64 type: integer name: description: The campaign template name. @@ -27597,6 +28318,7 @@ components: activeRulesetId: description: The ID of the ruleset this campaign template will use. example: 5 + format: int64 type: integer tags: description: A list of tags for the campaign template. @@ -27647,6 +28369,7 @@ components: - 2 - 3 items: + format: int64 type: integer type: array campaignCollections: @@ -27658,6 +28381,7 @@ components: defaultCampaignGroupId: description: The default campaign group ID. example: 42 + format: int64 type: integer campaignType: default: advanced @@ -27688,6 +28412,7 @@ components: - 2 - 3 items: + format: int64 type: integer type: array isUserFavorite: @@ -27787,6 +28512,7 @@ components: defaultCampaignGroupId: description: The default campaign group ID. example: 42 + format: int64 type: integer campaignType: default: advanced @@ -27862,6 +28588,7 @@ components: description: The ID of the Campaign Template which will be used in order to create the Campaign. example: 4 + format: int64 type: integer campaignAttributesOverrides: description: Custom Campaign Attributes. If the Campaign Template defines @@ -27887,6 +28614,7 @@ components: - 1 - 3 items: + format: int64 type: integer type: array tags: @@ -27904,6 +28632,7 @@ components: description: The ID of the campaign evaluation group the campaign belongs to. example: 2 + format: int64 type: integer linkedStoreIds: description: | @@ -27917,6 +28646,7 @@ components: - 2 - 3 items: + format: int64 type: integer type: array required: @@ -27943,6 +28673,7 @@ components: - 2 - 3 items: + format: int64 type: integer type: array type: object @@ -27967,6 +28698,7 @@ components: - 2 - 3 items: + format: int64 type: integer type: array name: @@ -27998,6 +28730,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -28007,6 +28740,7 @@ components: accountId: description: The ID of the account that owns this entity. example: 3886 + format: int64 type: integer modified: description: The time this entity was last modified. @@ -28025,6 +28759,7 @@ components: - 2 - 3 items: + format: int64 type: integer type: array name: @@ -28036,18 +28771,22 @@ components: modifiedBy: description: ID of the user who last updated this effect if available. example: 48 + format: int64 type: integer createdBy: description: ID of the user who created this effect. example: 134 + format: int64 type: integer applicationId: description: The ID of the Application that owns this entity. example: 1 + format: int64 type: integer campaignId: description: The ID of the campaign that owns this entity. example: 7 + format: int64 type: integer required: - accountId @@ -28080,6 +28819,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -28089,6 +28829,7 @@ components: accountId: description: The ID of the account that owns this entity. example: 3886 + format: int64 type: integer modified: description: The time this entity was last modified. @@ -28107,6 +28848,7 @@ components: - 2 - 3 items: + format: int64 type: integer type: array name: @@ -28118,18 +28860,22 @@ components: modifiedBy: description: ID of the user who last updated this effect if available. example: 48 + format: int64 type: integer createdBy: description: ID of the user who created this effect. example: 134 + format: int64 type: integer applicationId: description: The ID of the Application that owns this entity. example: 1 + format: int64 type: integer campaignId: description: The ID of the campaign that owns this entity. example: 7 + format: int64 type: integer payload: description: The content of the collection. @@ -28509,6 +29255,7 @@ components: - 132 - 97 items: + format: int64 type: integer type: array defaultValidity: @@ -28536,6 +29283,7 @@ components: The max amount of user profiles with whom a card can be shared. This can be set to 0 for no limit. This property is only used when `cardBased` is `true`. example: 111 + format: int64 minimum: 0 type: integer sandbox: @@ -28672,6 +29420,7 @@ components: - 132 - 97 items: + format: int64 type: integer type: array defaultValidity: @@ -28699,6 +29448,7 @@ components: The max amount of user profiles with whom a card can be shared. This can be set to 0 for no limit. This property is only used when `cardBased` is `true`. example: 111 + format: int64 minimum: 0 type: integer sandbox: @@ -28797,6 +29547,7 @@ components: id: description: The internal ID of the tier. example: 6 + format: int64 type: integer name: description: The name of the tier. @@ -28908,6 +29659,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -28917,10 +29669,12 @@ components: accountId: description: The ID of the account that owns this entity. example: 3886 + format: int64 type: integer userId: description: The ID of the user associated with this entity. example: 388 + format: int64 type: integer entity: description: | @@ -28930,6 +29684,7 @@ components: amount: description: The number of values that were imported. example: 10 + format: int64 minimum: 0 type: integer required: @@ -28966,18 +29721,21 @@ components: type: string programID: example: 5 + format: int64 type: integer customerProfileID: example: URNGV8294NV type: string cardID: example: 241 + format: int64 type: integer customerSessionID: example: t2gy5s-47274 type: string eventID: example: 5 + format: int64 type: integer type: description: | @@ -29013,6 +29771,7 @@ components: description: This is the ID of the user who created this entry, if the addition or subtraction was done manually. example: 499 + format: int64 type: integer archived: description: Indicates if the entry belongs to the archived session. @@ -29508,6 +30267,7 @@ components: applicationId: description: ID of the Application that is connected to the loyalty program. example: 322 + format: int64 type: integer required: - points @@ -29538,14 +30298,17 @@ components: id: description: ID of the loyalty ledger transaction. example: 123 + format: int64 type: integer programId: description: ID of the loyalty program. example: 324 + format: int64 type: integer campaignId: description: ID of the campaign. example: 324 + format: int64 type: integer created: description: Date and time the loyalty transaction occurred. @@ -29611,11 +30374,13 @@ components: importId: description: ID of the import where the transaction occurred. example: 4 + format: int64 type: integer userId: description: ID of the user who manually added or deducted points. Applies only to manual transactions. example: 5 + format: int64 type: integer userEmail: description: The email of the Campaign Manager account that manually added @@ -29626,6 +30391,7 @@ components: description: ID of the ruleset containing the rule that triggered the effect. Applies only for transactions that resulted from a customer session. example: 11 + format: int64 type: integer ruleName: description: Name of the rule that triggered the effect. Applies only for @@ -29693,6 +30459,7 @@ components: numberOfCards: description: Number of loyalty cards in the batch. example: 5000 + format: int64 type: integer batchId: description: ID of the loyalty card batch. @@ -29722,6 +30489,7 @@ components: numberOfCardsGenerated: description: Number of loyalty cards in the batch. example: 5000 + format: int64 type: integer batchId: description: ID of the loyalty card batch. @@ -29788,6 +30556,7 @@ components: programId: description: ID of the loyalty program. example: 324 + format: int64 type: integer cardIdentifier: description: | @@ -29799,11 +30568,13 @@ components: applicationId: description: The ID of the Application that owns this entity. example: 322 + format: int64 type: integer sessionId: description: | The **internal** ID of the session. example: 233 + format: int64 type: integer customerSessionId: description: ID of the customer session where the transaction occurred. @@ -29853,6 +30624,7 @@ components: id: description: ID of the loyalty ledger entry. example: 123 + format: int64 type: integer required: - amount @@ -29903,6 +30675,7 @@ components: - 2 - 4 items: + format: int64 type: integer type: array sandbox: @@ -29921,6 +30694,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -29930,6 +30704,7 @@ components: accountId: description: The ID of the account that owns this entity. example: 3886 + format: int64 type: integer name: description: The name of this giveaways pool. @@ -29946,6 +30721,7 @@ components: - 2 - 4 items: + format: int64 type: integer type: array sandbox: @@ -29960,9 +30736,11 @@ components: type: string createdBy: description: ID of the user who created this giveaways pool. + format: int64 type: integer modifiedBy: description: ID of the user who last updated this giveaways pool if available. + format: int64 type: integer required: - accountId @@ -29977,19 +30755,23 @@ components: campaignId: description: The ID of the campaign that owns this entity. example: 211 + format: int64 title: Campaign ID type: integer applicationId: description: The ID of the Application that owns this entity. example: 322 + format: int64 type: integer accountId: description: The ID of the account that owns this entity. example: 3886 + format: int64 type: integer id: description: Unique ID for this entity. example: 6 + format: int64 type: integer action: description: The limitable action of the limit counter. @@ -29998,6 +30780,7 @@ components: profileId: description: The profile ID for which this limit counter is used. example: 335 + format: int64 type: integer profileIntegrationId: description: The profile integration ID for which this limit counter is @@ -30008,6 +30791,7 @@ components: couponId: description: The internal coupon ID for which this limit counter is used. example: 34 + format: int64 type: integer couponValue: description: The coupon value for which this limit counter is used. @@ -30016,6 +30800,7 @@ components: referralId: description: The referral ID for which this limit counter is used. example: 4 + format: int64 type: integer referralValue: description: The referral value for which this limit counter is used. @@ -30051,6 +30836,7 @@ components: applicationIds: description: The IDs of the Applications that are related to this entity. items: + format: int64 type: integer minItems: 1 type: array @@ -30062,6 +30848,7 @@ components: applicationIds: description: The IDs of the Applications that are related to this entity. items: + format: int64 type: integer minItems: 1 type: array @@ -30103,6 +30890,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -30112,6 +30900,7 @@ components: accountId: description: The ID of the account that owns this entity. example: 3886 + format: int64 type: integer modified: description: The time this entity was last modified. @@ -30121,6 +30910,7 @@ components: applicationIds: description: The IDs of the Applications that are related to this entity. items: + format: int64 type: integer minItems: 1 type: array @@ -30153,10 +30943,12 @@ components: modifiedBy: description: ID of the user who last updated this effect if available. example: 334 + format: int64 type: integer createdBy: description: ID of the user who created this effect. example: 216 + format: int64 type: integer required: - accountId @@ -30203,6 +30995,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -30232,14 +31025,17 @@ components: modifiedBy: description: ID of the user who last updated this effect if available. example: 124 + format: int64 type: integer createdBy: description: ID of the user who created this effect. example: 134 + format: int64 type: integer accountId: description: The ID of the account that owns this entity. example: 3886 + format: int64 type: integer imported: description: Imported flag shows that a picklist is imported by a CSV file @@ -30381,12 +31177,15 @@ components: properties: live: description: Number of campaigns that are active and live (across all Applications). + format: int64 type: integer endingSoon: description: Campaigns scheduled to expire sometime in the next 7 days. + format: int64 type: integer lowOnBudget: description: Campaigns with less than 10% of budget left. + format: int64 type: integer required: - endingSoon @@ -30425,6 +31224,7 @@ components: id: description: ID of the SAML login endpoint. example: 2 + format: int64 type: integer name: description: ID of the SAML service. @@ -30444,6 +31244,7 @@ components: accountId: description: The ID of the account that owns this entity. example: 3885 + format: int64 type: integer name: description: ID of the SAML service. @@ -30487,6 +31288,7 @@ components: accountId: description: The ID of the account that owns this entity. example: 3885 + format: int64 type: integer name: description: ID of the SAML service. @@ -30517,6 +31319,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -30544,6 +31347,7 @@ components: accountId: description: The ID of the account that owns this entity. example: 3885 + format: int64 type: integer name: description: ID of the SAML service. @@ -30636,10 +31440,12 @@ components: userId: description: The ID of the user. example: 109 + format: int64 type: integer accountId: description: The ID of the account. example: 31 + format: int64 type: integer token: description: The two-factor authentication token created during sign-in. @@ -30665,6 +31471,7 @@ components: userId: description: The ID of the user of this session. example: 109 + format: int64 type: integer token: description: The token to use as a bearer token to query Management API @@ -30751,6 +31558,7 @@ components: status: description: HTTP status code of response. example: 200 + format: int64 type: integer method: description: HTTP method of request. @@ -30814,6 +31622,7 @@ components: - 1 - 2 items: + format: int64 type: integer type: array webhooks: @@ -30822,6 +31631,7 @@ components: - 3 - 4 items: + format: int64 type: integer type: array type: object @@ -30891,44 +31701,56 @@ components: type: number campaignFreeItems: description: Amount of free items given in the campaign. + format: int64 type: integer totalCampaignFreeItems: description: Amount of free items given in the campaign since it began. example: 86 + format: int64 type: integer couponRedemptions: description: Number of coupon redemptions in the campaign. + format: int64 type: integer totalCouponRedemptions: description: Number of coupon redemptions in the campaign since it began. + format: int64 type: integer couponRolledbackRedemptions: description: Number of coupon redemptions that have been rolled back (due to canceling closed session) in the campaign. + format: int64 type: integer totalCouponRolledbackRedemptions: description: Number of coupon redemptions that have been rolled back (due to canceling closed session) in the campaign since it began. + format: int64 type: integer referralRedemptions: description: Number of referral redemptions in the campaign. + format: int64 type: integer totalReferralRedemptions: description: Number of referral redemptions in the campaign since it began. + format: int64 type: integer couponsCreated: description: Number of coupons created in the campaign by the rule engine. + format: int64 type: integer totalCouponsCreated: description: Number of coupons created in the campaign by the rule engine since it began. + format: int64 type: integer referralsCreated: description: Number of referrals created in the campaign by the rule engine. + format: int64 type: integer totalReferralsCreated: description: Number of referrals created in the campaign by the rule engine since it began. + format: int64 type: integer addedLoyaltyPoints: description: Number of added loyalty points in the campaign in a specific @@ -31004,6 +31826,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -31026,12 +31849,14 @@ components: accountId: description: The ID of the Talon.One account that owns this profile. example: 31 + format: int64 title: Profile belongs to Account type: integer closedSessions: description: The total amount of closed sessions by a customer. A closed session is a successful purchase. example: 3 + format: int64 title: Closed sessions type: integer totalSales: @@ -31111,6 +31936,7 @@ components: type: array profileIDs: items: + format: int64 type: integer type: array type: object @@ -31147,6 +31973,7 @@ components: type: string customerId: description: The internal Talon.One ID of the customer. + format: int64 type: integer lastActivity: description: The last activity of the customer. @@ -31154,12 +31981,15 @@ components: type: string couponRedemptions: description: Number of coupon redemptions in all customer campaigns. + format: int64 type: integer couponUseAttempts: description: Number of coupon use attempts in all customer campaigns. + format: int64 type: integer couponFailedAttempts: description: Number of failed coupon use attempts in all customer campaigns. + format: int64 type: integer accruedDiscounts: description: Number of accrued discounts in all customer campaigns. @@ -31169,9 +31999,11 @@ components: type: number totalOrders: description: Number of orders in all customer campaigns. + format: int64 type: integer totalOrdersNoCoupon: description: Number of orders without coupon used in all customer campaigns. + format: int64 type: integer campaignName: description: The name of the campaign this customer belongs to. @@ -31203,18 +32035,23 @@ components: properties: acceptedCoupons: description: Total accepted coupons for this customer. + format: int64 type: integer createdCoupons: description: Total created coupons for this customer. + format: int64 type: integer freeItems: description: Total free items given to this customer. + format: int64 type: integer totalOrders: description: Total orders made by this customer. + format: int64 type: integer totalDiscountedOrders: description: Total orders made by this customer that had a discount. + format: int64 type: integer totalRevenue: description: Total Revenue across all closed sessions. @@ -31237,6 +32074,7 @@ components: description: The globally unique Talon.One ID of the customer that created this entity. example: 138 + format: int64 type: integer type: object ApplicationSession: @@ -31303,6 +32141,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -31325,11 +32164,13 @@ components: applicationId: description: The ID of the Application that owns this entity. example: 322 + format: int64 type: integer profileId: description: The globally unique Talon.One ID of the customer that created this entity. example: 138 + format: int64 type: integer profileintegrationid: description: Integration ID of the customer for the session. @@ -31406,6 +32247,7 @@ components: properties: storeId: description: The ID of the store. + format: int64 type: integer type: object ApplicationEvent: @@ -31479,6 +32321,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -31488,14 +32331,17 @@ components: applicationId: description: The ID of the Application that owns this entity. example: 322 + format: int64 type: integer profileId: description: The globally unique Talon.One ID of the customer that created this entity. example: 138 + format: int64 type: integer storeId: description: The ID of the store. + format: int64 type: integer storeIntegrationId: description: The integration ID of the store. You choose this ID when you @@ -31507,6 +32353,7 @@ components: sessionId: description: The globally unique Talon.One ID of the session that contains this event. + format: int64 type: integer type: description: A string representing the event. Must not be a reserved event @@ -31545,10 +32392,12 @@ components: audienceId: description: The ID of the audience. example: 1 + format: int64 type: integer membersCount: description: The member count of the audience. example: 1234 + format: int64 type: integer type: object AudienceCustomer: @@ -31556,6 +32405,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -31578,12 +32428,14 @@ components: accountId: description: The ID of the Talon.One account that owns this profile. example: 31 + format: int64 title: Profile belongs to Account type: integer closedSessions: description: The total amount of closed sessions by a customer. A closed session is a successful purchase. example: 3 + format: int64 title: Closed sessions type: integer totalSales: @@ -31635,6 +32487,7 @@ components: - 2 - 3 items: + format: int64 type: integer type: array connectedAudiences: @@ -31645,6 +32498,7 @@ components: - 2 - 3 items: + format: int64 type: integer type: array required: @@ -31669,6 +32523,7 @@ components: applicationId: description: The ID of the Application that owns this entity. example: 322 + format: int64 type: integer sessionId: description: Integration ID of the session in which the customer redeemed @@ -31794,6 +32649,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -31803,6 +32659,7 @@ components: applicationId: description: The ID of the Application that owns this entity. example: 322 + format: int64 type: integer title: description: Campaigner-friendly name for the template that will be shown @@ -31856,10 +32713,12 @@ components: campaignId: description: The ID of the campaign the achievement belongs to. example: 1 + format: int64 type: integer userId: description: ID of the user that created this achievement. example: 1234 + format: int64 type: integer createdBy: description: | @@ -31912,6 +32771,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -32010,10 +32870,12 @@ components: campaignId: description: The ID of the campaign the achievement belongs to. example: 1 + format: int64 type: integer userId: description: ID of the user that created this achievement. example: 1234 + format: int64 type: integer createdBy: description: | @@ -32077,6 +32939,7 @@ components: - 3 - 13 items: + format: int64 type: integer type: array type: @@ -32113,6 +32976,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -32122,6 +32986,7 @@ components: accountId: description: The ID of the account that owns this entity. example: 3886 + format: int64 type: integer name: description: The internal name used in API requests. @@ -32146,6 +33011,7 @@ components: - 3 - 13 items: + format: int64 type: integer type: array type: @@ -32183,15 +33049,18 @@ components: description: The ID of the expression that the Application cart item filter uses. example: 1 + format: int64 type: integer modifiedBy: description: The ID of the user who last updated the Application cart item filter. example: 334 + format: int64 type: integer createdBy: description: The ID of the user who created the Application cart item filter. example: 216 + format: int64 type: integer modified: description: Timestamp of the most recent update to the Application cart @@ -32206,6 +33075,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -32224,15 +33094,18 @@ components: description: The ID of the expression that the Application cart item filter uses. example: 1 + format: int64 type: integer modifiedBy: description: The ID of the user who last updated the Application cart item filter. example: 334 + format: int64 type: integer createdBy: description: The ID of the user who created the Application cart item filter. example: 216 + format: int64 type: integer modified: description: Timestamp of the most recent update to the Application cart @@ -32242,6 +33115,7 @@ components: applicationId: description: The ID of the Application that owns this entity. example: 322 + format: int64 type: integer required: - applicationId @@ -32254,6 +33128,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -32263,6 +33138,7 @@ components: applicationId: description: The ID of the Application that owns this entity. example: 322 + format: int64 type: integer slots: description: The slots defined for this application. @@ -32444,6 +33320,7 @@ components: type: string campaignsCount: description: The number of campaigns that refer to the attribute. + format: int64 type: integer exampleValue: description: Examples of values that can be assigned to the attribute. @@ -32488,6 +33365,7 @@ components: - 2 - 3 items: + format: int64 type: integer type: array required: @@ -32512,6 +33390,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -32521,6 +33400,7 @@ components: accountId: description: The ID of the account that owns this entity. example: 3886 + format: int64 type: integer modified: description: The time this entity was last modified. @@ -32543,15 +33423,18 @@ components: - 2 - 3 items: + format: int64 type: integer type: array version: description: The current version of this catalog. example: 6 + format: int64 type: integer createdBy: description: The ID of user who created this catalog. example: 6 + format: int64 type: integer required: - accountId @@ -32572,6 +33455,7 @@ components: attributeid: description: The ID of the attribute of the item. example: 6 + format: int64 type: integer name: description: The name of the attribute. @@ -32605,6 +33489,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -32623,10 +33508,12 @@ components: catalogid: description: The ID of the catalog the item belongs to. example: 6 + format: int64 type: integer version: description: The version of the catalog item. example: 5 + format: int64 minimum: 1 type: integer attributes: @@ -32819,6 +33706,7 @@ components: version: description: The version number of the catalog to apply the actions on. example: 244 + format: int64 minimum: 1 type: integer required: @@ -32849,6 +33737,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -32865,6 +33754,7 @@ components: The IDs of the Applications in which this webhook is available. An empty array means the webhook is available in `All Applications`. items: + format: int64 type: integer type: array title: @@ -32917,10 +33807,12 @@ components: outgoingIntegrationTemplateId: description: Identifier of the outgoing integration template. example: 1 + format: int64 type: integer outgoingIntegrationTypeId: description: Identifier of the outgoing integration type. example: 1 + format: int64 type: integer outgoingIntegrationTypeName: description: Name of the outgoing integration. @@ -32955,14 +33847,17 @@ components: webhookId: description: ID of the webhook that triggered the request. example: 1 + format: int64 type: integer applicationId: description: ID of the application that triggered the webhook. example: 13 + format: int64 type: integer campaignId: description: ID of the campaign that triggered the webhook. example: 86 + format: int64 type: integer created: description: Timestamp of request @@ -33005,10 +33900,12 @@ components: webhookId: description: ID of the webhook that triggered the request. example: 5 + format: int64 type: integer applicationId: description: ID of the application that triggered the webhook. example: 12 + format: int64 type: integer url: description: The target URL of the request. @@ -33028,6 +33925,7 @@ components: status: description: HTTP status code of response. example: 204 + format: int64 type: integer requestTime: description: Timestamp of request @@ -33089,6 +33987,7 @@ components: status: description: HTTP status code of the response. example: 200 + format: int64 type: integer type: object MessageLogEntry: @@ -33130,6 +34029,7 @@ components: notificationId: description: ID of the notification. example: 101 + format: int64 type: integer notificationName: description: The name of the notification. @@ -33138,6 +34038,7 @@ components: webhookId: description: ID of the webhook. example: 101 + format: int64 type: integer webhookName: description: The name of the webhook. @@ -33168,16 +34069,19 @@ components: applicationId: description: Identifier of the Application. example: 5 + format: int64 minimum: 1 type: integer loyaltyProgramId: description: Identifier of the loyalty program. example: 2 + format: int64 minimum: 1 type: integer campaignId: description: Identifier of the campaign. example: 2 + format: int64 minimum: 1 type: integer required: @@ -33281,6 +34185,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -33344,6 +34249,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -33363,6 +34269,7 @@ components: accountId: description: The ID of the account that owns this entity. example: 3886 + format: int64 type: integer name: description: Name of the user. @@ -33398,6 +34305,7 @@ components: example: - 71 items: + format: int64 type: integer type: array authMethod: @@ -33485,6 +34393,7 @@ components: - 1 - 3 items: + format: int64 type: integer type: array applicationNotificationSubscriptions: @@ -33655,6 +34564,7 @@ components: type: array totalResults: description: Number of total results in the response. + format: int64 type: integer required: - Resources @@ -33856,6 +34766,7 @@ components: type: array totalResults: description: Number of total results in the response. + format: int64 type: integer required: - Resources @@ -33970,6 +34881,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -33979,10 +34891,12 @@ components: userId: description: The ID of the user associated with this entity. example: 388 + format: int64 type: integer applicationId: description: ID of application associated with change. example: 359 + format: int64 type: integer entity: description: API endpoint on which the change was initiated. @@ -34010,6 +34924,7 @@ components: managementKeyId: description: ID of management key used to perform changes. example: 3 + format: int64 type: integer required: - created @@ -34045,6 +34960,7 @@ components: description: A list of the IDs of the roles assigned to the user. items: example: 13 + format: int64 type: integer type: array acl: @@ -34200,6 +35116,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -34236,29 +35153,37 @@ components: type: string applicationLimit: description: The maximum number of Applications covered by your plan. + format: int64 type: integer userLimit: description: The maximum number of Campaign Manager Users covered by your plan. + format: int64 type: integer campaignLimit: description: The maximum number of Campaigns covered by your plan. + format: int64 type: integer apiLimit: description: The maximum number of Integration API calls covered by your plan per billing period. + format: int64 type: integer applicationCount: description: The current number of Applications in your account. + format: int64 type: integer userCount: description: The current number of Campaign Manager Users in your account. + format: int64 type: integer campaignsActiveCount: description: The current number of active Campaigns in your account. + format: int64 type: integer campaignsInactiveCount: description: The current number of inactive Campaigns in your account. + format: int64 type: integer attributes: description: Arbitrary properties associated with this campaign. @@ -34303,78 +35228,97 @@ components: applications: description: Total number of applications in the account. example: 11 + format: int64 type: integer liveApplications: description: Total number of live applications in the account. example: 6 + format: int64 type: integer sandboxApplications: description: Total number of sandbox applications in the account. example: 2 + format: int64 type: integer campaigns: description: Total number of campaigns in the account. example: 35 + format: int64 type: integer activeCampaigns: description: Total number of active campaigns in the account. example: 15 + format: int64 type: integer liveActiveCampaigns: description: Total number of active campaigns in live applications in the account. example: 10 + format: int64 type: integer coupons: description: Total number of coupons in the account. example: 850 + format: int64 type: integer activeCoupons: description: Total number of active coupons in the account. example: 650 + format: int64 type: integer expiredCoupons: description: Total number of expired coupons in the account. example: 200 + format: int64 type: integer referralCodes: description: Total number of referral codes in the account. example: 500 + format: int64 type: integer activeReferralCodes: description: Total number of active referral codes in the account. example: 100 + format: int64 type: integer expiredReferralCodes: description: Total number of expired referral codes in the account. example: 400 + format: int64 type: integer activeRules: description: Total number of active rules in the account. example: 35 + format: int64 type: integer users: description: Total number of users in the account. + format: int64 type: integer roles: description: Total number of roles in the account. example: 10 + format: int64 type: integer customAttributes: description: Total number of custom attributes in the account. example: 18 + format: int64 type: integer webhooks: description: Total number of webhooks in the account. example: 2 + format: int64 type: integer loyaltyPrograms: description: Total number of all loyalty programs in the account. example: 5 + format: int64 type: integer liveLoyaltyPrograms: description: Total number of live loyalty programs in the account. example: 5 + format: int64 type: integer lastUpdatedAt: description: The point in time when the analytics numbers were updated last. @@ -34407,37 +35351,48 @@ components: properties: liveApplications: description: Total number of allowed live applications in the account. + format: int64 type: integer sandboxApplications: description: Total number of allowed sandbox applications in the account. + format: int64 type: integer activeCampaigns: description: Total number of allowed active campaigns in live applications in the account. + format: int64 type: integer coupons: description: Total number of allowed coupons in the account. + format: int64 type: integer referralCodes: description: Total number of allowed referral codes in the account. + format: int64 type: integer activeRules: description: Total number of allowed active rulesets in the account. + format: int64 type: integer liveLoyaltyPrograms: description: Total number of allowed live loyalty programs in the account. + format: int64 type: integer sandboxLoyaltyPrograms: description: Total number of allowed sandbox loyalty programs in the account. + format: int64 type: integer webhooks: description: Total number of allowed webhooks in the account. + format: int64 type: integer users: description: Total number of allowed users in the account. + format: int64 type: integer apiVolume: description: Allowed volume of API requests to the account. + format: int64 type: integer promotionTypes: description: Array of promotion types that are employed in the account. @@ -34470,6 +35425,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -34479,10 +35435,12 @@ components: accountId: description: The ID of the account that owns this entity. example: 3886 + format: int64 type: integer userId: description: The ID of the user associated with this entity. example: 388 + format: int64 type: integer entity: description: The name of the entity that was exported. @@ -34511,6 +35469,7 @@ components: ManagerConfig: properties: schemaVersion: + format: int64 type: integer required: - schemaVersion @@ -34520,21 +35479,27 @@ components: properties: disabled: description: Number of disabled campaigns. + format: int64 type: integer staged: description: Number of staged campaigns. + format: int64 type: integer scheduled: description: Number of scheduled campaigns. + format: int64 type: integer running: description: Number of running campaigns. + format: int64 type: integer expired: description: Number of expired campaigns. + format: int64 type: integer archived: description: Number of archived campaigns. + format: int64 type: integer required: - archived @@ -34571,6 +35536,7 @@ components: - 475 - 18 items: + format: int64 type: integer type: array type: object @@ -34597,6 +35563,7 @@ components: - 475 - 18 items: + format: int64 type: integer type: array required: @@ -34614,6 +35581,7 @@ components: - 475 - 18 items: + format: int64 type: integer type: array roles: @@ -34622,6 +35590,7 @@ components: - 128 - 147 items: + format: int64 type: integer type: array required: @@ -34882,6 +35851,7 @@ components: - 10 - 12 items: + format: int64 type: integer type: array type: object @@ -34937,6 +35907,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -34951,6 +35922,7 @@ components: accountId: description: The ID of the account that owns this entity. example: 3886 + format: int64 type: integer name: description: Name of the role. @@ -34969,6 +35941,7 @@ components: - 10 - 12 items: + format: int64 type: integer type: array required: @@ -34996,6 +35969,7 @@ components: - 10 - 12 items: + format: int64 type: integer type: array required: @@ -35045,6 +36019,7 @@ components: description: | A time offset in nanoseconds associated with the API key. When making a request using the API key, rule evaluation is based on a date that is calculated by adding the offset to the current date. example: 100000 + format: int64 type: integer required: - expires @@ -35093,22 +36068,27 @@ components: description: | A time offset in nanoseconds associated with the API key. When making a request using the API key, rule evaluation is based on a date that is calculated by adding the offset to the current date. example: 100000 + format: int64 type: integer id: description: ID of the API Key. example: 34 + format: int64 type: integer createdBy: description: ID of user who created. example: 280 + format: int64 type: integer accountID: description: ID of account the key is used for. example: 13 + format: int64 type: integer applicationID: description: ID of application the key is used for. example: 54 + format: int64 type: integer created: description: The date the API key was created. @@ -35167,22 +36147,27 @@ components: description: | A time offset in nanoseconds associated with the API key. When making a request using the API key, rule evaluation is based on a date that is calculated by adding the offset to the current date. example: 100000 + format: int64 type: integer id: description: ID of the API Key. example: 34 + format: int64 type: integer createdBy: description: ID of user who created. example: 280 + format: int64 type: integer accountID: description: ID of account the key is used for. example: 13 + format: int64 type: integer applicationID: description: ID of application the key is used for. example: 54 + format: int64 type: integer created: description: The date the API key was created. @@ -35209,6 +36194,7 @@ components: description: | A time offset in nanoseconds associated with the API key. When making a request using the API key, rule evaluation is based on a date that is calculated by adding the offset to the current date. example: 100000 + format: int64 type: integer required: - timeOffset @@ -35217,6 +36203,7 @@ components: properties: id: description: id of the notification. + format: int64 type: integer name: description: name of the notification. @@ -35238,6 +36225,7 @@ components: notificationId: description: The ID of the notification. example: 1 + format: int64 type: integer notificationName: description: The name of the notification. @@ -35248,6 +36236,7 @@ components: The ID of the entity to which this notification belongs. For example, in case of a loyalty notification, this value is the ID of the loyalty program. example: 1 + format: int64 type: integer enabled: description: Indicates whether the notification is activated. @@ -35297,6 +36286,7 @@ components: - 2 - 3 items: + format: int64 type: integer type: array required: @@ -35329,19 +36319,23 @@ components: - 2 - 3 items: + format: int64 type: integer type: array id: description: ID of the management key. example: 34 + format: int64 type: integer createdBy: description: ID of the user who created it. example: 280 + format: int64 type: integer accountID: description: ID of account the key is used for. example: 13 + format: int64 type: integer created: description: The date the management key was created. @@ -35387,19 +36381,23 @@ components: - 2 - 3 items: + format: int64 type: integer type: array id: description: ID of the management key. example: 34 + format: int64 type: integer createdBy: description: ID of the user who created it. example: 280 + format: int64 type: integer accountID: description: ID of account the key is used for. example: 13 + format: int64 type: integer created: description: The date the management key was created. @@ -35433,6 +36431,7 @@ components: description: Unique ID for this entity. Not to be confused with the Integration ID, which is set by your integration layer and used in most endpoints. example: 6 + format: int64 type: integer created: example: 2021-07-20T22:00:00Z @@ -35441,9 +36440,11 @@ components: createdBy: description: The ID of the user who created the value map. example: 216 + format: int64 type: integer campaignId: example: 244 + format: int64 type: integer required: - campaignId @@ -35533,6 +36534,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -35569,6 +36571,7 @@ components: applicationId: description: The ID of the Application that owns this entity. example: 322 + format: int64 type: integer updated: description: Timestamp of the most recent update on this entity. @@ -35583,6 +36586,7 @@ components: - 6 - 8 items: + format: int64 type: integer type: array required: @@ -35600,6 +36604,7 @@ components: description: The ID of the campaign that references the application cart item filter. example: 1 + format: int64 type: integer campaignName: description: A user-facing name for this campaign. @@ -35614,6 +36619,7 @@ components: description: The ID of the Application Cart Item Filter that is referenced by a campaign. example: 322 + format: int64 type: integer campaigns: description: Campaigns that reference a speciifc Application Cart Item Filter. @@ -35631,11 +36637,13 @@ components: description: The ID of the expression that the Application cart item filter uses. example: 1 + format: int64 type: integer modifiedBy: description: The ID of the user who last updated the Application cart item filter. example: 334 + format: int64 type: integer modified: description: Timestamp of the most recent update to the Application cart @@ -35648,10 +36656,12 @@ components: cartItemFilterId: description: The ID of the Application cart item filter. example: 216 + format: int64 type: integer createdBy: description: The ID of the user who created the Application cart item filter. example: 216 + format: int64 type: integer expression: description: Arbitrary additional JSON data associated with the Application @@ -35679,6 +36689,7 @@ components: id: description: Internal ID of this entity. example: 6 + format: int64 type: integer created: description: The time this entity was created. @@ -35688,10 +36699,12 @@ components: cartItemFilterId: description: The ID of the Application cart item filter. example: 216 + format: int64 type: integer createdBy: description: The ID of the user who created the Application cart item filter. example: 216 + format: int64 type: integer expression: description: Arbitrary additional JSON data associated with the Application @@ -35716,6 +36729,7 @@ components: applicationId: description: The ID of the Application that owns this entity. example: 322 + format: int64 type: integer required: - applicationId @@ -35725,6 +36739,7 @@ components: ListCampaignStoreBudgetsStore: properties: id: + format: int64 type: integer integrationId: type: string @@ -35740,6 +36755,7 @@ components: store: $ref: '#/components/schemas/ListCampaignStoreBudgetsStore' limit: + format: int64 type: integer action: type: string @@ -35757,6 +36773,7 @@ components: The ID of the store. You can get this ID with the [List stores](#tag/Stores/operation/listStores) endpoint. example: 17 + format: int64 type: integer limit: description: The value to set for the limit. @@ -35817,6 +36834,7 @@ components: - yearly type: string storeCount: + format: int64 type: integer imported: type: boolean @@ -36036,6 +37054,7 @@ components: campaignId: description: The ID of the campaign. example: 1 + format: int64 type: integer campaignName: description: The name of the campaign. @@ -36090,6 +37109,7 @@ components: productId: description: The ID of the product. example: 1 + format: int64 type: integer value: description: The string matching the given value. Either a product name @@ -36100,6 +37120,7 @@ components: description: The ID of the SKU linked to a product. If empty, this is an product. example: 1 + format: int64 type: integer required: - value @@ -36109,6 +37130,7 @@ components: id: description: The ID of the product. example: 1 + format: int64 type: integer name: description: The name of the product. @@ -36118,6 +37140,7 @@ components: description: | The ID of the catalog. You can find the ID in the Campaign Manager in **Account** > **Tools** > **Cart item catalogs**. example: 1 + format: int64 type: integer unitsSold: $ref: '#/components/schemas/AnalyticsDataPointWithTrend' @@ -36142,6 +37165,7 @@ components: productId: description: The ID of the product. example: 1 + format: int64 type: integer productName: description: The name of the product. @@ -36171,6 +37195,7 @@ components: id: description: The ID of the SKU linked to the application. example: 1 + format: int64 type: integer sku: description: The SKU linked to the application. @@ -36227,6 +37252,7 @@ components: properties: rulesetID: description: ID of a ruleset. + format: int64 type: integer currency: description: Currency for the campaign. @@ -36239,6 +37265,7 @@ components: properties: rulesetID: description: ID of a ruleset. + format: int64 type: integer required: - rulesetID @@ -36276,6 +37303,7 @@ components: applicationId: description: The ID of the Application whose campaign evaluation tree changed. example: 78 + format: int64 type: integer oldEvaluationTree: $ref: '#/components/schemas/CampaignSet' @@ -36339,6 +37367,7 @@ components: description: The ID of the campaign evaluation group the campaign belongs to. example: 2 + format: int64 type: integer groupName: description: The name of the campaign evaluation group the campaign belongs @@ -36348,6 +37377,7 @@ components: position: description: The position of the campaign node in its parent group. example: 2 + format: int64 type: integer required: - groupId @@ -36410,6 +37440,7 @@ components: id: description: The ID of the event that triggered the strikethrough labeling. example: 1 + format: int64 type: integer type: description: The type of event that triggered the strikethrough labeling. @@ -36447,10 +37478,12 @@ components: id: description: The ID of the event that triggered the strikethrough labeling. example: 1 + format: int64 type: integer catalogId: description: The ID of the catalog that the changed item belongs to. example: 10 + format: int64 type: integer sku: description: The unique SKU of the changed item. @@ -36459,6 +37492,7 @@ components: version: description: The version of the changed item. example: 6 + format: int64 minimum: 1 type: integer price: @@ -36517,6 +37551,7 @@ components: properties: totalResultSize: example: 1 + format: int64 type: integer data: items: @@ -36574,6 +37609,7 @@ components: properties: totalResultSize: example: 1 + format: int64 type: integer data: items: @@ -36639,6 +37675,7 @@ components: properties: totalResultSize: example: 1 + format: int64 type: integer data: items: @@ -36664,6 +37701,7 @@ components: properties: totalResultSize: example: 1 + format: int64 type: integer data: items: @@ -37237,6 +38275,7 @@ components: properties: totalResultSize: example: 1 + format: int64 type: integer data: items: @@ -37556,6 +38595,7 @@ components: properties: totalResultSize: example: 1 + format: int64 type: integer data: items: @@ -37849,6 +38889,7 @@ components: properties: totalResultSize: example: 1 + format: int64 type: integer data: items: @@ -37928,6 +38969,7 @@ components: properties: totalResultSize: example: 1 + format: int64 type: integer data: items: @@ -38095,6 +39137,7 @@ components: properties: totalResultSize: example: 1 + format: int64 type: integer data: items: @@ -38569,6 +39612,7 @@ components: properties: totalResultSize: example: 1 + format: int64 type: integer data: items: @@ -38610,6 +39654,7 @@ components: properties: totalResultSize: example: 1 + format: int64 type: integer data: items: @@ -38871,6 +39916,7 @@ components: type: boolean totalResultSize: example: 1 + format: int64 type: integer data: items: @@ -38991,6 +40037,7 @@ components: properties: totalResultSize: example: 1 + format: int64 type: integer data: items: @@ -39051,6 +40098,7 @@ components: properties: totalResultSize: example: 1 + format: int64 type: integer hasMore: type: boolean @@ -39113,6 +40161,7 @@ components: hasMore: type: boolean totalResultSize: + format: int64 type: integer data: items: @@ -39171,6 +40220,7 @@ components: hasMore: type: boolean totalResultSize: + format: int64 type: integer data: items: @@ -39556,6 +40606,7 @@ components: properties: totalResultSize: example: 1 + format: int64 type: integer data: items: @@ -39594,6 +40645,7 @@ components: type: boolean totalResultSize: example: 1 + format: int64 type: integer data: items: @@ -39695,6 +40747,7 @@ components: type: boolean totalResultSize: example: 1 + format: int64 type: integer data: items: @@ -39767,6 +40820,7 @@ components: properties: totalResultSize: example: 1 + format: int64 type: integer data: items: @@ -39815,6 +40869,7 @@ components: type: boolean totalResultSize: example: 1 + format: int64 type: integer data: items: @@ -39849,6 +40904,7 @@ components: properties: totalResultSize: example: 1 + format: int64 type: integer data: items: @@ -39902,6 +40958,7 @@ components: properties: totalResultSize: example: 1 + format: int64 type: integer data: items: @@ -39927,6 +40984,7 @@ components: properties: totalResultSize: example: 1 + format: int64 type: integer data: items: @@ -39968,6 +41026,7 @@ components: properties: totalResultSize: example: 1 + format: int64 type: integer data: items: @@ -39993,6 +41052,7 @@ components: properties: totalResultSize: example: 1 + format: int64 type: integer data: items: @@ -40046,6 +41106,7 @@ components: properties: totalResultSize: example: 1 + format: int64 type: integer data: items: @@ -40096,6 +41157,7 @@ components: properties: totalResultSize: example: 1 + format: int64 type: integer hasMore: type: boolean @@ -40124,6 +41186,7 @@ components: properties: totalResultSize: example: 1 + format: int64 type: integer data: items: @@ -40231,6 +41294,7 @@ components: properties: totalResultSize: example: 1 + format: int64 type: integer data: items: @@ -40277,6 +41341,7 @@ components: type: boolean totalResultSize: example: 1 + format: int64 type: integer data: items: @@ -40434,10 +41499,12 @@ components: maxOperations: description: The maximum number of individual operations that can be included in a single bulk request. + format: int64 type: integer maxPayloadSize: description: The maximum size, in bytes, of the entire payload for a bulk operation request. + format: int64 type: integer supported: description: Indicates whether the SCIM service provider supports bulk operations. @@ -40456,6 +41523,7 @@ components: maxResults: description: The maximum number of resources that can be returned in a single filtered query response. + format: int64 type: integer supported: description: Indicates whether the SCIM service provider supports filtering diff --git a/build.gradle b/build.gradle index 1c40a6c2..6aaaca43 100644 --- a/build.gradle +++ b/build.gradle @@ -3,7 +3,7 @@ apply plugin: 'eclipse' apply plugin: 'java' group = 'one.talon' -version = '11.0.0' +version = '12.0.0' buildscript { repositories { diff --git a/build.sbt b/build.sbt index 778bbf88..0f1d76e2 100644 --- a/build.sbt +++ b/build.sbt @@ -2,7 +2,7 @@ lazy val root = (project in file(".")). settings( organization := "one.talon", name := "talon-one-client", - version := "11.0.0", + version := "12.0.0", scalaVersion := "2.11.4", scalacOptions ++= Seq("-feature"), javacOptions in compile ++= Seq("-Xlint:deprecation"), diff --git a/docs/AccessLogEntry.md b/docs/AccessLogEntry.md index ace849e4..18bd6335 100644 --- a/docs/AccessLogEntry.md +++ b/docs/AccessLogEntry.md @@ -8,7 +8,7 @@ Log of application accesses. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **uuid** | **String** | UUID reference of request. | -**status** | **Integer** | HTTP status code of response. | +**status** | **Long** | HTTP status code of response. | **method** | **String** | HTTP method of request. | **requestUri** | **String** | target URI of request | **time** | [**OffsetDateTime**](OffsetDateTime.md) | timestamp of request | diff --git a/docs/Account.md b/docs/Account.md index e6a37d79..a7225212 100644 --- a/docs/Account.md +++ b/docs/Account.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | **modified** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was last modified. | **companyName** | **String** | | @@ -15,14 +15,14 @@ Name | Type | Description | Notes **billingEmail** | **String** | The billing email address associated with your company account. | **planName** | **String** | The name of your booked plan. | [optional] **planExpires** | [**OffsetDateTime**](OffsetDateTime.md) | The point in time at which your current plan expires. | [optional] -**applicationLimit** | **Integer** | The maximum number of Applications covered by your plan. | [optional] -**userLimit** | **Integer** | The maximum number of Campaign Manager Users covered by your plan. | [optional] -**campaignLimit** | **Integer** | The maximum number of Campaigns covered by your plan. | [optional] -**apiLimit** | **Integer** | The maximum number of Integration API calls covered by your plan per billing period. | [optional] -**applicationCount** | **Integer** | The current number of Applications in your account. | -**userCount** | **Integer** | The current number of Campaign Manager Users in your account. | -**campaignsActiveCount** | **Integer** | The current number of active Campaigns in your account. | -**campaignsInactiveCount** | **Integer** | The current number of inactive Campaigns in your account. | +**applicationLimit** | **Long** | The maximum number of Applications covered by your plan. | [optional] +**userLimit** | **Long** | The maximum number of Campaign Manager Users covered by your plan. | [optional] +**campaignLimit** | **Long** | The maximum number of Campaigns covered by your plan. | [optional] +**apiLimit** | **Long** | The maximum number of Integration API calls covered by your plan per billing period. | [optional] +**applicationCount** | **Long** | The current number of Applications in your account. | +**userCount** | **Long** | The current number of Campaign Manager Users in your account. | +**campaignsActiveCount** | **Long** | The current number of active Campaigns in your account. | +**campaignsInactiveCount** | **Long** | The current number of inactive Campaigns in your account. | **attributes** | [**Object**](.md) | Arbitrary properties associated with this campaign. | [optional] diff --git a/docs/AccountAdditionalCost.md b/docs/AccountAdditionalCost.md index 45a50c49..b33ce618 100644 --- a/docs/AccountAdditionalCost.md +++ b/docs/AccountAdditionalCost.md @@ -6,13 +6,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | -**accountId** | **Integer** | The ID of the account that owns this entity. | +**accountId** | **Long** | The ID of the account that owns this entity. | **name** | **String** | The internal name used in API requests. | **title** | **String** | The human-readable name for the additional cost that will be shown in the Campaign Manager. Like `name`, the combination of entity and title must also be unique. | **description** | **String** | A description of this additional cost. | -**subscribedApplicationsIds** | **List<Integer>** | A list of the IDs of the applications that are subscribed to this additional cost. | [optional] +**subscribedApplicationsIds** | **List<Long>** | A list of the IDs of the applications that are subscribed to this additional cost. | [optional] **type** | [**TypeEnum**](#TypeEnum) | The type of additional cost. Possible value: - `session`: Additional cost will be added per session. - `item`: Additional cost will be added per item. - `both`: Additional cost will be added per item and session. | [optional] diff --git a/docs/AccountAnalytics.md b/docs/AccountAnalytics.md index 7ed9e219..4021c107 100644 --- a/docs/AccountAnalytics.md +++ b/docs/AccountAnalytics.md @@ -6,25 +6,25 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**applications** | **Integer** | Total number of applications in the account. | -**liveApplications** | **Integer** | Total number of live applications in the account. | -**sandboxApplications** | **Integer** | Total number of sandbox applications in the account. | -**campaigns** | **Integer** | Total number of campaigns in the account. | -**activeCampaigns** | **Integer** | Total number of active campaigns in the account. | -**liveActiveCampaigns** | **Integer** | Total number of active campaigns in live applications in the account. | -**coupons** | **Integer** | Total number of coupons in the account. | -**activeCoupons** | **Integer** | Total number of active coupons in the account. | -**expiredCoupons** | **Integer** | Total number of expired coupons in the account. | -**referralCodes** | **Integer** | Total number of referral codes in the account. | -**activeReferralCodes** | **Integer** | Total number of active referral codes in the account. | -**expiredReferralCodes** | **Integer** | Total number of expired referral codes in the account. | -**activeRules** | **Integer** | Total number of active rules in the account. | -**users** | **Integer** | Total number of users in the account. | -**roles** | **Integer** | Total number of roles in the account. | -**customAttributes** | **Integer** | Total number of custom attributes in the account. | -**webhooks** | **Integer** | Total number of webhooks in the account. | -**loyaltyPrograms** | **Integer** | Total number of all loyalty programs in the account. | -**liveLoyaltyPrograms** | **Integer** | Total number of live loyalty programs in the account. | +**applications** | **Long** | Total number of applications in the account. | +**liveApplications** | **Long** | Total number of live applications in the account. | +**sandboxApplications** | **Long** | Total number of sandbox applications in the account. | +**campaigns** | **Long** | Total number of campaigns in the account. | +**activeCampaigns** | **Long** | Total number of active campaigns in the account. | +**liveActiveCampaigns** | **Long** | Total number of active campaigns in live applications in the account. | +**coupons** | **Long** | Total number of coupons in the account. | +**activeCoupons** | **Long** | Total number of active coupons in the account. | +**expiredCoupons** | **Long** | Total number of expired coupons in the account. | +**referralCodes** | **Long** | Total number of referral codes in the account. | +**activeReferralCodes** | **Long** | Total number of active referral codes in the account. | +**expiredReferralCodes** | **Long** | Total number of expired referral codes in the account. | +**activeRules** | **Long** | Total number of active rules in the account. | +**users** | **Long** | Total number of users in the account. | +**roles** | **Long** | Total number of roles in the account. | +**customAttributes** | **Long** | Total number of custom attributes in the account. | +**webhooks** | **Long** | Total number of webhooks in the account. | +**loyaltyPrograms** | **Long** | Total number of all loyalty programs in the account. | +**liveLoyaltyPrograms** | **Long** | Total number of live loyalty programs in the account. | **lastUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The point in time when the analytics numbers were updated last. | diff --git a/docs/AccountDashboardStatisticCampaigns.md b/docs/AccountDashboardStatisticCampaigns.md index a727d02a..19c0b8fc 100644 --- a/docs/AccountDashboardStatisticCampaigns.md +++ b/docs/AccountDashboardStatisticCampaigns.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**live** | **Integer** | Number of campaigns that are active and live (across all Applications). | -**endingSoon** | **Integer** | Campaigns scheduled to expire sometime in the next 7 days. | -**lowOnBudget** | **Integer** | Campaigns with less than 10% of budget left. | +**live** | **Long** | Number of campaigns that are active and live (across all Applications). | +**endingSoon** | **Long** | Campaigns scheduled to expire sometime in the next 7 days. | +**lowOnBudget** | **Long** | Campaigns with less than 10% of budget left. | diff --git a/docs/AccountEntity.md b/docs/AccountEntity.md index 51f7598c..6b677e46 100644 --- a/docs/AccountEntity.md +++ b/docs/AccountEntity.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**accountId** | **Integer** | The ID of the account that owns this entity. | +**accountId** | **Long** | The ID of the account that owns this entity. | diff --git a/docs/AccountLimits.md b/docs/AccountLimits.md index 945c85d7..3b1f4c78 100644 --- a/docs/AccountLimits.md +++ b/docs/AccountLimits.md @@ -6,17 +6,17 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**liveApplications** | **Integer** | Total number of allowed live applications in the account. | -**sandboxApplications** | **Integer** | Total number of allowed sandbox applications in the account. | -**activeCampaigns** | **Integer** | Total number of allowed active campaigns in live applications in the account. | -**coupons** | **Integer** | Total number of allowed coupons in the account. | -**referralCodes** | **Integer** | Total number of allowed referral codes in the account. | -**activeRules** | **Integer** | Total number of allowed active rulesets in the account. | -**liveLoyaltyPrograms** | **Integer** | Total number of allowed live loyalty programs in the account. | -**sandboxLoyaltyPrograms** | **Integer** | Total number of allowed sandbox loyalty programs in the account. | -**webhooks** | **Integer** | Total number of allowed webhooks in the account. | -**users** | **Integer** | Total number of allowed users in the account. | -**apiVolume** | **Integer** | Allowed volume of API requests to the account. | +**liveApplications** | **Long** | Total number of allowed live applications in the account. | +**sandboxApplications** | **Long** | Total number of allowed sandbox applications in the account. | +**activeCampaigns** | **Long** | Total number of allowed active campaigns in live applications in the account. | +**coupons** | **Long** | Total number of allowed coupons in the account. | +**referralCodes** | **Long** | Total number of allowed referral codes in the account. | +**activeRules** | **Long** | Total number of allowed active rulesets in the account. | +**liveLoyaltyPrograms** | **Long** | Total number of allowed live loyalty programs in the account. | +**sandboxLoyaltyPrograms** | **Long** | Total number of allowed sandbox loyalty programs in the account. | +**webhooks** | **Long** | Total number of allowed webhooks in the account. | +**users** | **Long** | Total number of allowed users in the account. | +**apiVolume** | **Long** | Allowed volume of API requests to the account. | **promotionTypes** | **List<String>** | Array of promotion types that are employed in the account. | diff --git a/docs/Achievement.md b/docs/Achievement.md index ae140fbf..31fac2fc 100644 --- a/docs/Achievement.md +++ b/docs/Achievement.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | **name** | **String** | The internal name of the achievement used in API requests. **Note**: The name should start with a letter. This cannot be changed after the achievement has been created. | **title** | **String** | The display name for the achievement in the Campaign Manager. | @@ -18,8 +18,8 @@ Name | Type | Description | Notes **activationPolicy** | [**ActivationPolicyEnum**](#ActivationPolicyEnum) | The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule. | [optional] **fixedStartDate** | [**OffsetDateTime**](OffsetDateTime.md) | The achievement's start date when `activationPolicy` is set to `fixed_schedule`. **Note:** It must be an RFC3339 timestamp string. | [optional] **endDate** | [**OffsetDateTime**](OffsetDateTime.md) | The achievement's end date. If defined, customers cannot participate in the achievement after this date. **Note:** It must be an RFC3339 timestamp string. | [optional] -**campaignId** | **Integer** | The ID of the campaign the achievement belongs to. | -**userId** | **Integer** | ID of the user that created this achievement. | +**campaignId** | **Long** | The ID of the campaign the achievement belongs to. | +**userId** | **Long** | ID of the user that created this achievement. | **createdBy** | **String** | Name of the user that created the achievement. **Note**: This is not available if the user has been deleted. | [optional] **hasProgress** | **Boolean** | Indicates if a customer has made progress in the achievement. | [optional] **status** | [**StatusEnum**](#StatusEnum) | The status of the achievement. | [optional] diff --git a/docs/AchievementAdditionalProperties.md b/docs/AchievementAdditionalProperties.md index ee0d3e2c..c0e74bd4 100644 --- a/docs/AchievementAdditionalProperties.md +++ b/docs/AchievementAdditionalProperties.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**campaignId** | **Integer** | The ID of the campaign the achievement belongs to. | -**userId** | **Integer** | ID of the user that created this achievement. | +**campaignId** | **Long** | The ID of the campaign the achievement belongs to. | +**userId** | **Long** | ID of the user that created this achievement. | **createdBy** | **String** | Name of the user that created the achievement. **Note**: This is not available if the user has been deleted. | [optional] **hasProgress** | **Boolean** | Indicates if a customer has made progress in the achievement. | [optional] **status** | [**StatusEnum**](#StatusEnum) | The status of the achievement. | [optional] diff --git a/docs/AchievementProgressWithDefinition.md b/docs/AchievementProgressWithDefinition.md index cf8eac89..adc274ab 100644 --- a/docs/AchievementProgressWithDefinition.md +++ b/docs/AchievementProgressWithDefinition.md @@ -12,11 +12,11 @@ Name | Type | Description | Notes **startDate** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp at which the customer started the achievement. | [optional] **completionDate** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp at which point the customer completed the achievement. | [optional] **endDate** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp at which point the achievement ends and resets for the customer. | [optional] -**achievementId** | **Integer** | The internal ID of the achievement. | +**achievementId** | **Long** | The internal ID of the achievement. | **name** | **String** | The internal name of the achievement used in API requests. | **title** | **String** | The display name of the achievement in the Campaign Manager. | **description** | **String** | The description of the achievement in the Campaign Manager. | -**campaignId** | **Integer** | The ID of the campaign the achievement belongs to. | +**campaignId** | **Long** | The ID of the campaign the achievement belongs to. | **target** | [**BigDecimal**](BigDecimal.md) | The required number of actions or the transactional milestone to complete the achievement. | [optional] **achievementRecurrencePolicy** | [**AchievementRecurrencePolicyEnum**](#AchievementRecurrencePolicyEnum) | The policy that determines if and how the achievement recurs. - `no_recurrence`: The achievement can be completed only once. - `on_expiration`: The achievement resets after it expires and becomes available again. | **achievementActivationPolicy** | [**AchievementActivationPolicyEnum**](#AchievementActivationPolicyEnum) | The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule. | diff --git a/docs/AchievementStatusEntry.md b/docs/AchievementStatusEntry.md index 3c5057e8..fa44fd9f 100644 --- a/docs/AchievementStatusEntry.md +++ b/docs/AchievementStatusEntry.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | **name** | **String** | The internal name of the achievement used in API requests. **Note**: The name should start with a letter. This cannot be changed after the achievement has been created. | **title** | **String** | The display name for the achievement in the Campaign Manager. | @@ -18,7 +18,7 @@ Name | Type | Description | Notes **activationPolicy** | [**ActivationPolicyEnum**](#ActivationPolicyEnum) | The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule. | [optional] **fixedStartDate** | [**OffsetDateTime**](OffsetDateTime.md) | The achievement's start date when `activationPolicy` is set to `fixed_schedule`. **Note:** It must be an RFC3339 timestamp string. | [optional] **endDate** | [**OffsetDateTime**](OffsetDateTime.md) | The achievement's end date. If defined, customers cannot participate in the achievement after this date. **Note:** It must be an RFC3339 timestamp string. | [optional] -**campaignId** | **Integer** | The ID of the campaign the achievement belongs to. | [optional] +**campaignId** | **Long** | The ID of the campaign the achievement belongs to. | [optional] **status** | [**StatusEnum**](#StatusEnum) | The status of the achievement. | [optional] **currentProgress** | [**AchievementProgress**](AchievementProgress.md) | | [optional] diff --git a/docs/AddFreeItemEffectProps.md b/docs/AddFreeItemEffectProps.md index 21b04439..602629d9 100644 --- a/docs/AddFreeItemEffectProps.md +++ b/docs/AddFreeItemEffectProps.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **sku** | **String** | SKU of the item that needs to be added. | **name** | **String** | The name / description of the effect | -**desiredQuantity** | **Integer** | The original quantity in case a partial reward was applied. | [optional] +**desiredQuantity** | **Long** | The original quantity in case a partial reward was applied. | [optional] diff --git a/docs/AddLoyaltyPoints.md b/docs/AddLoyaltyPoints.md index bf2da991..c7b8a9bb 100644 --- a/docs/AddLoyaltyPoints.md +++ b/docs/AddLoyaltyPoints.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes **pendingDuration** | **String** | The amount of time before the points are considered valid. The time format is either: - `immediate` or, - an **integer** followed by one letter indicating the time unit. Examples: `immediate`, `30s`, `40m`, `1h`, `5D`, `7W`, `10M`, `15Y`. Available units: - `s`: seconds - `m`: minutes - `h`: hours - `D`: days - `W`: weeks - `M`: months - `Y`: years You can round certain units up or down: - `_D` for rounding down days only. Signifies the start of the day. - `_U` for rounding up days, weeks, months and years. Signifies the end of the day, week, month or year. | [optional] **pendingUntil** | [**OffsetDateTime**](OffsetDateTime.md) | Date and time after the points are considered valid. The value should be provided in RFC 3339 format. If passed, `pendingDuration` should be omitted. | [optional] **subledgerId** | **String** | ID of the subledger the points are added to. If there is no existing subledger with this ID, the subledger is created automatically. | [optional] -**applicationId** | **Integer** | ID of the Application that is connected to the loyalty program. It is displayed in your Talon.One deployment URL. | [optional] +**applicationId** | **Long** | ID of the Application that is connected to the loyalty program. It is displayed in your Talon.One deployment URL. | [optional] diff --git a/docs/AddLoyaltyPointsEffectProps.md b/docs/AddLoyaltyPointsEffectProps.md index 2757cd22..ada3b99d 100644 --- a/docs/AddLoyaltyPointsEffectProps.md +++ b/docs/AddLoyaltyPointsEffectProps.md @@ -8,7 +8,7 @@ The properties specific to the \"addLoyaltyPoints\" effect. This gets triggered Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name / description of this loyalty point addition. | -**programId** | **Integer** | The ID of the loyalty program where these points were added. | +**programId** | **Long** | The ID of the loyalty program where these points were added. | **subLedgerId** | **String** | The ID of the subledger within the loyalty program where these points were added. | **value** | [**BigDecimal**](BigDecimal.md) | The amount of points that were added. | **desiredValue** | [**BigDecimal**](BigDecimal.md) | The original amount of loyalty points to be awarded. | [optional] @@ -19,7 +19,7 @@ Name | Type | Description | Notes **cartItemPosition** | [**BigDecimal**](BigDecimal.md) | The index of the item in the cart items list on which the loyal points addition should be applied. | [optional] **cartItemSubPosition** | [**BigDecimal**](BigDecimal.md) | For cart items with `quantity` > 1, the sub position indicates to which item the loyalty points addition is applied. | [optional] **cardIdentifier** | **String** | The alphanumeric identifier of the loyalty card. | [optional] -**bundleIndex** | **Integer** | The position of the bundle in a list of item bundles created from the same bundle definition. | [optional] +**bundleIndex** | **Long** | The position of the bundle in a list of item bundles created from the same bundle definition. | [optional] **bundleName** | **String** | The name of the bundle definition. | [optional] diff --git a/docs/AddToAudienceEffectProps.md b/docs/AddToAudienceEffectProps.md index 47a83438..e75e7fbc 100644 --- a/docs/AddToAudienceEffectProps.md +++ b/docs/AddToAudienceEffectProps.md @@ -7,10 +7,10 @@ The properties specific to the \"addToAudience\" effect. This gets triggered whe Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**audienceId** | **Integer** | The internal ID of the audience. | [optional] +**audienceId** | **Long** | The internal ID of the audience. | [optional] **audienceName** | **String** | The name of the audience. | [optional] **profileIntegrationId** | **String** | The ID of the customer profile in the third-party integration platform. | [optional] -**profileId** | **Integer** | The internal ID of the customer profile. | [optional] +**profileId** | **Long** | The internal ID of the customer profile. | [optional] diff --git a/docs/AdditionalCampaignProperties.md b/docs/AdditionalCampaignProperties.md index 639d47cc..341deb1a 100644 --- a/docs/AdditionalCampaignProperties.md +++ b/docs/AdditionalCampaignProperties.md @@ -7,29 +7,29 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **budgets** | [**List<CampaignBudget>**](CampaignBudget.md) | A list of all the budgets that are defined by this campaign and their usage. **Note:** Budgets that are not defined do not appear in this list and their usage is not counted until they are defined. | [optional] -**couponRedemptionCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Number of coupons redeemed in the campaign. | [optional] -**referralRedemptionCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Number of referral codes redeemed in the campaign. | [optional] +**couponRedemptionCount** | **Long** | This property is **deprecated**. The count should be available under *budgets* property. Number of coupons redeemed in the campaign. | [optional] +**referralRedemptionCount** | **Long** | This property is **deprecated**. The count should be available under *budgets* property. Number of referral codes redeemed in the campaign. | [optional] **discountCount** | [**BigDecimal**](BigDecimal.md) | This property is **deprecated**. The count should be available under *budgets* property. Total amount of discounts redeemed in the campaign. | [optional] -**discountEffectCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of times discounts were redeemed in this campaign. | [optional] -**couponCreationCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of coupons created by rules in this campaign. | [optional] -**customEffectCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of custom effects triggered by rules in this campaign. | [optional] -**referralCreationCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of referrals created by rules in this campaign. | [optional] -**addFreeItemEffectCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of times the [add free item effect](https://docs.talon.one/docs/dev/integration-api/api-effects#addfreeitem) can be triggered in this campaign. | [optional] -**awardedGiveawaysCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of giveaways awarded by rules in this campaign. | [optional] +**discountEffectCount** | **Long** | This property is **deprecated**. The count should be available under *budgets* property. Total number of times discounts were redeemed in this campaign. | [optional] +**couponCreationCount** | **Long** | This property is **deprecated**. The count should be available under *budgets* property. Total number of coupons created by rules in this campaign. | [optional] +**customEffectCount** | **Long** | This property is **deprecated**. The count should be available under *budgets* property. Total number of custom effects triggered by rules in this campaign. | [optional] +**referralCreationCount** | **Long** | This property is **deprecated**. The count should be available under *budgets* property. Total number of referrals created by rules in this campaign. | [optional] +**addFreeItemEffectCount** | **Long** | This property is **deprecated**. The count should be available under *budgets* property. Total number of times the [add free item effect](https://docs.talon.one/docs/dev/integration-api/api-effects#addfreeitem) can be triggered in this campaign. | [optional] +**awardedGiveawaysCount** | **Long** | This property is **deprecated**. The count should be available under *budgets* property. Total number of giveaways awarded by rules in this campaign. | [optional] **createdLoyaltyPointsCount** | [**BigDecimal**](BigDecimal.md) | This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty points created by rules in this campaign. | [optional] -**createdLoyaltyPointsEffectCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty point creation effects triggered by rules in this campaign. | [optional] +**createdLoyaltyPointsEffectCount** | **Long** | This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty point creation effects triggered by rules in this campaign. | [optional] **redeemedLoyaltyPointsCount** | [**BigDecimal**](BigDecimal.md) | This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty points redeemed by rules in this campaign. | [optional] -**redeemedLoyaltyPointsEffectCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty point redemption effects triggered by rules in this campaign. | [optional] -**callApiEffectCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of webhooks triggered by rules in this campaign. | [optional] -**reservecouponEffectCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of reserve coupon effects triggered by rules in this campaign. | [optional] +**redeemedLoyaltyPointsEffectCount** | **Long** | This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty point redemption effects triggered by rules in this campaign. | [optional] +**callApiEffectCount** | **Long** | This property is **deprecated**. The count should be available under *budgets* property. Total number of webhooks triggered by rules in this campaign. | [optional] +**reservecouponEffectCount** | **Long** | This property is **deprecated**. The count should be available under *budgets* property. Total number of reserve coupon effects triggered by rules in this campaign. | [optional] **lastActivity** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp of the most recent event received by this campaign. | [optional] **updated** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp of the most recent update to the campaign's property. Updates to external entities used in this campaign are **not** registered by this property, such as collection or coupon updates. | [optional] **createdBy** | **String** | Name of the user who created this campaign if available. | [optional] **updatedBy** | **String** | Name of the user who last updated this campaign if available. | [optional] -**templateId** | **Integer** | The ID of the Campaign Template this Campaign was created from. | [optional] +**templateId** | **Long** | The ID of the Campaign Template this Campaign was created from. | [optional] **frontendState** | [**FrontendStateEnum**](#FrontendStateEnum) | The campaign state displayed in the Campaign Manager. | **storesImported** | **Boolean** | Indicates whether the linked stores were imported via a CSV file. | -**valueMapsIds** | **List<Integer>** | A list of value map IDs for the campaign. | [optional] +**valueMapsIds** | **List<Long>** | A list of value map IDs for the campaign. | [optional] diff --git a/docs/AnalyticsProduct.md b/docs/AnalyticsProduct.md index b42d1478..fc08da1b 100644 --- a/docs/AnalyticsProduct.md +++ b/docs/AnalyticsProduct.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | The ID of the product. | +**id** | **Long** | The ID of the product. | **name** | **String** | The name of the product. | -**catalogId** | **Integer** | The ID of the catalog. You can find the ID in the Campaign Manager in **Account** > **Tools** > **Cart item catalogs**. | +**catalogId** | **Long** | The ID of the catalog. You can find the ID in the Campaign Manager in **Account** > **Tools** > **Cart item catalogs**. | **unitsSold** | [**AnalyticsDataPointWithTrend**](AnalyticsDataPointWithTrend.md) | | [optional] diff --git a/docs/AnalyticsSKU.md b/docs/AnalyticsSKU.md index 8b1bf70f..c0590672 100644 --- a/docs/AnalyticsSKU.md +++ b/docs/AnalyticsSKU.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | The ID of the SKU linked to the application. | +**id** | **Long** | The ID of the SKU linked to the application. | **sku** | **String** | The SKU linked to the application. | **lastUpdated** | [**OffsetDateTime**](OffsetDateTime.md) | Values in UTC for the date the SKU linked to the product was last updated. | [optional] **unitsSold** | [**AnalyticsDataPointWithTrend**](AnalyticsDataPointWithTrend.md) | | [optional] diff --git a/docs/Application.md b/docs/Application.md index 9676c6d2..8a48a665 100644 --- a/docs/Application.md +++ b/docs/Application.md @@ -6,10 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | **modified** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was last modified. | -**accountId** | **Integer** | The ID of the account that owns this entity. | +**accountId** | **Long** | The ID of the account that owns this entity. | **name** | **String** | The name of this application. | **description** | **String** | A longer description of the application. | [optional] **timezone** | **String** | A string containing an IANA timezone descriptor. | @@ -24,8 +24,8 @@ Name | Type | Description | Notes **sandbox** | **Boolean** | Indicates if this is a live or sandbox Application. | [optional] **enablePartialDiscounts** | **Boolean** | Indicates if this Application supports partial discounts. | [optional] **defaultDiscountAdditionalCostPerItemScope** | [**DefaultDiscountAdditionalCostPerItemScopeEnum**](#DefaultDiscountAdditionalCostPerItemScopeEnum) | The default scope to apply `setDiscountPerItem` effects on if no scope was provided with the effect. | [optional] -**defaultEvaluationGroupId** | **Integer** | The ID of the default campaign evaluation group to which new campaigns will be added unless a different group is selected when creating the campaign. | [optional] -**defaultCartItemFilterId** | **Integer** | The ID of the default Cart-Item-Filter for this application. | [optional] +**defaultEvaluationGroupId** | **Long** | The ID of the default campaign evaluation group to which new campaigns will be added unless a different group is selected when creating the campaign. | [optional] +**defaultCartItemFilterId** | **Long** | The ID of the default Cart-Item-Filter for this application. | [optional] **enableCampaignStateManagement** | **Boolean** | Indicates whether the campaign staging and revisions feature is enabled for the Application. **Important:** After this feature is enabled, it cannot be disabled. | [optional] **loyaltyPrograms** | [**List<LoyaltyProgram>**](LoyaltyProgram.md) | An array containing all the loyalty programs to which this application is subscribed. | diff --git a/docs/ApplicationAPIKey.md b/docs/ApplicationAPIKey.md index 8a7622e3..bf35028a 100644 --- a/docs/ApplicationAPIKey.md +++ b/docs/ApplicationAPIKey.md @@ -10,11 +10,11 @@ Name | Type | Description | Notes **expires** | [**OffsetDateTime**](OffsetDateTime.md) | The date the API key expires. | **platform** | [**PlatformEnum**](#PlatformEnum) | The third-party platform the API key is valid for. Use `none` for a generic API key to be used from your own integration layer. | [optional] **type** | [**TypeEnum**](#TypeEnum) | The API key type. Can be empty or `staging`. Staging API keys can only be used for dry requests with the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint, [Update customer profile](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/updateCustomerProfileV2) endpoint, and [Track event](https://docs.talon.one/integration-api#tag/Events/operation/trackEventV2) endpoint. When using the _Update customer profile_ endpoint with a staging API key, the query parameter `runRuleEngine` must be `true`. | [optional] -**timeOffset** | **Integer** | A time offset in nanoseconds associated with the API key. When making a request using the API key, rule evaluation is based on a date that is calculated by adding the offset to the current date. | [optional] -**id** | **Integer** | ID of the API Key. | -**createdBy** | **Integer** | ID of user who created. | -**accountID** | **Integer** | ID of account the key is used for. | -**applicationID** | **Integer** | ID of application the key is used for. | +**timeOffset** | **Long** | A time offset in nanoseconds associated with the API key. When making a request using the API key, rule evaluation is based on a date that is calculated by adding the offset to the current date. | [optional] +**id** | **Long** | ID of the API Key. | +**createdBy** | **Long** | ID of user who created. | +**accountID** | **Long** | ID of account the key is used for. | +**applicationID** | **Long** | ID of application the key is used for. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The date the API key was created. | diff --git a/docs/ApplicationCIF.md b/docs/ApplicationCIF.md index af11cb5d..0ca112c6 100644 --- a/docs/ApplicationCIF.md +++ b/docs/ApplicationCIF.md @@ -6,15 +6,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | **name** | **String** | The name of the Application cart item filter used in API requests. | **description** | **String** | A short description of the Application cart item filter. | [optional] -**activeExpressionId** | **Integer** | The ID of the expression that the Application cart item filter uses. | [optional] -**modifiedBy** | **Integer** | The ID of the user who last updated the Application cart item filter. | [optional] -**createdBy** | **Integer** | The ID of the user who created the Application cart item filter. | [optional] +**activeExpressionId** | **Long** | The ID of the expression that the Application cart item filter uses. | [optional] +**modifiedBy** | **Long** | The ID of the user who last updated the Application cart item filter. | [optional] +**createdBy** | **Long** | The ID of the user who created the Application cart item filter. | [optional] **modified** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp of the most recent update to the Application cart item filter. | [optional] -**applicationId** | **Integer** | The ID of the Application that owns this entity. | +**applicationId** | **Long** | The ID of the Application that owns this entity. | diff --git a/docs/ApplicationCIFExpression.md b/docs/ApplicationCIFExpression.md index 7854d57d..47591c76 100644 --- a/docs/ApplicationCIFExpression.md +++ b/docs/ApplicationCIFExpression.md @@ -6,12 +6,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | -**cartItemFilterId** | **Integer** | The ID of the Application cart item filter. | [optional] -**createdBy** | **Integer** | The ID of the user who created the Application cart item filter. | [optional] +**cartItemFilterId** | **Long** | The ID of the Application cart item filter. | [optional] +**createdBy** | **Long** | The ID of the user who created the Application cart item filter. | [optional] **expression** | **List<Object>** | Arbitrary additional JSON data associated with the Application cart item filter. | [optional] -**applicationId** | **Integer** | The ID of the Application that owns this entity. | +**applicationId** | **Long** | The ID of the Application that owns this entity. | diff --git a/docs/ApplicationCIFReferences.md b/docs/ApplicationCIFReferences.md index 6b32b1c8..1e847b33 100644 --- a/docs/ApplicationCIFReferences.md +++ b/docs/ApplicationCIFReferences.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**applicationCartItemFilterId** | **Integer** | The ID of the Application Cart Item Filter that is referenced by a campaign. | [optional] +**applicationCartItemFilterId** | **Long** | The ID of the Application Cart Item Filter that is referenced by a campaign. | [optional] **campaigns** | [**List<CampaignDetail>**](CampaignDetail.md) | Campaigns that reference a speciifc Application Cart Item Filter. | [optional] diff --git a/docs/ApplicationCampaignAnalytics.md b/docs/ApplicationCampaignAnalytics.md index b7cdda8d..94aa70c3 100644 --- a/docs/ApplicationCampaignAnalytics.md +++ b/docs/ApplicationCampaignAnalytics.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **startTime** | [**OffsetDateTime**](OffsetDateTime.md) | The start of the aggregation time frame in UTC. | **endTime** | [**OffsetDateTime**](OffsetDateTime.md) | The end of the aggregation time frame in UTC. | -**campaignId** | **Integer** | The ID of the campaign. | +**campaignId** | **Long** | The ID of the campaign. | **campaignName** | **String** | The name of the campaign. | **campaignTags** | **List<String>** | A list of tags for the campaign. | **campaignState** | [**CampaignStateEnum**](#CampaignStateEnum) | The state of the campaign. **Note:** A disabled or archived campaign is not evaluated for rules or coupons. | diff --git a/docs/ApplicationCampaignStats.md b/docs/ApplicationCampaignStats.md index 6427b729..a1125f33 100644 --- a/docs/ApplicationCampaignStats.md +++ b/docs/ApplicationCampaignStats.md @@ -7,12 +7,12 @@ Provides statistics regarding an application's campaigns. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**disabled** | **Integer** | Number of disabled campaigns. | -**staged** | **Integer** | Number of staged campaigns. | -**scheduled** | **Integer** | Number of scheduled campaigns. | -**running** | **Integer** | Number of running campaigns. | -**expired** | **Integer** | Number of expired campaigns. | -**archived** | **Integer** | Number of archived campaigns. | +**disabled** | **Long** | Number of disabled campaigns. | +**staged** | **Long** | Number of staged campaigns. | +**scheduled** | **Long** | Number of scheduled campaigns. | +**running** | **Long** | Number of running campaigns. | +**expired** | **Long** | Number of expired campaigns. | +**archived** | **Long** | Number of archived campaigns. | diff --git a/docs/ApplicationCustomer.md b/docs/ApplicationCustomer.md index fff19a34..fe05c12d 100644 --- a/docs/ApplicationCustomer.md +++ b/docs/ApplicationCustomer.md @@ -6,12 +6,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | **integrationId** | **String** | The integration ID set by your integration layer. | **attributes** | [**Object**](.md) | Arbitrary properties associated with this item. | -**accountId** | **Integer** | The ID of the Talon.One account that owns this profile. | -**closedSessions** | **Integer** | The total amount of closed sessions by a customer. A closed session is a successful purchase. | +**accountId** | **Long** | The ID of the Talon.One account that owns this profile. | +**closedSessions** | **Long** | The total amount of closed sessions by a customer. A closed session is a successful purchase. | **totalSales** | [**BigDecimal**](BigDecimal.md) | The total amount of money spent by the customer **before** discounts are applied. The total sales amount excludes the following: - Cancelled or reopened sessions. - Returned items. | **loyaltyMemberships** | [**List<LoyaltyMembership>**](LoyaltyMembership.md) | **DEPRECATED** A list of loyalty programs joined by the customer. | [optional] **audienceMemberships** | [**List<AudienceMembership>**](AudienceMembership.md) | The audiences the customer belongs to. | [optional] diff --git a/docs/ApplicationCustomerEntity.md b/docs/ApplicationCustomerEntity.md index 1f4aa81a..65584939 100644 --- a/docs/ApplicationCustomerEntity.md +++ b/docs/ApplicationCustomerEntity.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**profileId** | **Integer** | The globally unique Talon.One ID of the customer that created this entity. | [optional] +**profileId** | **Long** | The globally unique Talon.One ID of the customer that created this entity. | [optional] diff --git a/docs/ApplicationEntity.md b/docs/ApplicationEntity.md index 36ea30be..be4d1e7e 100644 --- a/docs/ApplicationEntity.md +++ b/docs/ApplicationEntity.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**applicationId** | **Integer** | The ID of the Application that owns this entity. | +**applicationId** | **Long** | The ID of the Application that owns this entity. | diff --git a/docs/ApplicationEvent.md b/docs/ApplicationEvent.md index 0fbec5de..a4012c5f 100644 --- a/docs/ApplicationEvent.md +++ b/docs/ApplicationEvent.md @@ -6,13 +6,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | -**applicationId** | **Integer** | The ID of the Application that owns this entity. | -**profileId** | **Integer** | The globally unique Talon.One ID of the customer that created this entity. | [optional] -**storeId** | **Integer** | The ID of the store. | [optional] +**applicationId** | **Long** | The ID of the Application that owns this entity. | +**profileId** | **Long** | The globally unique Talon.One ID of the customer that created this entity. | [optional] +**storeId** | **Long** | The ID of the store. | [optional] **storeIntegrationId** | **String** | The integration ID of the store. You choose this ID when you create a store. | [optional] -**sessionId** | **Integer** | The globally unique Talon.One ID of the session that contains this event. | [optional] +**sessionId** | **Long** | The globally unique Talon.One ID of the session that contains this event. | [optional] **type** | **String** | A string representing the event. Must not be a reserved event name. | **attributes** | [**Object**](.md) | Additional JSON serialized data associated with the event. | **effects** | [**List<Effect>**](Effect.md) | An array containing the effects that were applied as a result of this event. | diff --git a/docs/ApplicationReferee.md b/docs/ApplicationReferee.md index 46322b37..ff135584 100644 --- a/docs/ApplicationReferee.md +++ b/docs/ApplicationReferee.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**applicationId** | **Integer** | The ID of the Application that owns this entity. | +**applicationId** | **Long** | The ID of the Application that owns this entity. | **sessionId** | **String** | Integration ID of the session in which the customer redeemed the referral. | **advocateIntegrationId** | **String** | Integration ID of the Advocate's Profile. | **friendIntegrationId** | **String** | Integration ID of the Friend's Profile. | diff --git a/docs/ApplicationSession.md b/docs/ApplicationSession.md index 61283049..63cc076c 100644 --- a/docs/ApplicationSession.md +++ b/docs/ApplicationSession.md @@ -6,12 +6,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | **integrationId** | **String** | The integration ID set by your integration layer. | **storeIntegrationId** | **String** | The integration ID of the store. You choose this ID when you create a store. | [optional] -**applicationId** | **Integer** | The ID of the Application that owns this entity. | -**profileId** | **Integer** | The globally unique Talon.One ID of the customer that created this entity. | [optional] +**applicationId** | **Long** | The ID of the Application that owns this entity. | +**profileId** | **Long** | The globally unique Talon.One ID of the customer that created this entity. | [optional] **profileintegrationid** | **String** | Integration ID of the customer for the session. | [optional] **coupon** | **String** | Any coupon code entered. | **referral** | **String** | Any referral code entered. | diff --git a/docs/ApplicationSessionEntity.md b/docs/ApplicationSessionEntity.md index e41ccf7e..09f6ebc8 100644 --- a/docs/ApplicationSessionEntity.md +++ b/docs/ApplicationSessionEntity.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**sessionId** | **Integer** | The globally unique Talon.One ID of the session where this entity was created. | +**sessionId** | **Long** | The globally unique Talon.One ID of the session where this entity was created. | diff --git a/docs/ApplicationStoreEntity.md b/docs/ApplicationStoreEntity.md index 672fa75b..e33fc69e 100644 --- a/docs/ApplicationStoreEntity.md +++ b/docs/ApplicationStoreEntity.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**storeId** | **Integer** | The ID of the store. | [optional] +**storeId** | **Long** | The ID of the store. | [optional] diff --git a/docs/AsyncCouponDeletionJobResponse.md b/docs/AsyncCouponDeletionJobResponse.md index 440aad48..d0f114d7 100644 --- a/docs/AsyncCouponDeletionJobResponse.md +++ b/docs/AsyncCouponDeletionJobResponse.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Unique ID for this entity. Not to be confused with the Integration ID, which is set by your integration layer and used in most endpoints. | +**id** | **Long** | Unique ID for this entity. Not to be confused with the Integration ID, which is set by your integration layer and used in most endpoints. | diff --git a/docs/Attribute.md b/docs/Attribute.md index cd831648..1ec79752 100644 --- a/docs/Attribute.md +++ b/docs/Attribute.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | -**accountId** | **Integer** | The ID of the account that owns this entity. | +**accountId** | **Long** | The ID of the account that owns this entity. | **entity** | [**EntityEnum**](#EntityEnum) | The name of the entity that can have this attribute. When creating or updating the entities of a given type, you can include an `attributes` object with keys corresponding to the `name` of the custom attributes for that type. | **eventType** | **String** | | [optional] **name** | **String** | The attribute name that will be used in API requests and Talang. E.g. if `name == \"region\"` then you would set the region attribute by including an `attributes.region` property in your request payload. | @@ -19,10 +19,10 @@ Name | Type | Description | Notes **hasAllowedList** | **Boolean** | Whether or not this attribute has an allowed list of values associated with it. | [optional] **restrictedBySuggestions** | **Boolean** | Whether or not this attribute's value is restricted by suggestions (`suggestions` property) or by an allowed list of value (`hasAllowedList` property). | [optional] **editable** | **Boolean** | Whether or not this attribute can be edited. | -**subscribedApplicationsIds** | **List<Integer>** | A list of the IDs of the applications where this attribute is available. | [optional] -**subscribedCatalogsIds** | **List<Integer>** | A list of the IDs of the catalogs where this attribute is available. | [optional] +**subscribedApplicationsIds** | **List<Long>** | A list of the IDs of the applications where this attribute is available. | [optional] +**subscribedCatalogsIds** | **List<Long>** | A list of the IDs of the catalogs where this attribute is available. | [optional] **allowedSubscriptions** | [**List<AllowedSubscriptionsEnum>**](#List<AllowedSubscriptionsEnum>) | A list of allowed subscription types for this attribute. **Note:** This only applies to attributes associated with the `CartItem` entity. | [optional] -**eventTypeId** | **Integer** | | [optional] +**eventTypeId** | **Long** | | [optional] diff --git a/docs/Audience.md b/docs/Audience.md index 9ada1853..082417a3 100644 --- a/docs/Audience.md +++ b/docs/Audience.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**accountId** | **Integer** | The ID of the account that owns this entity. | -**id** | **Integer** | Internal ID of this entity. | +**accountId** | **Long** | The ID of the account that owns this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | **name** | **String** | The human-friendly display name for this audience. | **sandbox** | **Boolean** | Indicates if this is a live or sandbox Application. | [optional] diff --git a/docs/AudienceAnalytics.md b/docs/AudienceAnalytics.md index e2307465..08b874c0 100644 --- a/docs/AudienceAnalytics.md +++ b/docs/AudienceAnalytics.md @@ -7,8 +7,8 @@ The audiences and their member count. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**audienceId** | **Integer** | The ID of the audience. | [optional] -**membersCount** | **Integer** | The member count of the audience. | [optional] +**audienceId** | **Long** | The ID of the audience. | [optional] +**membersCount** | **Long** | The member count of the audience. | [optional] diff --git a/docs/AudienceCustomer.md b/docs/AudienceCustomer.md index c2d7f477..4f6a02d8 100644 --- a/docs/AudienceCustomer.md +++ b/docs/AudienceCustomer.md @@ -6,19 +6,19 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | **integrationId** | **String** | The integration ID set by your integration layer. | **attributes** | [**Object**](.md) | Arbitrary properties associated with this item. | -**accountId** | **Integer** | The ID of the Talon.One account that owns this profile. | -**closedSessions** | **Integer** | The total amount of closed sessions by a customer. A closed session is a successful purchase. | +**accountId** | **Long** | The ID of the Talon.One account that owns this profile. | +**closedSessions** | **Long** | The total amount of closed sessions by a customer. A closed session is a successful purchase. | **totalSales** | [**BigDecimal**](BigDecimal.md) | The total amount of money spent by the customer **before** discounts are applied. The total sales amount excludes the following: - Cancelled or reopened sessions. - Returned items. | **loyaltyMemberships** | [**List<LoyaltyMembership>**](LoyaltyMembership.md) | **DEPRECATED** A list of loyalty programs joined by the customer. | [optional] **audienceMemberships** | [**List<AudienceMembership>**](AudienceMembership.md) | The audiences the customer belongs to. | [optional] **lastActivity** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp of the most recent event received from this customer. This field is updated on calls that trigger the Rule Engine and that are not [dry requests](https://docs.talon.one/docs/dev/integration-api/dry-requests/#overlay). For example, [reserving a coupon](https://docs.talon.one/integration-api#operation/createCouponReservation) for a customer doesn't impact this field. | **sandbox** | **Boolean** | An indicator of whether the customer is part of a sandbox or live Application. See the [docs](https://docs.talon.one/docs/product/applications/overview#application-environments). | [optional] -**connectedApplicationsIds** | **List<Integer>** | A list of the IDs of the Applications that are connected to this customer profile. | [optional] -**connectedAudiences** | **List<Integer>** | A list of the IDs of the audiences that are connected to this customer profile. | [optional] +**connectedApplicationsIds** | **List<Long>** | A list of the IDs of the Applications that are connected to this customer profile. | [optional] +**connectedAudiences** | **List<Long>** | A list of the IDs of the audiences that are connected to this customer profile. | [optional] diff --git a/docs/AudienceMembership.md b/docs/AudienceMembership.md index 11333372..c4d1aa78 100644 --- a/docs/AudienceMembership.md +++ b/docs/AudienceMembership.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | The ID of the audience belonging to this entity. | +**id** | **Long** | The ID of the audience belonging to this entity. | **name** | **String** | The Name of the audience belonging to this entity. | diff --git a/docs/AwardGiveawayEffectProps.md b/docs/AwardGiveawayEffectProps.md index 75585efd..9b68d10c 100644 --- a/docs/AwardGiveawayEffectProps.md +++ b/docs/AwardGiveawayEffectProps.md @@ -7,10 +7,10 @@ The properties specific to the \"awardGiveaway\" effect. This effect contains in Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**poolId** | **Integer** | The ID of the giveaways pool the code was taken from. | +**poolId** | **Long** | The ID of the giveaways pool the code was taken from. | **poolName** | **String** | The name of the giveaways pool the code was taken from. | **recipientIntegrationId** | **String** | The integration ID of the profile that was awarded the giveaway. | -**giveawayId** | **Integer** | The internal ID for the giveaway that was awarded. | +**giveawayId** | **Long** | The internal ID for the giveaway that was awarded. | **code** | **String** | The giveaway code that was awarded. | diff --git a/docs/BaseCampaign.md b/docs/BaseCampaign.md index bf4ec0da..cb1bf76c 100644 --- a/docs/BaseCampaign.md +++ b/docs/BaseCampaign.md @@ -12,15 +12,15 @@ Name | Type | Description | Notes **endTime** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp when the campaign will become inactive. | [optional] **attributes** | [**Object**](.md) | Arbitrary properties associated with this campaign. | [optional] **state** | [**StateEnum**](#StateEnum) | A disabled or archived campaign is not evaluated for rules or coupons. | -**activeRulesetId** | **Integer** | [ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this campaign applies on customer session evaluation. | [optional] +**activeRulesetId** | **Long** | [ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this campaign applies on customer session evaluation. | [optional] **tags** | **List<String>** | A list of tags for the campaign. | **features** | [**List<FeaturesEnum>**](#List<FeaturesEnum>) | The features enabled in this campaign. | **couponSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional] **referralSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional] **limits** | [**List<LimitConfig>**](LimitConfig.md) | The set of [budget limits](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets) for this campaign. | -**campaignGroups** | **List<Integer>** | The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/managing-campaign-groups) this campaign belongs to. | [optional] +**campaignGroups** | **List<Long>** | The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/managing-campaign-groups) this campaign belongs to. | [optional] **type** | [**TypeEnum**](#TypeEnum) | The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items. | [optional] -**linkedStoreIds** | **List<Integer>** | A list of store IDs that you want to link to the campaign. **Note:** Campaigns with linked store IDs will only be evaluated when there is a [customer session update](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) that references a linked store. | [optional] +**linkedStoreIds** | **List<Long>** | A list of store IDs that you want to link to the campaign. **Note:** Campaigns with linked store IDs will only be evaluated when there is a [customer session update](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) that references a linked store. | [optional] diff --git a/docs/BaseLoyaltyProgram.md b/docs/BaseLoyaltyProgram.md index 117e9fc8..3ad90ab1 100644 --- a/docs/BaseLoyaltyProgram.md +++ b/docs/BaseLoyaltyProgram.md @@ -8,11 +8,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **title** | **String** | The display title for the Loyalty Program. | [optional] **description** | **String** | Description of our Loyalty Program. | [optional] -**subscribedApplications** | **List<Integer>** | A list containing the IDs of all applications that are subscribed to this Loyalty Program. | [optional] +**subscribedApplications** | **List<Long>** | A list containing the IDs of all applications that are subscribed to this Loyalty Program. | [optional] **defaultValidity** | **String** | The default duration after which new loyalty points should expire. Can be 'unlimited' or a specific time. The time format is a number followed by one letter indicating the time unit, like '30s', '40m', '1h', '5D', '7W', or 10M'. These rounding suffixes are also supported: - '_D' for rounding down. Can be used as a suffix after 'D', and signifies the start of the day. - '_U' for rounding up. Can be used as a suffix after 'D', 'W', and 'M', and signifies the end of the day, week, and month. | [optional] **defaultPending** | **String** | The default duration of the pending time after which points should be valid. Can be 'immediate' or a specific time. The time format is a number followed by one letter indicating the time unit, like '30s', '40m', '1h', '5D', '7W', or 10M'. These rounding suffixes are also supported: - '_D' for rounding down. Can be used as a suffix after 'D', and signifies the start of the day. - '_U' for rounding up. Can be used as a suffix after 'D', 'W', and 'M', and signifies the end of the day, week, and month. | [optional] **allowSubledger** | **Boolean** | Indicates if this program supports subledgers inside the program. | [optional] -**usersPerCardLimit** | **Integer** | The max amount of user profiles with whom a card can be shared. This can be set to 0 for no limit. This property is only used when `cardBased` is `true`. | [optional] +**usersPerCardLimit** | **Long** | The max amount of user profiles with whom a card can be shared. This can be set to 0 for no limit. This property is only used when `cardBased` is `true`. | [optional] **sandbox** | **Boolean** | Indicates if this program is a live or sandbox program. Programs of a given type can only be connected to Applications of the same type. | [optional] **programJoinPolicy** | [**ProgramJoinPolicyEnum**](#ProgramJoinPolicyEnum) | The policy that defines when the customer joins the loyalty program. - `not_join`: The customer does not join the loyalty program but can still earn and spend loyalty points. **Note**: The customer does not have a program join date. - `points_activated`: The customer joins the loyalty program only when their earned loyalty points become active for the first time. - `points_earned`: The customer joins the loyalty program when they earn loyalty points for the first time. | [optional] **tiersExpirationPolicy** | [**TiersExpirationPolicyEnum**](#TiersExpirationPolicyEnum) | The policy that defines how tier expiration, used to reevaluate the customer's current tier, is determined. - `tier_start_date`: The tier expiration is relative to when the customer joined the current tier. - `program_join_date`: The tier expiration is relative to when the customer joined the loyalty program. - `customer_attribute`: The tier expiration is determined by a custom customer attribute. - `absolute_expiration`: The tier is reevaluated at the start of each tier cycle. For this policy, it is required to provide a `tierCycleStartDate`. | [optional] diff --git a/docs/BaseNotification.md b/docs/BaseNotification.md index fda2712b..47d86cd7 100644 --- a/docs/BaseNotification.md +++ b/docs/BaseNotification.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **policy** | [**Object**](.md) | Indicates which notification properties to apply. | **enabled** | **Boolean** | Indicates whether the notification is activated. | [optional] **webhook** | [**BaseNotificationWebhook**](BaseNotificationWebhook.md) | | -**id** | **Integer** | Unique ID for this entity. | +**id** | **Long** | Unique ID for this entity. | **type** | [**TypeEnum**](#TypeEnum) | The notification type. | diff --git a/docs/BaseNotificationWebhook.md b/docs/BaseNotificationWebhook.md index bc0fcbfb..2328c9fe 100644 --- a/docs/BaseNotificationWebhook.md +++ b/docs/BaseNotificationWebhook.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | **modified** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was last modified. | **url** | **String** | API URL for the given webhook-based notification. | diff --git a/docs/BaseSamlConnection.md b/docs/BaseSamlConnection.md index 6f133dda..292970d1 100644 --- a/docs/BaseSamlConnection.md +++ b/docs/BaseSamlConnection.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**accountId** | **Integer** | The ID of the account that owns this entity. | +**accountId** | **Long** | The ID of the account that owns this entity. | **name** | **String** | ID of the SAML service. | **enabled** | **Boolean** | Determines if this SAML connection active. | **issuer** | **String** | Identity Provider Entity ID. | diff --git a/docs/BulkApplicationNotification.md b/docs/BulkApplicationNotification.md index b016460d..79e14da5 100644 --- a/docs/BulkApplicationNotification.md +++ b/docs/BulkApplicationNotification.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**totalResultSize** | **Integer** | | +**totalResultSize** | **Long** | | **data** | [**List<ApplicationNotification>**](ApplicationNotification.md) | | diff --git a/docs/BulkCampaignNotification.md b/docs/BulkCampaignNotification.md index 41e12e06..b87c67ff 100644 --- a/docs/BulkCampaignNotification.md +++ b/docs/BulkCampaignNotification.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**totalResultSize** | **Integer** | | +**totalResultSize** | **Long** | | **data** | [**List<CampaignNotification>**](CampaignNotification.md) | | diff --git a/docs/BulkOperationOnCampaigns.md b/docs/BulkOperationOnCampaigns.md index 7eb0ecb7..fa94453b 100644 --- a/docs/BulkOperationOnCampaigns.md +++ b/docs/BulkOperationOnCampaigns.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **operation** | [**OperationEnum**](#OperationEnum) | The operation to perform on the specified campaign IDs. | -**campaignIds** | **List<Integer>** | The list of campaign IDs on which the operation will be performed. | +**campaignIds** | **List<Long>** | The list of campaign IDs on which the operation will be performed. | **activateAt** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp when the revisions are finalized after the `activate_revision` operation. The current time is used when left blank. **Note:** It must be an RFC3339 timestamp string. | [optional] diff --git a/docs/Campaign.md b/docs/Campaign.md index 992e00ba..b4db452e 100644 --- a/docs/Campaign.md +++ b/docs/Campaign.md @@ -6,55 +6,55 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Unique ID for this entity. | +**id** | **Long** | Unique ID for this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The exact moment this entity was created. | -**applicationId** | **Integer** | The ID of the Application that owns this entity. | -**userId** | **Integer** | The ID of the user associated with this entity. | +**applicationId** | **Long** | The ID of the Application that owns this entity. | +**userId** | **Long** | The ID of the user associated with this entity. | **name** | **String** | A user-facing name for this campaign. | **description** | **String** | A detailed description of the campaign. | **startTime** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp when the campaign will become active. | [optional] **endTime** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp when the campaign will become inactive. | [optional] **attributes** | [**Object**](.md) | Arbitrary properties associated with this campaign. | [optional] **state** | [**StateEnum**](#StateEnum) | A disabled or archived campaign is not evaluated for rules or coupons. | -**activeRulesetId** | **Integer** | [ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this campaign applies on customer session evaluation. | [optional] +**activeRulesetId** | **Long** | [ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this campaign applies on customer session evaluation. | [optional] **tags** | **List<String>** | A list of tags for the campaign. | **features** | [**List<FeaturesEnum>**](#List<FeaturesEnum>) | The features enabled in this campaign. | **couponSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional] **referralSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional] **limits** | [**List<LimitConfig>**](LimitConfig.md) | The set of [budget limits](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets) for this campaign. | -**campaignGroups** | **List<Integer>** | The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/managing-campaign-groups) this campaign belongs to. | [optional] +**campaignGroups** | **List<Long>** | The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/managing-campaign-groups) this campaign belongs to. | [optional] **type** | [**TypeEnum**](#TypeEnum) | The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items. | -**linkedStoreIds** | **List<Integer>** | A list of store IDs that you want to link to the campaign. **Note:** Campaigns with linked store IDs will only be evaluated when there is a [customer session update](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) that references a linked store. | [optional] +**linkedStoreIds** | **List<Long>** | A list of store IDs that you want to link to the campaign. **Note:** Campaigns with linked store IDs will only be evaluated when there is a [customer session update](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) that references a linked store. | [optional] **budgets** | [**List<CampaignBudget>**](CampaignBudget.md) | A list of all the budgets that are defined by this campaign and their usage. **Note:** Budgets that are not defined do not appear in this list and their usage is not counted until they are defined. | [optional] -**couponRedemptionCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Number of coupons redeemed in the campaign. | [optional] -**referralRedemptionCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Number of referral codes redeemed in the campaign. | [optional] +**couponRedemptionCount** | **Long** | This property is **deprecated**. The count should be available under *budgets* property. Number of coupons redeemed in the campaign. | [optional] +**referralRedemptionCount** | **Long** | This property is **deprecated**. The count should be available under *budgets* property. Number of referral codes redeemed in the campaign. | [optional] **discountCount** | [**BigDecimal**](BigDecimal.md) | This property is **deprecated**. The count should be available under *budgets* property. Total amount of discounts redeemed in the campaign. | [optional] -**discountEffectCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of times discounts were redeemed in this campaign. | [optional] -**couponCreationCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of coupons created by rules in this campaign. | [optional] -**customEffectCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of custom effects triggered by rules in this campaign. | [optional] -**referralCreationCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of referrals created by rules in this campaign. | [optional] -**addFreeItemEffectCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of times the [add free item effect](https://docs.talon.one/docs/dev/integration-api/api-effects#addfreeitem) can be triggered in this campaign. | [optional] -**awardedGiveawaysCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of giveaways awarded by rules in this campaign. | [optional] +**discountEffectCount** | **Long** | This property is **deprecated**. The count should be available under *budgets* property. Total number of times discounts were redeemed in this campaign. | [optional] +**couponCreationCount** | **Long** | This property is **deprecated**. The count should be available under *budgets* property. Total number of coupons created by rules in this campaign. | [optional] +**customEffectCount** | **Long** | This property is **deprecated**. The count should be available under *budgets* property. Total number of custom effects triggered by rules in this campaign. | [optional] +**referralCreationCount** | **Long** | This property is **deprecated**. The count should be available under *budgets* property. Total number of referrals created by rules in this campaign. | [optional] +**addFreeItemEffectCount** | **Long** | This property is **deprecated**. The count should be available under *budgets* property. Total number of times the [add free item effect](https://docs.talon.one/docs/dev/integration-api/api-effects#addfreeitem) can be triggered in this campaign. | [optional] +**awardedGiveawaysCount** | **Long** | This property is **deprecated**. The count should be available under *budgets* property. Total number of giveaways awarded by rules in this campaign. | [optional] **createdLoyaltyPointsCount** | [**BigDecimal**](BigDecimal.md) | This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty points created by rules in this campaign. | [optional] -**createdLoyaltyPointsEffectCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty point creation effects triggered by rules in this campaign. | [optional] +**createdLoyaltyPointsEffectCount** | **Long** | This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty point creation effects triggered by rules in this campaign. | [optional] **redeemedLoyaltyPointsCount** | [**BigDecimal**](BigDecimal.md) | This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty points redeemed by rules in this campaign. | [optional] -**redeemedLoyaltyPointsEffectCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty point redemption effects triggered by rules in this campaign. | [optional] -**callApiEffectCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of webhooks triggered by rules in this campaign. | [optional] -**reservecouponEffectCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of reserve coupon effects triggered by rules in this campaign. | [optional] +**redeemedLoyaltyPointsEffectCount** | **Long** | This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty point redemption effects triggered by rules in this campaign. | [optional] +**callApiEffectCount** | **Long** | This property is **deprecated**. The count should be available under *budgets* property. Total number of webhooks triggered by rules in this campaign. | [optional] +**reservecouponEffectCount** | **Long** | This property is **deprecated**. The count should be available under *budgets* property. Total number of reserve coupon effects triggered by rules in this campaign. | [optional] **lastActivity** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp of the most recent event received by this campaign. | [optional] **updated** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp of the most recent update to the campaign's property. Updates to external entities used in this campaign are **not** registered by this property, such as collection or coupon updates. | [optional] **createdBy** | **String** | Name of the user who created this campaign if available. | [optional] **updatedBy** | **String** | Name of the user who last updated this campaign if available. | [optional] -**templateId** | **Integer** | The ID of the Campaign Template this Campaign was created from. | [optional] +**templateId** | **Long** | The ID of the Campaign Template this Campaign was created from. | [optional] **frontendState** | [**FrontendStateEnum**](#FrontendStateEnum) | The campaign state displayed in the Campaign Manager. | **storesImported** | **Boolean** | Indicates whether the linked stores were imported via a CSV file. | -**valueMapsIds** | **List<Integer>** | A list of value map IDs for the campaign. | [optional] +**valueMapsIds** | **List<Long>** | A list of value map IDs for the campaign. | [optional] **revisionFrontendState** | [**RevisionFrontendStateEnum**](#RevisionFrontendStateEnum) | The campaign revision state displayed in the Campaign Manager. | [optional] -**activeRevisionId** | **Integer** | ID of the revision that was last activated on this campaign. | [optional] -**activeRevisionVersionId** | **Integer** | ID of the revision version that is active on the campaign. | [optional] -**version** | **Integer** | Incrementing number representing how many revisions have been activated on this campaign, starts from 0 for a new campaign. | [optional] -**currentRevisionId** | **Integer** | ID of the revision currently being modified for the campaign. | [optional] -**currentRevisionVersionId** | **Integer** | ID of the latest version applied on the current revision. | [optional] +**activeRevisionId** | **Long** | ID of the revision that was last activated on this campaign. | [optional] +**activeRevisionVersionId** | **Long** | ID of the revision version that is active on the campaign. | [optional] +**version** | **Long** | Incrementing number representing how many revisions have been activated on this campaign, starts from 0 for a new campaign. | [optional] +**currentRevisionId** | **Long** | ID of the revision currently being modified for the campaign. | [optional] +**currentRevisionVersionId** | **Long** | ID of the latest version applied on the current revision. | [optional] **stageRevision** | **Boolean** | Flag for determining whether we use current revision when sending requests with staging API key. | [optional] diff --git a/docs/CampaignActivationRequest.md b/docs/CampaignActivationRequest.md index 0eac1a96..48874ee8 100644 --- a/docs/CampaignActivationRequest.md +++ b/docs/CampaignActivationRequest.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**userIds** | **List<Integer>** | The list of IDs of the users who will receive the activation request. | +**userIds** | **List<Long>** | The list of IDs of the users who will receive the activation request. | diff --git a/docs/CampaignAnalytics.md b/docs/CampaignAnalytics.md index 6db38b31..a411fe50 100644 --- a/docs/CampaignAnalytics.md +++ b/docs/CampaignAnalytics.md @@ -15,18 +15,18 @@ Name | Type | Description | Notes **totalCampaignDiscountCosts** | [**BigDecimal**](BigDecimal.md) | Amount of cost caused by discounts given in the campaign since it began. | **campaignRefundedDiscounts** | [**BigDecimal**](BigDecimal.md) | Amount of discounts rolledback due to refund in the campaign. | **totalCampaignRefundedDiscounts** | [**BigDecimal**](BigDecimal.md) | Amount of discounts rolledback due to refund in the campaign since it began. | -**campaignFreeItems** | **Integer** | Amount of free items given in the campaign. | -**totalCampaignFreeItems** | **Integer** | Amount of free items given in the campaign since it began. | -**couponRedemptions** | **Integer** | Number of coupon redemptions in the campaign. | -**totalCouponRedemptions** | **Integer** | Number of coupon redemptions in the campaign since it began. | -**couponRolledbackRedemptions** | **Integer** | Number of coupon redemptions that have been rolled back (due to canceling closed session) in the campaign. | -**totalCouponRolledbackRedemptions** | **Integer** | Number of coupon redemptions that have been rolled back (due to canceling closed session) in the campaign since it began. | -**referralRedemptions** | **Integer** | Number of referral redemptions in the campaign. | -**totalReferralRedemptions** | **Integer** | Number of referral redemptions in the campaign since it began. | -**couponsCreated** | **Integer** | Number of coupons created in the campaign by the rule engine. | -**totalCouponsCreated** | **Integer** | Number of coupons created in the campaign by the rule engine since it began. | -**referralsCreated** | **Integer** | Number of referrals created in the campaign by the rule engine. | -**totalReferralsCreated** | **Integer** | Number of referrals created in the campaign by the rule engine since it began. | +**campaignFreeItems** | **Long** | Amount of free items given in the campaign. | +**totalCampaignFreeItems** | **Long** | Amount of free items given in the campaign since it began. | +**couponRedemptions** | **Long** | Number of coupon redemptions in the campaign. | +**totalCouponRedemptions** | **Long** | Number of coupon redemptions in the campaign since it began. | +**couponRolledbackRedemptions** | **Long** | Number of coupon redemptions that have been rolled back (due to canceling closed session) in the campaign. | +**totalCouponRolledbackRedemptions** | **Long** | Number of coupon redemptions that have been rolled back (due to canceling closed session) in the campaign since it began. | +**referralRedemptions** | **Long** | Number of referral redemptions in the campaign. | +**totalReferralRedemptions** | **Long** | Number of referral redemptions in the campaign since it began. | +**couponsCreated** | **Long** | Number of coupons created in the campaign by the rule engine. | +**totalCouponsCreated** | **Long** | Number of coupons created in the campaign by the rule engine since it began. | +**referralsCreated** | **Long** | Number of referrals created in the campaign by the rule engine. | +**totalReferralsCreated** | **Long** | Number of referrals created in the campaign by the rule engine since it began. | **addedLoyaltyPoints** | [**BigDecimal**](BigDecimal.md) | Number of added loyalty points in the campaign in a specific interval. | **totalAddedLoyaltyPoints** | [**BigDecimal**](BigDecimal.md) | Number of added loyalty points in the campaign since it began. | **deductedLoyaltyPoints** | [**BigDecimal**](BigDecimal.md) | Number of deducted loyalty points in the campaign in a specific interval. | diff --git a/docs/CampaignCollection.md b/docs/CampaignCollection.md index e950df5e..3ba437f1 100644 --- a/docs/CampaignCollection.md +++ b/docs/CampaignCollection.md @@ -6,16 +6,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | -**accountId** | **Integer** | The ID of the account that owns this entity. | +**accountId** | **Long** | The ID of the account that owns this entity. | **modified** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was last modified. | **description** | **String** | A short description of the purpose of this collection. | [optional] **name** | **String** | The name of this collection. | -**modifiedBy** | **Integer** | ID of the user who last updated this effect if available. | [optional] -**createdBy** | **Integer** | ID of the user who created this effect. | -**applicationId** | **Integer** | The ID of the Application that owns this entity. | [optional] -**campaignId** | **Integer** | The ID of the campaign that owns this entity. | [optional] +**modifiedBy** | **Long** | ID of the user who last updated this effect if available. | [optional] +**createdBy** | **Long** | ID of the user who created this effect. | +**applicationId** | **Long** | The ID of the Application that owns this entity. | [optional] +**campaignId** | **Long** | The ID of the campaign that owns this entity. | [optional] **payload** | **List<String>** | The content of the collection. | [optional] diff --git a/docs/CampaignCollectionWithoutPayload.md b/docs/CampaignCollectionWithoutPayload.md index e8105ad0..eb6aa0a8 100644 --- a/docs/CampaignCollectionWithoutPayload.md +++ b/docs/CampaignCollectionWithoutPayload.md @@ -6,16 +6,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | -**accountId** | **Integer** | The ID of the account that owns this entity. | +**accountId** | **Long** | The ID of the account that owns this entity. | **modified** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was last modified. | **description** | **String** | A short description of the purpose of this collection. | [optional] **name** | **String** | The name of this collection. | -**modifiedBy** | **Integer** | ID of the user who last updated this effect if available. | [optional] -**createdBy** | **Integer** | ID of the user who created this effect. | -**applicationId** | **Integer** | The ID of the Application that owns this entity. | [optional] -**campaignId** | **Integer** | The ID of the campaign that owns this entity. | [optional] +**modifiedBy** | **Long** | ID of the user who last updated this effect if available. | [optional] +**createdBy** | **Long** | ID of the user who created this effect. | +**applicationId** | **Long** | The ID of the Application that owns this entity. | [optional] +**campaignId** | **Long** | The ID of the campaign that owns this entity. | [optional] diff --git a/docs/CampaignCopy.md b/docs/CampaignCopy.md index 9970c410..49e0267a 100644 --- a/docs/CampaignCopy.md +++ b/docs/CampaignCopy.md @@ -7,12 +7,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | Name of the copied campaign (Defaults to \"Copy of original campaign name\"). | [optional] -**applicationIds** | **List<Integer>** | Application IDs of the applications to which a campaign should be copied to. | +**applicationIds** | **List<Long>** | Application IDs of the applications to which a campaign should be copied to. | **description** | **String** | A detailed description of the campaign. | [optional] **startTime** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp when the campaign will become active. | [optional] **endTime** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp when the campaign will become inactive. | [optional] **tags** | **List<String>** | A list of tags for the campaign. | [optional] -**evaluationGroupId** | **Integer** | The ID of the campaign evaluation group the campaign belongs to. | [optional] +**evaluationGroupId** | **Long** | The ID of the campaign evaluation group the campaign belongs to. | [optional] diff --git a/docs/CampaignDetail.md b/docs/CampaignDetail.md index 4364170a..9dc7c68b 100644 --- a/docs/CampaignDetail.md +++ b/docs/CampaignDetail.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**campaignId** | **Integer** | The ID of the campaign that references the application cart item filter. | [optional] +**campaignId** | **Long** | The ID of the campaign that references the application cart item filter. | [optional] **campaignName** | **String** | A user-facing name for this campaign. | [optional] diff --git a/docs/CampaignEntity.md b/docs/CampaignEntity.md index 877cfe4e..5d848d21 100644 --- a/docs/CampaignEntity.md +++ b/docs/CampaignEntity.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**campaignId** | **Integer** | The ID of the campaign that owns this entity. | +**campaignId** | **Long** | The ID of the campaign that owns this entity. | diff --git a/docs/CampaignEvaluationGroup.md b/docs/CampaignEvaluationGroup.md index 0a04730e..a7dad089 100644 --- a/docs/CampaignEvaluationGroup.md +++ b/docs/CampaignEvaluationGroup.md @@ -6,14 +6,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**applicationId** | **Integer** | The ID of the Application that owns this entity. | +**applicationId** | **Long** | The ID of the Application that owns this entity. | **name** | **String** | The name of the campaign evaluation group. | -**parentId** | **Integer** | The ID of the parent group that contains the campaign evaluation group. | +**parentId** | **Long** | The ID of the parent group that contains the campaign evaluation group. | **description** | **String** | A description of the campaign evaluation group. | [optional] **evaluationMode** | [**EvaluationModeEnum**](#EvaluationModeEnum) | The mode by which campaigns in the campaign evaluation group are evaluated. | **evaluationScope** | [**EvaluationScopeEnum**](#EvaluationScopeEnum) | The evaluation scope of the campaign evaluation group. | **locked** | **Boolean** | An indicator of whether the campaign evaluation group is locked for modification. | -**id** | **Integer** | Unique ID for this entity. Not to be confused with the Integration ID, which is set by your integration layer and used in most endpoints. | +**id** | **Long** | Unique ID for this entity. Not to be confused with the Integration ID, which is set by your integration layer and used in most endpoints. | diff --git a/docs/CampaignEvaluationPosition.md b/docs/CampaignEvaluationPosition.md index 961997e1..5f2fb0be 100644 --- a/docs/CampaignEvaluationPosition.md +++ b/docs/CampaignEvaluationPosition.md @@ -7,9 +7,9 @@ The campaign position within the evaluation tree. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**groupId** | **Integer** | The ID of the campaign evaluation group the campaign belongs to. | +**groupId** | **Long** | The ID of the campaign evaluation group the campaign belongs to. | **groupName** | **String** | The name of the campaign evaluation group the campaign belongs to. | -**position** | **Integer** | The position of the campaign node in its parent group. | +**position** | **Long** | The position of the campaign node in its parent group. | diff --git a/docs/CampaignEvaluationTreeChangedNotification.md b/docs/CampaignEvaluationTreeChangedNotification.md index 3821ce17..5713d5d1 100644 --- a/docs/CampaignEvaluationTreeChangedNotification.md +++ b/docs/CampaignEvaluationTreeChangedNotification.md @@ -7,7 +7,7 @@ Notification about an Application whose campaign evaluation tree changed. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**applicationId** | **Integer** | The ID of the Application whose campaign evaluation tree changed. | +**applicationId** | **Long** | The ID of the Application whose campaign evaluation tree changed. | **oldEvaluationTree** | [**CampaignSet**](CampaignSet.md) | | [optional] **evaluationTree** | [**CampaignSet**](CampaignSet.md) | | diff --git a/docs/CampaignGroup.md b/docs/CampaignGroup.md index 2f6a7c78..49f7bae8 100644 --- a/docs/CampaignGroup.md +++ b/docs/CampaignGroup.md @@ -6,14 +6,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | **modified** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was last modified. | -**accountId** | **Integer** | The ID of the account that owns this entity. | +**accountId** | **Long** | The ID of the account that owns this entity. | **name** | **String** | The name of the campaign access group. | **description** | **String** | A longer description of the campaign access group. | [optional] -**subscribedApplicationsIds** | **List<Integer>** | A list of IDs of the Applications that this campaign access group is enabled for. | [optional] -**campaignIds** | **List<Integer>** | A list of IDs of the campaigns that are part of the campaign access group. | [optional] +**subscribedApplicationsIds** | **List<Long>** | A list of IDs of the Applications that this campaign access group is enabled for. | [optional] +**campaignIds** | **List<Long>** | A list of IDs of the campaigns that are part of the campaign access group. | [optional] diff --git a/docs/CampaignGroupEntity.md b/docs/CampaignGroupEntity.md index 4187641b..9ea91d60 100644 --- a/docs/CampaignGroupEntity.md +++ b/docs/CampaignGroupEntity.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**campaignGroups** | **List<Integer>** | The IDs of the campaign groups that own this entity. | [optional] +**campaignGroups** | **List<Long>** | The IDs of the campaign groups that own this entity. | [optional] diff --git a/docs/CampaignNotificationPolicy.md b/docs/CampaignNotificationPolicy.md index 111c2979..6b8c0fad 100644 --- a/docs/CampaignNotificationPolicy.md +++ b/docs/CampaignNotificationPolicy.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | Notification name. | **batchingEnabled** | **Boolean** | Indicates whether batching is activated. | [optional] -**batchSize** | **Integer** | The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. | [optional] +**batchSize** | **Long** | The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. | [optional] diff --git a/docs/CampaignSet.md b/docs/CampaignSet.md index f349c8d8..24275c4d 100644 --- a/docs/CampaignSet.md +++ b/docs/CampaignSet.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**applicationId** | **Integer** | The ID of the Application that owns this entity. | -**id** | **Integer** | Internal ID of this entity. | -**version** | **Integer** | Version of the campaign set. | +**applicationId** | **Long** | The ID of the Application that owns this entity. | +**id** | **Long** | Internal ID of this entity. | +**version** | **Long** | Version of the campaign set. | **set** | [**CampaignSetBranchNode**](CampaignSetBranchNode.md) | | **updatedBy** | **String** | Name of the user who last updated this campaign set, if available. | [optional] diff --git a/docs/CampaignSetBranchNode.md b/docs/CampaignSetBranchNode.md index 5773bc22..00aad37e 100644 --- a/docs/CampaignSetBranchNode.md +++ b/docs/CampaignSetBranchNode.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **name** | **String** | Name of the set. | **operator** | [**OperatorEnum**](#OperatorEnum) | An indicator of how the set operates on its elements. | **elements** | [**List<CampaignSetNode>**](CampaignSetNode.md) | Child elements of this set. | -**groupId** | **Integer** | The ID of the campaign set. | +**groupId** | **Long** | The ID of the campaign set. | **locked** | **Boolean** | An indicator of whether the campaign set is locked for modification. | **description** | **String** | A description of the campaign set. | [optional] **evaluationMode** | [**EvaluationModeEnum**](#EvaluationModeEnum) | The mode by which campaigns in the campaign evaluation group are evaluated. | diff --git a/docs/CampaignSetLeafNode.md b/docs/CampaignSetLeafNode.md index 4676b637..27bef4ae 100644 --- a/docs/CampaignSetLeafNode.md +++ b/docs/CampaignSetLeafNode.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | [**TypeEnum**](#TypeEnum) | Indicates the node type. | -**campaignId** | **Integer** | ID of the campaign | +**campaignId** | **Long** | ID of the campaign | diff --git a/docs/CampaignStoreBudget.md b/docs/CampaignStoreBudget.md index 7a92da1c..a7f3bd54 100644 --- a/docs/CampaignStoreBudget.md +++ b/docs/CampaignStoreBudget.md @@ -6,10 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | -**campaignId** | **Integer** | The ID of the campaign that owns this entity. | -**storeId** | **Integer** | The ID of the store. | +**campaignId** | **Long** | The ID of the campaign that owns this entity. | +**storeId** | **Long** | The ID of the store. | **limits** | [**List<CampaignStoreBudgetLimitConfig>**](CampaignStoreBudgetLimitConfig.md) | The set of budget limits for stores linked to the campaign. | diff --git a/docs/CampaignTemplate.md b/docs/CampaignTemplate.md index e66382af..6d3b0b7f 100644 --- a/docs/CampaignTemplate.md +++ b/docs/CampaignTemplate.md @@ -6,17 +6,17 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | -**accountId** | **Integer** | The ID of the account that owns this entity. | -**userId** | **Integer** | The ID of the user associated with this entity. | +**accountId** | **Long** | The ID of the account that owns this entity. | +**userId** | **Long** | The ID of the user associated with this entity. | **name** | **String** | The campaign template name. | **description** | **String** | Customer-facing text that explains the objective of the template. | **instructions** | **String** | Customer-facing text that explains how to use the template. For example, you can use this property to explain the available attributes of this template, and how they can be modified when a user uses this template to create a new campaign. | **campaignAttributes** | [**Object**](.md) | The campaign attributes that campaigns created from this template will have by default. | [optional] **couponAttributes** | [**Object**](.md) | The campaign attributes that coupons created from this template will have by default. | [optional] **state** | [**StateEnum**](#StateEnum) | Only campaign templates in 'available' state may be used to create campaigns. | -**activeRulesetId** | **Integer** | The ID of the ruleset this campaign template will use. | [optional] +**activeRulesetId** | **Long** | The ID of the ruleset this campaign template will use. | [optional] **tags** | **List<String>** | A list of tags for the campaign template. | [optional] **features** | [**List<FeaturesEnum>**](#List<FeaturesEnum>) | A list of features for the campaign template. | [optional] **couponSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional] @@ -24,13 +24,13 @@ Name | Type | Description | Notes **referralSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional] **limits** | [**List<TemplateLimitConfig>**](TemplateLimitConfig.md) | The set of limits that operate for this campaign template. | [optional] **templateParams** | [**List<CampaignTemplateParams>**](CampaignTemplateParams.md) | Fields which can be used to replace values in a rule. | [optional] -**applicationsIds** | **List<Integer>** | A list of IDs of the Applications that are subscribed to this campaign template. | +**applicationsIds** | **List<Long>** | A list of IDs of the Applications that are subscribed to this campaign template. | **campaignCollections** | [**List<CampaignTemplateCollection>**](CampaignTemplateCollection.md) | The campaign collections from the blueprint campaign for the template. | [optional] -**defaultCampaignGroupId** | **Integer** | The default campaign group ID. | [optional] +**defaultCampaignGroupId** | **Long** | The default campaign group ID. | [optional] **campaignType** | [**CampaignTypeEnum**](#CampaignTypeEnum) | The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items. | **updated** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp of the most recent update to the campaign template or any of its elements. | [optional] **updatedBy** | **String** | Name of the user who last updated this campaign template, if available. | [optional] -**validApplicationIds** | **List<Integer>** | The IDs of the Applications that are related to this entity. | +**validApplicationIds** | **List<Long>** | The IDs of the Applications that are related to this entity. | **isUserFavorite** | **Boolean** | A flag indicating whether the user marked the template as a favorite. | [optional] diff --git a/docs/CampaignTemplateCouponReservationSettings.md b/docs/CampaignTemplateCouponReservationSettings.md index d04b8952..ff0d40f4 100644 --- a/docs/CampaignTemplateCouponReservationSettings.md +++ b/docs/CampaignTemplateCouponReservationSettings.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**reservationLimit** | **Integer** | The number of reservations that can be made with this coupon code. | [optional] +**reservationLimit** | **Long** | The number of reservations that can be made with this coupon code. | [optional] **isReservationMandatory** | **Boolean** | An indication of whether the code can be redeemed only if it has been reserved first. | [optional] diff --git a/docs/CampaignTemplateParams.md b/docs/CampaignTemplateParams.md index d78a9cb2..76dfb911 100644 --- a/docs/CampaignTemplateParams.md +++ b/docs/CampaignTemplateParams.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **name** | **String** | Name of the campaign template parameter. | **type** | [**TypeEnum**](#TypeEnum) | Defines the type of parameter value. | **description** | **String** | Explains the meaning of this template parameter and the placeholder value that will define it. It is used on campaign creation from this template. | -**attributeId** | **Integer** | ID of the corresponding attribute. | [optional] +**attributeId** | **Long** | ID of the corresponding attribute. | [optional] diff --git a/docs/CampaignVersions.md b/docs/CampaignVersions.md index cb06e69a..ebbf96c5 100644 --- a/docs/CampaignVersions.md +++ b/docs/CampaignVersions.md @@ -7,11 +7,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **revisionFrontendState** | [**RevisionFrontendStateEnum**](#RevisionFrontendStateEnum) | The campaign revision state displayed in the Campaign Manager. | [optional] -**activeRevisionId** | **Integer** | ID of the revision that was last activated on this campaign. | [optional] -**activeRevisionVersionId** | **Integer** | ID of the revision version that is active on the campaign. | [optional] -**version** | **Integer** | Incrementing number representing how many revisions have been activated on this campaign, starts from 0 for a new campaign. | [optional] -**currentRevisionId** | **Integer** | ID of the revision currently being modified for the campaign. | [optional] -**currentRevisionVersionId** | **Integer** | ID of the latest version applied on the current revision. | [optional] +**activeRevisionId** | **Long** | ID of the revision that was last activated on this campaign. | [optional] +**activeRevisionVersionId** | **Long** | ID of the revision version that is active on the campaign. | [optional] +**version** | **Long** | Incrementing number representing how many revisions have been activated on this campaign, starts from 0 for a new campaign. | [optional] +**currentRevisionId** | **Long** | ID of the revision currently being modified for the campaign. | [optional] +**currentRevisionVersionId** | **Long** | ID of the latest version applied on the current revision. | [optional] **stageRevision** | **Boolean** | Flag for determining whether we use current revision when sending requests with staging API key. | [optional] diff --git a/docs/CardExpiringPointsNotificationPolicy.md b/docs/CardExpiringPointsNotificationPolicy.md index c3fb6db4..4cf701b7 100644 --- a/docs/CardExpiringPointsNotificationPolicy.md +++ b/docs/CardExpiringPointsNotificationPolicy.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **name** | **String** | Notification name. | **triggers** | [**List<CardExpiringPointsNotificationTrigger>**](CardExpiringPointsNotificationTrigger.md) | | **batchingEnabled** | **Boolean** | Indicates whether batching is activated. | [optional] -**batchSize** | **Integer** | The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. | [optional] +**batchSize** | **Long** | The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. | [optional] diff --git a/docs/CardExpiringPointsNotificationTrigger.md b/docs/CardExpiringPointsNotificationTrigger.md index 27e5bcf3..0e73922c 100644 --- a/docs/CardExpiringPointsNotificationTrigger.md +++ b/docs/CardExpiringPointsNotificationTrigger.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**amount** | **Integer** | The amount of period. | +**amount** | **Long** | The amount of period. | **period** | [**PeriodEnum**](#PeriodEnum) | Notification period indicated by a letter; \"w\" means week, \"d\" means day. | diff --git a/docs/CardLedgerPointsEntryIntegrationAPI.md b/docs/CardLedgerPointsEntryIntegrationAPI.md index a91e1fe5..1afef1ff 100644 --- a/docs/CardLedgerPointsEntryIntegrationAPI.md +++ b/docs/CardLedgerPointsEntryIntegrationAPI.md @@ -7,9 +7,9 @@ Loyalty card points with start and expiry dates. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | ID of the transaction that adds loyalty points. | +**id** | **Long** | ID of the transaction that adds loyalty points. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | Date and time the loyalty card points were added. | -**programId** | **Integer** | ID of the loyalty program. | +**programId** | **Long** | ID of the loyalty program. | **customerProfileID** | **String** | Integration ID of the customer profile linked to the card. | [optional] **customerSessionId** | **String** | ID of the customer session where points were added. | [optional] **name** | **String** | Name or reason of the transaction that adds loyalty points. | diff --git a/docs/CardLedgerTransactionLogEntry.md b/docs/CardLedgerTransactionLogEntry.md index 0d4dc900..464d557a 100644 --- a/docs/CardLedgerTransactionLogEntry.md +++ b/docs/CardLedgerTransactionLogEntry.md @@ -8,10 +8,10 @@ Log entry for a given loyalty card transaction. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **created** | [**OffsetDateTime**](OffsetDateTime.md) | Date and time the loyalty card transaction occurred. | -**programId** | **Integer** | ID of the loyalty program. | +**programId** | **Long** | ID of the loyalty program. | **cardIdentifier** | **String** | The alphanumeric identifier of the loyalty card. | -**applicationId** | **Integer** | The ID of the Application that owns this entity. | [optional] -**sessionId** | **Integer** | The **internal** ID of the session. | [optional] +**applicationId** | **Long** | The ID of the Application that owns this entity. | [optional] +**sessionId** | **Long** | The **internal** ID of the session. | [optional] **customerSessionId** | **String** | ID of the customer session where the transaction occurred. | [optional] **type** | [**TypeEnum**](#TypeEnum) | Type of transaction. Possible values: - `addition`: Signifies added points. - `subtraction`: Signifies deducted points. | **name** | **String** | Name or reason of the loyalty ledger transaction. | @@ -19,7 +19,7 @@ Name | Type | Description | Notes **expiryDate** | **String** | Date when points expire. Possible values are: - `unlimited`: Points have no expiration date. - `timestamp value`: Points become active from the given date. | **subledgerId** | **String** | ID of the subledger. | **amount** | [**BigDecimal**](BigDecimal.md) | Amount of loyalty points added or deducted in the transaction. | -**id** | **Integer** | ID of the loyalty ledger entry. | +**id** | **Long** | ID of the loyalty ledger entry. | diff --git a/docs/CardLedgerTransactionLogEntryIntegrationAPI.md b/docs/CardLedgerTransactionLogEntryIntegrationAPI.md index b707d2c7..5314c9d9 100644 --- a/docs/CardLedgerTransactionLogEntryIntegrationAPI.md +++ b/docs/CardLedgerTransactionLogEntryIntegrationAPI.md @@ -8,7 +8,7 @@ Log entry for a given loyalty card transaction. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **created** | [**OffsetDateTime**](OffsetDateTime.md) | Date and time the loyalty card transaction occurred. | -**programId** | **Integer** | ID of the loyalty program. | +**programId** | **Long** | ID of the loyalty program. | **cardIdentifier** | **String** | The alphanumeric identifier of the loyalty card. | **customerSessionId** | **String** | ID of the customer session where the transaction occurred. | [optional] **type** | [**TypeEnum**](#TypeEnum) | Type of transaction. Possible values: - `addition`: Signifies added points. - `subtraction`: Signifies deducted points. | @@ -17,8 +17,8 @@ Name | Type | Description | Notes **expiryDate** | **String** | Date when points expire. Possible values are: - `unlimited`: Points have no expiration date. - `timestamp value`: Points expire on the given date. | **subledgerId** | **String** | ID of the subledger. | **amount** | [**BigDecimal**](BigDecimal.md) | Amount of loyalty points added or deducted in the transaction. | -**id** | **Integer** | ID of the loyalty ledger transaction. | -**rulesetId** | **Integer** | The ID of the ruleset containing the rule that triggered this effect. | [optional] +**id** | **Long** | ID of the loyalty ledger transaction. | +**rulesetId** | **Long** | The ID of the ruleset containing the rule that triggered this effect. | [optional] **ruleName** | **String** | The name of the rule that triggered this effect. | [optional] diff --git a/docs/CartItem.md b/docs/CartItem.md index fa3e1fa1..fff32208 100644 --- a/docs/CartItem.md +++ b/docs/CartItem.md @@ -8,9 +8,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | Name of item. | [optional] **sku** | **String** | Stock keeping unit of item. | -**quantity** | **Integer** | Number of units of this item. Due to [cart item flattening](https://docs.talon.one/docs/product/rules/understanding-cart-item-flattening), if you provide a quantity greater than 1, the item will be split in as many items as the provided quantity. This will impact the number of **per-item** effects triggered from your campaigns. | -**returnedQuantity** | **Integer** | Number of returned items, calculated internally based on returns of this item. | [optional] -**remainingQuantity** | **Integer** | Remaining quantity of the item, calculated internally based on returns of this item. | [optional] +**quantity** | **Long** | Number of units of this item. Due to [cart item flattening](https://docs.talon.one/docs/product/rules/understanding-cart-item-flattening), if you provide a quantity greater than 1, the item will be split in as many items as the provided quantity. This will impact the number of **per-item** effects triggered from your campaigns. | +**returnedQuantity** | **Long** | Number of returned items, calculated internally based on returns of this item. | [optional] +**remainingQuantity** | **Long** | Remaining quantity of the item, calculated internally based on returns of this item. | [optional] **price** | [**BigDecimal**](BigDecimal.md) | Price of the item in the currency defined by your Application. This field is required if this item is not part of a [catalog](https://docs.talon.one/docs/product/account/dev-tools/managing-cart-item-catalogs). If it is part of a catalog, setting a price here overrides the price from the catalog. | [optional] **category** | **String** | Type, group or model of the item. | [optional] **product** | [**Product**](Product.md) | | [optional] @@ -21,7 +21,7 @@ Name | Type | Description | Notes **position** | [**BigDecimal**](BigDecimal.md) | Position of the Cart Item in the Cart (calculated internally). | [optional] **attributes** | [**Object**](.md) | Use this property to set a value for the attributes of your choice. [Attributes](https://docs.talon.one/docs/dev/concepts/attributes) represent any information to attach to this cart item. Custom _cart item_ attributes must be created in the Campaign Manager before you set them with this property. **Note:** Any previously defined attributes that you do not include in the array will be removed. | [optional] **additionalCosts** | [**Map<String, AdditionalCost>**](AdditionalCost.md) | Use this property to set a value for the additional costs of this item, such as a shipping cost. They must be created in the Campaign Manager before you set them with this property. See [Managing additional costs](https://docs.talon.one/docs/product/account/dev-tools/managing-additional-costs). | [optional] -**catalogItemID** | **Integer** | The [catalog item ID](https://docs.talon.one/docs/product/account/dev-tools/managing-cart-item-catalogs/#synchronizing-a-cart-item-catalog). | [optional] +**catalogItemID** | **Long** | The [catalog item ID](https://docs.talon.one/docs/product/account/dev-tools/managing-cart-item-catalogs/#synchronizing-a-cart-item-catalog). | [optional] diff --git a/docs/Catalog.md b/docs/Catalog.md index a962c3fc..cb2cf8cc 100644 --- a/docs/Catalog.md +++ b/docs/Catalog.md @@ -6,15 +6,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | -**accountId** | **Integer** | The ID of the account that owns this entity. | +**accountId** | **Long** | The ID of the account that owns this entity. | **modified** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was last modified. | **name** | **String** | The cart item catalog name. | **description** | **String** | A description of this cart item catalog. | -**subscribedApplicationsIds** | **List<Integer>** | A list of the IDs of the applications that are subscribed to this catalog. | [optional] -**version** | **Integer** | The current version of this catalog. | -**createdBy** | **Integer** | The ID of user who created this catalog. | +**subscribedApplicationsIds** | **List<Long>** | A list of the IDs of the applications that are subscribed to this catalog. | [optional] +**version** | **Long** | The current version of this catalog. | +**createdBy** | **Long** | The ID of user who created this catalog. | diff --git a/docs/CatalogItem.md b/docs/CatalogItem.md index 7128d57b..1a4f3020 100644 --- a/docs/CatalogItem.md +++ b/docs/CatalogItem.md @@ -6,12 +6,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | **sku** | **String** | The stock keeping unit of the item. | **price** | [**BigDecimal**](BigDecimal.md) | Price of the item. | [optional] -**catalogid** | **Integer** | The ID of the catalog the item belongs to. | -**version** | **Integer** | The version of the catalog item. | +**catalogid** | **Long** | The ID of the catalog the item belongs to. | +**version** | **Long** | The version of the catalog item. | **attributes** | [**List<ItemAttribute>**](ItemAttribute.md) | | [optional] **product** | [**Product**](Product.md) | | [optional] diff --git a/docs/CatalogSyncRequest.md b/docs/CatalogSyncRequest.md index 575f85b9..94bafcc3 100644 --- a/docs/CatalogSyncRequest.md +++ b/docs/CatalogSyncRequest.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **actions** | [**List<CatalogAction>**](CatalogAction.md) | | -**version** | **Integer** | The version number of the catalog to apply the actions on. | [optional] +**version** | **Long** | The version number of the catalog to apply the actions on. | [optional] diff --git a/docs/CatalogsStrikethroughNotificationPolicy.md b/docs/CatalogsStrikethroughNotificationPolicy.md index 1cac89d4..e73851ab 100644 --- a/docs/CatalogsStrikethroughNotificationPolicy.md +++ b/docs/CatalogsStrikethroughNotificationPolicy.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | Notification name. | -**aheadOfDaysTrigger** | **Integer** | The number of days in advance that strikethrough pricing updates should be sent. | [optional] +**aheadOfDaysTrigger** | **Long** | The number of days in advance that strikethrough pricing updates should be sent. | [optional] diff --git a/docs/Change.md b/docs/Change.md index 23ff1f8f..40a62011 100644 --- a/docs/Change.md +++ b/docs/Change.md @@ -6,14 +6,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | -**userId** | **Integer** | The ID of the user associated with this entity. | -**applicationId** | **Integer** | ID of application associated with change. | [optional] +**userId** | **Long** | The ID of the user associated with this entity. | +**applicationId** | **Long** | ID of application associated with change. | [optional] **entity** | **String** | API endpoint on which the change was initiated. | **old** | [**Object**](.md) | Resource before the change occurred. | [optional] **_new** | [**Object**](.md) | Resource after the change occurred. | [optional] -**managementKeyId** | **Integer** | ID of management key used to perform changes. | [optional] +**managementKeyId** | **Long** | ID of management key used to perform changes. | [optional] diff --git a/docs/ChangeLoyaltyTierLevelEffectProps.md b/docs/ChangeLoyaltyTierLevelEffectProps.md index d1047ef5..f9356324 100644 --- a/docs/ChangeLoyaltyTierLevelEffectProps.md +++ b/docs/ChangeLoyaltyTierLevelEffectProps.md @@ -8,7 +8,7 @@ The properties specific to the \"changeLoyaltyTierLevel\" effect. This is trigge Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ruleTitle** | **String** | The title of the rule that triggered the tier upgrade. | -**programId** | **Integer** | The ID of the loyalty program where these points were added. | +**programId** | **Long** | The ID of the loyalty program where these points were added. | **subLedgerId** | **String** | The ID of the subledger within the loyalty program where these points were added. | **previousTierName** | **String** | The name of the tier from which the user was upgraded. | [optional] **newTierName** | **String** | The name of the tier to which the user has been upgraded. | diff --git a/docs/Collection.md b/docs/Collection.md index f0dc07df..87327e1a 100644 --- a/docs/Collection.md +++ b/docs/Collection.md @@ -6,17 +6,17 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | -**accountId** | **Integer** | The ID of the account that owns this entity. | +**accountId** | **Long** | The ID of the account that owns this entity. | **modified** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was last modified. | **description** | **String** | A short description of the purpose of this collection. | [optional] -**subscribedApplicationsIds** | **List<Integer>** | A list of the IDs of the Applications where this collection is enabled. | [optional] +**subscribedApplicationsIds** | **List<Long>** | A list of the IDs of the Applications where this collection is enabled. | [optional] **name** | **String** | The name of this collection. | -**modifiedBy** | **Integer** | ID of the user who last updated this effect if available. | [optional] -**createdBy** | **Integer** | ID of the user who created this effect. | -**applicationId** | **Integer** | The ID of the Application that owns this entity. | [optional] -**campaignId** | **Integer** | The ID of the campaign that owns this entity. | [optional] +**modifiedBy** | **Long** | ID of the user who last updated this effect if available. | [optional] +**createdBy** | **Long** | ID of the user who created this effect. | +**applicationId** | **Long** | The ID of the Application that owns this entity. | [optional] +**campaignId** | **Long** | The ID of the campaign that owns this entity. | [optional] **payload** | **List<String>** | The content of the collection. | [optional] diff --git a/docs/CollectionWithoutPayload.md b/docs/CollectionWithoutPayload.md index c237d873..76426dc8 100644 --- a/docs/CollectionWithoutPayload.md +++ b/docs/CollectionWithoutPayload.md @@ -6,17 +6,17 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | -**accountId** | **Integer** | The ID of the account that owns this entity. | +**accountId** | **Long** | The ID of the account that owns this entity. | **modified** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was last modified. | **description** | **String** | A short description of the purpose of this collection. | [optional] -**subscribedApplicationsIds** | **List<Integer>** | A list of the IDs of the Applications where this collection is enabled. | [optional] +**subscribedApplicationsIds** | **List<Long>** | A list of the IDs of the Applications where this collection is enabled. | [optional] **name** | **String** | The name of this collection. | -**modifiedBy** | **Integer** | ID of the user who last updated this effect if available. | [optional] -**createdBy** | **Integer** | ID of the user who created this effect. | -**applicationId** | **Integer** | The ID of the Application that owns this entity. | [optional] -**campaignId** | **Integer** | The ID of the campaign that owns this entity. | [optional] +**modifiedBy** | **Long** | ID of the user who last updated this effect if available. | [optional] +**createdBy** | **Long** | ID of the user who created this effect. | +**applicationId** | **Long** | The ID of the Application that owns this entity. | [optional] +**campaignId** | **Long** | The ID of the campaign that owns this entity. | [optional] diff --git a/docs/Coupon.md b/docs/Coupon.md index 9c34c308..913e2a3c 100644 --- a/docs/Coupon.md +++ b/docs/Coupon.md @@ -6,24 +6,24 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | -**campaignId** | **Integer** | The ID of the campaign that owns this entity. | +**campaignId** | **Long** | The ID of the campaign that owns this entity. | **value** | **String** | The coupon code. | -**usageLimit** | **Integer** | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. | +**usageLimit** | **Long** | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. | **discountLimit** | [**BigDecimal**](BigDecimal.md) | The total discount value that the code can give. Typically used to represent a gift card value. | [optional] -**reservationLimit** | **Integer** | The number of reservations that can be made with this coupon code. | [optional] +**reservationLimit** | **Long** | The number of reservations that can be made with this coupon code. | [optional] **startDate** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp at which point the coupon becomes valid. | [optional] **expiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | Expiration date of the coupon. Coupon never expires if this is omitted. | [optional] **limits** | [**List<LimitConfig>**](LimitConfig.md) | Limits configuration for a coupon. These limits will override the limits set from the campaign. **Note:** Only usable when creating a single coupon which is not tied to a specific recipient. Only per-profile limits are allowed to be configured. | [optional] -**usageCounter** | **Integer** | The number of times the coupon has been successfully redeemed. | +**usageCounter** | **Long** | The number of times the coupon has been successfully redeemed. | **discountCounter** | [**BigDecimal**](BigDecimal.md) | The amount of discounts given on rules redeeming this coupon. Only usable if a coupon discount budget was set for this coupon. | [optional] **discountRemainder** | [**BigDecimal**](BigDecimal.md) | The remaining discount this coupon can give. | [optional] **reservationCounter** | [**BigDecimal**](BigDecimal.md) | The number of times this coupon has been reserved. | [optional] **attributes** | [**Object**](.md) | Custom attributes associated with this coupon. | [optional] -**referralId** | **Integer** | The integration ID of the referring customer (if any) for whom this coupon was created as an effect. | [optional] +**referralId** | **Long** | The integration ID of the referring customer (if any) for whom this coupon was created as an effect. | [optional] **recipientIntegrationId** | **String** | The Integration ID of the customer that is allowed to redeem this coupon. | [optional] -**importId** | **Integer** | The ID of the Import which created this coupon. | [optional] +**importId** | **Long** | The ID of the Import which created this coupon. | [optional] **reservation** | **Boolean** | Defines the reservation type: - `true`: The coupon can be reserved for multiple customers. - `false`: The coupon can be reserved only for one customer. It is a personal code. | [optional] **batchId** | **String** | The id of the batch the coupon belongs to. | [optional] **isReservationMandatory** | **Boolean** | An indication of whether the code can be redeemed only if it has been reserved first. | [optional] diff --git a/docs/CouponConstraints.md b/docs/CouponConstraints.md index 199de7ac..d5c7d44a 100644 --- a/docs/CouponConstraints.md +++ b/docs/CouponConstraints.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**usageLimit** | **Integer** | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. | [optional] +**usageLimit** | **Long** | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. | [optional] **discountLimit** | [**BigDecimal**](BigDecimal.md) | The total discount value that the code can give. Typically used to represent a gift card value. | [optional] -**reservationLimit** | **Integer** | The number of reservations that can be made with this coupon code. | [optional] +**reservationLimit** | **Long** | The number of reservations that can be made with this coupon code. | [optional] **startDate** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp at which point the coupon becomes valid. | [optional] **expiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | Expiration date of the coupon. Coupon never expires if this is omitted. | [optional] diff --git a/docs/CouponCreationJob.md b/docs/CouponCreationJob.md index b76f31a5..ef1e7721 100644 --- a/docs/CouponCreationJob.md +++ b/docs/CouponCreationJob.md @@ -6,28 +6,28 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | -**campaignId** | **Integer** | The ID of the campaign that owns this entity. | -**applicationId** | **Integer** | The ID of the Application that owns this entity. | -**accountId** | **Integer** | The ID of the account that owns this entity. | -**usageLimit** | **Integer** | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. | +**campaignId** | **Long** | The ID of the campaign that owns this entity. | +**applicationId** | **Long** | The ID of the Application that owns this entity. | +**accountId** | **Long** | The ID of the account that owns this entity. | +**usageLimit** | **Long** | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. | **discountLimit** | [**BigDecimal**](BigDecimal.md) | The total discount value that the code can give. Typically used to represent a gift card value. | [optional] -**reservationLimit** | **Integer** | The number of reservations that can be made with this coupon code. | [optional] +**reservationLimit** | **Long** | The number of reservations that can be made with this coupon code. | [optional] **startDate** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp at which point the coupon becomes valid. | [optional] **expiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | Expiration date of the coupon. Coupon never expires if this is omitted. | [optional] -**numberOfCoupons** | **Integer** | The number of new coupon codes to generate for the campaign. | +**numberOfCoupons** | **Long** | The number of new coupon codes to generate for the campaign. | **couponSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional] **attributes** | [**Object**](.md) | Arbitrary properties associated with coupons. | **batchId** | **String** | The batch ID coupons created by this job will bear. | **status** | **String** | The current status of this request. Possible values: - `pending verification` - `pending` - `completed` - `failed` - `coupon pattern full` | -**createdAmount** | **Integer** | The number of coupon codes that were already created for this request. | -**failCount** | **Integer** | The number of times this job failed. | +**createdAmount** | **Long** | The number of coupon codes that were already created for this request. | +**failCount** | **Long** | The number of times this job failed. | **errors** | **List<String>** | An array of individual problems encountered during the request. | -**createdBy** | **Integer** | ID of the user who created this effect. | +**createdBy** | **Long** | ID of the user who created this effect. | **communicated** | **Boolean** | Whether or not the user that created this job was notified of its final state. | -**chunkExecutionCount** | **Integer** | The number of times an attempt to create a chunk of coupons was made during the processing of the job. | -**chunkSize** | **Integer** | The number of coupons that will be created in a single transactions. Coupons will be created in chunks until arriving at the requested amount. | [optional] +**chunkExecutionCount** | **Long** | The number of times an attempt to create a chunk of coupons was made during the processing of the job. | +**chunkSize** | **Long** | The number of coupons that will be created in a single transactions. Coupons will be created in chunks until arriving at the requested amount. | [optional] diff --git a/docs/CouponDeletionFilters.md b/docs/CouponDeletionFilters.md index ca21fae6..a3fc139b 100644 --- a/docs/CouponDeletionFilters.md +++ b/docs/CouponDeletionFilters.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes **exactMatch** | **Boolean** | Filter results to an exact case-insensitive matching against the coupon code | [optional] **value** | **String** | Filter results by the coupon code | [optional] **batchId** | **String** | Filter results by batches of coupons | [optional] -**referralId** | **Integer** | Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. | [optional] +**referralId** | **Long** | Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. | [optional] **expiresAfter** | [**OffsetDateTime**](OffsetDateTime.md) | Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. | [optional] **expiresBefore** | [**OffsetDateTime**](OffsetDateTime.md) | Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. | [optional] diff --git a/docs/CouponDeletionJob.md b/docs/CouponDeletionJob.md index 7f4aa5de..96dafc44 100644 --- a/docs/CouponDeletionJob.md +++ b/docs/CouponDeletionJob.md @@ -6,18 +6,18 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | -**applicationId** | **Integer** | The ID of the Application that owns this entity. | -**accountId** | **Integer** | The ID of the account that owns this entity. | +**applicationId** | **Long** | The ID of the Application that owns this entity. | +**accountId** | **Long** | The ID of the account that owns this entity. | **filters** | [**CouponDeletionFilters**](CouponDeletionFilters.md) | | **status** | **String** | The current status of this request. Possible values: - `not_ready` - `pending` - `completed` - `failed` | -**deletedAmount** | **Integer** | The number of coupon codes that were already deleted for this request. | [optional] -**failCount** | **Integer** | The number of times this job failed. | +**deletedAmount** | **Long** | The number of coupon codes that were already deleted for this request. | [optional] +**failCount** | **Long** | The number of times this job failed. | **errors** | **List<String>** | An array of individual problems encountered during the request. | -**createdBy** | **Integer** | ID of the user who created this effect. | +**createdBy** | **Long** | ID of the user who created this effect. | **communicated** | **Boolean** | Indicates whether the user that created this job was notified of its final state. | -**campaignIDs** | **List<Integer>** | | [optional] +**campaignIDs** | **List<Long>** | | [optional] diff --git a/docs/CouponRejectionReason.md b/docs/CouponRejectionReason.md index f5d5698c..97d21790 100644 --- a/docs/CouponRejectionReason.md +++ b/docs/CouponRejectionReason.md @@ -7,8 +7,8 @@ Holds a reference to the campaign, the coupon and the reason for which that coup Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**campaignId** | **Integer** | | -**couponId** | **Integer** | | +**campaignId** | **Long** | | +**couponId** | **Long** | | **reason** | [**ReasonEnum**](#ReasonEnum) | | diff --git a/docs/CouponsNotificationPolicy.md b/docs/CouponsNotificationPolicy.md index 0b0175c0..d8334096 100644 --- a/docs/CouponsNotificationPolicy.md +++ b/docs/CouponsNotificationPolicy.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **scopes** | [**List<ScopesEnum>**](#List<ScopesEnum>) | | **batchingEnabled** | **Boolean** | Indicates whether batching is activated. | [optional] **includeData** | **Boolean** | Indicates whether to include all generated coupons. If `false`, only the `batchId` of the generated coupons is included. | [optional] -**batchSize** | **Integer** | The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. | [optional] +**batchSize** | **Long** | The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. | [optional] diff --git a/docs/CreateApplicationAPIKey.md b/docs/CreateApplicationAPIKey.md index 0d8ced5d..d34444c6 100644 --- a/docs/CreateApplicationAPIKey.md +++ b/docs/CreateApplicationAPIKey.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **expires** | [**OffsetDateTime**](OffsetDateTime.md) | The date the API key expires. | **platform** | [**PlatformEnum**](#PlatformEnum) | The third-party platform the API key is valid for. Use `none` for a generic API key to be used from your own integration layer. | [optional] **type** | [**TypeEnum**](#TypeEnum) | The API key type. Can be empty or `staging`. Staging API keys can only be used for dry requests with the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint, [Update customer profile](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/updateCustomerProfileV2) endpoint, and [Track event](https://docs.talon.one/integration-api#tag/Events/operation/trackEventV2) endpoint. When using the _Update customer profile_ endpoint with a staging API key, the query parameter `runRuleEngine` must be `true`. | [optional] -**timeOffset** | **Integer** | A time offset in nanoseconds associated with the API key. When making a request using the API key, rule evaluation is based on a date that is calculated by adding the offset to the current date. | [optional] +**timeOffset** | **Long** | A time offset in nanoseconds associated with the API key. When making a request using the API key, rule evaluation is based on a date that is calculated by adding the offset to the current date. | [optional] diff --git a/docs/CreateManagementKey.md b/docs/CreateManagementKey.md index d513ee45..c1978a7e 100644 --- a/docs/CreateManagementKey.md +++ b/docs/CreateManagementKey.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **name** | **String** | Name for management key. | **expiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | The date the management key expires. | **endpoints** | [**List<Endpoint>**](Endpoint.md) | The list of endpoints that can be accessed with the key | -**allowedApplicationIds** | **List<Integer>** | A list of Application IDs that you can access with the management key. An empty or missing list means the management key can be used for all Applications in the account. | [optional] +**allowedApplicationIds** | **List<Long>** | A list of Application IDs that you can access with the management key. An empty or missing list means the management key can be used for all Applications in the account. | [optional] diff --git a/docs/CreateTemplateCampaign.md b/docs/CreateTemplateCampaign.md index 6a446708..2d9afa5b 100644 --- a/docs/CreateTemplateCampaign.md +++ b/docs/CreateTemplateCampaign.md @@ -8,14 +8,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | A user-facing name for this campaign. | **description** | **String** | A detailed description of the campaign. | [optional] -**templateId** | **Integer** | The ID of the Campaign Template which will be used in order to create the Campaign. | +**templateId** | **Long** | The ID of the Campaign Template which will be used in order to create the Campaign. | **campaignAttributesOverrides** | [**Object**](.md) | Custom Campaign Attributes. If the Campaign Template defines the same values, they will be overridden. | [optional] **templateParamValues** | [**List<Binding>**](Binding.md) | Actual values to replace the template placeholder values in the Ruleset bindings. Values for all Template Parameters must be provided. | [optional] **limitOverrides** | [**List<LimitConfig>**](LimitConfig.md) | Limits for this Campaign. If the Campaign Template or Application define default values for the same limits, they will be overridden. | [optional] -**campaignGroups** | **List<Integer>** | The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/account-settings/managing-campaign-groups) this campaign belongs to. | [optional] +**campaignGroups** | **List<Long>** | The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/account-settings/managing-campaign-groups) this campaign belongs to. | [optional] **tags** | **List<String>** | A list of tags for the campaign. If the campaign template has tags, they will be overridden by this list. | [optional] -**evaluationGroupId** | **Integer** | The ID of the campaign evaluation group the campaign belongs to. | [optional] -**linkedStoreIds** | **List<Integer>** | A list of store IDs that are linked to the campaign. **Note:** Campaigns with linked store IDs will only be evaluated when there is a [customer session update](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) that references a linked store. | [optional] +**evaluationGroupId** | **Long** | The ID of the campaign evaluation group the campaign belongs to. | [optional] +**linkedStoreIds** | **List<Long>** | A list of store IDs that are linked to the campaign. **Note:** Campaigns with linked store IDs will only be evaluated when there is a [customer session update](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) that references a linked store. | [optional] diff --git a/docs/CustomEffect.md b/docs/CustomEffect.md index 70e5cb4b..51032138 100644 --- a/docs/CustomEffect.md +++ b/docs/CustomEffect.md @@ -6,11 +6,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | -**accountId** | **Integer** | The ID of the account that owns this entity. | +**accountId** | **Long** | The ID of the account that owns this entity. | **modified** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was last modified. | -**applicationIds** | **List<Integer>** | The IDs of the Applications that are related to this entity. | +**applicationIds** | **List<Long>** | The IDs of the Applications that are related to this entity. | **isPerItem** | **Boolean** | Indicates if this effect is per item or not. | [optional] **name** | **String** | The name of this effect. | **title** | **String** | The title of this effect. | @@ -18,8 +18,8 @@ Name | Type | Description | Notes **description** | **String** | The description of this effect. | [optional] **enabled** | **Boolean** | Determines if this effect is active. | **params** | [**List<TemplateArgDef>**](TemplateArgDef.md) | Array of template argument definitions. | [optional] -**modifiedBy** | **Integer** | ID of the user who last updated this effect if available. | [optional] -**createdBy** | **Integer** | ID of the user who created this effect. | +**modifiedBy** | **Long** | ID of the user who last updated this effect if available. | [optional] +**createdBy** | **Long** | ID of the user who created this effect. | diff --git a/docs/CustomEffectProps.md b/docs/CustomEffectProps.md index aa4a5a5f..2209dfc1 100644 --- a/docs/CustomEffectProps.md +++ b/docs/CustomEffectProps.md @@ -7,11 +7,11 @@ Effect containing custom payload. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**effectId** | **Integer** | The ID of the custom effect that was triggered. | +**effectId** | **Long** | The ID of the custom effect that was triggered. | **name** | **String** | The type of the custom effect. | **cartItemPosition** | [**BigDecimal**](BigDecimal.md) | The index of the item in the cart item list to which the custom effect is applied. | [optional] **cartItemSubPosition** | [**BigDecimal**](BigDecimal.md) | For cart items with quantity > 1, the sub position indicates to which item unit the custom effect is applied. | [optional] -**bundleIndex** | **Integer** | The position of the bundle in a list of item bundles created from the same bundle definition. | [optional] +**bundleIndex** | **Long** | The position of the bundle in a list of item bundles created from the same bundle definition. | [optional] **bundleName** | **String** | The name of the bundle definition. | [optional] **payload** | [**Object**](.md) | The JSON payload of the custom effect. | diff --git a/docs/CustomerActivityReport.md b/docs/CustomerActivityReport.md index c84488ce..80bb8134 100644 --- a/docs/CustomerActivityReport.md +++ b/docs/CustomerActivityReport.md @@ -10,15 +10,15 @@ Name | Type | Description | Notes **integrationId** | **String** | The integration ID set by your integration layer. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | **name** | **String** | The name for this customer profile. | -**customerId** | **Integer** | The internal Talon.One ID of the customer. | +**customerId** | **Long** | The internal Talon.One ID of the customer. | **lastActivity** | [**OffsetDateTime**](OffsetDateTime.md) | The last activity of the customer. | [optional] -**couponRedemptions** | **Integer** | Number of coupon redemptions in all customer campaigns. | -**couponUseAttempts** | **Integer** | Number of coupon use attempts in all customer campaigns. | -**couponFailedAttempts** | **Integer** | Number of failed coupon use attempts in all customer campaigns. | +**couponRedemptions** | **Long** | Number of coupon redemptions in all customer campaigns. | +**couponUseAttempts** | **Long** | Number of coupon use attempts in all customer campaigns. | +**couponFailedAttempts** | **Long** | Number of failed coupon use attempts in all customer campaigns. | **accruedDiscounts** | [**BigDecimal**](BigDecimal.md) | Number of accrued discounts in all customer campaigns. | **accruedRevenue** | [**BigDecimal**](BigDecimal.md) | Amount of accrued revenue in all customer campaigns. | -**totalOrders** | **Integer** | Number of orders in all customer campaigns. | -**totalOrdersNoCoupon** | **Integer** | Number of orders without coupon used in all customer campaigns. | +**totalOrders** | **Long** | Number of orders in all customer campaigns. | +**totalOrdersNoCoupon** | **Long** | Number of orders without coupon used in all customer campaigns. | **campaignName** | **String** | The name of the campaign this customer belongs to. | diff --git a/docs/CustomerAnalytics.md b/docs/CustomerAnalytics.md index 1bf509a2..bd4e1e06 100644 --- a/docs/CustomerAnalytics.md +++ b/docs/CustomerAnalytics.md @@ -7,11 +7,11 @@ A summary report of customer activity for a given time range. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**acceptedCoupons** | **Integer** | Total accepted coupons for this customer. | -**createdCoupons** | **Integer** | Total created coupons for this customer. | -**freeItems** | **Integer** | Total free items given to this customer. | -**totalOrders** | **Integer** | Total orders made by this customer. | -**totalDiscountedOrders** | **Integer** | Total orders made by this customer that had a discount. | +**acceptedCoupons** | **Long** | Total accepted coupons for this customer. | +**createdCoupons** | **Long** | Total created coupons for this customer. | +**freeItems** | **Long** | Total free items given to this customer. | +**totalOrders** | **Long** | Total orders made by this customer. | +**totalDiscountedOrders** | **Long** | Total orders made by this customer that had a discount. | **totalRevenue** | [**BigDecimal**](BigDecimal.md) | Total Revenue across all closed sessions. | **totalDiscounts** | [**BigDecimal**](BigDecimal.md) | The sum of discounts that were given across all closed sessions. | diff --git a/docs/CustomerProfile.md b/docs/CustomerProfile.md index 89a41f14..06fafffa 100644 --- a/docs/CustomerProfile.md +++ b/docs/CustomerProfile.md @@ -6,12 +6,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | **integrationId** | **String** | The integration ID set by your integration layer. | **attributes** | [**Object**](.md) | Arbitrary properties associated with this item. | -**accountId** | **Integer** | The ID of the Talon.One account that owns this profile. | -**closedSessions** | **Integer** | The total amount of closed sessions by a customer. A closed session is a successful purchase. | +**accountId** | **Long** | The ID of the Talon.One account that owns this profile. | +**closedSessions** | **Long** | The total amount of closed sessions by a customer. A closed session is a successful purchase. | **totalSales** | [**BigDecimal**](BigDecimal.md) | The total amount of money spent by the customer **before** discounts are applied. The total sales amount excludes the following: - Cancelled or reopened sessions. - Returned items. | **loyaltyMemberships** | [**List<LoyaltyMembership>**](LoyaltyMembership.md) | **DEPRECATED** A list of loyalty programs joined by the customer. | [optional] **audienceMemberships** | [**List<AudienceMembership>**](AudienceMembership.md) | The audiences the customer belongs to. | [optional] diff --git a/docs/CustomerProfileAudienceRequestItem.md b/docs/CustomerProfileAudienceRequestItem.md index 35b4a2ec..6cad277b 100644 --- a/docs/CustomerProfileAudienceRequestItem.md +++ b/docs/CustomerProfileAudienceRequestItem.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **action** | [**ActionEnum**](#ActionEnum) | Defines the action to perform: - `add`: Adds the customer profile to the audience. **Note**: If the customer profile does not exist, it will be created. The profile will not be visible in any Application until a session or profile update is received for that profile. - `delete`: Removes the customer profile from the audience. | **profileIntegrationId** | **String** | The ID of this customer profile in the third-party integration. | -**audienceId** | **Integer** | The ID of the audience. You get it via the `id` property when [creating an audience](#operation/createAudienceV2). | +**audienceId** | **Long** | The ID of the audience. You get it via the `id` property when [creating an audience](#operation/createAudienceV2). | diff --git a/docs/CustomerProfileIntegrationRequestV2.md b/docs/CustomerProfileIntegrationRequestV2.md index 8ce26dcd..67166c88 100644 --- a/docs/CustomerProfileIntegrationRequestV2.md +++ b/docs/CustomerProfileIntegrationRequestV2.md @@ -8,7 +8,7 @@ The body of a V2 integration API request (customer profile update). Next to the Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **attributes** | [**Object**](.md) | Arbitrary properties associated with this item. | [optional] -**evaluableCampaignIds** | **List<Integer>** | When using the `dry` query parameter, use this property to list the campaign to be evaluated by the Rule Engine. These campaigns will be evaluated, even if they are disabled, allowing you to test specific campaigns before activating them. | [optional] +**evaluableCampaignIds** | **List<Long>** | When using the `dry` query parameter, use this property to list the campaign to be evaluated by the Rule Engine. These campaigns will be evaluated, even if they are disabled, allowing you to test specific campaigns before activating them. | [optional] **audiencesChanges** | [**ProfileAudiencesChanges**](ProfileAudiencesChanges.md) | | [optional] **responseContent** | [**List<ResponseContentEnum>**](#List<ResponseContentEnum>) | Extends the response with the chosen data entities. Use this property to get as much data as you need in one _Update customer profile_ request instead of sending extra requests to other endpoints. | [optional] diff --git a/docs/CustomerProfileSearchQuery.md b/docs/CustomerProfileSearchQuery.md index 12512698..7a45d762 100644 --- a/docs/CustomerProfileSearchQuery.md +++ b/docs/CustomerProfileSearchQuery.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **attributes** | [**Object**](.md) | Properties to match against a customer profile. All provided attributes will be exactly matched against profile attributes. | [optional] **integrationIDs** | **List<String>** | | [optional] -**profileIDs** | **List<Integer>** | | [optional] +**profileIDs** | **List<Long>** | | [optional] diff --git a/docs/CustomerSession.md b/docs/CustomerSession.md index 2cbb2691..00870960 100644 --- a/docs/CustomerSession.md +++ b/docs/CustomerSession.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **integrationId** | **String** | The integration ID set by your integration layer. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | -**applicationId** | **Integer** | The ID of the Application that owns this entity. | +**applicationId** | **Long** | The ID of the Application that owns this entity. | **profileId** | **String** | ID of the customer profile set by your integration layer. **Note:** If the customer does not yet have a known `profileId`, we recommend you use a guest `profileId`. | **coupon** | **String** | Any coupon code entered. | **referral** | **String** | Any referral code entered. | diff --git a/docs/CustomerSessionV2.md b/docs/CustomerSessionV2.md index 9334d5c3..c8657440 100644 --- a/docs/CustomerSessionV2.md +++ b/docs/CustomerSessionV2.md @@ -7,13 +7,13 @@ The representation of the customer session. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | **integrationId** | **String** | The integration ID set by your integration layer. | -**applicationId** | **Integer** | The ID of the Application that owns this entity. | +**applicationId** | **Long** | The ID of the Application that owns this entity. | **profileId** | **String** | ID of the customer profile set by your integration layer. **Note:** If the customer does not yet have a known `profileId`, we recommend you use a guest `profileId`. | **storeIntegrationId** | **String** | The integration ID of the store. You choose this ID when you create a store. | [optional] -**evaluableCampaignIds** | **List<Integer>** | When using the `dry` query parameter, use this property to list the campaign to be evaluated by the Rule Engine. These campaigns will be evaluated, even if they are disabled, allowing you to test specific campaigns before activating them. | [optional] +**evaluableCampaignIds** | **List<Long>** | When using the `dry` query parameter, use this property to list the campaign to be evaluated by the Rule Engine. These campaigns will be evaluated, even if they are disabled, allowing you to test specific campaigns before activating them. | [optional] **couponCodes** | **List<String>** | Any coupon codes entered. **Important - for requests only**: - If you [create a coupon budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a coupon code by the time you close it. - In requests where `dry=false`, providing an empty array discards any previous coupons. To avoid this, omit the parameter entirely. | [optional] **referralCode** | **String** | Any referral code entered. **Important - for requests only**: - If you [create a referral budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a referral code by the time you close it. - In requests where `dry=false`, providing an empty value discards the previous referral code. To avoid this, omit the parameter entirely. | [optional] **loyaltyCards** | **List<String>** | Identifier of a loyalty card. | [optional] diff --git a/docs/DeductLoyaltyPoints.md b/docs/DeductLoyaltyPoints.md index e1508003..06b9129b 100644 --- a/docs/DeductLoyaltyPoints.md +++ b/docs/DeductLoyaltyPoints.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **points** | [**BigDecimal**](BigDecimal.md) | Amount of loyalty points. | **name** | **String** | Name / reason for the point deduction. | [optional] **subledgerId** | **String** | ID of the subledger the points are deducted from. | [optional] -**applicationId** | **Integer** | ID of the Application that is connected to the loyalty program. | [optional] +**applicationId** | **Long** | ID of the Application that is connected to the loyalty program. | [optional] diff --git a/docs/DeductLoyaltyPointsEffectProps.md b/docs/DeductLoyaltyPointsEffectProps.md index cd34b15f..0fd8df94 100644 --- a/docs/DeductLoyaltyPointsEffectProps.md +++ b/docs/DeductLoyaltyPointsEffectProps.md @@ -8,7 +8,7 @@ The properties specific to the \"deductLoyaltyPoints\" effect. This gets trigger Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ruleTitle** | **String** | The title of the rule that contained triggered this points deduction. | -**programId** | **Integer** | The ID of the loyalty program where these points were added. | +**programId** | **Long** | The ID of the loyalty program where these points were added. | **subLedgerId** | **String** | The ID of the subledger within the loyalty program where these points were added. | **value** | [**BigDecimal**](BigDecimal.md) | The amount of points that were deducted. | **transactionUUID** | **String** | The identifier of this deduction in the loyalty ledger. | diff --git a/docs/Effect.md b/docs/Effect.md index b00f2e90..5ba627e5 100644 --- a/docs/Effect.md +++ b/docs/Effect.md @@ -7,18 +7,18 @@ A generic effect that is fired by a triggered campaign. The props property will Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**campaignId** | **Integer** | The ID of the campaign that triggered this effect. | -**rulesetId** | **Integer** | The ID of the ruleset that was active in the campaign when this effect was triggered. | -**ruleIndex** | **Integer** | The position of the rule that triggered this effect within the ruleset. | +**campaignId** | **Long** | The ID of the campaign that triggered this effect. | +**rulesetId** | **Long** | The ID of the ruleset that was active in the campaign when this effect was triggered. | +**ruleIndex** | **Long** | The position of the rule that triggered this effect within the ruleset. | **ruleName** | **String** | The name of the rule that triggered this effect. | **effectType** | **String** | The type of effect that was triggered. See [API effects](https://docs.talon.one/docs/dev/integration-api/api-effects). | -**triggeredByCoupon** | **Integer** | The ID of the coupon that was being evaluated when this effect was triggered. | [optional] -**triggeredForCatalogItem** | **Integer** | The ID of the catalog item that was being evaluated when this effect was triggered. | [optional] -**conditionIndex** | **Integer** | The index of the condition that was triggered. | [optional] -**evaluationGroupID** | **Integer** | The ID of the evaluation group. For more information, see [Managing campaign evaluation](https://docs.talon.one/docs/product/applications/managing-campaign-evaluation). | [optional] +**triggeredByCoupon** | **Long** | The ID of the coupon that was being evaluated when this effect was triggered. | [optional] +**triggeredForCatalogItem** | **Long** | The ID of the catalog item that was being evaluated when this effect was triggered. | [optional] +**conditionIndex** | **Long** | The index of the condition that was triggered. | [optional] +**evaluationGroupID** | **Long** | The ID of the evaluation group. For more information, see [Managing campaign evaluation](https://docs.talon.one/docs/product/applications/managing-campaign-evaluation). | [optional] **evaluationGroupMode** | **String** | The evaluation mode of the evaluation group. For more information, see [Managing campaign evaluation](https://docs.talon.one/docs/product/applications/managing-campaign-evaluation). | [optional] -**campaignRevisionId** | **Integer** | The revision ID of the campaign that was used when triggering the effect. | [optional] -**campaignRevisionVersionId** | **Integer** | The revision version ID of the campaign that was used when triggering the effect. | [optional] +**campaignRevisionId** | **Long** | The revision ID of the campaign that was used when triggering the effect. | [optional] +**campaignRevisionVersionId** | **Long** | The revision version ID of the campaign that was used when triggering the effect. | [optional] **props** | [**Object**](.md) | The properties of the effect. See [API effects](https://docs.talon.one/docs/dev/integration-api/api-effects). | diff --git a/docs/EffectEntity.md b/docs/EffectEntity.md index 9061a9da..28953626 100644 --- a/docs/EffectEntity.md +++ b/docs/EffectEntity.md @@ -7,18 +7,18 @@ Definition of all properties that are present on all effects, independent of the Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**campaignId** | **Integer** | The ID of the campaign that triggered this effect. | -**rulesetId** | **Integer** | The ID of the ruleset that was active in the campaign when this effect was triggered. | -**ruleIndex** | **Integer** | The position of the rule that triggered this effect within the ruleset. | +**campaignId** | **Long** | The ID of the campaign that triggered this effect. | +**rulesetId** | **Long** | The ID of the ruleset that was active in the campaign when this effect was triggered. | +**ruleIndex** | **Long** | The position of the rule that triggered this effect within the ruleset. | **ruleName** | **String** | The name of the rule that triggered this effect. | **effectType** | **String** | The type of effect that was triggered. See [API effects](https://docs.talon.one/docs/dev/integration-api/api-effects). | -**triggeredByCoupon** | **Integer** | The ID of the coupon that was being evaluated when this effect was triggered. | [optional] -**triggeredForCatalogItem** | **Integer** | The ID of the catalog item that was being evaluated when this effect was triggered. | [optional] -**conditionIndex** | **Integer** | The index of the condition that was triggered. | [optional] -**evaluationGroupID** | **Integer** | The ID of the evaluation group. For more information, see [Managing campaign evaluation](https://docs.talon.one/docs/product/applications/managing-campaign-evaluation). | [optional] +**triggeredByCoupon** | **Long** | The ID of the coupon that was being evaluated when this effect was triggered. | [optional] +**triggeredForCatalogItem** | **Long** | The ID of the catalog item that was being evaluated when this effect was triggered. | [optional] +**conditionIndex** | **Long** | The index of the condition that was triggered. | [optional] +**evaluationGroupID** | **Long** | The ID of the evaluation group. For more information, see [Managing campaign evaluation](https://docs.talon.one/docs/product/applications/managing-campaign-evaluation). | [optional] **evaluationGroupMode** | **String** | The evaluation mode of the evaluation group. For more information, see [Managing campaign evaluation](https://docs.talon.one/docs/product/applications/managing-campaign-evaluation). | [optional] -**campaignRevisionId** | **Integer** | The revision ID of the campaign that was used when triggering the effect. | [optional] -**campaignRevisionVersionId** | **Integer** | The revision version ID of the campaign that was used when triggering the effect. | [optional] +**campaignRevisionId** | **Long** | The revision ID of the campaign that was used when triggering the effect. | [optional] +**campaignRevisionVersionId** | **Long** | The revision version ID of the campaign that was used when triggering the effect. | [optional] diff --git a/docs/Entity.md b/docs/Entity.md index 94eeaaa6..707445ec 100644 --- a/docs/Entity.md +++ b/docs/Entity.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | diff --git a/docs/EntityWithTalangVisibleID.md b/docs/EntityWithTalangVisibleID.md index be250ce5..1d74f55f 100644 --- a/docs/EntityWithTalangVisibleID.md +++ b/docs/EntityWithTalangVisibleID.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Unique ID for this entity. | +**id** | **Long** | Unique ID for this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The exact moment this entity was created. | diff --git a/docs/Environment.md b/docs/Environment.md index 3c41534a..a617508a 100644 --- a/docs/Environment.md +++ b/docs/Environment.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | -**applicationId** | **Integer** | The ID of the Application that owns this entity. | +**applicationId** | **Long** | The ID of the Application that owns this entity. | **slots** | [**List<SlotDef>**](SlotDef.md) | The slots defined for this application. | **functions** | [**List<FunctionDef>**](FunctionDef.md) | The functions defined for this application. | **templates** | [**List<TemplateDef>**](TemplateDef.md) | The templates defined for this application. | diff --git a/docs/ErrorResponseWithStatus.md b/docs/ErrorResponseWithStatus.md index 4508f3e8..f8ba17a6 100644 --- a/docs/ErrorResponseWithStatus.md +++ b/docs/ErrorResponseWithStatus.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **message** | **String** | | [optional] **errors** | [**List<APIError>**](APIError.md) | An array of individual problems encountered during the request. | [optional] -**statusCode** | **Integer** | The error code | [optional] +**statusCode** | **Long** | The error code | [optional] diff --git a/docs/EvaluableCampaignIds.md b/docs/EvaluableCampaignIds.md index dfc4ee15..006899ec 100644 --- a/docs/EvaluableCampaignIds.md +++ b/docs/EvaluableCampaignIds.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**evaluableCampaignIds** | **List<Integer>** | When using the `dry` query parameter, use this property to list the campaign to be evaluated by the Rule Engine. These campaigns will be evaluated, even if they are disabled, allowing you to test specific campaigns before activating them. | [optional] +**evaluableCampaignIds** | **List<Long>** | When using the `dry` query parameter, use this property to list the campaign to be evaluated by the Rule Engine. These campaigns will be evaluated, even if they are disabled, allowing you to test specific campaigns before activating them. | [optional] diff --git a/docs/Event.md b/docs/Event.md index ec800c93..20a703c3 100644 --- a/docs/Event.md +++ b/docs/Event.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | -**applicationId** | **Integer** | The ID of the Application that owns this entity. | +**applicationId** | **Long** | The ID of the Application that owns this entity. | **profileId** | **String** | ID of the customer profile set by your integration layer. **Note:** If the customer does not yet have a known `profileId`, we recommend you use a guest `profileId`. | [optional] **storeIntegrationId** | **String** | The integration ID of the store. You choose this ID when you create a store. | [optional] **type** | **String** | A string representing the event. Must not be a reserved event name. | diff --git a/docs/EventType.md b/docs/EventType.md index 8cc7274e..e0a406be 100644 --- a/docs/EventType.md +++ b/docs/EventType.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | **title** | **String** | The human-friendly name for this event type. | **name** | **String** | The integration name for this event type. This will be used in URLs and cannot be changed after an event type has been created. | diff --git a/docs/EventV2.md b/docs/EventV2.md index 2a692493..190c1e92 100644 --- a/docs/EventV2.md +++ b/docs/EventV2.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **profileId** | **String** | ID of the customer profile set by your integration layer. **Note:** If the customer does not yet have a known `profileId`, we recommend you use a guest `profileId`. | [optional] **storeIntegrationId** | **String** | The integration ID of the store. You choose this ID when you create a store. | [optional] -**evaluableCampaignIds** | **List<Integer>** | When using the `dry` query parameter, use this property to list the campaign to be evaluated by the Rule Engine. These campaigns will be evaluated, even if they are disabled, allowing you to test specific campaigns before activating them. | [optional] +**evaluableCampaignIds** | **List<Long>** | When using the `dry` query parameter, use this property to list the campaign to be evaluated by the Rule Engine. These campaigns will be evaluated, even if they are disabled, allowing you to test specific campaigns before activating them. | [optional] **type** | **String** | A string representing the event name. Must not be a reserved event name. You create this value when you [create an attribute](https://docs.talon.one/docs/dev/concepts/entities/events#creating-a-custom-event) of type `event` in the Campaign Manager. | **attributes** | [**Object**](.md) | Arbitrary additional JSON properties associated with the event. They must be created in the Campaign Manager before setting them with this property. See [creating custom attributes](https://docs.talon.one/docs/product/account/dev-tools/managing-attributes#creating-a-custom-attribute). | [optional] diff --git a/docs/ExpiringCouponsNotificationPolicy.md b/docs/ExpiringCouponsNotificationPolicy.md index 94c154e0..cd500043 100644 --- a/docs/ExpiringCouponsNotificationPolicy.md +++ b/docs/ExpiringCouponsNotificationPolicy.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **name** | **String** | Notification name. | **triggers** | [**List<ExpiringCouponsNotificationTrigger>**](ExpiringCouponsNotificationTrigger.md) | | **batchingEnabled** | **Boolean** | Indicates whether batching is activated. | [optional] -**batchSize** | **Integer** | The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. | [optional] +**batchSize** | **Long** | The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. | [optional] diff --git a/docs/ExpiringCouponsNotificationTrigger.md b/docs/ExpiringCouponsNotificationTrigger.md index 92660fa2..041eb082 100644 --- a/docs/ExpiringCouponsNotificationTrigger.md +++ b/docs/ExpiringCouponsNotificationTrigger.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**amount** | **Integer** | The amount of period. | +**amount** | **Long** | The amount of period. | **period** | [**PeriodEnum**](#PeriodEnum) | Notification period indicated by a letter; \"w\" means week, \"d\" means day. | diff --git a/docs/ExpiringPointsNotificationPolicy.md b/docs/ExpiringPointsNotificationPolicy.md index d32e5cc9..bb70889a 100644 --- a/docs/ExpiringPointsNotificationPolicy.md +++ b/docs/ExpiringPointsNotificationPolicy.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **name** | **String** | Notification name. | **triggers** | [**List<ExpiringPointsNotificationTrigger>**](ExpiringPointsNotificationTrigger.md) | | **batchingEnabled** | **Boolean** | Indicates whether batching is activated. | [optional] -**batchSize** | **Integer** | The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. | [optional] +**batchSize** | **Long** | The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. | [optional] diff --git a/docs/ExpiringPointsNotificationTrigger.md b/docs/ExpiringPointsNotificationTrigger.md index 2dbe548e..b998f680 100644 --- a/docs/ExpiringPointsNotificationTrigger.md +++ b/docs/ExpiringPointsNotificationTrigger.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**amount** | **Integer** | The amount of period. | +**amount** | **Long** | The amount of period. | **period** | [**PeriodEnum**](#PeriodEnum) | Notification period indicated by a letter; \"w\" means week, \"d\" means day. | diff --git a/docs/Export.md b/docs/Export.md index cb8a4038..669afcbd 100644 --- a/docs/Export.md +++ b/docs/Export.md @@ -6,10 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | -**accountId** | **Integer** | The ID of the account that owns this entity. | -**userId** | **Integer** | The ID of the user associated with this entity. | +**accountId** | **Long** | The ID of the account that owns this entity. | +**userId** | **Long** | The ID of the user associated with this entity. | **entity** | [**EntityEnum**](#EntityEnum) | The name of the entity that was exported. | **filter** | [**Object**](.md) | Map of keys and values that were used to filter the exported rows. | diff --git a/docs/GenerateCampaignDescription.md b/docs/GenerateCampaignDescription.md index 09e950ee..dfbc8adc 100644 --- a/docs/GenerateCampaignDescription.md +++ b/docs/GenerateCampaignDescription.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**rulesetID** | **Integer** | ID of a ruleset. | +**rulesetID** | **Long** | ID of a ruleset. | **currency** | **String** | Currency for the campaign. | diff --git a/docs/GenerateCampaignTags.md b/docs/GenerateCampaignTags.md index 29620daa..729ac14f 100644 --- a/docs/GenerateCampaignTags.md +++ b/docs/GenerateCampaignTags.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**rulesetID** | **Integer** | ID of a ruleset. | +**rulesetID** | **Long** | ID of a ruleset. | diff --git a/docs/GetIntegrationCouponRequest.md b/docs/GetIntegrationCouponRequest.md index c52da1eb..78a2f60b 100644 --- a/docs/GetIntegrationCouponRequest.md +++ b/docs/GetIntegrationCouponRequest.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**campaignIds** | **List<Integer>** | A list of IDs of the campaigns to get coupons from. | -**limit** | **Integer** | The maximum number of coupons included in the response. | +**campaignIds** | **List<Long>** | A list of IDs of the campaigns to get coupons from. | +**limit** | **Long** | The maximum number of coupons included in the response. | diff --git a/docs/Giveaway.md b/docs/Giveaway.md index b712417c..8ff6f2c6 100644 --- a/docs/Giveaway.md +++ b/docs/Giveaway.md @@ -6,17 +6,17 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | **code** | **String** | The code value of this giveaway. | -**poolId** | **Integer** | The ID of the pool to return giveaway codes from. | +**poolId** | **Long** | The ID of the pool to return giveaway codes from. | **startDate** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp at which point the giveaway becomes valid. | [optional] **endDate** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp at which point the giveaway becomes invalid. | [optional] **attributes** | [**Object**](.md) | Arbitrary properties associated with this giveaway. | [optional] **used** | **Boolean** | Indicates whether this giveaway code was given before. | [optional] -**importId** | **Integer** | The ID of the Import which created this giveaway. | [optional] +**importId** | **Long** | The ID of the Import which created this giveaway. | [optional] **profileIntegrationId** | **String** | The third-party integration ID of the customer profile that was awarded the giveaway, if the giveaway was awarded. | [optional] -**profileId** | **Integer** | The internal ID of the customer profile that was awarded the giveaway, if the giveaway was awarded and an internal ID exists. | [optional] +**profileId** | **Long** | The internal ID of the customer profile that was awarded the giveaway, if the giveaway was awarded and an internal ID exists. | [optional] diff --git a/docs/GiveawaysPool.md b/docs/GiveawaysPool.md index 77033951..426f6637 100644 --- a/docs/GiveawaysPool.md +++ b/docs/GiveawaysPool.md @@ -7,16 +7,16 @@ Giveaways pools is an entity for managing multiple similar giveaways. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | -**accountId** | **Integer** | The ID of the account that owns this entity. | +**accountId** | **Long** | The ID of the account that owns this entity. | **name** | **String** | The name of this giveaways pool. | **description** | **String** | The description of this giveaways pool. | [optional] -**subscribedApplicationsIds** | **List<Integer>** | A list of the IDs of the applications that this giveaways pool is enabled for. | [optional] +**subscribedApplicationsIds** | **List<Long>** | A list of the IDs of the applications that this giveaways pool is enabled for. | [optional] **sandbox** | **Boolean** | Indicates if this program is a live or sandbox program. Programs of a given type can only be connected to Applications of the same type. | **modified** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp of the most recent update to the giveaways pool. | [optional] -**createdBy** | **Integer** | ID of the user who created this giveaways pool. | -**modifiedBy** | **Integer** | ID of the user who last updated this giveaways pool if available. | [optional] +**createdBy** | **Long** | ID of the user who created this giveaways pool. | +**modifiedBy** | **Long** | ID of the user who last updated this giveaways pool if available. | [optional] diff --git a/docs/HiddenConditionsEffects.md b/docs/HiddenConditionsEffects.md index c5807e96..837e2f97 100644 --- a/docs/HiddenConditionsEffects.md +++ b/docs/HiddenConditionsEffects.md @@ -9,8 +9,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **builtInEffects** | **List<String>** | List of hidden built-in effects. | [optional] **conditions** | **List<String>** | List of hidden conditions. | [optional] -**customEffects** | **List<Integer>** | List of the IDs of hidden custom effects. | [optional] -**webhooks** | **List<Integer>** | List of the IDs of hidden webhooks. | [optional] +**customEffects** | **List<Long>** | List of the IDs of hidden custom effects. | [optional] +**webhooks** | **List<Long>** | List of the IDs of hidden webhooks. | [optional] diff --git a/docs/IdentifiableEntity.md b/docs/IdentifiableEntity.md index a4f78340..1b7f7ee3 100644 --- a/docs/IdentifiableEntity.md +++ b/docs/IdentifiableEntity.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Unique ID for this entity. Not to be confused with the Integration ID, which is set by your integration layer and used in most endpoints. | +**id** | **Long** | Unique ID for this entity. Not to be confused with the Integration ID, which is set by your integration layer and used in most endpoints. | diff --git a/docs/ImportEntity.md b/docs/ImportEntity.md index 418b1708..e3c2a4b3 100644 --- a/docs/ImportEntity.md +++ b/docs/ImportEntity.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**importId** | **Integer** | The ID of the Import which created this referral. | [optional] +**importId** | **Long** | The ID of the Import which created this referral. | [optional] diff --git a/docs/IncreaseAchievementProgressEffectProps.md b/docs/IncreaseAchievementProgressEffectProps.md index b0e7992e..93c88f38 100644 --- a/docs/IncreaseAchievementProgressEffectProps.md +++ b/docs/IncreaseAchievementProgressEffectProps.md @@ -7,9 +7,9 @@ The properties specific to the \"increaseAchievementProgress\" effect. This gets Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**achievementId** | **Integer** | The internal ID of the achievement. | +**achievementId** | **Long** | The internal ID of the achievement. | **achievementName** | **String** | The name of the achievement. | -**progressTrackerId** | **Integer** | The internal ID of the achievement progress tracker. | [optional] +**progressTrackerId** | **Long** | The internal ID of the achievement progress tracker. | [optional] **delta** | [**BigDecimal**](BigDecimal.md) | The value by which the customer's current progress in the achievement is increased. | **value** | [**BigDecimal**](BigDecimal.md) | The current progress of the customer in the achievement. | **target** | [**BigDecimal**](BigDecimal.md) | The target value to complete the achievement. | diff --git a/docs/InlineResponse200.md b/docs/InlineResponse200.md index 2f5a9a3d..b91a6717 100644 --- a/docs/InlineResponse200.md +++ b/docs/InlineResponse200.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**totalResultSize** | **Integer** | | +**totalResultSize** | **Long** | | **data** | [**List<CustomerProfile>**](CustomerProfile.md) | | diff --git a/docs/InlineResponse2001.md b/docs/InlineResponse2001.md index 6b209555..63fd5662 100644 --- a/docs/InlineResponse2001.md +++ b/docs/InlineResponse2001.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**totalResultSize** | **Integer** | | +**totalResultSize** | **Long** | | **data** | [**List<AchievementStatusEntry>**](AchievementStatusEntry.md) | | diff --git a/docs/InlineResponse20010.md b/docs/InlineResponse20010.md index fbe81327..e3f25d69 100644 --- a/docs/InlineResponse20010.md +++ b/docs/InlineResponse20010.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**totalResultSize** | **Integer** | | +**totalResultSize** | **Long** | | **data** | [**List<Coupon>**](Coupon.md) | | diff --git a/docs/InlineResponse20013.md b/docs/InlineResponse20013.md index 28c9e417..69a43ac4 100644 --- a/docs/InlineResponse20013.md +++ b/docs/InlineResponse20013.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**totalResultSize** | **Integer** | | +**totalResultSize** | **Long** | | **data** | [**List<CampaignGroup>**](CampaignGroup.md) | | diff --git a/docs/InlineResponse20015.md b/docs/InlineResponse20015.md index 7c533913..80e9704d 100644 --- a/docs/InlineResponse20015.md +++ b/docs/InlineResponse20015.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**totalResultSize** | **Integer** | | +**totalResultSize** | **Long** | | **data** | [**List<LoyaltyProgram>**](LoyaltyProgram.md) | | diff --git a/docs/InlineResponse20016.md b/docs/InlineResponse20016.md index 0f1a3f5b..83a15fbb 100644 --- a/docs/InlineResponse20016.md +++ b/docs/InlineResponse20016.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**totalResultSize** | **Integer** | | +**totalResultSize** | **Long** | | **data** | [**List<LoyaltyDashboardData>**](LoyaltyDashboardData.md) | | diff --git a/docs/InlineResponse2002.md b/docs/InlineResponse2002.md index fbeb9c67..e6049688 100644 --- a/docs/InlineResponse2002.md +++ b/docs/InlineResponse2002.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**totalResultSize** | **Integer** | | +**totalResultSize** | **Long** | | **data** | [**List<AchievementProgress>**](AchievementProgress.md) | | diff --git a/docs/InlineResponse20020.md b/docs/InlineResponse20020.md index 73cf2e6f..f6179802 100644 --- a/docs/InlineResponse20020.md +++ b/docs/InlineResponse20020.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **hasMore** | **Boolean** | | [optional] -**totalResultSize** | **Integer** | | [optional] +**totalResultSize** | **Long** | | [optional] **data** | [**List<CollectionWithoutPayload>**](CollectionWithoutPayload.md) | | diff --git a/docs/InlineResponse20023.md b/docs/InlineResponse20023.md index cf263cd4..5dd633aa 100644 --- a/docs/InlineResponse20023.md +++ b/docs/InlineResponse20023.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**totalResultSize** | **Integer** | | +**totalResultSize** | **Long** | | **data** | [**List<CampaignAnalytics>**](CampaignAnalytics.md) | | diff --git a/docs/InlineResponse20024.md b/docs/InlineResponse20024.md index 3069eab1..53aee5a1 100644 --- a/docs/InlineResponse20024.md +++ b/docs/InlineResponse20024.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**totalResultSize** | **Integer** | | [optional] +**totalResultSize** | **Long** | | [optional] **hasMore** | **Boolean** | | [optional] **data** | [**List<ApplicationCustomer>**](ApplicationCustomer.md) | | diff --git a/docs/InlineResponse20025.md b/docs/InlineResponse20025.md index 40220f63..5ef800ec 100644 --- a/docs/InlineResponse20025.md +++ b/docs/InlineResponse20025.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **hasMore** | **Boolean** | | [optional] -**totalResultSize** | **Integer** | | [optional] +**totalResultSize** | **Long** | | [optional] **data** | [**List<ApplicationCustomer>**](ApplicationCustomer.md) | | diff --git a/docs/InlineResponse20026.md b/docs/InlineResponse20026.md index a598d4f5..d783ea33 100644 --- a/docs/InlineResponse20026.md +++ b/docs/InlineResponse20026.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **hasMore** | **Boolean** | | [optional] -**totalResultSize** | **Integer** | | [optional] +**totalResultSize** | **Long** | | [optional] **data** | [**List<CustomerProfile>**](CustomerProfile.md) | | diff --git a/docs/InlineResponse20031.md b/docs/InlineResponse20031.md index 8c8fad3b..7312e701 100644 --- a/docs/InlineResponse20031.md +++ b/docs/InlineResponse20031.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**totalResultSize** | **Integer** | | +**totalResultSize** | **Long** | | **data** | **List<String>** | | diff --git a/docs/InlineResponse20032.md b/docs/InlineResponse20032.md index b04d3548..a727b244 100644 --- a/docs/InlineResponse20032.md +++ b/docs/InlineResponse20032.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **hasMore** | **Boolean** | | [optional] -**totalResultSize** | **Integer** | | [optional] +**totalResultSize** | **Long** | | [optional] **data** | [**List<Audience>**](Audience.md) | | diff --git a/docs/InlineResponse20035.md b/docs/InlineResponse20035.md index aa4c8bd3..4f0dfdf4 100644 --- a/docs/InlineResponse20035.md +++ b/docs/InlineResponse20035.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **hasMore** | **Boolean** | | [optional] -**totalResultSize** | **Integer** | | [optional] +**totalResultSize** | **Long** | | [optional] **data** | [**List<ApplicationReferee>**](ApplicationReferee.md) | | diff --git a/docs/InlineResponse20036.md b/docs/InlineResponse20036.md index c35fa228..4fbbf04d 100644 --- a/docs/InlineResponse20036.md +++ b/docs/InlineResponse20036.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**totalResultSize** | **Integer** | | +**totalResultSize** | **Long** | | **data** | [**List<Attribute>**](Attribute.md) | | diff --git a/docs/InlineResponse20037.md b/docs/InlineResponse20037.md index ff316f17..f7e3566a 100644 --- a/docs/InlineResponse20037.md +++ b/docs/InlineResponse20037.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **hasMore** | **Boolean** | | [optional] -**totalResultSize** | **Integer** | | [optional] +**totalResultSize** | **Long** | | [optional] **data** | [**List<CatalogItem>**](CatalogItem.md) | | diff --git a/docs/InlineResponse20038.md b/docs/InlineResponse20038.md index 2c337da8..807b6eb1 100644 --- a/docs/InlineResponse20038.md +++ b/docs/InlineResponse20038.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**totalResultSize** | **Integer** | | +**totalResultSize** | **Long** | | **data** | [**List<AccountAdditionalCost>**](AccountAdditionalCost.md) | | diff --git a/docs/InlineResponse20039.md b/docs/InlineResponse20039.md index 88c8ef31..df470b34 100644 --- a/docs/InlineResponse20039.md +++ b/docs/InlineResponse20039.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**totalResultSize** | **Integer** | | +**totalResultSize** | **Long** | | **data** | [**List<WebhookWithOutgoingIntegrationDetails>**](WebhookWithOutgoingIntegrationDetails.md) | | diff --git a/docs/InlineResponse20040.md b/docs/InlineResponse20040.md index 2c3f8170..b3860e5b 100644 --- a/docs/InlineResponse20040.md +++ b/docs/InlineResponse20040.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**totalResultSize** | **Integer** | | +**totalResultSize** | **Long** | | **data** | [**List<WebhookActivationLogEntry>**](WebhookActivationLogEntry.md) | | diff --git a/docs/InlineResponse20041.md b/docs/InlineResponse20041.md index 0b439bc3..396d94c9 100644 --- a/docs/InlineResponse20041.md +++ b/docs/InlineResponse20041.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**totalResultSize** | **Integer** | | +**totalResultSize** | **Long** | | **data** | [**List<WebhookLogEntry>**](WebhookLogEntry.md) | | diff --git a/docs/InlineResponse20042.md b/docs/InlineResponse20042.md index 288c66e5..56ff961a 100644 --- a/docs/InlineResponse20042.md +++ b/docs/InlineResponse20042.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**totalResultSize** | **Integer** | | +**totalResultSize** | **Long** | | **data** | [**List<EventType>**](EventType.md) | | diff --git a/docs/InlineResponse20043.md b/docs/InlineResponse20043.md index 2fa864b7..4d69f414 100644 --- a/docs/InlineResponse20043.md +++ b/docs/InlineResponse20043.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**totalResultSize** | **Integer** | | +**totalResultSize** | **Long** | | **data** | [**List<User>**](User.md) | | diff --git a/docs/InlineResponse20044.md b/docs/InlineResponse20044.md index 5cb71ae6..5af1b6d0 100644 --- a/docs/InlineResponse20044.md +++ b/docs/InlineResponse20044.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**totalResultSize** | **Integer** | | [optional] +**totalResultSize** | **Long** | | [optional] **hasMore** | **Boolean** | | [optional] **data** | [**List<Change>**](Change.md) | | diff --git a/docs/InlineResponse20045.md b/docs/InlineResponse20045.md index c909fc95..3712756c 100644 --- a/docs/InlineResponse20045.md +++ b/docs/InlineResponse20045.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**totalResultSize** | **Integer** | | +**totalResultSize** | **Long** | | **data** | [**List<Export>**](Export.md) | | diff --git a/docs/InlineResponse20046.md b/docs/InlineResponse20046.md index 4571d938..20110f99 100644 --- a/docs/InlineResponse20046.md +++ b/docs/InlineResponse20046.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**totalResultSize** | **Integer** | | +**totalResultSize** | **Long** | | **data** | [**List<RoleV2>**](RoleV2.md) | | diff --git a/docs/InlineResponse20047.md b/docs/InlineResponse20047.md index d151232d..c994c7d7 100644 --- a/docs/InlineResponse20047.md +++ b/docs/InlineResponse20047.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **hasMore** | **Boolean** | | [optional] -**totalResultSize** | **Integer** | | [optional] +**totalResultSize** | **Long** | | [optional] **data** | [**List<Store>**](Store.md) | | diff --git a/docs/InlineResponse2007.md b/docs/InlineResponse2007.md index bc41ed7b..9eb0b785 100644 --- a/docs/InlineResponse2007.md +++ b/docs/InlineResponse2007.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**totalResultSize** | **Integer** | | +**totalResultSize** | **Long** | | **data** | [**List<Application>**](Application.md) | | diff --git a/docs/InlineResponse2008.md b/docs/InlineResponse2008.md index 30e0574d..ad294e9b 100644 --- a/docs/InlineResponse2008.md +++ b/docs/InlineResponse2008.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**totalResultSize** | **Integer** | | +**totalResultSize** | **Long** | | **data** | [**List<Campaign>**](Campaign.md) | | diff --git a/docs/InlineResponse2009.md b/docs/InlineResponse2009.md index 51f8fdf8..9f44a248 100644 --- a/docs/InlineResponse2009.md +++ b/docs/InlineResponse2009.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**totalResultSize** | **Integer** | | +**totalResultSize** | **Long** | | **data** | [**List<Ruleset>**](Ruleset.md) | | diff --git a/docs/InlineResponse201.md b/docs/InlineResponse201.md index 814dcb6c..13137f39 100644 --- a/docs/InlineResponse201.md +++ b/docs/InlineResponse201.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**totalResultSize** | **Integer** | | +**totalResultSize** | **Long** | | **data** | [**List<Referral>**](Referral.md) | | diff --git a/docs/IntegrationApi.md b/docs/IntegrationApi.md index e4e16c63..0cbf44e3 100644 --- a/docs/IntegrationApi.md +++ b/docs/IntegrationApi.md @@ -372,7 +372,7 @@ public class Example { //api_key_v1.setApiKeyPrefix("Token"); IntegrationApi apiInstance = new IntegrationApi(defaultClient); - Integer audienceId = 56; // Integer | The ID of the audience. + Long audienceId = 56L; // Long | The ID of the audience. try { apiInstance.deleteAudienceMembershipsV2(audienceId); } catch (ApiException e) { @@ -391,7 +391,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **audienceId** | **Integer**| The ID of the audience. | + **audienceId** | **Long**| The ID of the audience. | ### Return type cool @@ -445,7 +445,7 @@ public class Example { //api_key_v1.setApiKeyPrefix("Token"); IntegrationApi apiInstance = new IntegrationApi(defaultClient); - Integer audienceId = 56; // Integer | The ID of the audience. + Long audienceId = 56L; // Long | The ID of the audience. try { apiInstance.deleteAudienceV2(audienceId); } catch (ApiException e) { @@ -464,7 +464,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **audienceId** | **Integer**| The ID of the audience. | + **audienceId** | **Long**| The ID of the audience. | ### Return type cool @@ -668,7 +668,7 @@ public class Example { //api_key_v1.setApiKeyPrefix("Token"); IntegrationApi apiInstance = new IntegrationApi(defaultClient); - Integer loyaltyProgramId = 56; // Integer | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. + Long loyaltyProgramId = 56L; // Long | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. GenerateLoyaltyCard body = new GenerateLoyaltyCard(); // GenerateLoyaltyCard | body try { LoyaltyCard result = apiInstance.generateLoyaltyCard(loyaltyProgramId, body); @@ -689,7 +689,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **loyaltyProgramId** | **Integer**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | + **loyaltyProgramId** | **Long**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | **body** | [**GenerateLoyaltyCard**](GenerateLoyaltyCard.md)| body | ### Return type cool @@ -745,12 +745,12 @@ public class Example { IntegrationApi apiInstance = new IntegrationApi(defaultClient); String integrationId = "integrationId_example"; // String | The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier. - Integer achievementId = 56; // Integer | The achievement identifier. + Long achievementId = 56L; // Long | The achievement identifier. List progressStatus = Arrays.asList(); // List | Filter by customer progress status in the achievement. OffsetDateTime startDate = new OffsetDateTime(); // OffsetDateTime | Timestamp that filters the results to only contain achievements created on or after the start date. OffsetDateTime endDate = new OffsetDateTime(); // OffsetDateTime | Timestamp that filters the results to only contain achievements created before or on the end date. - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. try { InlineResponse2002 result = apiInstance.getCustomerAchievementHistory(integrationId, achievementId, progressStatus, startDate, endDate, pageSize, skip); System.out.println(result); @@ -771,12 +771,12 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **integrationId** | **String**| The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier. | - **achievementId** | **Integer**| The achievement identifier. | + **achievementId** | **Long**| The achievement identifier. | **progressStatus** | [**List<String>**](String.md)| Filter by customer progress status in the achievement. | [optional] [enum: inprogress, completed, expired] **startDate** | **OffsetDateTime**| Timestamp that filters the results to only contain achievements created on or after the start date. | [optional] **endDate** | **OffsetDateTime**| Timestamp that filters the results to only contain achievements created before or on the end date. | [optional] - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] ### Return type cool @@ -836,8 +836,8 @@ public class Example { List achievementIds = Arrays.asList(); // List | Filter by one or more Achievement IDs, separated by a comma. **Note:** If no achievements are specified, data for all the achievements in the Application is returned. List achievementStatus = Arrays.asList(); // List | Filter by status of the achievement. **Note:** If the achievement status is not specified, only data for all active achievements in the Application is returned. List currentProgressStatus = Arrays.asList(); // List | Filter by customer progress status in the achievement. - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. try { InlineResponse2001 result = apiInstance.getCustomerAchievements(integrationId, campaignIds, achievementIds, achievementStatus, currentProgressStatus, pageSize, skip); System.out.println(result); @@ -862,8 +862,8 @@ Name | Type | Description | Notes **achievementIds** | [**List<String>**](String.md)| Filter by one or more Achievement IDs, separated by a comma. **Note:** If no achievements are specified, data for all the achievements in the Application is returned. | [optional] **achievementStatus** | [**List<String>**](String.md)| Filter by status of the achievement. **Note:** If the achievement status is not specified, only data for all active achievements in the Application is returned. | [optional] [enum: active, scheduled] **currentProgressStatus** | [**List<String>**](String.md)| Filter by customer progress status in the achievement. | [optional] [enum: inprogress, completed, not_started] - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] ### Return type cool @@ -1078,7 +1078,7 @@ public class Example { //api_key_v1.setApiKeyPrefix("Token"); IntegrationApi apiInstance = new IntegrationApi(defaultClient); - Integer loyaltyProgramId = 56; // Integer | Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. + Long loyaltyProgramId = 56L; // Long | Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. String integrationId = "integrationId_example"; // String | The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier. OffsetDateTime endDate = new OffsetDateTime(); // OffsetDateTime | Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. String subledgerId = "subledgerId_example"; // String | The ID of the subledger by which we filter the data. @@ -1103,7 +1103,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **loyaltyProgramId** | **Integer**| Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | + **loyaltyProgramId** | **Long**| Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | **integrationId** | **String**| The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier. | **endDate** | **OffsetDateTime**| Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional] **subledgerId** | **String**| The ID of the subledger by which we filter the data. | [optional] @@ -1163,7 +1163,7 @@ public class Example { //api_key_v1.setApiKeyPrefix("Token"); IntegrationApi apiInstance = new IntegrationApi(defaultClient); - Integer loyaltyProgramId = 56; // Integer | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. + Long loyaltyProgramId = 56L; // Long | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. String loyaltyCardId = "loyaltyCardId_example"; // String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. OffsetDateTime endDate = new OffsetDateTime(); // OffsetDateTime | Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. List subledgerId = Arrays.asList(); // List | Filter results by one or more subledger IDs. Must be exact match. @@ -1186,7 +1186,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **loyaltyProgramId** | **Integer**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | + **loyaltyProgramId** | **Long**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | **loyaltyCardId** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. | **endDate** | **OffsetDateTime**| Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional] **subledgerId** | [**List<String>**](String.md)| Filter results by one or more subledger IDs. Must be exact match. | [optional] @@ -1244,12 +1244,12 @@ public class Example { //api_key_v1.setApiKeyPrefix("Token"); IntegrationApi apiInstance = new IntegrationApi(defaultClient); - Integer loyaltyProgramId = 56; // Integer | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. + Long loyaltyProgramId = 56L; // Long | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. String loyaltyCardId = "loyaltyCardId_example"; // String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. String status = "active"; // String | Filter points based on their status. List subledgerId = Arrays.asList(); // List | Filter results by one or more subledger IDs. Must be exact match. - Integer pageSize = 50; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long pageSize = 50lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. try { InlineResponse2005 result = apiInstance.getLoyaltyCardPoints(loyaltyProgramId, loyaltyCardId, status, subledgerId, pageSize, skip); System.out.println(result); @@ -1269,12 +1269,12 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **loyaltyProgramId** | **Integer**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | + **loyaltyProgramId** | **Long**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | **loyaltyCardId** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. | **status** | **String**| Filter points based on their status. | [optional] [default to active] [enum: active, pending, expired] **subledgerId** | [**List<String>**](String.md)| Filter results by one or more subledger IDs. Must be exact match. | [optional] - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 50] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 50l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] ### Return type cool @@ -1329,14 +1329,14 @@ public class Example { //api_key_v1.setApiKeyPrefix("Token"); IntegrationApi apiInstance = new IntegrationApi(defaultClient); - Integer loyaltyProgramId = 56; // Integer | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. + Long loyaltyProgramId = 56L; // Long | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. String loyaltyCardId = "loyaltyCardId_example"; // String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. List subledgerId = Arrays.asList(); // List | Filter results by one or more subledger IDs. Must be exact match. String loyaltyTransactionType = "loyaltyTransactionType_example"; // String | Filter results by loyalty transaction type: - `manual`: Loyalty transaction that was done manually. - `session`: Loyalty transaction that resulted from a customer session. - `import`: Loyalty transaction that was imported from a CSV file. OffsetDateTime startDate = new OffsetDateTime(); // OffsetDateTime | Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. OffsetDateTime endDate = new OffsetDateTime(); // OffsetDateTime | Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. - Integer pageSize = 50; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long pageSize = 50lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. try { InlineResponse2003 result = apiInstance.getLoyaltyCardTransactions(loyaltyProgramId, loyaltyCardId, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip); System.out.println(result); @@ -1356,14 +1356,14 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **loyaltyProgramId** | **Integer**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | + **loyaltyProgramId** | **Long**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | **loyaltyCardId** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. | **subledgerId** | [**List<String>**](String.md)| Filter results by one or more subledger IDs. Must be exact match. | [optional] **loyaltyTransactionType** | **String**| Filter results by loyalty transaction type: - `manual`: Loyalty transaction that was done manually. - `session`: Loyalty transaction that resulted from a customer session. - `import`: Loyalty transaction that was imported from a CSV file. | [optional] [enum: manual, session, import] **startDate** | **OffsetDateTime**| Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional] **endDate** | **OffsetDateTime**| Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional] - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 50] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 50l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] ### Return type cool @@ -1418,12 +1418,12 @@ public class Example { //api_key_v1.setApiKeyPrefix("Token"); IntegrationApi apiInstance = new IntegrationApi(defaultClient); - Integer loyaltyProgramId = 56; // Integer | Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. + Long loyaltyProgramId = 56L; // Long | Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. String integrationId = "integrationId_example"; // String | The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier. String status = "active"; // String | Filter points based on their status. String subledgerId = "subledgerId_example"; // String | The ID of the subledger by which we filter the data. - Integer pageSize = 50; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long pageSize = 50lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. try { InlineResponse2006 result = apiInstance.getLoyaltyProgramProfilePoints(loyaltyProgramId, integrationId, status, subledgerId, pageSize, skip); System.out.println(result); @@ -1443,12 +1443,12 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **loyaltyProgramId** | **Integer**| Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | + **loyaltyProgramId** | **Long**| Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | **integrationId** | **String**| The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier. | **status** | **String**| Filter points based on their status. | [optional] [default to active] [enum: active, pending, expired] **subledgerId** | **String**| The ID of the subledger by which we filter the data. | [optional] - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 50] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 50l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] ### Return type cool @@ -1503,14 +1503,14 @@ public class Example { //api_key_v1.setApiKeyPrefix("Token"); IntegrationApi apiInstance = new IntegrationApi(defaultClient); - Integer loyaltyProgramId = 56; // Integer | Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. + Long loyaltyProgramId = 56L; // Long | Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. String integrationId = "integrationId_example"; // String | The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier. String subledgerId = "subledgerId_example"; // String | The ID of the subledger by which we filter the data. String loyaltyTransactionType = "loyaltyTransactionType_example"; // String | Filter results by loyalty transaction type: - `manual`: Loyalty transaction that was done manually. - `session`: Loyalty transaction that resulted from a customer session. - `import`: Loyalty transaction that was imported from a CSV file. OffsetDateTime startDate = new OffsetDateTime(); // OffsetDateTime | Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. OffsetDateTime endDate = new OffsetDateTime(); // OffsetDateTime | Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. - Integer pageSize = 50; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long pageSize = 50lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. try { InlineResponse2004 result = apiInstance.getLoyaltyProgramProfileTransactions(loyaltyProgramId, integrationId, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip); System.out.println(result); @@ -1530,14 +1530,14 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **loyaltyProgramId** | **Integer**| Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | + **loyaltyProgramId** | **Long**| Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | **integrationId** | **String**| The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier. | **subledgerId** | **String**| The ID of the subledger by which we filter the data. | [optional] **loyaltyTransactionType** | **String**| Filter results by loyalty transaction type: - `manual`: Loyalty transaction that was done manually. - `session`: Loyalty transaction that resulted from a customer session. - `import`: Loyalty transaction that was imported from a CSV file. | [optional] [enum: manual, session, import] **startDate** | **OffsetDateTime**| Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional] **endDate** | **OffsetDateTime**| Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional] - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 50] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 50l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] ### Return type cool @@ -1667,7 +1667,7 @@ public class Example { //api_key_v1.setApiKeyPrefix("Token"); IntegrationApi apiInstance = new IntegrationApi(defaultClient); - Integer loyaltyProgramId = 56; // Integer | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. + Long loyaltyProgramId = 56L; // Long | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. String loyaltyCardId = "loyaltyCardId_example"; // String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. LoyaltyCardRegistration body = new LoyaltyCardRegistration(); // LoyaltyCardRegistration | body try { @@ -1689,7 +1689,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **loyaltyProgramId** | **Integer**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | + **loyaltyProgramId** | **Long**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | **loyaltyCardId** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. | **body** | [**LoyaltyCardRegistration**](LoyaltyCardRegistration.md)| body | @@ -1898,7 +1898,7 @@ public class Example { //api_key_v1.setApiKeyPrefix("Token"); IntegrationApi apiInstance = new IntegrationApi(defaultClient); - Integer catalogId = 56; // Integer | The ID of the catalog. You can find the ID in the Campaign Manager in **Account** > **Tools** > **Cart item catalogs**. + Long catalogId = 56L; // Long | The ID of the catalog. You can find the ID in the Campaign Manager in **Account** > **Tools** > **Cart item catalogs**. CatalogSyncRequest body = new CatalogSyncRequest(); // CatalogSyncRequest | body try { Catalog result = apiInstance.syncCatalog(catalogId, body); @@ -1919,7 +1919,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **catalogId** | **Integer**| The ID of the catalog. You can find the ID in the Campaign Manager in **Account** > **Tools** > **Cart item catalogs**. | + **catalogId** | **Long**| The ID of the catalog. You can find the ID in the Campaign Manager in **Account** > **Tools** > **Cart item catalogs**. | **body** | [**CatalogSyncRequest**](CatalogSyncRequest.md)| body | ### Return type cool @@ -2056,7 +2056,7 @@ public class Example { //api_key_v1.setApiKeyPrefix("Token"); IntegrationApi apiInstance = new IntegrationApi(defaultClient); - Integer audienceId = 56; // Integer | The ID of the audience. + Long audienceId = 56L; // Long | The ID of the audience. Object body = null; // Object | body try { apiInstance.updateAudienceCustomersAttributes(audienceId, body); @@ -2076,7 +2076,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **audienceId** | **Integer**| The ID of the audience. | + **audienceId** | **Long**| The ID of the audience. | **body** | **Object**| body | ### Return type cool @@ -2131,7 +2131,7 @@ public class Example { //api_key_v1.setApiKeyPrefix("Token"); IntegrationApi apiInstance = new IntegrationApi(defaultClient); - Integer audienceId = 56; // Integer | The ID of the audience. + Long audienceId = 56L; // Long | The ID of the audience. UpdateAudience body = new UpdateAudience(); // UpdateAudience | body try { Audience result = apiInstance.updateAudienceV2(audienceId, body); @@ -2152,7 +2152,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **audienceId** | **Integer**| The ID of the audience. | + **audienceId** | **Long**| The ID of the audience. | **body** | [**UpdateAudience**](UpdateAudience.md)| body | ### Return type cool diff --git a/docs/IntegrationCoupon.md b/docs/IntegrationCoupon.md index e0559d57..1aa94805 100644 --- a/docs/IntegrationCoupon.md +++ b/docs/IntegrationCoupon.md @@ -6,29 +6,29 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | -**campaignId** | **Integer** | The ID of the campaign that owns this entity. | +**campaignId** | **Long** | The ID of the campaign that owns this entity. | **value** | **String** | The coupon code. | -**usageLimit** | **Integer** | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. | +**usageLimit** | **Long** | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. | **discountLimit** | [**BigDecimal**](BigDecimal.md) | The total discount value that the code can give. Typically used to represent a gift card value. | [optional] -**reservationLimit** | **Integer** | The number of reservations that can be made with this coupon code. | [optional] +**reservationLimit** | **Long** | The number of reservations that can be made with this coupon code. | [optional] **startDate** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp at which point the coupon becomes valid. | [optional] **expiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | Expiration date of the coupon. Coupon never expires if this is omitted. | [optional] **limits** | [**List<LimitConfig>**](LimitConfig.md) | Limits configuration for a coupon. These limits will override the limits set from the campaign. **Note:** Only usable when creating a single coupon which is not tied to a specific recipient. Only per-profile limits are allowed to be configured. | [optional] -**usageCounter** | **Integer** | The number of times the coupon has been successfully redeemed. | +**usageCounter** | **Long** | The number of times the coupon has been successfully redeemed. | **discountCounter** | [**BigDecimal**](BigDecimal.md) | The amount of discounts given on rules redeeming this coupon. Only usable if a coupon discount budget was set for this coupon. | [optional] **discountRemainder** | [**BigDecimal**](BigDecimal.md) | The remaining discount this coupon can give. | [optional] **reservationCounter** | [**BigDecimal**](BigDecimal.md) | The number of times this coupon has been reserved. | [optional] **attributes** | [**Object**](.md) | Custom attributes associated with this coupon. | [optional] -**referralId** | **Integer** | The integration ID of the referring customer (if any) for whom this coupon was created as an effect. | [optional] +**referralId** | **Long** | The integration ID of the referring customer (if any) for whom this coupon was created as an effect. | [optional] **recipientIntegrationId** | **String** | The Integration ID of the customer that is allowed to redeem this coupon. | [optional] -**importId** | **Integer** | The ID of the Import which created this coupon. | [optional] +**importId** | **Long** | The ID of the Import which created this coupon. | [optional] **reservation** | **Boolean** | Defines the reservation type: - `true`: The coupon can be reserved for multiple customers. - `false`: The coupon can be reserved only for one customer. It is a personal code. | [optional] **batchId** | **String** | The id of the batch the coupon belongs to. | [optional] **isReservationMandatory** | **Boolean** | An indication of whether the code can be redeemed only if it has been reserved first. | [optional] **implicitlyReserved** | **Boolean** | An indication of whether the coupon is implicitly reserved for all customers. | [optional] -**profileRedemptionCount** | **Integer** | The number of times the coupon was redeemed by the profile. | +**profileRedemptionCount** | **Long** | The number of times the coupon was redeemed by the profile. | diff --git a/docs/IntegrationEventV2Request.md b/docs/IntegrationEventV2Request.md index 7c31c893..e9799354 100644 --- a/docs/IntegrationEventV2Request.md +++ b/docs/IntegrationEventV2Request.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **profileId** | **String** | ID of the customer profile set by your integration layer. **Note:** If the customer does not yet have a known `profileId`, we recommend you use a guest `profileId`. | [optional] **storeIntegrationId** | **String** | The integration ID of the store. You choose this ID when you create a store. | [optional] -**evaluableCampaignIds** | **List<Integer>** | When using the `dry` query parameter, use this property to list the campaign to be evaluated by the Rule Engine. These campaigns will be evaluated, even if they are disabled, allowing you to test specific campaigns before activating them. | [optional] +**evaluableCampaignIds** | **List<Long>** | When using the `dry` query parameter, use this property to list the campaign to be evaluated by the Rule Engine. These campaigns will be evaluated, even if they are disabled, allowing you to test specific campaigns before activating them. | [optional] **type** | **String** | A string representing the event name. Must not be a reserved event name. You create this value when you [create an attribute](https://docs.talon.one/docs/dev/concepts/entities/events#creating-a-custom-event) of type `event` in the Campaign Manager. | **attributes** | [**Object**](.md) | Arbitrary additional JSON properties associated with the event. They must be created in the Campaign Manager before setting them with this property. See [creating custom attributes](https://docs.talon.one/docs/product/account/dev-tools/managing-attributes#creating-a-custom-attribute). | [optional] **responseContent** | [**List<ResponseContentEnum>**](#List<ResponseContentEnum>) | Optional list of requested information to be present on the response related to the tracking custom event. | [optional] diff --git a/docs/InventoryCoupon.md b/docs/InventoryCoupon.md index 01d42dee..e8ab92e2 100644 --- a/docs/InventoryCoupon.md +++ b/docs/InventoryCoupon.md @@ -6,29 +6,29 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | -**campaignId** | **Integer** | The ID of the campaign that owns this entity. | +**campaignId** | **Long** | The ID of the campaign that owns this entity. | **value** | **String** | The coupon code. | -**usageLimit** | **Integer** | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. | +**usageLimit** | **Long** | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. | **discountLimit** | [**BigDecimal**](BigDecimal.md) | The total discount value that the code can give. Typically used to represent a gift card value. | [optional] -**reservationLimit** | **Integer** | The number of reservations that can be made with this coupon code. | [optional] +**reservationLimit** | **Long** | The number of reservations that can be made with this coupon code. | [optional] **startDate** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp at which point the coupon becomes valid. | [optional] **expiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | Expiration date of the coupon. Coupon never expires if this is omitted. | [optional] **limits** | [**List<LimitConfig>**](LimitConfig.md) | Limits configuration for a coupon. These limits will override the limits set from the campaign. **Note:** Only usable when creating a single coupon which is not tied to a specific recipient. Only per-profile limits are allowed to be configured. | [optional] -**usageCounter** | **Integer** | The number of times the coupon has been successfully redeemed. | +**usageCounter** | **Long** | The number of times the coupon has been successfully redeemed. | **discountCounter** | [**BigDecimal**](BigDecimal.md) | The amount of discounts given on rules redeeming this coupon. Only usable if a coupon discount budget was set for this coupon. | [optional] **discountRemainder** | [**BigDecimal**](BigDecimal.md) | The remaining discount this coupon can give. | [optional] **reservationCounter** | [**BigDecimal**](BigDecimal.md) | The number of times this coupon has been reserved. | [optional] **attributes** | [**Object**](.md) | Custom attributes associated with this coupon. | [optional] -**referralId** | **Integer** | The integration ID of the referring customer (if any) for whom this coupon was created as an effect. | [optional] +**referralId** | **Long** | The integration ID of the referring customer (if any) for whom this coupon was created as an effect. | [optional] **recipientIntegrationId** | **String** | The Integration ID of the customer that is allowed to redeem this coupon. | [optional] -**importId** | **Integer** | The ID of the Import which created this coupon. | [optional] +**importId** | **Long** | The ID of the Import which created this coupon. | [optional] **reservation** | **Boolean** | Defines the reservation type: - `true`: The coupon can be reserved for multiple customers. - `false`: The coupon can be reserved only for one customer. It is a personal code. | [optional] **batchId** | **String** | The id of the batch the coupon belongs to. | [optional] **isReservationMandatory** | **Boolean** | An indication of whether the code can be redeemed only if it has been reserved first. | [optional] **implicitlyReserved** | **Boolean** | An indication of whether the coupon is implicitly reserved for all customers. | [optional] -**profileRedemptionCount** | **Integer** | The number of times the coupon was redeemed by the profile. | +**profileRedemptionCount** | **Long** | The number of times the coupon was redeemed by the profile. | **state** | **String** | Can be: - `active`: The coupon can be used. It is a reserved coupon that is not pending, used, or expired, and it has a non-exhausted limit counter. **Note:** This coupon state is returned for [scheduled campaigns](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-schedule), but the coupon cannot be used until the campaign is **running**. - `used`: The coupon has been redeemed and cannot be used again. It is not pending and has reached its redemption limit or was redeemed by the profile before expiration. - `expired`: The coupon was never redeemed, and it is now expired. It is non-pending, non-active, and non-used by the profile. - `pending`: The coupon will be usable in the future. - `disabled`: The coupon is part of a non-active campaign. | diff --git a/docs/InventoryReferral.md b/docs/InventoryReferral.md index 994276b5..7cdd72bd 100644 --- a/docs/InventoryReferral.md +++ b/docs/InventoryReferral.md @@ -6,18 +6,18 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | **startDate** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp at which point the referral code becomes valid. | [optional] **expiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | Expiration date of the referral code. Referral never expires if this is omitted. | [optional] -**usageLimit** | **Integer** | The number of times a referral code can be used. `0` means no limit but any campaign usage limits will still apply. | -**campaignId** | **Integer** | ID of the campaign from which the referral received the referral code. | +**usageLimit** | **Long** | The number of times a referral code can be used. `0` means no limit but any campaign usage limits will still apply. | +**campaignId** | **Long** | ID of the campaign from which the referral received the referral code. | **advocateProfileIntegrationId** | **String** | The Integration ID of the Advocate's Profile. | **friendProfileIntegrationId** | **String** | An optional Integration ID of the Friend's Profile. | [optional] **attributes** | [**Object**](.md) | Arbitrary properties associated with this item. | [optional] -**importId** | **Integer** | The ID of the Import which created this referral. | [optional] +**importId** | **Long** | The ID of the Import which created this referral. | [optional] **code** | **String** | The referral code. | -**usageCounter** | **Integer** | The number of times this referral code has been successfully used. | +**usageCounter** | **Long** | The number of times this referral code has been successfully used. | **batchId** | **String** | The ID of the batch the referrals belong to. | [optional] **referredCustomers** | **List<String>** | An array of referred customers. | diff --git a/docs/ItemAttribute.md b/docs/ItemAttribute.md index c9f4b3c6..c23d1919 100644 --- a/docs/ItemAttribute.md +++ b/docs/ItemAttribute.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**attributeid** | **Integer** | The ID of the attribute of the item. | +**attributeid** | **Long** | The ID of the attribute of the item. | **name** | **String** | The name of the attribute. | **value** | [**Object**](.md) | The value of the attribute. | diff --git a/docs/LedgerEntry.md b/docs/LedgerEntry.md index 4e9ad59e..bd18bd5e 100644 --- a/docs/LedgerEntry.md +++ b/docs/LedgerEntry.md @@ -7,16 +7,16 @@ Entry in the point ledger. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | **profileId** | **String** | ID of the customer profile set by your integration layer. **Note:** If the customer does not yet have a known `profileId`, we recommend you use a guest `profileId`. | -**accountId** | **Integer** | The ID of the Talon.One account that owns this profile. | -**loyaltyProgramId** | **Integer** | ID of the ledger. | -**eventId** | **Integer** | ID of the related event. | -**amount** | **Integer** | Amount of loyalty points. | +**accountId** | **Long** | The ID of the Talon.One account that owns this profile. | +**loyaltyProgramId** | **Long** | ID of the ledger. | +**eventId** | **Long** | ID of the related event. | +**amount** | **Long** | Amount of loyalty points. | **reason** | **String** | reason for awarding/deducting points. | **expiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | Expiration date of the points. | -**referenceId** | **Integer** | The ID of the balancing ledgerEntry. | [optional] +**referenceId** | **Long** | The ID of the balancing ledgerEntry. | [optional] diff --git a/docs/LedgerPointsEntryIntegrationAPI.md b/docs/LedgerPointsEntryIntegrationAPI.md index 67ac5854..df187124 100644 --- a/docs/LedgerPointsEntryIntegrationAPI.md +++ b/docs/LedgerPointsEntryIntegrationAPI.md @@ -7,9 +7,9 @@ Loyalty profile points with start and expiry dates. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | ID of the transaction that adds loyalty points. | +**id** | **Long** | ID of the transaction that adds loyalty points. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | Date and time the loyalty points were added. | -**programId** | **Integer** | ID of the loyalty program. | +**programId** | **Long** | ID of the loyalty program. | **customerSessionId** | **String** | ID of the customer session where points were added. | [optional] **name** | **String** | Name or reason of the transaction that adds loyalty points. | **startDate** | **String** | When points become active. Possible values: - `immediate`: Points are active immediately. - `timestamp value`: Points become active at a given date and time. | diff --git a/docs/LedgerTransactionLogEntryIntegrationAPI.md b/docs/LedgerTransactionLogEntryIntegrationAPI.md index 93a6fa2c..66a0239e 100644 --- a/docs/LedgerTransactionLogEntryIntegrationAPI.md +++ b/docs/LedgerTransactionLogEntryIntegrationAPI.md @@ -8,7 +8,7 @@ Log entry for a given loyalty card transaction. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **created** | [**OffsetDateTime**](OffsetDateTime.md) | Date and time the loyalty transaction occurred. | -**programId** | **Integer** | ID of the loyalty program. | +**programId** | **Long** | ID of the loyalty program. | **customerSessionId** | **String** | ID of the customer session where the transaction occurred. | [optional] **type** | [**TypeEnum**](#TypeEnum) | Type of transaction. Possible values: - `addition`: Signifies added points. - `subtraction`: Signifies deducted points. | **name** | **String** | Name or reason of the loyalty ledger transaction. | @@ -16,8 +16,8 @@ Name | Type | Description | Notes **expiryDate** | **String** | Date when points expire. Possible values are: - `unlimited`: Points have no expiration date. - `timestamp value`: Points expire on the given date. | **subledgerId** | **String** | ID of the subledger. | **amount** | [**BigDecimal**](BigDecimal.md) | Amount of loyalty points added or deducted in the transaction. | -**id** | **Integer** | ID of the loyalty ledger transaction. | -**rulesetId** | **Integer** | The ID of the ruleset containing the rule that triggered this effect. | [optional] +**id** | **Long** | ID of the loyalty ledger transaction. | +**rulesetId** | **Long** | The ID of the ruleset containing the rule that triggered this effect. | [optional] **ruleName** | **String** | The name of the rule that triggered this effect. | [optional] **flags** | [**LoyaltyLedgerEntryFlags**](LoyaltyLedgerEntryFlags.md) | | [optional] diff --git a/docs/LimitCounter.md b/docs/LimitCounter.md index 2aa6cf60..3f6d5b2f 100644 --- a/docs/LimitCounter.md +++ b/docs/LimitCounter.md @@ -6,16 +6,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**campaignId** | **Integer** | The ID of the campaign that owns this entity. | -**applicationId** | **Integer** | The ID of the Application that owns this entity. | -**accountId** | **Integer** | The ID of the account that owns this entity. | -**id** | **Integer** | Unique ID for this entity. | +**campaignId** | **Long** | The ID of the campaign that owns this entity. | +**applicationId** | **Long** | The ID of the Application that owns this entity. | +**accountId** | **Long** | The ID of the account that owns this entity. | +**id** | **Long** | Unique ID for this entity. | **action** | **String** | The limitable action of the limit counter. | -**profileId** | **Integer** | The profile ID for which this limit counter is used. | [optional] +**profileId** | **Long** | The profile ID for which this limit counter is used. | [optional] **profileIntegrationId** | **String** | The profile integration ID for which this limit counter is used. | [optional] -**couponId** | **Integer** | The internal coupon ID for which this limit counter is used. | [optional] +**couponId** | **Long** | The internal coupon ID for which this limit counter is used. | [optional] **couponValue** | **String** | The coupon value for which this limit counter is used. | [optional] -**referralId** | **Integer** | The referral ID for which this limit counter is used. | [optional] +**referralId** | **Long** | The referral ID for which this limit counter is used. | [optional] **referralValue** | **String** | The referral value for which this limit counter is used. | [optional] **identifier** | **String** | The arbitrary identifier for which this limit counter is used. | [optional] **period** | **String** | The time period for which this limit counter is used. | [optional] diff --git a/docs/ListCampaignStoreBudgets.md b/docs/ListCampaignStoreBudgets.md index 810396ca..31294362 100644 --- a/docs/ListCampaignStoreBudgets.md +++ b/docs/ListCampaignStoreBudgets.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **store** | [**ListCampaignStoreBudgetsStore**](ListCampaignStoreBudgetsStore.md) | | -**limit** | **Integer** | | +**limit** | **Long** | | **action** | **String** | | **period** | **String** | | [optional] diff --git a/docs/ListCampaignStoreBudgetsStore.md b/docs/ListCampaignStoreBudgetsStore.md index 2c9718e6..562a90a5 100644 --- a/docs/ListCampaignStoreBudgetsStore.md +++ b/docs/ListCampaignStoreBudgetsStore.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | | +**id** | **Long** | | **integrationId** | **String** | | **name** | **String** | | diff --git a/docs/LoyaltyCard.md b/docs/LoyaltyCard.md index 99d86df1..29aad0a1 100644 --- a/docs/LoyaltyCard.md +++ b/docs/LoyaltyCard.md @@ -6,15 +6,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | -**programID** | **Integer** | The ID of the loyalty program that owns this entity. | +**programID** | **Long** | The ID of the loyalty program that owns this entity. | **programName** | **String** | The integration name of the loyalty program that owns this entity. | [optional] **programTitle** | **String** | The Campaign Manager-displayed name of the loyalty program that owns this entity. | [optional] **status** | **String** | Status of the loyalty card. Can be `active` or `inactive`. | **blockReason** | **String** | Reason for transferring and blocking the loyalty card. | [optional] **identifier** | **String** | The alphanumeric identifier of the loyalty card. | -**usersPerCardLimit** | **Integer** | The max amount of customer profiles that can be linked to the card. 0 means unlimited. | +**usersPerCardLimit** | **Long** | The max amount of customer profiles that can be linked to the card. 0 means unlimited. | **profiles** | [**List<LoyaltyCardProfileRegistration>**](LoyaltyCardProfileRegistration.md) | Integration IDs of the customers profiles linked to the card. | [optional] **ledger** | [**LedgerInfo**](LedgerInfo.md) | | [optional] **subledgers** | [**Map<String, LedgerInfo>**](LedgerInfo.md) | Displays point balances of the card in the subledgers of the loyalty program. | [optional] diff --git a/docs/LoyaltyCardBatch.md b/docs/LoyaltyCardBatch.md index 832edd26..893f4a2a 100644 --- a/docs/LoyaltyCardBatch.md +++ b/docs/LoyaltyCardBatch.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**numberOfCards** | **Integer** | Number of loyalty cards in the batch. | +**numberOfCards** | **Long** | Number of loyalty cards in the batch. | **batchId** | **String** | ID of the loyalty card batch. | [optional] **status** | [**StatusEnum**](#StatusEnum) | Status of the loyalty cards in the batch. | [optional] **cardCodeSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional] diff --git a/docs/LoyaltyCardBatchResponse.md b/docs/LoyaltyCardBatchResponse.md index f4df85e8..44af636b 100644 --- a/docs/LoyaltyCardBatchResponse.md +++ b/docs/LoyaltyCardBatchResponse.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**numberOfCardsGenerated** | **Integer** | Number of loyalty cards in the batch. | +**numberOfCardsGenerated** | **Long** | Number of loyalty cards in the batch. | **batchId** | **String** | ID of the loyalty card batch. | diff --git a/docs/LoyaltyLedgerEntry.md b/docs/LoyaltyLedgerEntry.md index e178a70a..802bf7c0 100644 --- a/docs/LoyaltyLedgerEntry.md +++ b/docs/LoyaltyLedgerEntry.md @@ -8,18 +8,18 @@ A single row of the ledger, describing one addition or deduction. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **created** | [**OffsetDateTime**](OffsetDateTime.md) | | -**programID** | **Integer** | | +**programID** | **Long** | | **customerProfileID** | **String** | | [optional] -**cardID** | **Integer** | | [optional] +**cardID** | **Long** | | [optional] **customerSessionID** | **String** | | [optional] -**eventID** | **Integer** | | [optional] +**eventID** | **Long** | | [optional] **type** | **String** | The type of the ledger transaction. Possible values are: - `addition` - `subtraction` - `expire` - `expiring` (for expiring points ledgers) | **amount** | [**BigDecimal**](BigDecimal.md) | | **startDate** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional] **expiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional] **name** | **String** | A name referencing the condition or effect that added this entry, or the specific name provided in an API call. | **subLedgerID** | **String** | This specifies if we are adding loyalty points to the main ledger or a subledger. | -**userID** | **Integer** | This is the ID of the user who created this entry, if the addition or subtraction was done manually. | [optional] +**userID** | **Long** | This is the ID of the user who created this entry, if the addition or subtraction was done manually. | [optional] **archived** | **Boolean** | Indicates if the entry belongs to the archived session. | [optional] **flags** | [**LoyaltyLedgerEntryFlags**](LoyaltyLedgerEntryFlags.md) | | [optional] diff --git a/docs/LoyaltyMembership.md b/docs/LoyaltyMembership.md index 434299dd..add677ab 100644 --- a/docs/LoyaltyMembership.md +++ b/docs/LoyaltyMembership.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **joined** | [**OffsetDateTime**](OffsetDateTime.md) | The moment in which the loyalty program was joined. | [optional] -**loyaltyProgramId** | **Integer** | The ID of the loyalty program belonging to this entity. | +**loyaltyProgramId** | **Long** | The ID of the loyalty program belonging to this entity. | diff --git a/docs/LoyaltyProgram.md b/docs/LoyaltyProgram.md index 1f329587..0ffb7abf 100644 --- a/docs/LoyaltyProgram.md +++ b/docs/LoyaltyProgram.md @@ -7,15 +7,15 @@ A Loyalty Program Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | The ID of loyalty program. | +**id** | **Long** | The ID of loyalty program. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | **title** | **String** | The display title for the Loyalty Program. | **description** | **String** | Description of our Loyalty Program. | -**subscribedApplications** | **List<Integer>** | A list containing the IDs of all applications that are subscribed to this Loyalty Program. | +**subscribedApplications** | **List<Long>** | A list containing the IDs of all applications that are subscribed to this Loyalty Program. | **defaultValidity** | **String** | The default duration after which new loyalty points should expire. Can be 'unlimited' or a specific time. The time format is a number followed by one letter indicating the time unit, like '30s', '40m', '1h', '5D', '7W', or 10M'. These rounding suffixes are also supported: - '_D' for rounding down. Can be used as a suffix after 'D', and signifies the start of the day. - '_U' for rounding up. Can be used as a suffix after 'D', 'W', and 'M', and signifies the end of the day, week, and month. | **defaultPending** | **String** | The default duration of the pending time after which points should be valid. Can be 'immediate' or a specific time. The time format is a number followed by one letter indicating the time unit, like '30s', '40m', '1h', '5D', '7W', or 10M'. These rounding suffixes are also supported: - '_D' for rounding down. Can be used as a suffix after 'D', and signifies the start of the day. - '_U' for rounding up. Can be used as a suffix after 'D', 'W', and 'M', and signifies the end of the day, week, and month. | **allowSubledger** | **Boolean** | Indicates if this program supports subledgers inside the program. | -**usersPerCardLimit** | **Integer** | The max amount of user profiles with whom a card can be shared. This can be set to 0 for no limit. This property is only used when `cardBased` is `true`. | [optional] +**usersPerCardLimit** | **Long** | The max amount of user profiles with whom a card can be shared. This can be set to 0 for no limit. This property is only used when `cardBased` is `true`. | [optional] **sandbox** | **Boolean** | Indicates if this program is a live or sandbox program. Programs of a given type can only be connected to Applications of the same type. | **programJoinPolicy** | [**ProgramJoinPolicyEnum**](#ProgramJoinPolicyEnum) | The policy that defines when the customer joins the loyalty program. - `not_join`: The customer does not join the loyalty program but can still earn and spend loyalty points. **Note**: The customer does not have a program join date. - `points_activated`: The customer joins the loyalty program only when their earned loyalty points become active for the first time. - `points_earned`: The customer joins the loyalty program when they earn loyalty points for the first time. | [optional] **tiersExpirationPolicy** | [**TiersExpirationPolicyEnum**](#TiersExpirationPolicyEnum) | The policy that defines how tier expiration, used to reevaluate the customer's current tier, is determined. - `tier_start_date`: The tier expiration is relative to when the customer joined the current tier. - `program_join_date`: The tier expiration is relative to when the customer joined the loyalty program. - `customer_attribute`: The tier expiration is determined by a custom customer attribute. - `absolute_expiration`: The tier is reevaluated at the start of each tier cycle. For this policy, it is required to provide a `tierCycleStartDate`. | [optional] @@ -24,7 +24,7 @@ Name | Type | Description | Notes **tiersDowngradePolicy** | [**TiersDowngradePolicyEnum**](#TiersDowngradePolicyEnum) | The policy that defines how customer tiers are downgraded in the loyalty program after tier reevaluation. - `one_down`: If the customer doesn't have enough points to stay in the current tier, they are downgraded by one tier. - `balance_based`: The customer's tier is reevaluated based on the amount of active points they have at the moment. | [optional] **cardCodeSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional] **returnPolicy** | [**ReturnPolicyEnum**](#ReturnPolicyEnum) | The policy that defines the rollback of points in case of a partially returned, cancelled, or reopened [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). - `only_pending`: Only pending points can be rolled back. - `within_balance`: Available active points can be rolled back if there aren't enough pending points. The active balance of the customer cannot be negative. - `unlimited`: Allows negative balance without any limit. | [optional] -**accountID** | **Integer** | The ID of the Talon.One account that owns this program. | +**accountID** | **Long** | The ID of the Talon.One account that owns this program. | **name** | **String** | The internal name for the Loyalty Program. This is an immutable value. | **tiers** | [**List<LoyaltyTier>**](LoyaltyTier.md) | The tiers in this loyalty program. | [optional] **timezone** | **String** | A string containing an IANA timezone descriptor. | diff --git a/docs/LoyaltyProgramEntity.md b/docs/LoyaltyProgramEntity.md index ccbfb0f9..7cea3d65 100644 --- a/docs/LoyaltyProgramEntity.md +++ b/docs/LoyaltyProgramEntity.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**programID** | **Integer** | The ID of the loyalty program that owns this entity. | +**programID** | **Long** | The ID of the loyalty program that owns this entity. | **programName** | **String** | The integration name of the loyalty program that owns this entity. | [optional] **programTitle** | **String** | The Campaign Manager-displayed name of the loyalty program that owns this entity. | [optional] diff --git a/docs/LoyaltyProgramLedgers.md b/docs/LoyaltyProgramLedgers.md index b2bba196..b05bd41d 100644 --- a/docs/LoyaltyProgramLedgers.md +++ b/docs/LoyaltyProgramLedgers.md @@ -7,7 +7,7 @@ Customer-specific information about loyalty points. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | The internal ID of loyalty program. | +**id** | **Long** | The internal ID of loyalty program. | **title** | **String** | Visible name of loyalty program. | **name** | **String** | Internal name of loyalty program. | **joinDate** | [**OffsetDateTime**](OffsetDateTime.md) | The date on which the customer joined the loyalty program in RFC3339. **Note**: This is in the loyalty program's time zone. | [optional] diff --git a/docs/LoyaltyProgramTransaction.md b/docs/LoyaltyProgramTransaction.md index adcaad66..7f0efc1e 100644 --- a/docs/LoyaltyProgramTransaction.md +++ b/docs/LoyaltyProgramTransaction.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | ID of the loyalty ledger transaction. | -**programId** | **Integer** | ID of the loyalty program. | -**campaignId** | **Integer** | ID of the campaign. | [optional] +**id** | **Long** | ID of the loyalty ledger transaction. | +**programId** | **Long** | ID of the loyalty program. | +**campaignId** | **Long** | ID of the campaign. | [optional] **created** | [**OffsetDateTime**](OffsetDateTime.md) | Date and time the loyalty transaction occurred. | **type** | [**TypeEnum**](#TypeEnum) | Type of transaction. Possible values: - `addition`: Signifies added points. - `subtraction`: Signifies deducted points. | **amount** | [**BigDecimal**](BigDecimal.md) | Amount of loyalty points added or deducted in the transaction. | @@ -19,10 +19,10 @@ Name | Type | Description | Notes **cardIdentifier** | **String** | The alphanumeric identifier of the loyalty card. | [optional] **subledgerId** | **String** | ID of the subledger. | **customerSessionId** | **String** | ID of the customer session where the transaction occurred. | [optional] -**importId** | **Integer** | ID of the import where the transaction occurred. | [optional] -**userId** | **Integer** | ID of the user who manually added or deducted points. Applies only to manual transactions. | [optional] +**importId** | **Long** | ID of the import where the transaction occurred. | [optional] +**userId** | **Long** | ID of the user who manually added or deducted points. Applies only to manual transactions. | [optional] **userEmail** | **String** | The email of the Campaign Manager account that manually added or deducted points. Applies only to manual transactions. | [optional] -**rulesetId** | **Integer** | ID of the ruleset containing the rule that triggered the effect. Applies only for transactions that resulted from a customer session. | [optional] +**rulesetId** | **Long** | ID of the ruleset containing the rule that triggered the effect. Applies only for transactions that resulted from a customer session. | [optional] **ruleName** | **String** | Name of the rule that triggered the effect. Applies only for transactions that resulted from a customer session. | [optional] **flags** | [**LoyaltyLedgerEntryFlags**](LoyaltyLedgerEntryFlags.md) | | [optional] diff --git a/docs/LoyaltyTier.md b/docs/LoyaltyTier.md index 66e877a3..641a4c1f 100644 --- a/docs/LoyaltyTier.md +++ b/docs/LoyaltyTier.md @@ -7,9 +7,9 @@ A tier in a loyalty program. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | -**programID** | **Integer** | The ID of the loyalty program that owns this entity. | +**programID** | **Long** | The ID of the loyalty program that owns this entity. | **programName** | **String** | The integration name of the loyalty program that owns this entity. | [optional] **programTitle** | **String** | The Campaign Manager-displayed name of the loyalty program that owns this entity. | [optional] **name** | **String** | The name of the tier. | diff --git a/docs/ManagementApi.md b/docs/ManagementApi.md index 8b53b00c..1ae04732 100644 --- a/docs/ManagementApi.md +++ b/docs/ManagementApi.md @@ -284,7 +284,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer loyaltyProgramId = 56; // Integer | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. + Long loyaltyProgramId = 56L; // Long | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. String loyaltyCardId = "loyaltyCardId_example"; // String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. AddLoyaltyPoints body = new AddLoyaltyPoints(); // AddLoyaltyPoints | body try { @@ -305,7 +305,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **loyaltyProgramId** | **Integer**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | + **loyaltyProgramId** | **Long**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | **loyaltyCardId** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. | **body** | [**AddLoyaltyPoints**](AddLoyaltyPoints.md)| body | @@ -452,8 +452,8 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. CampaignCopy body = new CampaignCopy(); // CampaignCopy | body try { InlineResponse2008 result = apiInstance.copyCampaignToApplications(applicationId, campaignId, body); @@ -474,8 +474,8 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | **body** | [**CampaignCopy**](CampaignCopy.md)| body | ### Return type cool @@ -615,8 +615,8 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. CreateAchievement body = new CreateAchievement(); // CreateAchievement | body try { Achievement result = apiInstance.createAchievement(applicationId, campaignId, body); @@ -637,8 +637,8 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | **body** | [**CreateAchievement**](CreateAchievement.md)| body | ### Return type cool @@ -856,7 +856,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer loyaltyProgramId = 56; // Integer | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. + Long loyaltyProgramId = 56L; // Long | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. LoyaltyCardBatch body = new LoyaltyCardBatch(); // LoyaltyCardBatch | body try { LoyaltyCardBatchResponse result = apiInstance.createBatchLoyaltyCards(loyaltyProgramId, body); @@ -877,7 +877,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **loyaltyProgramId** | **Integer**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | + **loyaltyProgramId** | **Long**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | **body** | [**LoyaltyCardBatch**](LoyaltyCardBatch.md)| body | ### Return type cool @@ -939,7 +939,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. CreateTemplateCampaign body = new CreateTemplateCampaign(); // CreateTemplateCampaign | body try { CreateTemplateCampaignResponse result = apiInstance.createCampaignFromTemplate(applicationId, body); @@ -960,7 +960,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | **body** | [**CreateTemplateCampaign**](CreateTemplateCampaign.md)| body | ### Return type cool @@ -1019,8 +1019,8 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. NewCampaignCollection body = new NewCampaignCollection(); // NewCampaignCollection | body try { Collection result = apiInstance.createCollection(applicationId, campaignId, body); @@ -1041,8 +1041,8 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | **body** | [**NewCampaignCollection**](NewCampaignCollection.md)| body | ### Return type cool @@ -1101,8 +1101,8 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. NewCoupons body = new NewCoupons(); // NewCoupons | body String silent = "\"yes\""; // String | Possible values: `yes` or `no`. - `yes`: Increases the performance of the API call by returning a 204 response. - `no`: Returns a 200 response that contains the updated customer profiles. try { @@ -1124,8 +1124,8 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | **body** | [**NewCoupons**](NewCoupons.md)| body | **silent** | **String**| Possible values: `yes` or `no`. - `yes`: Increases the performance of the API call by returning a 204 response. - `no`: Returns a 200 response that contains the updated customer profiles. | [optional] [default to "yes"] @@ -1186,8 +1186,8 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. NewCouponCreationJob body = new NewCouponCreationJob(); // NewCouponCreationJob | body try { AsyncCouponCreationResponse result = apiInstance.createCouponsAsync(applicationId, campaignId, body); @@ -1208,8 +1208,8 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | **body** | [**NewCouponCreationJob**](NewCouponCreationJob.md)| body | ### Return type cool @@ -1268,8 +1268,8 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. NewCouponDeletionJob body = new NewCouponDeletionJob(); // NewCouponDeletionJob | body try { AsyncCouponDeletionJobResponse result = apiInstance.createCouponsDeletionJob(applicationId, campaignId, body); @@ -1290,8 +1290,8 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | **body** | [**NewCouponDeletionJob**](NewCouponDeletionJob.md)| body | ### Return type cool @@ -1350,8 +1350,8 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. NewCouponsForMultipleRecipients body = new NewCouponsForMultipleRecipients(); // NewCouponsForMultipleRecipients | body String silent = "\"yes\""; // String | Possible values: `yes` or `no`. - `yes`: Increases the performance of the API call by returning a 204 response. - `no`: Returns a 200 response that contains the updated customer profiles. try { @@ -1373,8 +1373,8 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | **body** | [**NewCouponsForMultipleRecipients**](NewCouponsForMultipleRecipients.md)| body | **silent** | **String**| Possible values: `yes` or `no`. - `yes`: Increases the performance of the API call by returning a 204 response. - `no`: Returns a 200 response that contains the updated customer profiles. | [optional] [default to "yes"] @@ -1747,7 +1747,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. NewStore body = new NewStore(); // NewStore | body try { Store result = apiInstance.createStore(applicationId, body); @@ -1768,7 +1768,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | **body** | [**NewStore**](NewStore.md)| body | ### Return type cool @@ -1906,7 +1906,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer loyaltyProgramId = 56; // Integer | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. + Long loyaltyProgramId = 56L; // Long | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. String loyaltyCardId = "loyaltyCardId_example"; // String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. DeductLoyaltyPoints body = new DeductLoyaltyPoints(); // DeductLoyaltyPoints | body try { @@ -1927,7 +1927,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **loyaltyProgramId** | **Integer**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | + **loyaltyProgramId** | **Long**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | **loyaltyCardId** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. | **body** | [**DeductLoyaltyPoints**](DeductLoyaltyPoints.md)| body | @@ -1990,7 +1990,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer collectionId = 56; // Integer | The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. + Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. try { apiInstance.deleteAccountCollection(collectionId); } catch (ApiException e) { @@ -2009,7 +2009,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **collectionId** | **Integer**| The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. | + **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. | ### Return type cool @@ -2068,9 +2068,9 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. - Integer achievementId = 56; // Integer | The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) endpoint. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long achievementId = 56L; // Long | The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) endpoint. try { apiInstance.deleteAchievement(applicationId, campaignId, achievementId); } catch (ApiException e) { @@ -2089,9 +2089,9 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | - **achievementId** | **Integer**| The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) endpoint. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **achievementId** | **Long**| The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) endpoint. | ### Return type cool @@ -2151,8 +2151,8 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. try { apiInstance.deleteCampaign(applicationId, campaignId); } catch (ApiException e) { @@ -2171,8 +2171,8 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | ### Return type cool @@ -2230,9 +2230,9 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. - Integer collectionId = 56; // Integer | The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint. try { apiInstance.deleteCollection(applicationId, campaignId, collectionId); } catch (ApiException e) { @@ -2251,9 +2251,9 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | - **collectionId** | **Integer**| The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint. | ### Return type cool @@ -2312,8 +2312,8 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. String couponId = "couponId_example"; // String | The internal ID of the coupon code. You can find this value in the `id` property from the [List coupons](https://docs.talon.one/management-api#tag/Coupons/operation/getCouponsWithoutTotalCount) endpoint response. try { apiInstance.deleteCoupon(applicationId, campaignId, couponId); @@ -2333,8 +2333,8 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | **couponId** | **String**| The internal ID of the coupon code. You can find this value in the `id` property from the [List coupons](https://docs.talon.one/management-api#tag/Coupons/operation/getCouponsWithoutTotalCount) endpoint response. | ### Return type cool @@ -2393,8 +2393,8 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. String value = "value_example"; // String | Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters. OffsetDateTime createdBefore = new OffsetDateTime(); // OffsetDateTime | Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. OffsetDateTime createdAfter = new OffsetDateTime(); // OffsetDateTime | Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. @@ -2405,7 +2405,7 @@ public class Example { String valid = "valid_example"; // String | - `expired`: Matches coupons in which the expiration date is set and in the past. - `validNow`: Matches coupons in which start date is null or in the past and expiration date is null or in the future. - `validFuture`: Matches coupons in which start date is set and in the future. String batchId = "batchId_example"; // String | Filter results by batches of coupons String usable = "usable_example"; // String | - `true`: only coupons where `usageCounter < usageLimit` will be returned. - `false`: only coupons where `usageCounter >= usageLimit` will be returned. - Integer referralId = 56; // Integer | Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. + Long referralId = 56L; // Long | Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. String recipientIntegrationId = "recipientIntegrationId_example"; // String | Filter results by match with a profile ID specified in the coupon's `RecipientIntegrationId` field. Boolean exactMatch = false; // Boolean | Filter results to an exact case-insensitive matching against the coupon code try { @@ -2426,8 +2426,8 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | **value** | **String**| Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters. | [optional] **createdBefore** | **OffsetDateTime**| Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. | [optional] **createdAfter** | **OffsetDateTime**| Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. | [optional] @@ -2438,7 +2438,7 @@ Name | Type | Description | Notes **valid** | **String**| - `expired`: Matches coupons in which the expiration date is set and in the past. - `validNow`: Matches coupons in which start date is null or in the past and expiration date is null or in the future. - `validFuture`: Matches coupons in which start date is set and in the future. | [optional] [enum: expired, validNow, validFuture] **batchId** | **String**| Filter results by batches of coupons | [optional] **usable** | **String**| - `true`: only coupons where `usageCounter < usageLimit` will be returned. - `false`: only coupons where `usageCounter >= usageLimit` will be returned. | [optional] [enum: true, false] - **referralId** | **Integer**| Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. | [optional] + **referralId** | **Long**| Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. | [optional] **recipientIntegrationId** | **String**| Filter results by match with a profile ID specified in the coupon's `RecipientIntegrationId` field. | [optional] **exactMatch** | **Boolean**| Filter results to an exact case-insensitive matching against the coupon code | [optional] [default to false] @@ -2498,7 +2498,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer loyaltyProgramId = 56; // Integer | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. + Long loyaltyProgramId = 56L; // Long | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. String loyaltyCardId = "loyaltyCardId_example"; // String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. try { apiInstance.deleteLoyaltyCard(loyaltyProgramId, loyaltyCardId); @@ -2518,7 +2518,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **loyaltyProgramId** | **Integer**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | + **loyaltyProgramId** | **Long**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | **loyaltyCardId** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. | ### Return type cool @@ -2579,8 +2579,8 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. String referralId = "referralId_example"; // String | The ID of the referral code. try { apiInstance.deleteReferral(applicationId, campaignId, referralId); @@ -2600,8 +2600,8 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | **referralId** | **String**| The ID of the referral code. | ### Return type cool @@ -2660,7 +2660,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. String storeId = "storeId_example"; // String | The ID of the store. You can get this ID with the [List stores](#tag/Stores/operation/listStores) endpoint. try { apiInstance.deleteStore(applicationId, storeId); @@ -2680,7 +2680,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | **storeId** | **String**| The ID of the store. You can get this ID with the [List stores](#tag/Stores/operation/listStores) endpoint. | ### Return type cool @@ -2740,7 +2740,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer userId = 56; // Integer | The ID of the user. + Long userId = 56L; // Long | The ID of the user. try { apiInstance.deleteUser(userId); } catch (ApiException e) { @@ -2759,7 +2759,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **userId** | **Integer**| The ID of the user. | + **userId** | **Long**| The ID of the user. | ### Return type cool @@ -2967,8 +2967,8 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. try { apiInstance.disconnectCampaignStores(applicationId, campaignId); } catch (ApiException e) { @@ -2987,8 +2987,8 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | ### Return type cool @@ -3049,7 +3049,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer collectionId = 56; // Integer | The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. + Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. try { String result = apiInstance.exportAccountCollectionItems(collectionId); System.out.println(result); @@ -3069,7 +3069,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **collectionId** | **Integer**| The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. | + **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. | ### Return type cool @@ -3129,9 +3129,9 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. - Integer achievementId = 56; // Integer | The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) endpoint. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long achievementId = 56L; // Long | The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) endpoint. try { String result = apiInstance.exportAchievements(applicationId, campaignId, achievementId); System.out.println(result); @@ -3151,9 +3151,9 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | - **achievementId** | **Integer**| The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) endpoint. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **achievementId** | **Long**| The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) endpoint. | ### Return type cool @@ -3214,7 +3214,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer audienceId = 56; // Integer | The ID of the audience. + Long audienceId = 56L; // Long | The ID of the audience. try { String result = apiInstance.exportAudiencesMemberships(audienceId); System.out.println(result); @@ -3234,7 +3234,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **audienceId** | **Integer**| The ID of the audience. | + **audienceId** | **Long**| The ID of the audience. | ### Return type cool @@ -3295,8 +3295,8 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. try { String result = apiInstance.exportCampaignStores(applicationId, campaignId); System.out.println(result); @@ -3316,8 +3316,8 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | ### Return type cool @@ -3378,9 +3378,9 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. - Integer collectionId = 56; // Integer | The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint. try { String result = apiInstance.exportCollectionItems(applicationId, campaignId, collectionId); System.out.println(result); @@ -3400,9 +3400,9 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | - **collectionId** | **Integer**| The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint. | ### Return type cool @@ -3462,7 +3462,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. BigDecimal campaignId = new BigDecimal(); // BigDecimal | Filter results by campaign ID. String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. String value = "value_example"; // String | Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters. @@ -3470,7 +3470,7 @@ public class Example { OffsetDateTime createdAfter = new OffsetDateTime(); // OffsetDateTime | Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. String valid = "valid_example"; // String | Either \"expired\", \"validNow\", or \"validFuture\". The first option matches coupons in which the expiration date is set and in the past. The second matches coupons in which start date is null or in the past and expiration date is null or in the future, the third matches coupons in which start date is set and in the future. String usable = "usable_example"; // String | Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. - Integer referralId = 56; // Integer | Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. + Long referralId = 56L; // Long | Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. String recipientIntegrationId = "recipientIntegrationId_example"; // String | Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field. String batchId = "batchId_example"; // String | Filter results by batches of coupons Boolean exactMatch = false; // Boolean | Filter results to an exact case-insensitive matching against the coupon code. @@ -3496,7 +3496,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | **campaignId** | **BigDecimal**| Filter results by campaign ID. | [optional] **sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional] **value** | **String**| Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters. | [optional] @@ -3504,7 +3504,7 @@ Name | Type | Description | Notes **createdAfter** | **OffsetDateTime**| Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. | [optional] **valid** | **String**| Either \"expired\", \"validNow\", or \"validFuture\". The first option matches coupons in which the expiration date is set and in the past. The second matches coupons in which start date is null or in the past and expiration date is null or in the future, the third matches coupons in which start date is set and in the future. | [optional] [enum: expired, validNow, validFuture] **usable** | **String**| Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. | [optional] [enum: true, false] - **referralId** | **Integer**| Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. | [optional] + **referralId** | **Long**| Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. | [optional] **recipientIntegrationId** | **String**| Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field. | [optional] **batchId** | **String**| Filter results by batches of coupons | [optional] **exactMatch** | **Boolean**| Filter results to an exact case-insensitive matching against the coupon code. | [optional] [default to false] @@ -3568,7 +3568,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. OffsetDateTime createdBefore = new OffsetDateTime(); // OffsetDateTime | Filter results comparing the parameter value, expected to be an RFC3339 timestamp string. OffsetDateTime createdAfter = new OffsetDateTime(); // OffsetDateTime | Filter results comparing the parameter value, expected to be an RFC3339 timestamp string. String profileIntegrationId = "profileIntegrationId_example"; // String | Only return sessions for the customer that matches this customer integration ID. @@ -3593,7 +3593,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | **createdBefore** | **OffsetDateTime**| Filter results comparing the parameter value, expected to be an RFC3339 timestamp string. | [optional] **createdAfter** | **OffsetDateTime**| Filter results comparing the parameter value, expected to be an RFC3339 timestamp string. | [optional] **profileIntegrationId** | **String**| Only return sessions for the customer that matches this customer integration ID. | [optional] @@ -3738,7 +3738,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. BigDecimal campaignId = new BigDecimal(); // BigDecimal | Filter results by campaign ID. OffsetDateTime createdBefore = new OffsetDateTime(); // OffsetDateTime | Filter results comparing the parameter value, expected to be an RFC3339 timestamp string. You can use any time zone setting. Talon.One will convert to UTC internally. OffsetDateTime createdAfter = new OffsetDateTime(); // OffsetDateTime | Filter results comparing the parameter value, expected to be an RFC3339 timestamp string. You can use any time zone setting. Talon.One will convert to UTC internally. @@ -3762,7 +3762,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | **campaignId** | **BigDecimal**| Filter results by campaign ID. | [optional] **createdBefore** | **OffsetDateTime**| Filter results comparing the parameter value, expected to be an RFC3339 timestamp string. You can use any time zone setting. Talon.One will convert to UTC internally. | [optional] **createdAfter** | **OffsetDateTime**| Filter results comparing the parameter value, expected to be an RFC3339 timestamp string. You can use any time zone setting. Talon.One will convert to UTC internally. | [optional] @@ -3988,7 +3988,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer loyaltyProgramId = 56; // Integer | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. + Long loyaltyProgramId = 56L; // Long | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. OffsetDateTime endDate = new OffsetDateTime(); // OffsetDateTime | Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. try { String result = apiInstance.exportLoyaltyCardBalances(loyaltyProgramId, endDate); @@ -4009,7 +4009,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **loyaltyProgramId** | **Integer**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | + **loyaltyProgramId** | **Long**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | **endDate** | **OffsetDateTime**| Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional] ### Return type cool @@ -4070,7 +4070,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer loyaltyProgramId = 56; // Integer | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. + Long loyaltyProgramId = 56L; // Long | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. String loyaltyCardId = "loyaltyCardId_example"; // String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. OffsetDateTime rangeStart = new OffsetDateTime(); // OffsetDateTime | Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. OffsetDateTime rangeEnd = new OffsetDateTime(); // OffsetDateTime | Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. @@ -4094,7 +4094,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **loyaltyProgramId** | **Integer**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | + **loyaltyProgramId** | **Long**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | **loyaltyCardId** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. | **rangeStart** | **OffsetDateTime**| Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | **rangeEnd** | **OffsetDateTime**| Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | @@ -4158,7 +4158,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer loyaltyProgramId = 56; // Integer | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. + Long loyaltyProgramId = 56L; // Long | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. String batchId = "batchId_example"; // String | Filter results by loyalty card batch ID. String dateFormat = "dateFormat_example"; // String | Determines the format of dates in the export document. try { @@ -4180,7 +4180,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **loyaltyProgramId** | **Integer**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | + **loyaltyProgramId** | **Long**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | **batchId** | **String**| Filter results by loyalty card batch ID. | [optional] **dateFormat** | **String**| Determines the format of dates in the export document. | [optional] [enum: excel, ISO8601] @@ -4328,7 +4328,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer poolId = 56; // Integer | The ID of the pool. You can find it in the Campaign Manager, in the **Giveaways** section. + Long poolId = 56L; // Long | The ID of the pool. You can find it in the Campaign Manager, in the **Giveaways** section. OffsetDateTime createdBefore = new OffsetDateTime(); // OffsetDateTime | Timestamp that filters the results to only contain giveaways created before this date. Must be an RFC3339 timestamp string. OffsetDateTime createdAfter = new OffsetDateTime(); // OffsetDateTime | Timestamp that filters the results to only contain giveaways created after this date. Must be an RFC3339 timestamp string. try { @@ -4350,7 +4350,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **poolId** | **Integer**| The ID of the pool. You can find it in the Campaign Manager, in the **Giveaways** section. | + **poolId** | **Long**| The ID of the pool. You can find it in the Campaign Manager, in the **Giveaways** section. | **createdBefore** | **OffsetDateTime**| Timestamp that filters the results to only contain giveaways created before this date. Must be an RFC3339 timestamp string. | [optional] **createdAfter** | **OffsetDateTime**| Timestamp that filters the results to only contain giveaways created after this date. Must be an RFC3339 timestamp string. | [optional] @@ -4411,7 +4411,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. BigDecimal campaignId = new BigDecimal(); // BigDecimal | Filter results by campaign ID. OffsetDateTime createdBefore = new OffsetDateTime(); // OffsetDateTime | Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the referral creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. OffsetDateTime createdAfter = new OffsetDateTime(); // OffsetDateTime | Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the referral creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. @@ -4438,7 +4438,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | **campaignId** | **BigDecimal**| Filter results by campaign ID. | [optional] **createdBefore** | **OffsetDateTime**| Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the referral creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. | [optional] **createdAfter** | **OffsetDateTime**| Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the referral creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. | [optional] @@ -4503,14 +4503,14 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. OffsetDateTime rangeStart = new OffsetDateTime(); // OffsetDateTime | Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. OffsetDateTime rangeEnd = new OffsetDateTime(); // OffsetDateTime | Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. String path = "path_example"; // String | Only return results where the request path matches the given regular expression. String method = "method_example"; // String | Only return results where the request method matches the given regular expression. String status = "status_example"; // String | Filter results by HTTP status codes. - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. try { InlineResponse20022 result = apiInstance.getAccessLogsWithoutTotalCount(applicationId, rangeStart, rangeEnd, path, method, status, pageSize, skip, sort); @@ -4531,14 +4531,14 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | **rangeStart** | **OffsetDateTime**| Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | **rangeEnd** | **OffsetDateTime**| Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | **path** | **String**| Only return results where the request path matches the given regular expression. | [optional] **method** | **String**| Only return results where the request method matches the given regular expression. | [optional] [enum: get, put, post, delete, patch] **status** | **String**| Filter results by HTTP status codes. | [optional] [enum: success, error] - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional] ### Return type cool @@ -4597,7 +4597,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer accountId = 56; // Integer | The identifier of the account. Retrieve it via the [List users in account](https://docs.talon.one/management-api#operation/getUsers) endpoint in the `accountId` property. + Long accountId = 56L; // Long | The identifier of the account. Retrieve it via the [List users in account](https://docs.talon.one/management-api#operation/getUsers) endpoint in the `accountId` property. try { Account result = apiInstance.getAccount(accountId); System.out.println(result); @@ -4617,7 +4617,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **accountId** | **Integer**| The identifier of the account. Retrieve it via the [List users in account](https://docs.talon.one/management-api#operation/getUsers) endpoint in the `accountId` property. | + **accountId** | **Long**| The identifier of the account. Retrieve it via the [List users in account](https://docs.talon.one/management-api#operation/getUsers) endpoint in the `accountId` property. | ### Return type cool @@ -4675,7 +4675,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer accountId = 56; // Integer | The identifier of the account. Retrieve it via the [List users in account](https://docs.talon.one/management-api#operation/getUsers) endpoint in the `accountId` property. + Long accountId = 56L; // Long | The identifier of the account. Retrieve it via the [List users in account](https://docs.talon.one/management-api#operation/getUsers) endpoint in the `accountId` property. try { AccountAnalytics result = apiInstance.getAccountAnalytics(accountId); System.out.println(result); @@ -4695,7 +4695,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **accountId** | **Integer**| The identifier of the account. Retrieve it via the [List users in account](https://docs.talon.one/management-api#operation/getUsers) endpoint in the `accountId` property. | + **accountId** | **Long**| The identifier of the account. Retrieve it via the [List users in account](https://docs.talon.one/management-api#operation/getUsers) endpoint in the `accountId` property. | ### Return type cool @@ -4753,7 +4753,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer collectionId = 56; // Integer | The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. + Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. try { Collection result = apiInstance.getAccountCollection(collectionId); System.out.println(result); @@ -4773,7 +4773,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **collectionId** | **Integer**| The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. | + **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. | ### Return type cool @@ -4832,9 +4832,9 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. - Integer achievementId = 56; // Integer | The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) endpoint. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long achievementId = 56L; // Long | The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) endpoint. try { Achievement result = apiInstance.getAchievement(applicationId, campaignId, achievementId); System.out.println(result); @@ -4854,9 +4854,9 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | - **achievementId** | **Integer**| The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) endpoint. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **achievementId** | **Long**| The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) endpoint. | ### Return type cool @@ -4916,7 +4916,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer additionalCostId = 56; // Integer | The ID of the additional cost. You can find the ID the the Campaign Manager's URL when you display the details of the cost in **Account** > **Tools** > **Additional costs**. + Long additionalCostId = 56L; // Long | The ID of the additional cost. You can find the ID the the Campaign Manager's URL when you display the details of the cost in **Account** > **Tools** > **Additional costs**. try { AccountAdditionalCost result = apiInstance.getAdditionalCost(additionalCostId); System.out.println(result); @@ -4936,7 +4936,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **additionalCostId** | **Integer**| The ID of the additional cost. You can find the ID the the Campaign Manager's URL when you display the details of the cost in **Account** > **Tools** > **Additional costs**. | + **additionalCostId** | **Long**| The ID of the additional cost. You can find the ID the the Campaign Manager's URL when you display the details of the cost in **Account** > **Tools** > **Additional costs**. | ### Return type cool @@ -4994,8 +4994,8 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. try { InlineResponse20038 result = apiInstance.getAdditionalCosts(pageSize, skip, sort); @@ -5016,8 +5016,8 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional] ### Return type cool @@ -5076,7 +5076,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. try { Application result = apiInstance.getApplication(applicationId); System.out.println(result); @@ -5096,7 +5096,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | ### Return type cool @@ -5154,7 +5154,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. try { ApplicationApiHealth result = apiInstance.getApplicationApiHealth(applicationId); System.out.println(result); @@ -5174,7 +5174,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | ### Return type cool @@ -5232,8 +5232,8 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer customerId = 56; // Integer | The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long customerId = 56L; // Long | The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. try { ApplicationCustomer result = apiInstance.getApplicationCustomer(applicationId, customerId); System.out.println(result); @@ -5253,8 +5253,8 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **customerId** | **Integer**| The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **customerId** | **Long**| The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. | ### Return type cool @@ -5312,10 +5312,10 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. String integrationId = "integrationId_example"; // String | The Integration ID of the Advocate's Profile. - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. Boolean withTotalResultSize = true; // Boolean | When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. try { @@ -5337,10 +5337,10 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | **integrationId** | **String**| The Integration ID of the Advocate's Profile. | - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional] **withTotalResultSize** | **Boolean**| When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. | [optional] @@ -5400,10 +5400,10 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. String integrationId = "integrationId_example"; // String | Filter results performing an exact matching against the profile integration identifier. - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. Boolean withTotalResultSize = true; // Boolean | When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. try { InlineResponse20024 result = apiInstance.getApplicationCustomers(applicationId, integrationId, pageSize, skip, withTotalResultSize); @@ -5424,10 +5424,10 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | **integrationId** | **String**| Filter results performing an exact matching against the profile integration identifier. | [optional] - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **withTotalResultSize** | **Boolean**| When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. | [optional] ### Return type cool @@ -5486,10 +5486,10 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. CustomerProfileSearchQuery body = new CustomerProfileSearchQuery(); // CustomerProfileSearchQuery | body - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. Boolean withTotalResultSize = true; // Boolean | When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. try { InlineResponse20025 result = apiInstance.getApplicationCustomersByAttributes(applicationId, body, pageSize, skip, withTotalResultSize); @@ -5510,10 +5510,10 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | **body** | [**CustomerProfileSearchQuery**](CustomerProfileSearchQuery.md)| body | - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **withTotalResultSize** | **Boolean**| When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. | [optional] ### Return type cool @@ -5572,9 +5572,9 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. try { InlineResponse20031 result = apiInstance.getApplicationEventTypes(applicationId, pageSize, skip, sort); @@ -5595,9 +5595,9 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional] ### Return type cool @@ -5656,9 +5656,9 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. String type = "type_example"; // String | Comma-separated list of types by which to filter events. Must be exact match(es). OffsetDateTime createdBefore = new OffsetDateTime(); // OffsetDateTime | Only return events created before this date. You can use any time zone setting. Talon.One will convert to UTC internally. @@ -5690,9 +5690,9 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional] **type** | **String**| Comma-separated list of types by which to filter events. Must be exact match(es). | [optional] **createdBefore** | **OffsetDateTime**| Only return events created before this date. You can use any time zone setting. Talon.One will convert to UTC internally. | [optional] @@ -5762,8 +5762,8 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer sessionId = 56; // Integer | The **internal** ID of the session. You can get the ID with the [List Application sessions](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationSessions) endpoint. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long sessionId = 56L; // Long | The **internal** ID of the session. You can get the ID with the [List Application sessions](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationSessions) endpoint. try { ApplicationSession result = apiInstance.getApplicationSession(applicationId, sessionId); System.out.println(result); @@ -5783,8 +5783,8 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **sessionId** | **Integer**| The **internal** ID of the session. You can get the ID with the [List Application sessions](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationSessions) endpoint. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **sessionId** | **Long**| The **internal** ID of the session. You can get the ID with the [List Application sessions](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationSessions) endpoint. | ### Return type cool @@ -5842,9 +5842,9 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. String profile = "profile_example"; // String | Profile integration ID filter for sessions. Must be exact match. String state = "state_example"; // String | Filter by sessions with this state. Must be exact match. @@ -5873,9 +5873,9 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional] **profile** | **String**| Profile integration ID filter for sessions. Must be exact match. | [optional] **state** | **String**| Filter by sessions with this state. Must be exact match. | [optional] [enum: open, closed, partially_returned, cancelled] @@ -5942,8 +5942,8 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. try { InlineResponse2007 result = apiInstance.getApplications(pageSize, skip, sort); @@ -5964,8 +5964,8 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional] ### Return type cool @@ -6024,7 +6024,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer attributeId = 56; // Integer | The ID of the attribute. You can find the ID in the Campaign Manager's URL when you display the details of an attribute in **Account** > **Tools** > **Attributes**. + Long attributeId = 56L; // Long | The ID of the attribute. You can find the ID in the Campaign Manager's URL when you display the details of an attribute in **Account** > **Tools** > **Attributes**. try { Attribute result = apiInstance.getAttribute(attributeId); System.out.println(result); @@ -6044,7 +6044,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **attributeId** | **Integer**| The ID of the attribute. You can find the ID in the Campaign Manager's URL when you display the details of an attribute in **Account** > **Tools** > **Attributes**. | + **attributeId** | **Long**| The ID of the attribute. You can find the ID in the Campaign Manager's URL when you display the details of an attribute in **Account** > **Tools** > **Attributes**. | ### Return type cool @@ -6102,8 +6102,8 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. String entity = "entity_example"; // String | Returned attributes will be filtered by supplied entity. try { @@ -6125,8 +6125,8 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional] **entity** | **String**| Returned attributes will be filtered by supplied entity. | [optional] @@ -6186,9 +6186,9 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer audienceId = 56; // Integer | The ID of the audience. - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long audienceId = 56L; // Long | The ID of the audience. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. String profileQuery = "profileQuery_example"; // String | The filter to select a profile. try { @@ -6210,9 +6210,9 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **audienceId** | **Integer**| The ID of the audience. | - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **audienceId** | **Long**| The ID of the audience. | + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional] **profileQuery** | **String**| The filter to select a profile. | [optional] @@ -6273,8 +6273,8 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. Boolean withTotalResultSize = true; // Boolean | When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. try { @@ -6296,8 +6296,8 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional] **withTotalResultSize** | **Boolean**| When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. | [optional] @@ -6437,8 +6437,8 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. try { Campaign result = apiInstance.getCampaign(applicationId, campaignId); System.out.println(result); @@ -6458,8 +6458,8 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | ### Return type cool @@ -6517,8 +6517,8 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. OffsetDateTime rangeStart = new OffsetDateTime(); // OffsetDateTime | Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. OffsetDateTime rangeEnd = new OffsetDateTime(); // OffsetDateTime | Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. String granularity = "granularity_example"; // String | The time interval between the results in the returned time-series. @@ -6541,8 +6541,8 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | **rangeStart** | **OffsetDateTime**| Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | **rangeEnd** | **OffsetDateTime**| Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | **granularity** | **String**| The time interval between the results in the returned time-series. | [optional] [enum: 1 hour, 1 day, 1 week, 1 month, 1 year] @@ -6603,10 +6603,10 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. CampaignSearch body = new CampaignSearch(); // CampaignSearch | body - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. String campaignState = "campaignState_example"; // String | Filter results by the state of the campaign. - `enabled`: Campaigns that are scheduled, running (activated), or expired. - `running`: Campaigns that are running (activated). - `disabled`: Campaigns that are disabled. - `expired`: Campaigns that are expired. - `archived`: Campaigns that are archived. try { @@ -6628,10 +6628,10 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | **body** | [**CampaignSearch**](CampaignSearch.md)| body | - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional] **campaignState** | **String**| Filter results by the state of the campaign. - `enabled`: Campaigns that are scheduled, running (activated), or expired. - `running`: Campaigns that are running (activated). - `disabled`: Campaigns that are disabled. - `expired`: Campaigns that are expired. - `archived`: Campaigns that are archived. | [optional] [enum: enabled, disabled, archived, scheduled, running, expired, staged] @@ -6691,7 +6691,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer campaignGroupId = 56; // Integer | The ID of the campaign access group. + Long campaignGroupId = 56L; // Long | The ID of the campaign access group. try { CampaignGroup result = apiInstance.getCampaignGroup(campaignGroupId); System.out.println(result); @@ -6711,7 +6711,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **campaignGroupId** | **Integer**| The ID of the campaign access group. | + **campaignGroupId** | **Long**| The ID of the campaign access group. | ### Return type cool @@ -6769,8 +6769,8 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. try { InlineResponse20013 result = apiInstance.getCampaignGroups(pageSize, skip, sort); @@ -6791,8 +6791,8 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional] ### Return type cool @@ -6851,13 +6851,13 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. String state = "state_example"; // String | Filter results by the state of the campaign template. String name = "name_example"; // String | Filter results performing case-insensitive matching against the name of the campaign template. String tags = "tags_example"; // String | Filter results performing case-insensitive matching against the tags of the campaign template. When used in conjunction with the \"name\" query parameter, a logical OR will be performed to search both tags and name for the provided values. - Integer userId = 56; // Integer | Filter results by user ID. + Long userId = 56L; // Long | Filter results by user ID. try { InlineResponse20014 result = apiInstance.getCampaignTemplates(pageSize, skip, sort, state, name, tags, userId); System.out.println(result); @@ -6877,13 +6877,13 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional] **state** | **String**| Filter results by the state of the campaign template. | [optional] [enum: draft, enabled, disabled] **name** | **String**| Filter results performing case-insensitive matching against the name of the campaign template. | [optional] **tags** | **String**| Filter results performing case-insensitive matching against the tags of the campaign template. When used in conjunction with the \"name\" query parameter, a logical OR will be performed to search both tags and name for the provided values. | [optional] - **userId** | **Integer**| Filter results by user ID. | [optional] + **userId** | **Long**| Filter results by user ID. | [optional] ### Return type cool @@ -6941,18 +6941,18 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. String campaignState = "campaignState_example"; // String | Filter results by the state of the campaign. - `enabled`: Campaigns that are scheduled, running (activated), or expired. - `running`: Campaigns that are running (activated). - `disabled`: Campaigns that are disabled. - `expired`: Campaigns that are expired. - `archived`: Campaigns that are archived. String name = "name_example"; // String | Filter results performing case-insensitive matching against the name of the campaign. String tags = "tags_example"; // String | Filter results performing case-insensitive matching against the tags of the campaign. When used in conjunction with the \"name\" query parameter, a logical OR will be performed to search both tags and name for the provided values OffsetDateTime createdBefore = new OffsetDateTime(); // OffsetDateTime | Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the campaign creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. OffsetDateTime createdAfter = new OffsetDateTime(); // OffsetDateTime | Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the campaign creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. - Integer campaignGroupId = 56; // Integer | Filter results to campaigns owned by the specified campaign access group ID. - Integer templateId = 56; // Integer | The ID of the campaign template this campaign was created from. - Integer storeId = 56; // Integer | Filter results to campaigns linked to the specified store ID. + Long campaignGroupId = 56L; // Long | Filter results to campaigns owned by the specified campaign access group ID. + Long templateId = 56L; // Long | The ID of the campaign template this campaign was created from. + Long storeId = 56L; // Long | Filter results to campaigns linked to the specified store ID. try { InlineResponse2008 result = apiInstance.getCampaigns(applicationId, pageSize, skip, sort, campaignState, name, tags, createdBefore, createdAfter, campaignGroupId, templateId, storeId); System.out.println(result); @@ -6972,18 +6972,18 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional] **campaignState** | **String**| Filter results by the state of the campaign. - `enabled`: Campaigns that are scheduled, running (activated), or expired. - `running`: Campaigns that are running (activated). - `disabled`: Campaigns that are disabled. - `expired`: Campaigns that are expired. - `archived`: Campaigns that are archived. | [optional] [enum: enabled, disabled, archived, scheduled, running, expired, staged] **name** | **String**| Filter results performing case-insensitive matching against the name of the campaign. | [optional] **tags** | **String**| Filter results performing case-insensitive matching against the tags of the campaign. When used in conjunction with the \"name\" query parameter, a logical OR will be performed to search both tags and name for the provided values | [optional] **createdBefore** | **OffsetDateTime**| Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the campaign creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. | [optional] **createdAfter** | **OffsetDateTime**| Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the campaign creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. | [optional] - **campaignGroupId** | **Integer**| Filter results to campaigns owned by the specified campaign access group ID. | [optional] - **templateId** | **Integer**| The ID of the campaign template this campaign was created from. | [optional] - **storeId** | **Integer**| Filter results to campaigns linked to the specified store ID. | [optional] + **campaignGroupId** | **Long**| Filter results to campaigns owned by the specified campaign access group ID. | [optional] + **templateId** | **Long**| The ID of the campaign template this campaign was created from. | [optional] + **storeId** | **Long**| Filter results to campaigns linked to the specified store ID. | [optional] ### Return type cool @@ -7042,16 +7042,16 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. BigDecimal applicationId = new BigDecimal(); // BigDecimal | Filter results by Application ID. String entityPath = "entityPath_example"; // String | Filter results on a case insensitive matching of the url path of the entity - Integer userId = 56; // Integer | Filter results by user ID. + Long userId = 56L; // Long | Filter results by user ID. OffsetDateTime createdBefore = new OffsetDateTime(); // OffsetDateTime | Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the change creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. OffsetDateTime createdAfter = new OffsetDateTime(); // OffsetDateTime | Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the change creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. Boolean withTotalResultSize = true; // Boolean | When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. - Integer managementKeyId = 56; // Integer | Filter results that match the given management key ID. + Long managementKeyId = 56L; // Long | Filter results that match the given management key ID. Boolean includeOld = true; // Boolean | When this flag is set to false, the state without the change will not be returned. The default value is true. try { InlineResponse20044 result = apiInstance.getChanges(pageSize, skip, sort, applicationId, entityPath, userId, createdBefore, createdAfter, withTotalResultSize, managementKeyId, includeOld); @@ -7072,16 +7072,16 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional] **applicationId** | **BigDecimal**| Filter results by Application ID. | [optional] **entityPath** | **String**| Filter results on a case insensitive matching of the url path of the entity | [optional] - **userId** | **Integer**| Filter results by user ID. | [optional] + **userId** | **Long**| Filter results by user ID. | [optional] **createdBefore** | **OffsetDateTime**| Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the change creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. | [optional] **createdAfter** | **OffsetDateTime**| Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the change creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. | [optional] **withTotalResultSize** | **Boolean**| When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. | [optional] - **managementKeyId** | **Integer**| Filter results that match the given management key ID. | [optional] + **managementKeyId** | **Long**| Filter results that match the given management key ID. | [optional] **includeOld** | **Boolean**| When this flag is set to false, the state without the change will not be returned. The default value is true. | [optional] ### Return type cool @@ -7140,9 +7140,9 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. - Integer collectionId = 56; // Integer | The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint. try { Collection result = apiInstance.getCollection(applicationId, campaignId, collectionId); System.out.println(result); @@ -7162,9 +7162,9 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | - **collectionId** | **Integer**| The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint. | ### Return type cool @@ -7223,9 +7223,9 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer collectionId = 56; // Integer | The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. try { InlineResponse20021 result = apiInstance.getCollectionItems(collectionId, pageSize, skip); System.out.println(result); @@ -7245,9 +7245,9 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **collectionId** | **Integer**| The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. | - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. | + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] ### Return type cool @@ -7306,10 +7306,10 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. String value = "value_example"; // String | Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters. OffsetDateTime createdBefore = new OffsetDateTime(); // OffsetDateTime | Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. @@ -7317,7 +7317,7 @@ public class Example { String valid = "valid_example"; // String | Either \"expired\", \"validNow\", or \"validFuture\". The first option matches coupons in which the expiration date is set and in the past. The second matches coupons in which start date is null or in the past and expiration date is null or in the future, the third matches coupons in which start date is set and in the future. String usable = "usable_example"; // String | Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. String redeemed = "redeemed_example"; // String | - `true`: only coupons where `usageCounter > 0` will be returned. - `false`: only coupons where `usageCounter = 0` will be returned. - This field cannot be used in conjunction with the `usable` query parameter. - Integer referralId = 56; // Integer | Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. + Long referralId = 56L; // Long | Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. String recipientIntegrationId = "recipientIntegrationId_example"; // String | Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. String batchId = "batchId_example"; // String | Filter results by batches of coupons Boolean exactMatch = false; // Boolean | Filter results to an exact case-insensitive matching against the coupon code. @@ -7345,10 +7345,10 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional] **value** | **String**| Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters. | [optional] **createdBefore** | **OffsetDateTime**| Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. | [optional] @@ -7356,7 +7356,7 @@ Name | Type | Description | Notes **valid** | **String**| Either \"expired\", \"validNow\", or \"validFuture\". The first option matches coupons in which the expiration date is set and in the past. The second matches coupons in which start date is null or in the past and expiration date is null or in the future, the third matches coupons in which start date is set and in the future. | [optional] [enum: expired, validNow, validFuture] **usable** | **String**| Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. | [optional] [enum: true, false] **redeemed** | **String**| - `true`: only coupons where `usageCounter > 0` will be returned. - `false`: only coupons where `usageCounter = 0` will be returned. - This field cannot be used in conjunction with the `usable` query parameter. | [optional] [enum: true, false] - **referralId** | **Integer**| Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. | [optional] + **referralId** | **Long**| Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. | [optional] **recipientIntegrationId** | **String**| Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. | [optional] **batchId** | **String**| Filter results by batches of coupons | [optional] **exactMatch** | **Boolean**| Filter results to an exact case-insensitive matching against the coupon code. | [optional] [default to false] @@ -7424,10 +7424,10 @@ public class Example { ManagementApi apiInstance = new ManagementApi(defaultClient); OffsetDateTime rangeStart = new OffsetDateTime(); // OffsetDateTime | Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. OffsetDateTime rangeEnd = new OffsetDateTime(); // OffsetDateTime | Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer customerId = 56; // Integer | The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long customerId = 56L; // Long | The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. try { CustomerActivityReport result = apiInstance.getCustomerActivityReport(rangeStart, rangeEnd, applicationId, customerId, pageSize, skip); System.out.println(result); @@ -7449,10 +7449,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **rangeStart** | **OffsetDateTime**| Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | **rangeEnd** | **OffsetDateTime**| Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **customerId** | **Integer**| The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. | - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **customerId** | **Long**| The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. | + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] ### Return type cool @@ -7512,9 +7512,9 @@ public class Example { ManagementApi apiInstance = new ManagementApi(defaultClient); OffsetDateTime rangeStart = new OffsetDateTime(); // OffsetDateTime | Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. OffsetDateTime rangeEnd = new OffsetDateTime(); // OffsetDateTime | Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. String name = "name_example"; // String | Only return reports matching the customer name. String integrationId = "integrationId_example"; // String | Filter results performing an exact matching against the profile integration identifier. @@ -7541,9 +7541,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **rangeStart** | **OffsetDateTime**| Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | **rangeEnd** | **OffsetDateTime**| Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional] **name** | **String**| Only return reports matching the customer name. | [optional] **integrationId** | **String**| Filter results performing an exact matching against the profile integration identifier. | [optional] @@ -7606,10 +7606,10 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer customerId = 56; // Integer | The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long customerId = 56L; // Long | The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. try { CustomerAnalytics result = apiInstance.getCustomerAnalytics(applicationId, customerId, pageSize, skip, sort); @@ -7630,10 +7630,10 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **customerId** | **Integer**| The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. | - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **customerId** | **Long**| The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. | + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional] ### Return type cool @@ -7692,7 +7692,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer customerId = 56; // Integer | The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. + Long customerId = 56L; // Long | The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. try { CustomerProfile result = apiInstance.getCustomerProfile(customerId); System.out.println(result); @@ -7712,7 +7712,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **customerId** | **Integer**| The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. | + **customerId** | **Long**| The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. | ### Return type cool @@ -7770,11 +7770,11 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. String integrationId = "integrationId_example"; // String | The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier. - Integer pageSize = 50; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. - Integer achievementId = 56; // Integer | The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) endpoint. + Long pageSize = 50lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. + Long achievementId = 56L; // Long | The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) endpoint. String title = "title_example"; // String | Filter results by the `title` of an achievement. try { InlineResponse20049 result = apiInstance.getCustomerProfileAchievementProgress(applicationId, integrationId, pageSize, skip, achievementId, title); @@ -7795,11 +7795,11 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | **integrationId** | **String**| The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier. | - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 50] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] - **achievementId** | **Integer**| The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) endpoint. | [optional] + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 50l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] + **achievementId** | **Long**| The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) endpoint. | [optional] **title** | **String**| Filter results by the `title` of an achievement. | [optional] ### Return type cool @@ -7860,8 +7860,8 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. Boolean sandbox = false; // Boolean | Indicates whether you are pointing to a sandbox or live customer. try { InlineResponse20027 result = apiInstance.getCustomerProfiles(pageSize, skip, sandbox); @@ -7882,8 +7882,8 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **sandbox** | **Boolean**| Indicates whether you are pointing to a sandbox or live customer. | [optional] [default to false] ### Return type cool @@ -7943,8 +7943,8 @@ public class Example { ManagementApi apiInstance = new ManagementApi(defaultClient); CustomerProfileSearchQuery body = new CustomerProfileSearchQuery(); // CustomerProfileSearchQuery | body - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. Boolean sandbox = false; // Boolean | Indicates whether you are pointing to a sandbox or live customer. try { InlineResponse20026 result = apiInstance.getCustomersByAttributes(body, pageSize, skip, sandbox); @@ -7966,8 +7966,8 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **body** | [**CustomerProfileSearchQuery**](CustomerProfileSearchQuery.md)| body | - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **sandbox** | **Boolean**| Indicates whether you are pointing to a sandbox or live customer. | [optional] [default to false] ### Return type cool @@ -8026,7 +8026,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer loyaltyProgramId = 56; // Integer | Identifier of the loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. + Long loyaltyProgramId = 56L; // Long | Identifier of the loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. OffsetDateTime rangeStart = new OffsetDateTime(); // OffsetDateTime | Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. OffsetDateTime rangeEnd = new OffsetDateTime(); // OffsetDateTime | Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. String subledgerId = "subledgerId_example"; // String | The ID of the subledger by which we filter the data. @@ -8049,7 +8049,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **loyaltyProgramId** | **Integer**| Identifier of the loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | + **loyaltyProgramId** | **Long**| Identifier of the loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | **rangeStart** | **OffsetDateTime**| Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | **rangeEnd** | **OffsetDateTime**| Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | **subledgerId** | **String**| The ID of the subledger by which we filter the data. | [optional] @@ -8112,8 +8112,8 @@ public class Example { ManagementApi apiInstance = new ManagementApi(defaultClient); String name = "name_example"; // String | Filter results to event types with the given name. This parameter implies `includeOldVersions`. Boolean includeOldVersions = false; // Boolean | Include all versions of every event type. - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. try { InlineResponse20042 result = apiInstance.getEventTypes(name, includeOldVersions, pageSize, skip, sort); @@ -8136,8 +8136,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| Filter results to event types with the given name. This parameter implies `includeOldVersions`. | [optional] **includeOldVersions** | **Boolean**| Include all versions of every event type. | [optional] [default to false] - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional] ### Return type cool @@ -8196,10 +8196,10 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. BigDecimal applicationId = new BigDecimal(); // BigDecimal | Filter results by Application ID. - Integer campaignId = 56; // Integer | Filter by the campaign ID on which the limit counters are used. + Long campaignId = 56L; // Long | Filter by the campaign ID on which the limit counters are used. String entity = "entity_example"; // String | The name of the entity type that was exported. try { InlineResponse20045 result = apiInstance.getExports(pageSize, skip, applicationId, campaignId, entity); @@ -8220,10 +8220,10 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **applicationId** | **BigDecimal**| Filter results by Application ID. | [optional] - **campaignId** | **Integer**| Filter by the campaign ID on which the limit counters are used. | [optional] + **campaignId** | **Long**| Filter by the campaign ID on which the limit counters are used. | [optional] **entity** | **String**| The name of the entity type that was exported. | [optional] [enum: Coupon, Referral, Effect, CustomerSession, LoyaltyLedger, LoyaltyLedgerLog, Collection, AudienceMembership] ### Return type cool @@ -8282,7 +8282,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer loyaltyProgramId = 56; // Integer | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. + Long loyaltyProgramId = 56L; // Long | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. String loyaltyCardId = "loyaltyCardId_example"; // String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. try { LoyaltyCard result = apiInstance.getLoyaltyCard(loyaltyProgramId, loyaltyCardId); @@ -8303,7 +8303,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **loyaltyProgramId** | **Integer**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | + **loyaltyProgramId** | **Long**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | **loyaltyCardId** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. | ### Return type cool @@ -8365,12 +8365,12 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer loyaltyProgramId = 56; // Integer | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. + Long loyaltyProgramId = 56L; // Long | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. String loyaltyCardId = "loyaltyCardId_example"; // String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. OffsetDateTime startDate = new OffsetDateTime(); // OffsetDateTime | Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. OffsetDateTime endDate = new OffsetDateTime(); // OffsetDateTime | Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. String subledgerId = "subledgerId_example"; // String | The ID of the subledger by which we filter the data. try { InlineResponse20019 result = apiInstance.getLoyaltyCardTransactionLogs(loyaltyProgramId, loyaltyCardId, startDate, endDate, pageSize, skip, subledgerId); @@ -8391,12 +8391,12 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **loyaltyProgramId** | **Integer**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | + **loyaltyProgramId** | **Long**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | **loyaltyCardId** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. | **startDate** | **OffsetDateTime**| Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional] **endDate** | **OffsetDateTime**| Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional] - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **subledgerId** | **String**| The ID of the subledger by which we filter the data. | [optional] ### Return type cool @@ -8457,12 +8457,12 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer loyaltyProgramId = 56; // Integer | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long loyaltyProgramId = 56L; // Long | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. String identifier = "identifier_example"; // String | The card code by which to filter loyalty cards in the response. - Integer profileId = 56; // Integer | Filter results by customer profile ID. + Long profileId = 56L; // Long | Filter results by customer profile ID. String batchId = "batchId_example"; // String | Filter results by loyalty card batch ID. try { InlineResponse20018 result = apiInstance.getLoyaltyCards(loyaltyProgramId, pageSize, skip, sort, identifier, profileId, batchId); @@ -8483,12 +8483,12 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **loyaltyProgramId** | **Integer**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **loyaltyProgramId** | **Long**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional] **identifier** | **String**| The card code by which to filter loyalty cards in the response. | [optional] - **profileId** | **Integer**| Filter results by customer profile ID. | [optional] + **profileId** | **Long**| Filter results by customer profile ID. | [optional] **batchId** | **String**| Filter results by loyalty card batch ID. | [optional] ### Return type cool @@ -8629,7 +8629,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer loyaltyProgramId = 56; // Integer | Identifier of the loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. + Long loyaltyProgramId = 56L; // Long | Identifier of the loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. try { LoyaltyProgram result = apiInstance.getLoyaltyProgram(loyaltyProgramId); System.out.println(result); @@ -8649,7 +8649,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **loyaltyProgramId** | **Integer**| Identifier of the loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | + **loyaltyProgramId** | **Long**| Identifier of the loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | ### Return type cool @@ -8707,13 +8707,13 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer loyaltyProgramId = 56; // Integer | Identifier of the loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. + Long loyaltyProgramId = 56L; // Long | Identifier of the loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. String loyaltyTransactionType = "loyaltyTransactionType_example"; // String | Filter results by loyalty transaction type: - `manual`: Loyalty transaction that was done manually. - `session`: Loyalty transaction that resulted from a customer session. - `import`: Loyalty transaction that was imported from a CSV file. String subledgerId = "subledgerId_example"; // String | The ID of the subledger by which we filter the data. OffsetDateTime startDate = new OffsetDateTime(); // OffsetDateTime | Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. OffsetDateTime endDate = new OffsetDateTime(); // OffsetDateTime | Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. - Integer pageSize = 50; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long pageSize = 50lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. try { InlineResponse20017 result = apiInstance.getLoyaltyProgramTransactions(loyaltyProgramId, loyaltyTransactionType, subledgerId, startDate, endDate, pageSize, skip); System.out.println(result); @@ -8733,13 +8733,13 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **loyaltyProgramId** | **Integer**| Identifier of the loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | + **loyaltyProgramId** | **Long**| Identifier of the loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | **loyaltyTransactionType** | **String**| Filter results by loyalty transaction type: - `manual`: Loyalty transaction that was done manually. - `session`: Loyalty transaction that resulted from a customer session. - `import`: Loyalty transaction that was imported from a CSV file. | [optional] [enum: manual, session, import] **subledgerId** | **String**| The ID of the subledger by which we filter the data. | [optional] **startDate** | **OffsetDateTime**| Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional] **endDate** | **OffsetDateTime**| Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional] - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 50] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 50l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] ### Return type cool @@ -8874,7 +8874,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer loyaltyProgramId = 56; // Integer | Identifier of the loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. + Long loyaltyProgramId = 56L; // Long | Identifier of the loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. try { LoyaltyDashboardData result = apiInstance.getLoyaltyStatistics(loyaltyProgramId); System.out.println(result); @@ -8894,7 +8894,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **loyaltyProgramId** | **Integer**| Identifier of the loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | + **loyaltyProgramId** | **Long**| Identifier of the loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | ### Return type cool @@ -8963,8 +8963,8 @@ public class Example { Boolean isSuccessful = true; // Boolean | Indicates whether to return log entries with either successful or unsuccessful HTTP response codes. When set to`true`, only log entries with `2xx` response codes are returned. When set to `false`, only log entries with `4xx` and `5xx` response codes are returned. BigDecimal applicationId = new BigDecimal(); // BigDecimal | Filter results by Application ID. BigDecimal campaignId = new BigDecimal(); // BigDecimal | Filter results by campaign ID. - Integer loyaltyProgramId = 56; // Integer | Identifier of the loyalty program. - Integer responseCode = 56; // Integer | Filter results by response status code. + Long loyaltyProgramId = 56L; // Long | Identifier of the loyalty program. + Long responseCode = 56L; // Long | Filter results by response status code. String webhookIDs = "webhookIDs_example"; // String | Filter results by webhook ID (include up to 30 values, separated by a comma). try { MessageLogEntries result = apiInstance.getMessageLogs(entityType, messageID, changeType, notificationIDs, createdBefore, createdAfter, cursor, period, isSuccessful, applicationId, campaignId, loyaltyProgramId, responseCode, webhookIDs); @@ -8996,8 +8996,8 @@ Name | Type | Description | Notes **isSuccessful** | **Boolean**| Indicates whether to return log entries with either successful or unsuccessful HTTP response codes. When set to`true`, only log entries with `2xx` response codes are returned. When set to `false`, only log entries with `4xx` and `5xx` response codes are returned. | [optional] **applicationId** | **BigDecimal**| Filter results by Application ID. | [optional] **campaignId** | **BigDecimal**| Filter results by campaign ID. | [optional] - **loyaltyProgramId** | **Integer**| Identifier of the loyalty program. | [optional] - **responseCode** | **Integer**| Filter results by response status code. | [optional] + **loyaltyProgramId** | **Long**| Identifier of the loyalty program. | [optional] + **responseCode** | **Long**| Filter results by response status code. | [optional] **webhookIDs** | **String**| Filter results by webhook ID (include up to 30 values, separated by a comma). | [optional] ### Return type cool @@ -9056,10 +9056,10 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. String code = "code_example"; // String | Filter results performing case-insensitive matching against the referral code. Both the code and the query are folded to remove all non-alpha-numeric characters. OffsetDateTime createdBefore = new OffsetDateTime(); // OffsetDateTime | Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the referral creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. @@ -9086,10 +9086,10 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional] **code** | **String**| Filter results performing case-insensitive matching against the referral code. Both the code and the query are folded to remove all non-alpha-numeric characters. | [optional] **createdBefore** | **OffsetDateTime**| Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the referral creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. | [optional] @@ -9154,7 +9154,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer roleId = 56; // Integer | The ID of role. **Note**: To find the ID of a role, use the [List roles](/management-api#tag/Roles/operation/listAllRolesV2) endpoint. + Long roleId = 56L; // Long | The ID of role. **Note**: To find the ID of a role, use the [List roles](/management-api#tag/Roles/operation/listAllRolesV2) endpoint. try { RoleV2 result = apiInstance.getRoleV2(roleId); System.out.println(result); @@ -9174,7 +9174,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **roleId** | **Integer**| The ID of role. **Note**: To find the ID of a role, use the [List roles](/management-api#tag/Roles/operation/listAllRolesV2) endpoint. | + **roleId** | **Long**| The ID of role. **Note**: To find the ID of a role, use the [List roles](/management-api#tag/Roles/operation/listAllRolesV2) endpoint. | ### Return type cool @@ -9232,9 +9232,9 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. - Integer rulesetId = 56; // Integer | The ID of the ruleset. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long rulesetId = 56L; // Long | The ID of the ruleset. try { Ruleset result = apiInstance.getRuleset(applicationId, campaignId, rulesetId); System.out.println(result); @@ -9254,9 +9254,9 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | - **rulesetId** | **Integer**| The ID of the ruleset. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **rulesetId** | **Long**| The ID of the ruleset. | ### Return type cool @@ -9314,10 +9314,10 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. try { InlineResponse2009 result = apiInstance.getRulesets(applicationId, campaignId, pageSize, skip, sort); @@ -9338,10 +9338,10 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional] ### Return type cool @@ -9400,7 +9400,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. String storeId = "storeId_example"; // String | The ID of the store. You can get this ID with the [List stores](#tag/Stores/operation/listStores) endpoint. try { Store result = apiInstance.getStore(applicationId, storeId); @@ -9421,7 +9421,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | **storeId** | **String**| The ID of the store. You can get this ID with the [List stores](#tag/Stores/operation/listStores) endpoint. | ### Return type cool @@ -9481,7 +9481,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer userId = 56; // Integer | The ID of the user. + Long userId = 56L; // Long | The ID of the user. try { User result = apiInstance.getUser(userId); System.out.println(result); @@ -9501,7 +9501,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **userId** | **Integer**| The ID of the user. | + **userId** | **Long**| The ID of the user. | ### Return type cool @@ -9559,8 +9559,8 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. try { InlineResponse20043 result = apiInstance.getUsers(pageSize, skip, sort); @@ -9581,8 +9581,8 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional] ### Return type cool @@ -9641,7 +9641,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer webhookId = 56; // Integer | The ID of the webhook. You can find the ID in the Campaign Manager's URL when you display the details of the webhook in **Account** > **Webhooks**. + Long webhookId = 56L; // Long | The ID of the webhook. You can find the ID in the Campaign Manager's URL when you display the details of the webhook in **Account** > **Webhooks**. try { Webhook result = apiInstance.getWebhook(webhookId); System.out.println(result); @@ -9661,7 +9661,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **webhookId** | **Integer**| The ID of the webhook. You can find the ID in the Campaign Manager's URL when you display the details of the webhook in **Account** > **Webhooks**. | + **webhookId** | **Long**| The ID of the webhook. You can find the ID in the Campaign Manager's URL when you display the details of the webhook in **Account** > **Webhooks**. | ### Return type cool @@ -9719,8 +9719,8 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. String integrationRequestUuid = "integrationRequestUuid_example"; // String | Filter results by integration request UUID. BigDecimal webhookId = new BigDecimal(); // BigDecimal | Filter results by webhook id. @@ -9747,8 +9747,8 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional] **integrationRequestUuid** | **String**| Filter results by integration request UUID. | [optional] **webhookId** | **BigDecimal**| Filter results by webhook id. | [optional] @@ -9813,8 +9813,8 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. String status = "status_example"; // String | Filter results by HTTP status codes. BigDecimal webhookId = new BigDecimal(); // BigDecimal | Filter results by webhook id. @@ -9842,8 +9842,8 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional] **status** | **String**| Filter results by HTTP status codes. | [optional] [enum: success, error] **webhookId** | **BigDecimal**| Filter results by webhook id. | [optional] @@ -9911,11 +9911,11 @@ public class Example { ManagementApi apiInstance = new ManagementApi(defaultClient); String applicationIds = "applicationIds_example"; // String | Checks if the given catalog or its attributes are referenced in the specified Application ID. **Note**: If no Application ID is provided, we check for all connected Applications. String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. String creationType = "creationType_example"; // String | Filter results by creation type. String visibility = "visibility_example"; // String | Filter results by visibility. - Integer outgoingIntegrationsTypeId = 56; // Integer | Filter results by outgoing integration type ID. + Long outgoingIntegrationsTypeId = 56L; // Long | Filter results by outgoing integration type ID. String title = "title_example"; // String | Filter results performing case-insensitive matching against the webhook title. try { InlineResponse20039 result = apiInstance.getWebhooks(applicationIds, sort, pageSize, skip, creationType, visibility, outgoingIntegrationsTypeId, title); @@ -9938,11 +9938,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **applicationIds** | **String**| Checks if the given catalog or its attributes are referenced in the specified Application ID. **Note**: If no Application ID is provided, we check for all connected Applications. | [optional] **sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional] - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **creationType** | **String**| Filter results by creation type. | [optional] [enum: templateWebhooks, webhooks] **visibility** | **String**| Filter results by visibility. | [optional] [enum: visible, hidden] - **outgoingIntegrationsTypeId** | **Integer**| Filter results by outgoing integration type ID. | [optional] + **outgoingIntegrationsTypeId** | **Long**| Filter results by outgoing integration type ID. | [optional] **title** | **String**| Filter results performing case-insensitive matching against the webhook title. | [optional] ### Return type cool @@ -10001,7 +10001,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer collectionId = 56; // Integer | The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. + Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. String upFile = "upFile_example"; // String | The file containing the data that is being imported. try { ModelImport result = apiInstance.importAccountCollection(collectionId, upFile); @@ -10022,7 +10022,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **collectionId** | **Integer**| The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. | + **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. | **upFile** | **String**| The file containing the data that is being imported. | [optional] ### Return type cool @@ -10083,7 +10083,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer attributeId = 56; // Integer | The ID of the attribute. You can find the ID in the Campaign Manager's URL when you display the details of an attribute in **Account** > **Tools** > **Attributes**. + Long attributeId = 56L; // Long | The ID of the attribute. You can find the ID in the Campaign Manager's URL when you display the details of an attribute in **Account** > **Tools** > **Attributes**. String upFile = "upFile_example"; // String | The file containing the data that is being imported. try { ModelImport result = apiInstance.importAllowedList(attributeId, upFile); @@ -10104,7 +10104,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **attributeId** | **Integer**| The ID of the attribute. You can find the ID in the Campaign Manager's URL when you display the details of an attribute in **Account** > **Tools** > **Attributes**. | + **attributeId** | **Long**| The ID of the attribute. You can find the ID in the Campaign Manager's URL when you display the details of an attribute in **Account** > **Tools** > **Attributes**. | **upFile** | **String**| The file containing the data that is being imported. | [optional] ### Return type cool @@ -10166,7 +10166,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer audienceId = 56; // Integer | The ID of the audience. + Long audienceId = 56L; // Long | The ID of the audience. String upFile = "upFile_example"; // String | The file containing the data that is being imported. try { ModelImport result = apiInstance.importAudiencesMemberships(audienceId, upFile); @@ -10187,7 +10187,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **audienceId** | **Integer**| The ID of the audience. | + **audienceId** | **Long**| The ID of the audience. | **upFile** | **String**| The file containing the data that is being imported. | [optional] ### Return type cool @@ -10249,8 +10249,8 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. String upFile = "upFile_example"; // String | The file containing the data that is being imported. try { ModelImport result = apiInstance.importCampaignStores(applicationId, campaignId, upFile); @@ -10271,8 +10271,8 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | **upFile** | **String**| The file containing the data that is being imported. | [optional] ### Return type cool @@ -10334,9 +10334,9 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. - Integer collectionId = 56; // Integer | The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint. String upFile = "upFile_example"; // String | The file containing the data that is being imported. try { ModelImport result = apiInstance.importCollection(applicationId, campaignId, collectionId, upFile); @@ -10357,9 +10357,9 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | - **collectionId** | **Integer**| The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint. | **upFile** | **String**| The file containing the data that is being imported. | [optional] ### Return type cool @@ -10419,8 +10419,8 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. Boolean skipDuplicates = true; // Boolean | An indicator of whether to skip duplicate coupon values instead of causing an error. Duplicate values are ignored when `skipDuplicates=true`. String upFile = "upFile_example"; // String | The file containing the data that is being imported. try { @@ -10442,8 +10442,8 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | **skipDuplicates** | **Boolean**| An indicator of whether to skip duplicate coupon values instead of causing an error. Duplicate values are ignored when `skipDuplicates=true`. | [optional] **upFile** | **String**| The file containing the data that is being imported. | [optional] @@ -10503,7 +10503,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer loyaltyProgramId = 56; // Integer | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. + Long loyaltyProgramId = 56L; // Long | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. String upFile = "upFile_example"; // String | The file containing the data that is being imported. try { ModelImport result = apiInstance.importLoyaltyCards(loyaltyProgramId, upFile); @@ -10524,7 +10524,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **loyaltyProgramId** | **Integer**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | + **loyaltyProgramId** | **Long**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | **upFile** | **String**| The file containing the data that is being imported. | [optional] ### Return type cool @@ -10585,7 +10585,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer loyaltyProgramId = 56; // Integer | Identifier of the loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. + Long loyaltyProgramId = 56L; // Long | Identifier of the loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. String upFile = "upFile_example"; // String | The file containing the data that is being imported. try { ModelImport result = apiInstance.importLoyaltyCustomersTiers(loyaltyProgramId, upFile); @@ -10606,7 +10606,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **loyaltyProgramId** | **Integer**| Identifier of the loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | + **loyaltyProgramId** | **Long**| Identifier of the loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | **upFile** | **String**| The file containing the data that is being imported. | [optional] ### Return type cool @@ -10668,7 +10668,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer loyaltyProgramId = 56; // Integer | Identifier of the loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. + Long loyaltyProgramId = 56L; // Long | Identifier of the loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. String upFile = "upFile_example"; // String | The file containing the data that is being imported. try { ModelImport result = apiInstance.importLoyaltyPoints(loyaltyProgramId, upFile); @@ -10689,7 +10689,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **loyaltyProgramId** | **Integer**| Identifier of the loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | + **loyaltyProgramId** | **Long**| Identifier of the loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | **upFile** | **String**| The file containing the data that is being imported. | [optional] ### Return type cool @@ -10748,7 +10748,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer poolId = 56; // Integer | The ID of the pool. You can find it in the Campaign Manager, in the **Giveaways** section. + Long poolId = 56L; // Long | The ID of the pool. You can find it in the Campaign Manager, in the **Giveaways** section. String upFile = "upFile_example"; // String | The file containing the data that is being imported. try { ModelImport result = apiInstance.importPoolGiveaways(poolId, upFile); @@ -10769,7 +10769,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **poolId** | **Integer**| The ID of the pool. You can find it in the Campaign Manager, in the **Giveaways** section. | + **poolId** | **Long**| The ID of the pool. You can find it in the Campaign Manager, in the **Giveaways** section. | **upFile** | **String**| The file containing the data that is being imported. | [optional] ### Return type cool @@ -10828,8 +10828,8 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. String upFile = "upFile_example"; // String | The file containing the data that is being imported. try { ModelImport result = apiInstance.importReferrals(applicationId, campaignId, upFile); @@ -10850,8 +10850,8 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | **upFile** | **String**| The file containing the data that is being imported. | [optional] ### Return type cool @@ -10987,8 +10987,8 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. Boolean withTotalResultSize = true; // Boolean | When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. String name = "name_example"; // String | Filter by collection name. @@ -11011,8 +11011,8 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional] **withTotalResultSize** | **Boolean**| When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. | [optional] **name** | **String**| Filter by collection name. | [optional] @@ -11076,10 +11076,10 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. - Integer pageSize = 50; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long pageSize = 50lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. String title = "title_example"; // String | Filter by the display name for the achievement in the campaign manager. **Note**: If no `title` is provided, all the achievements from the campaign are returned. try { InlineResponse20048 result = apiInstance.listAchievements(applicationId, campaignId, pageSize, skip, title); @@ -11100,10 +11100,10 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 50] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 50l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **title** | **String**| Filter by the display name for the achievement in the campaign manager. **Note**: If no `title` is provided, all the achievements from the campaign are returned. | [optional] ### Return type cool @@ -11236,9 +11236,9 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer catalogId = 56; // Integer | The ID of the catalog. You can find the ID in the Campaign Manager in **Account** > **Tools** > **Cart item catalogs**. - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long catalogId = 56L; // Long | The ID of the catalog. You can find the ID in the Campaign Manager in **Account** > **Tools** > **Cart item catalogs**. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. Boolean withTotalResultSize = true; // Boolean | When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. List sku = Arrays.asList(); // List | Filter results by one or more SKUs. Must be exact match. List productNames = Arrays.asList(); // List | Filter results by one or more product names. Must be exact match. @@ -11261,9 +11261,9 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **catalogId** | **Integer**| The ID of the catalog. You can find the ID in the Campaign Manager in **Account** > **Tools** > **Cart item catalogs**. | - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **catalogId** | **Long**| The ID of the catalog. You can find the ID in the Campaign Manager in **Account** > **Tools** > **Cart item catalogs**. | + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **withTotalResultSize** | **Boolean**| When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. | [optional] **sku** | [**List<String>**](String.md)| Filter results by one or more SKUs. Must be exact match. | [optional] **productNames** | [**List<String>**](String.md)| Filter results by one or more product names. Must be exact match. | [optional] @@ -11324,10 +11324,10 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. Boolean withTotalResultSize = true; // Boolean | When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. String name = "name_example"; // String | Filter by collection name. @@ -11350,10 +11350,10 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional] **withTotalResultSize** | **Boolean**| When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. | [optional] **name** | **String**| Filter by collection name. | [optional] @@ -11415,9 +11415,9 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. Boolean withTotalResultSize = true; // Boolean | When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. String name = "name_example"; // String | Filter by collection name. @@ -11440,9 +11440,9 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional] **withTotalResultSize** | **Boolean**| When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. | [optional] **name** | **String**| Filter by collection name. | [optional] @@ -11504,9 +11504,9 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. Boolean withTotalResultSize = true; // Boolean | When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. BigDecimal campaignId = new BigDecimal(); // BigDecimal | Filter results by campaign ID. @@ -11532,9 +11532,9 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional] **withTotalResultSize** | **Boolean**| When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. | [optional] **campaignId** | **BigDecimal**| Filter results by campaign ID. | [optional] @@ -11911,7 +11911,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer userId = 56; // Integer | The ID of the user. + Long userId = 56L; // Long | The ID of the user. try { apiInstance.scimDeleteUser(userId); } catch (ApiException e) { @@ -11930,7 +11930,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **userId** | **Integer**| The ID of the user. | + **userId** | **Long**| The ID of the user. | ### Return type cool @@ -12210,7 +12210,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer userId = 56; // Integer | The ID of the user. + Long userId = 56L; // Long | The ID of the user. try { ScimUser result = apiInstance.scimGetUser(userId); System.out.println(result); @@ -12230,7 +12230,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **userId** | **Integer**| The ID of the user. | + **userId** | **Long**| The ID of the user. | ### Return type cool @@ -12362,7 +12362,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer userId = 56; // Integer | The ID of the user. + Long userId = 56L; // Long | The ID of the user. ScimPatchRequest body = new ScimPatchRequest(); // ScimPatchRequest | body try { ScimUser result = apiInstance.scimPatchUser(userId, body); @@ -12383,7 +12383,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **userId** | **Integer**| The ID of the user. | + **userId** | **Long**| The ID of the user. | **body** | [**ScimPatchRequest**](ScimPatchRequest.md)| body | ### Return type cool @@ -12442,7 +12442,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer userId = 56; // Integer | The ID of the user. + Long userId = 56L; // Long | The ID of the user. ScimNewUser body = new ScimNewUser(); // ScimNewUser | body try { ScimUser result = apiInstance.scimReplaceUserAttributes(userId, body); @@ -12463,7 +12463,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **userId** | **Integer**| The ID of the user. | + **userId** | **Long**| The ID of the user. | **body** | [**ScimNewUser**](ScimNewUser.md)| body | ### Return type cool @@ -12522,17 +12522,17 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. Object body = null; // Object | body - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. String value = "value_example"; // String | Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters. OffsetDateTime createdBefore = new OffsetDateTime(); // OffsetDateTime | Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. OffsetDateTime createdAfter = new OffsetDateTime(); // OffsetDateTime | Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. String valid = "valid_example"; // String | Either \"expired\", \"validNow\", or \"validFuture\". The first option matches coupons in which the expiration date is set and in the past. The second matches coupons in which start date is null or in the past and expiration date is null or in the future, the third matches coupons in which start date is set and in the future. String usable = "usable_example"; // String | Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. - Integer referralId = 56; // Integer | Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. + Long referralId = 56L; // Long | Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. String recipientIntegrationId = "recipientIntegrationId_example"; // String | Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. String batchId = "batchId_example"; // String | Filter results by batches of coupons Boolean exactMatch = false; // Boolean | Filter results to an exact case-insensitive matching against the coupon code. @@ -12556,17 +12556,17 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | **body** | **Object**| body | - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional] **value** | **String**| Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters. | [optional] **createdBefore** | **OffsetDateTime**| Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. | [optional] **createdAfter** | **OffsetDateTime**| Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. | [optional] **valid** | **String**| Either \"expired\", \"validNow\", or \"validFuture\". The first option matches coupons in which the expiration date is set and in the past. The second matches coupons in which start date is null or in the past and expiration date is null or in the future, the third matches coupons in which start date is set and in the future. | [optional] [enum: expired, validNow, validFuture] **usable** | **String**| Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. | [optional] [enum: true, false] - **referralId** | **Integer**| Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. | [optional] + **referralId** | **Long**| Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. | [optional] **recipientIntegrationId** | **String**| Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. | [optional] **batchId** | **String**| Filter results by batches of coupons | [optional] **exactMatch** | **Boolean**| Filter results to an exact case-insensitive matching against the coupon code. | [optional] [default to false] @@ -12628,18 +12628,18 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. Object body = null; // Object | body - Integer pageSize = 1000; // Integer | The number of items in the response. - Integer skip = 56; // Integer | The number of items to skip when paging through large result sets. + Long pageSize = 1000lL; // Long | The number of items in the response. + Long skip = 56L; // Long | The number of items to skip when paging through large result sets. String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. String value = "value_example"; // String | Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters. OffsetDateTime createdBefore = new OffsetDateTime(); // OffsetDateTime | Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. OffsetDateTime createdAfter = new OffsetDateTime(); // OffsetDateTime | Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. String valid = "valid_example"; // String | Either \"expired\", \"validNow\", or \"validFuture\". The first option matches coupons in which the expiration date is set and in the past. The second matches coupons in which start date is null or in the past and expiration date is null or in the future, the third matches coupons in which start date is set and in the future. String usable = "usable_example"; // String | Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. - Integer referralId = 56; // Integer | Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. + Long referralId = 56L; // Long | Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. String recipientIntegrationId = "recipientIntegrationId_example"; // String | Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. Boolean exactMatch = false; // Boolean | Filter results to an exact case-insensitive matching against the coupon code. String batchId = "batchId_example"; // String | Filter results by batches of coupons @@ -12662,18 +12662,18 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | **body** | **Object**| body | - **pageSize** | **Integer**| The number of items in the response. | [optional] [default to 1000] - **skip** | **Integer**| The number of items to skip when paging through large result sets. | [optional] + **pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l] + **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional] **sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional] **value** | **String**| Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters. | [optional] **createdBefore** | **OffsetDateTime**| Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. | [optional] **createdAfter** | **OffsetDateTime**| Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. | [optional] **valid** | **String**| Either \"expired\", \"validNow\", or \"validFuture\". The first option matches coupons in which the expiration date is set and in the past. The second matches coupons in which start date is null or in the past and expiration date is null or in the future, the third matches coupons in which start date is set and in the future. | [optional] [enum: expired, validNow, validFuture] **usable** | **String**| Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. | [optional] [enum: true, false] - **referralId** | **Integer**| Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. | [optional] + **referralId** | **Long**| Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. | [optional] **recipientIntegrationId** | **String**| Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. | [optional] **exactMatch** | **Boolean**| Filter results to an exact case-insensitive matching against the coupon code. | [optional] [default to false] **batchId** | **String**| Filter results by batches of coupons | [optional] @@ -12734,7 +12734,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer loyaltyProgramId = 56; // Integer | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. + Long loyaltyProgramId = 56L; // Long | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. String loyaltyCardId = "loyaltyCardId_example"; // String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. TransferLoyaltyCard body = new TransferLoyaltyCard(); // TransferLoyaltyCard | body try { @@ -12755,7 +12755,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **loyaltyProgramId** | **Integer**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | + **loyaltyProgramId** | **Long**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | **loyaltyCardId** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. | **body** | [**TransferLoyaltyCard**](TransferLoyaltyCard.md)| body | @@ -12818,7 +12818,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer collectionId = 56; // Integer | The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. + Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. UpdateCollection body = new UpdateCollection(); // UpdateCollection | body try { Collection result = apiInstance.updateAccountCollection(collectionId, body); @@ -12839,7 +12839,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **collectionId** | **Integer**| The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. | + **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. | **body** | [**UpdateCollection**](UpdateCollection.md)| body | ### Return type cool @@ -12901,9 +12901,9 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. - Integer achievementId = 56; // Integer | The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) endpoint. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long achievementId = 56L; // Long | The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) endpoint. UpdateAchievement body = new UpdateAchievement(); // UpdateAchievement | body try { Achievement result = apiInstance.updateAchievement(applicationId, campaignId, achievementId, body); @@ -12924,9 +12924,9 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | - **achievementId** | **Integer**| The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) endpoint. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **achievementId** | **Long**| The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) endpoint. | **body** | [**UpdateAchievement**](UpdateAchievement.md)| body | ### Return type cool @@ -12988,7 +12988,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer additionalCostId = 56; // Integer | The ID of the additional cost. You can find the ID the the Campaign Manager's URL when you display the details of the cost in **Account** > **Tools** > **Additional costs**. + Long additionalCostId = 56L; // Long | The ID of the additional cost. You can find the ID the the Campaign Manager's URL when you display the details of the cost in **Account** > **Tools** > **Additional costs**. NewAdditionalCost body = new NewAdditionalCost(); // NewAdditionalCost | body try { AccountAdditionalCost result = apiInstance.updateAdditionalCost(additionalCostId, body); @@ -13009,7 +13009,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **additionalCostId** | **Integer**| The ID of the additional cost. You can find the ID the the Campaign Manager's URL when you display the details of the cost in **Account** > **Tools** > **Additional costs**. | + **additionalCostId** | **Long**| The ID of the additional cost. You can find the ID the the Campaign Manager's URL when you display the details of the cost in **Account** > **Tools** > **Additional costs**. | **body** | [**NewAdditionalCost**](NewAdditionalCost.md)| body | ### Return type cool @@ -13068,7 +13068,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer attributeId = 56; // Integer | The ID of the attribute. You can find the ID in the Campaign Manager's URL when you display the details of an attribute in **Account** > **Tools** > **Attributes**. + Long attributeId = 56L; // Long | The ID of the attribute. You can find the ID in the Campaign Manager's URL when you display the details of an attribute in **Account** > **Tools** > **Attributes**. NewAttribute body = new NewAttribute(); // NewAttribute | body try { Attribute result = apiInstance.updateAttribute(attributeId, body); @@ -13089,7 +13089,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **attributeId** | **Integer**| The ID of the attribute. You can find the ID in the Campaign Manager's URL when you display the details of an attribute in **Account** > **Tools** > **Attributes**. | + **attributeId** | **Long**| The ID of the attribute. You can find the ID in the Campaign Manager's URL when you display the details of an attribute in **Account** > **Tools** > **Attributes**. | **body** | [**NewAttribute**](NewAttribute.md)| body | ### Return type cool @@ -13148,8 +13148,8 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. UpdateCampaign body = new UpdateCampaign(); // UpdateCampaign | body try { Campaign result = apiInstance.updateCampaign(applicationId, campaignId, body); @@ -13170,8 +13170,8 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | **body** | [**UpdateCampaign**](UpdateCampaign.md)| body | ### Return type cool @@ -13230,9 +13230,9 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. - Integer collectionId = 56; // Integer | The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint. UpdateCampaignCollection body = new UpdateCampaignCollection(); // UpdateCampaignCollection | body try { Collection result = apiInstance.updateCollection(applicationId, campaignId, collectionId, body); @@ -13253,9 +13253,9 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | - **collectionId** | **Integer**| The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint. | **body** | [**UpdateCampaignCollection**](UpdateCampaignCollection.md)| body | ### Return type cool @@ -13315,8 +13315,8 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. String couponId = "couponId_example"; // String | The internal ID of the coupon code. You can find this value in the `id` property from the [List coupons](https://docs.talon.one/management-api#tag/Coupons/operation/getCouponsWithoutTotalCount) endpoint response. UpdateCoupon body = new UpdateCoupon(); // UpdateCoupon | body try { @@ -13338,8 +13338,8 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | **couponId** | **String**| The internal ID of the coupon code. You can find this value in the `id` property from the [List coupons](https://docs.talon.one/management-api#tag/Coupons/operation/getCouponsWithoutTotalCount) endpoint response. | **body** | [**UpdateCoupon**](UpdateCoupon.md)| body | @@ -13399,8 +13399,8 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. UpdateCouponBatch body = new UpdateCouponBatch(); // UpdateCouponBatch | body try { apiInstance.updateCouponBatch(applicationId, campaignId, body); @@ -13420,8 +13420,8 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | **body** | [**UpdateCouponBatch**](UpdateCouponBatch.md)| body | ### Return type cool @@ -13480,7 +13480,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer loyaltyProgramId = 56; // Integer | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. + Long loyaltyProgramId = 56L; // Long | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. String loyaltyCardId = "loyaltyCardId_example"; // String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. UpdateLoyaltyCard body = new UpdateLoyaltyCard(); // UpdateLoyaltyCard | body try { @@ -13502,7 +13502,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **loyaltyProgramId** | **Integer**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | + **loyaltyProgramId** | **Long**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. | **loyaltyCardId** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. | **body** | [**UpdateLoyaltyCard**](UpdateLoyaltyCard.md)| body | @@ -13565,8 +13565,8 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. - Integer campaignId = 56; // Integer | The ID of the campaign. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL. String referralId = "referralId_example"; // String | The ID of the referral code. UpdateReferral body = new UpdateReferral(); // UpdateReferral | body try { @@ -13588,8 +13588,8 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **Integer**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. | **referralId** | **String**| The ID of the referral code. | **body** | [**UpdateReferral**](UpdateReferral.md)| body | @@ -13649,7 +13649,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer roleId = 56; // Integer | The ID of role. **Note**: To find the ID of a role, use the [List roles](/management-api#tag/Roles/operation/listAllRolesV2) endpoint. + Long roleId = 56L; // Long | The ID of role. **Note**: To find the ID of a role, use the [List roles](/management-api#tag/Roles/operation/listAllRolesV2) endpoint. RoleV2Base body = new RoleV2Base(); // RoleV2Base | body try { RoleV2 result = apiInstance.updateRoleV2(roleId, body); @@ -13670,7 +13670,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **roleId** | **Integer**| The ID of role. **Note**: To find the ID of a role, use the [List roles](/management-api#tag/Roles/operation/listAllRolesV2) endpoint. | + **roleId** | **Long**| The ID of role. **Note**: To find the ID of a role, use the [List roles](/management-api#tag/Roles/operation/listAllRolesV2) endpoint. | **body** | [**RoleV2Base**](RoleV2Base.md)| body | ### Return type cool @@ -13729,7 +13729,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL. + Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL. String storeId = "storeId_example"; // String | The ID of the store. You can get this ID with the [List stores](#tag/Stores/operation/listStores) endpoint. NewStore body = new NewStore(); // NewStore | body try { @@ -13751,7 +13751,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. | + **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. | **storeId** | **String**| The ID of the store. You can get this ID with the [List stores](#tag/Stores/operation/listStores) endpoint. | **body** | [**NewStore**](NewStore.md)| body | @@ -13813,7 +13813,7 @@ public class Example { //manager_auth.setApiKeyPrefix("Token"); ManagementApi apiInstance = new ManagementApi(defaultClient); - Integer userId = 56; // Integer | The ID of the user. + Long userId = 56L; // Long | The ID of the user. UpdateUser body = new UpdateUser(); // UpdateUser | body try { User result = apiInstance.updateUser(userId, body); @@ -13834,7 +13834,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **userId** | **Integer**| The ID of the user. | + **userId** | **Long**| The ID of the user. | **body** | [**UpdateUser**](UpdateUser.md)| body | ### Return type cool diff --git a/docs/ManagementKey.md b/docs/ManagementKey.md index 72a6f395..ad412ce1 100644 --- a/docs/ManagementKey.md +++ b/docs/ManagementKey.md @@ -9,10 +9,10 @@ Name | Type | Description | Notes **name** | **String** | Name for management key. | **expiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | The date the management key expires. | **endpoints** | [**List<Endpoint>**](Endpoint.md) | The list of endpoints that can be accessed with the key | -**allowedApplicationIds** | **List<Integer>** | A list of Application IDs that you can access with the management key. An empty or missing list means the management key can be used for all Applications in the account. | [optional] -**id** | **Integer** | ID of the management key. | -**createdBy** | **Integer** | ID of the user who created it. | -**accountID** | **Integer** | ID of account the key is used for. | +**allowedApplicationIds** | **List<Long>** | A list of Application IDs that you can access with the management key. An empty or missing list means the management key can be used for all Applications in the account. | [optional] +**id** | **Long** | ID of the management key. | +**createdBy** | **Long** | ID of the user who created it. | +**accountID** | **Long** | ID of account the key is used for. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The date the management key was created. | **disabled** | **Boolean** | The management key is disabled (this property is set to `true`) when the user who created the key is disabled or deleted. | [optional] diff --git a/docs/ManagerConfig.md b/docs/ManagerConfig.md index 649bfd3b..d1f96bc9 100644 --- a/docs/ManagerConfig.md +++ b/docs/ManagerConfig.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**schemaVersion** | **Integer** | | +**schemaVersion** | **Long** | | diff --git a/docs/MessageLogEntry.md b/docs/MessageLogEntry.md index d237317e..95535651 100644 --- a/docs/MessageLogEntry.md +++ b/docs/MessageLogEntry.md @@ -10,18 +10,18 @@ Name | Type | Description | Notes **id** | **String** | Unique identifier of the message. | **service** | **String** | Name of the service that generated the log entry. | **changeType** | **String** | Type of change that triggered the notification. | [optional] -**notificationId** | **Integer** | ID of the notification. | [optional] +**notificationId** | **Long** | ID of the notification. | [optional] **notificationName** | **String** | The name of the notification. | [optional] -**webhookId** | **Integer** | ID of the webhook. | [optional] +**webhookId** | **Long** | ID of the webhook. | [optional] **webhookName** | **String** | The name of the webhook. | [optional] **request** | [**MessageLogRequest**](MessageLogRequest.md) | | [optional] **response** | [**MessageLogResponse**](MessageLogResponse.md) | | [optional] **createdAt** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp when the log entry was created. | **entityType** | [**EntityTypeEnum**](#EntityTypeEnum) | The entity type the log is related to. | **url** | **String** | The target URL of the request. | [optional] -**applicationId** | **Integer** | Identifier of the Application. | [optional] -**loyaltyProgramId** | **Integer** | Identifier of the loyalty program. | [optional] -**campaignId** | **Integer** | Identifier of the campaign. | [optional] +**applicationId** | **Long** | Identifier of the Application. | [optional] +**loyaltyProgramId** | **Long** | Identifier of the loyalty program. | [optional] +**campaignId** | **Long** | Identifier of the campaign. | [optional] diff --git a/docs/MessageLogResponse.md b/docs/MessageLogResponse.md index 7f9e54db..3f957a45 100644 --- a/docs/MessageLogResponse.md +++ b/docs/MessageLogResponse.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **createdAt** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp when the response was received. | [optional] **response** | **byte[]** | Raw response data. | [optional] -**status** | **Integer** | HTTP status code of the response. | [optional] +**status** | **Long** | HTTP status code of the response. | [optional] diff --git a/docs/MessageTest.md b/docs/MessageTest.md index 1c0a7668..f72114b7 100644 --- a/docs/MessageTest.md +++ b/docs/MessageTest.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **httpResponse** | **String** | The returned http response. | -**httpStatus** | **Integer** | The returned http status code. | +**httpStatus** | **Long** | The returned http status code. | diff --git a/docs/ModelImport.md b/docs/ModelImport.md index e316234b..058e54cb 100644 --- a/docs/ModelImport.md +++ b/docs/ModelImport.md @@ -6,12 +6,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | -**accountId** | **Integer** | The ID of the account that owns this entity. | -**userId** | **Integer** | The ID of the user associated with this entity. | +**accountId** | **Long** | The ID of the account that owns this entity. | +**userId** | **Long** | The ID of the user associated with this entity. | **entity** | **String** | The name of the entity that was imported. | -**amount** | **Integer** | The number of values that were imported. | +**amount** | **Long** | The number of values that were imported. | diff --git a/docs/ModelReturn.md b/docs/ModelReturn.md index d299d501..859360cb 100644 --- a/docs/ModelReturn.md +++ b/docs/ModelReturn.md @@ -6,17 +6,17 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | -**applicationId** | **Integer** | The ID of the Application that owns this entity. | -**accountId** | **Integer** | The ID of the account that owns this entity. | +**applicationId** | **Long** | The ID of the Application that owns this entity. | +**accountId** | **Long** | The ID of the account that owns this entity. | **returnedCartItems** | [**List<ReturnedCartItem>**](ReturnedCartItem.md) | List of cart items to be returned. | -**eventId** | **Integer** | The event ID of that was generated for this return. | -**sessionId** | **Integer** | The internal ID of the session this return was requested on. | +**eventId** | **Long** | The event ID of that was generated for this return. | +**sessionId** | **Long** | The internal ID of the session this return was requested on. | **sessionIntegrationId** | **String** | The integration ID of the session this return was requested on. | -**profileId** | **Integer** | The internal ID of the profile this return was requested on. | [optional] +**profileId** | **Long** | The internal ID of the profile this return was requested on. | [optional] **profileIntegrationId** | **String** | The integration ID of the profile this return was requested on. | [optional] -**createdBy** | **Integer** | ID of the user who requested this return. | [optional] +**createdBy** | **Long** | ID of the user who requested this return. | [optional] diff --git a/docs/MultiApplicationEntity.md b/docs/MultiApplicationEntity.md index 9f8d6787..a6d5ddfc 100644 --- a/docs/MultiApplicationEntity.md +++ b/docs/MultiApplicationEntity.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**applicationIds** | **List<Integer>** | The IDs of the Applications that are related to this entity. | +**applicationIds** | **List<Long>** | The IDs of the Applications that are related to this entity. | diff --git a/docs/MultipleAudiences.md b/docs/MultipleAudiences.md index 31c457e3..f315b1f1 100644 --- a/docs/MultipleAudiences.md +++ b/docs/MultipleAudiences.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**accountId** | **Integer** | The ID of the account that owns this entity. | +**accountId** | **Long** | The ID of the account that owns this entity. | **audiences** | [**List<MultipleAudiencesItem>**](MultipleAudiencesItem.md) | | diff --git a/docs/MultipleAudiencesItem.md b/docs/MultipleAudiencesItem.md index c5b4366a..49078163 100644 --- a/docs/MultipleAudiencesItem.md +++ b/docs/MultipleAudiencesItem.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | **name** | **String** | The human-friendly display name for this audience. | **integrationId** | **String** | The ID of this audience in the third-party integration. | diff --git a/docs/NewAdditionalCost.md b/docs/NewAdditionalCost.md index c0d41330..c96a47d6 100644 --- a/docs/NewAdditionalCost.md +++ b/docs/NewAdditionalCost.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **name** | **String** | The internal name used in API requests. | **title** | **String** | The human-readable name for the additional cost that will be shown in the Campaign Manager. Like `name`, the combination of entity and title must also be unique. | **description** | **String** | A description of this additional cost. | -**subscribedApplicationsIds** | **List<Integer>** | A list of the IDs of the applications that are subscribed to this additional cost. | [optional] +**subscribedApplicationsIds** | **List<Long>** | A list of the IDs of the applications that are subscribed to this additional cost. | [optional] **type** | [**TypeEnum**](#TypeEnum) | The type of additional cost. Possible value: - `session`: Additional cost will be added per session. - `item`: Additional cost will be added per item. - `both`: Additional cost will be added per item and session. | [optional] diff --git a/docs/NewAppWideCouponDeletionJob.md b/docs/NewAppWideCouponDeletionJob.md index 8e23c0b0..2783f6c6 100644 --- a/docs/NewAppWideCouponDeletionJob.md +++ b/docs/NewAppWideCouponDeletionJob.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **filters** | [**CouponDeletionFilters**](CouponDeletionFilters.md) | | -**campaignids** | **List<Integer>** | | +**campaignids** | **List<Long>** | | diff --git a/docs/NewApplicationAPIKey.md b/docs/NewApplicationAPIKey.md index 969ed30a..4f435724 100644 --- a/docs/NewApplicationAPIKey.md +++ b/docs/NewApplicationAPIKey.md @@ -10,11 +10,11 @@ Name | Type | Description | Notes **expires** | [**OffsetDateTime**](OffsetDateTime.md) | The date the API key expires. | **platform** | [**PlatformEnum**](#PlatformEnum) | The third-party platform the API key is valid for. Use `none` for a generic API key to be used from your own integration layer. | [optional] **type** | [**TypeEnum**](#TypeEnum) | The API key type. Can be empty or `staging`. Staging API keys can only be used for dry requests with the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint, [Update customer profile](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/updateCustomerProfileV2) endpoint, and [Track event](https://docs.talon.one/integration-api#tag/Events/operation/trackEventV2) endpoint. When using the _Update customer profile_ endpoint with a staging API key, the query parameter `runRuleEngine` must be `true`. | [optional] -**timeOffset** | **Integer** | A time offset in nanoseconds associated with the API key. When making a request using the API key, rule evaluation is based on a date that is calculated by adding the offset to the current date. | [optional] -**id** | **Integer** | ID of the API Key. | -**createdBy** | **Integer** | ID of user who created. | -**accountID** | **Integer** | ID of account the key is used for. | -**applicationID** | **Integer** | ID of application the key is used for. | +**timeOffset** | **Long** | A time offset in nanoseconds associated with the API key. When making a request using the API key, rule evaluation is based on a date that is calculated by adding the offset to the current date. | [optional] +**id** | **Long** | ID of the API Key. | +**createdBy** | **Long** | ID of user who created. | +**accountID** | **Long** | ID of account the key is used for. | +**applicationID** | **Long** | ID of application the key is used for. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The date the API key was created. | **key** | **String** | The API key. | diff --git a/docs/NewApplicationCIF.md b/docs/NewApplicationCIF.md index c24c9766..75e2d88e 100644 --- a/docs/NewApplicationCIF.md +++ b/docs/NewApplicationCIF.md @@ -8,9 +8,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name of the Application cart item filter used in API requests. | **description** | **String** | A short description of the Application cart item filter. | [optional] -**activeExpressionId** | **Integer** | The ID of the expression that the Application cart item filter uses. | [optional] -**modifiedBy** | **Integer** | The ID of the user who last updated the Application cart item filter. | [optional] -**createdBy** | **Integer** | The ID of the user who created the Application cart item filter. | [optional] +**activeExpressionId** | **Long** | The ID of the expression that the Application cart item filter uses. | [optional] +**modifiedBy** | **Long** | The ID of the user who last updated the Application cart item filter. | [optional] +**createdBy** | **Long** | The ID of the user who created the Application cart item filter. | [optional] **modified** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp of the most recent update to the Application cart item filter. | [optional] diff --git a/docs/NewApplicationCIFExpression.md b/docs/NewApplicationCIFExpression.md index d3a4fb2c..caa782cf 100644 --- a/docs/NewApplicationCIFExpression.md +++ b/docs/NewApplicationCIFExpression.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**cartItemFilterId** | **Integer** | The ID of the Application cart item filter. | [optional] -**createdBy** | **Integer** | The ID of the user who created the Application cart item filter. | [optional] +**cartItemFilterId** | **Long** | The ID of the Application cart item filter. | [optional] +**createdBy** | **Long** | The ID of the user who created the Application cart item filter. | [optional] **expression** | **List<Object>** | Arbitrary additional JSON data associated with the Application cart item filter. | [optional] diff --git a/docs/NewAttribute.md b/docs/NewAttribute.md index 62dfb616..6273b232 100644 --- a/docs/NewAttribute.md +++ b/docs/NewAttribute.md @@ -16,8 +16,8 @@ Name | Type | Description | Notes **hasAllowedList** | **Boolean** | Whether or not this attribute has an allowed list of values associated with it. | [optional] **restrictedBySuggestions** | **Boolean** | Whether or not this attribute's value is restricted by suggestions (`suggestions` property) or by an allowed list of value (`hasAllowedList` property). | [optional] **editable** | **Boolean** | Whether or not this attribute can be edited. | -**subscribedApplicationsIds** | **List<Integer>** | A list of the IDs of the applications where this attribute is available. | [optional] -**subscribedCatalogsIds** | **List<Integer>** | A list of the IDs of the catalogs where this attribute is available. | [optional] +**subscribedApplicationsIds** | **List<Long>** | A list of the IDs of the applications where this attribute is available. | [optional] +**subscribedCatalogsIds** | **List<Long>** | A list of the IDs of the catalogs where this attribute is available. | [optional] **allowedSubscriptions** | [**List<AllowedSubscriptionsEnum>**](#List<AllowedSubscriptionsEnum>) | A list of allowed subscription types for this attribute. **Note:** This only applies to attributes associated with the `CartItem` entity. | [optional] diff --git a/docs/NewCampaign.md b/docs/NewCampaign.md index 5b727c5d..b165eaee 100644 --- a/docs/NewCampaign.md +++ b/docs/NewCampaign.md @@ -12,16 +12,16 @@ Name | Type | Description | Notes **endTime** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp when the campaign will become inactive. | [optional] **attributes** | [**Object**](.md) | Arbitrary properties associated with this campaign. | [optional] **state** | [**StateEnum**](#StateEnum) | A disabled or archived campaign is not evaluated for rules or coupons. | -**activeRulesetId** | **Integer** | [ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this campaign applies on customer session evaluation. | [optional] +**activeRulesetId** | **Long** | [ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this campaign applies on customer session evaluation. | [optional] **tags** | **List<String>** | A list of tags for the campaign. | **features** | [**List<FeaturesEnum>**](#List<FeaturesEnum>) | The features enabled in this campaign. | **couponSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional] **referralSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional] **limits** | [**List<LimitConfig>**](LimitConfig.md) | The set of [budget limits](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets) for this campaign. | -**campaignGroups** | **List<Integer>** | The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/managing-campaign-groups) this campaign belongs to. | [optional] +**campaignGroups** | **List<Long>** | The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/managing-campaign-groups) this campaign belongs to. | [optional] **type** | [**TypeEnum**](#TypeEnum) | The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items. | [optional] -**linkedStoreIds** | **List<Integer>** | A list of store IDs that you want to link to the campaign. **Note:** Campaigns with linked store IDs will only be evaluated when there is a [customer session update](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) that references a linked store. | [optional] -**evaluationGroupId** | **Integer** | The ID of the campaign evaluation group the campaign belongs to. | [optional] +**linkedStoreIds** | **List<Long>** | A list of store IDs that you want to link to the campaign. **Note:** Campaigns with linked store IDs will only be evaluated when there is a [customer session update](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) that references a linked store. | [optional] +**evaluationGroupId** | **Long** | The ID of the campaign evaluation group the campaign belongs to. | [optional] diff --git a/docs/NewCampaignEvaluationGroup.md b/docs/NewCampaignEvaluationGroup.md index 7de3f7c1..0fba1544 100644 --- a/docs/NewCampaignEvaluationGroup.md +++ b/docs/NewCampaignEvaluationGroup.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name of the campaign evaluation group. | -**parentId** | **Integer** | The ID of the parent group that contains the campaign evaluation group. | +**parentId** | **Long** | The ID of the parent group that contains the campaign evaluation group. | **description** | **String** | A description of the campaign evaluation group. | [optional] **evaluationMode** | [**EvaluationModeEnum**](#EvaluationModeEnum) | The mode by which campaigns in the campaign evaluation group are evaluated. | **evaluationScope** | [**EvaluationScopeEnum**](#EvaluationScopeEnum) | The evaluation scope of the campaign evaluation group. | diff --git a/docs/NewCampaignGroup.md b/docs/NewCampaignGroup.md index 73199ce1..0cb6c2c3 100644 --- a/docs/NewCampaignGroup.md +++ b/docs/NewCampaignGroup.md @@ -8,8 +8,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name of the campaign access group. | **description** | **String** | A longer description of the campaign access group. | [optional] -**subscribedApplicationsIds** | **List<Integer>** | A list of IDs of the Applications that this campaign access group is enabled for. | [optional] -**campaignIds** | **List<Integer>** | A list of IDs of the campaigns that are part of the campaign access group. | [optional] +**subscribedApplicationsIds** | **List<Long>** | A list of IDs of the Applications that this campaign access group is enabled for. | [optional] +**campaignIds** | **List<Long>** | A list of IDs of the campaigns that are part of the campaign access group. | [optional] diff --git a/docs/NewCampaignSet.md b/docs/NewCampaignSet.md index 9da24d74..d28be787 100644 --- a/docs/NewCampaignSet.md +++ b/docs/NewCampaignSet.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**applicationId** | **Integer** | The ID of the Application that owns this entity. | -**version** | **Integer** | Version of the campaign set. | +**applicationId** | **Long** | The ID of the Application that owns this entity. | +**version** | **Long** | Version of the campaign set. | **set** | [**CampaignSetBranchNode**](CampaignSetBranchNode.md) | | diff --git a/docs/NewCampaignStoreBudgetStoreLimit.md b/docs/NewCampaignStoreBudgetStoreLimit.md index a0730b27..738dce65 100644 --- a/docs/NewCampaignStoreBudgetStoreLimit.md +++ b/docs/NewCampaignStoreBudgetStoreLimit.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**storeId** | **Integer** | The ID of the store. You can get this ID with the [List stores](#tag/Stores/operation/listStores) endpoint. | +**storeId** | **Long** | The ID of the store. You can get this ID with the [List stores](#tag/Stores/operation/listStores) endpoint. | **limit** | [**BigDecimal**](BigDecimal.md) | The value to set for the limit. | diff --git a/docs/NewCampaignTemplate.md b/docs/NewCampaignTemplate.md index 6df18fae..138feb50 100644 --- a/docs/NewCampaignTemplate.md +++ b/docs/NewCampaignTemplate.md @@ -20,7 +20,7 @@ Name | Type | Description | Notes **limits** | [**List<TemplateLimitConfig>**](TemplateLimitConfig.md) | The set of limits that will operate for this campaign template. | [optional] **templateParams** | [**List<CampaignTemplateParams>**](CampaignTemplateParams.md) | Fields which can be used to replace values in a rule. | [optional] **campaignCollections** | [**List<CampaignTemplateCollection>**](CampaignTemplateCollection.md) | The campaign collections from the blueprint campaign for the template. | [optional] -**defaultCampaignGroupId** | **Integer** | The default campaign group ID. | [optional] +**defaultCampaignGroupId** | **Long** | The default campaign group ID. | [optional] **campaignType** | [**CampaignTypeEnum**](#CampaignTypeEnum) | The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items. | diff --git a/docs/NewCatalog.md b/docs/NewCatalog.md index 7eca3499..9b920d1a 100644 --- a/docs/NewCatalog.md +++ b/docs/NewCatalog.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The cart item catalog name. | **description** | **String** | A description of this cart item catalog. | -**subscribedApplicationsIds** | **List<Integer>** | A list of the IDs of the applications that are subscribed to this catalog. | [optional] +**subscribedApplicationsIds** | **List<Long>** | A list of the IDs of the applications that are subscribed to this catalog. | [optional] diff --git a/docs/NewCollection.md b/docs/NewCollection.md index 5b503b99..1d74dec4 100644 --- a/docs/NewCollection.md +++ b/docs/NewCollection.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **description** | **String** | A short description of the purpose of this collection. | [optional] -**subscribedApplicationsIds** | **List<Integer>** | A list of the IDs of the Applications where this collection is enabled. | [optional] +**subscribedApplicationsIds** | **List<Long>** | A list of the IDs of the Applications where this collection is enabled. | [optional] **name** | **String** | The name of this collection. | diff --git a/docs/NewCouponCreationJob.md b/docs/NewCouponCreationJob.md index b9802385..aca9ab0d 100644 --- a/docs/NewCouponCreationJob.md +++ b/docs/NewCouponCreationJob.md @@ -6,12 +6,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**usageLimit** | **Integer** | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. | +**usageLimit** | **Long** | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. | **discountLimit** | [**BigDecimal**](BigDecimal.md) | The total discount value that the code can give. Typically used to represent a gift card value. | [optional] -**reservationLimit** | **Integer** | The number of reservations that can be made with this coupon code. | [optional] +**reservationLimit** | **Long** | The number of reservations that can be made with this coupon code. | [optional] **startDate** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp at which point the coupon becomes valid. | [optional] **expiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | Expiration date of the coupon. Coupon never expires if this is omitted. | [optional] -**numberOfCoupons** | **Integer** | The number of new coupon codes to generate for the campaign. | +**numberOfCoupons** | **Long** | The number of new coupon codes to generate for the campaign. | **couponSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional] **attributes** | [**Object**](.md) | Arbitrary properties associated with coupons. | diff --git a/docs/NewCoupons.md b/docs/NewCoupons.md index d6a69d2d..9178c9a1 100644 --- a/docs/NewCoupons.md +++ b/docs/NewCoupons.md @@ -6,13 +6,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**usageLimit** | **Integer** | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. | +**usageLimit** | **Long** | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. | **discountLimit** | [**BigDecimal**](BigDecimal.md) | The total discount value that the code can give. Typically used to represent a gift card value. | [optional] -**reservationLimit** | **Integer** | The number of reservations that can be made with this coupon code. | [optional] +**reservationLimit** | **Long** | The number of reservations that can be made with this coupon code. | [optional] **startDate** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp at which point the coupon becomes valid. | [optional] **expiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | Expiration date of the coupon. Coupon never expires if this is omitted. | [optional] **limits** | [**List<LimitConfig>**](LimitConfig.md) | Limits configuration for a coupon. These limits will override the limits set from the campaign. **Note:** Only usable when creating a single coupon which is not tied to a specific recipient. Only per-profile limits are allowed to be configured. | [optional] -**numberOfCoupons** | **Integer** | The number of new coupon codes to generate for the campaign. Must be at least 1. | +**numberOfCoupons** | **Long** | The number of new coupon codes to generate for the campaign. Must be at least 1. | **uniquePrefix** | **String** | **DEPRECATED** To create more than 20,000 coupons in one request, use [Create coupons asynchronously](https://docs.talon.one/management-api#operation/createCouponsAsync) endpoint. | [optional] **attributes** | [**Object**](.md) | Arbitrary properties associated with this item. | [optional] **recipientIntegrationId** | **String** | The integration ID for this coupon's beneficiary's profile. | [optional] diff --git a/docs/NewCouponsForMultipleRecipients.md b/docs/NewCouponsForMultipleRecipients.md index 3434ce93..f3bbb939 100644 --- a/docs/NewCouponsForMultipleRecipients.md +++ b/docs/NewCouponsForMultipleRecipients.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**usageLimit** | **Integer** | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. | +**usageLimit** | **Long** | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. | **discountLimit** | [**BigDecimal**](BigDecimal.md) | The total discount value that the code can give. Typically used to represent a gift card value. | [optional] -**reservationLimit** | **Integer** | The number of reservations that can be made with this coupon code. | [optional] +**reservationLimit** | **Long** | The number of reservations that can be made with this coupon code. | [optional] **startDate** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp at which point the coupon becomes valid. | [optional] **expiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | Expiration date of the coupon. Coupon never expires if this is omitted. | [optional] **attributes** | [**Object**](.md) | Arbitrary properties associated with this item. | [optional] diff --git a/docs/NewCustomEffect.md b/docs/NewCustomEffect.md index 649cb13d..ae9775af 100644 --- a/docs/NewCustomEffect.md +++ b/docs/NewCustomEffect.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**applicationIds** | **List<Integer>** | The IDs of the Applications that are related to this entity. | +**applicationIds** | **List<Long>** | The IDs of the Applications that are related to this entity. | **isPerItem** | **Boolean** | Indicates if this effect is per item or not. | [optional] **name** | **String** | The name of this effect. | **title** | **String** | The title of this effect. | diff --git a/docs/NewCustomerSessionV2.md b/docs/NewCustomerSessionV2.md index 6650355c..dacef5fe 100644 --- a/docs/NewCustomerSessionV2.md +++ b/docs/NewCustomerSessionV2.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **profileId** | **String** | ID of the customer profile set by your integration layer. **Note:** If the customer does not yet have a known `profileId`, we recommend you use a guest `profileId`. | [optional] **storeIntegrationId** | **String** | The integration ID of the store. You choose this ID when you create a store. | [optional] -**evaluableCampaignIds** | **List<Integer>** | When using the `dry` query parameter, use this property to list the campaign to be evaluated by the Rule Engine. These campaigns will be evaluated, even if they are disabled, allowing you to test specific campaigns before activating them. | [optional] +**evaluableCampaignIds** | **List<Long>** | When using the `dry` query parameter, use this property to list the campaign to be evaluated by the Rule Engine. These campaigns will be evaluated, even if they are disabled, allowing you to test specific campaigns before activating them. | [optional] **couponCodes** | **List<String>** | Any coupon codes entered. **Important - for requests only**: - If you [create a coupon budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a coupon code by the time you close it. - In requests where `dry=false`, providing an empty array discards any previous coupons. To avoid this, omit the parameter entirely. | [optional] **referralCode** | **String** | Any referral code entered. **Important - for requests only**: - If you [create a referral budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a referral code by the time you close it. - In requests where `dry=false`, providing an empty value discards the previous referral code. To avoid this, omit the parameter entirely. | [optional] **loyaltyCards** | **List<String>** | Identifier of a loyalty card. | [optional] diff --git a/docs/NewGiveawaysPool.md b/docs/NewGiveawaysPool.md index 574d74b0..e8a4a8cf 100644 --- a/docs/NewGiveawaysPool.md +++ b/docs/NewGiveawaysPool.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name of this giveaways pool. | **description** | **String** | The description of this giveaways pool. | [optional] -**subscribedApplicationsIds** | **List<Integer>** | A list of the IDs of the applications that this giveaways pool is enabled for. | [optional] +**subscribedApplicationsIds** | **List<Long>** | A list of the IDs of the applications that this giveaways pool is enabled for. | [optional] **sandbox** | **Boolean** | Indicates if this program is a live or sandbox program. Programs of a given type can only be connected to Applications of the same type. | diff --git a/docs/NewInvitation.md b/docs/NewInvitation.md index 9c8f4203..4367c68d 100644 --- a/docs/NewInvitation.md +++ b/docs/NewInvitation.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **name** | **String** | Name of the user. | [optional] **email** | **String** | Email address of the user. | **isAdmin** | **Boolean** | Indicates whether the user is an `admin`. | [optional] -**roles** | **List<Integer>** | A list of the IDs of the roles assigned to the user. | [optional] +**roles** | **List<Long>** | A list of the IDs of the roles assigned to the user. | [optional] **acl** | **String** | Indicates the access level of the user. | [optional] diff --git a/docs/NewLoyaltyProgram.md b/docs/NewLoyaltyProgram.md index 2f399616..8aa2e1e9 100644 --- a/docs/NewLoyaltyProgram.md +++ b/docs/NewLoyaltyProgram.md @@ -9,11 +9,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **title** | **String** | The display title for the Loyalty Program. | **description** | **String** | Description of our Loyalty Program. | [optional] -**subscribedApplications** | **List<Integer>** | A list containing the IDs of all applications that are subscribed to this Loyalty Program. | [optional] +**subscribedApplications** | **List<Long>** | A list containing the IDs of all applications that are subscribed to this Loyalty Program. | [optional] **defaultValidity** | **String** | The default duration after which new loyalty points should expire. Can be 'unlimited' or a specific time. The time format is a number followed by one letter indicating the time unit, like '30s', '40m', '1h', '5D', '7W', or 10M'. These rounding suffixes are also supported: - '_D' for rounding down. Can be used as a suffix after 'D', and signifies the start of the day. - '_U' for rounding up. Can be used as a suffix after 'D', 'W', and 'M', and signifies the end of the day, week, and month. | **defaultPending** | **String** | The default duration of the pending time after which points should be valid. Can be 'immediate' or a specific time. The time format is a number followed by one letter indicating the time unit, like '30s', '40m', '1h', '5D', '7W', or 10M'. These rounding suffixes are also supported: - '_D' for rounding down. Can be used as a suffix after 'D', and signifies the start of the day. - '_U' for rounding up. Can be used as a suffix after 'D', 'W', and 'M', and signifies the end of the day, week, and month. | **allowSubledger** | **Boolean** | Indicates if this program supports subledgers inside the program. | -**usersPerCardLimit** | **Integer** | The max amount of user profiles with whom a card can be shared. This can be set to 0 for no limit. This property is only used when `cardBased` is `true`. | [optional] +**usersPerCardLimit** | **Long** | The max amount of user profiles with whom a card can be shared. This can be set to 0 for no limit. This property is only used when `cardBased` is `true`. | [optional] **sandbox** | **Boolean** | Indicates if this program is a live or sandbox program. Programs of a given type can only be connected to Applications of the same type. | **programJoinPolicy** | [**ProgramJoinPolicyEnum**](#ProgramJoinPolicyEnum) | The policy that defines when the customer joins the loyalty program. - `not_join`: The customer does not join the loyalty program but can still earn and spend loyalty points. **Note**: The customer does not have a program join date. - `points_activated`: The customer joins the loyalty program only when their earned loyalty points become active for the first time. - `points_earned`: The customer joins the loyalty program when they earn loyalty points for the first time. | [optional] **tiersExpirationPolicy** | [**TiersExpirationPolicyEnum**](#TiersExpirationPolicyEnum) | The policy that defines how tier expiration, used to reevaluate the customer's current tier, is determined. - `tier_start_date`: The tier expiration is relative to when the customer joined the current tier. - `program_join_date`: The tier expiration is relative to when the customer joined the loyalty program. - `customer_attribute`: The tier expiration is determined by a custom customer attribute. - `absolute_expiration`: The tier is reevaluated at the start of each tier cycle. For this policy, it is required to provide a `tierCycleStartDate`. | [optional] diff --git a/docs/NewManagementKey.md b/docs/NewManagementKey.md index 91c7b7ad..32b741bf 100644 --- a/docs/NewManagementKey.md +++ b/docs/NewManagementKey.md @@ -9,10 +9,10 @@ Name | Type | Description | Notes **name** | **String** | Name for management key. | **expiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | The date the management key expires. | **endpoints** | [**List<Endpoint>**](Endpoint.md) | The list of endpoints that can be accessed with the key | -**allowedApplicationIds** | **List<Integer>** | A list of Application IDs that you can access with the management key. An empty or missing list means the management key can be used for all Applications in the account. | [optional] -**id** | **Integer** | ID of the management key. | -**createdBy** | **Integer** | ID of the user who created it. | -**accountID** | **Integer** | ID of account the key is used for. | +**allowedApplicationIds** | **List<Long>** | A list of Application IDs that you can access with the management key. An empty or missing list means the management key can be used for all Applications in the account. | [optional] +**id** | **Long** | ID of the management key. | +**createdBy** | **Long** | ID of the user who created it. | +**accountID** | **Long** | ID of account the key is used for. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The date the management key was created. | **disabled** | **Boolean** | The management key is disabled (this property is set to `true`) when the user who created the key is disabled or deleted. | [optional] **key** | **String** | The management key. | diff --git a/docs/NewOutgoingIntegrationWebhook.md b/docs/NewOutgoingIntegrationWebhook.md index ab5c3d85..6ed702d4 100644 --- a/docs/NewOutgoingIntegrationWebhook.md +++ b/docs/NewOutgoingIntegrationWebhook.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **title** | **String** | Webhook title. | **description** | **String** | A description of the webhook. | [optional] -**applicationIds** | **List<Integer>** | IDs of the Applications to which a webhook must be linked. | +**applicationIds** | **List<Long>** | IDs of the Applications to which a webhook must be linked. | diff --git a/docs/NewReferral.md b/docs/NewReferral.md index 89539a34..33c71f97 100644 --- a/docs/NewReferral.md +++ b/docs/NewReferral.md @@ -8,8 +8,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **startDate** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp at which point the referral code becomes valid. | [optional] **expiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | Expiration date of the referral code. Referral never expires if this is omitted. | [optional] -**usageLimit** | **Integer** | The number of times a referral code can be used. `0` means no limit but any campaign usage limits will still apply. | [optional] -**campaignId** | **Integer** | ID of the campaign from which the referral received the referral code. | +**usageLimit** | **Long** | The number of times a referral code can be used. `0` means no limit but any campaign usage limits will still apply. | [optional] +**campaignId** | **Long** | ID of the campaign from which the referral received the referral code. | **advocateProfileIntegrationId** | **String** | The Integration ID of the Advocate's Profile. | **friendProfileIntegrationId** | **String** | An optional Integration ID of the Friend's Profile. | [optional] **attributes** | [**Object**](.md) | Arbitrary properties associated with this item. | [optional] diff --git a/docs/NewReferralsForMultipleAdvocates.md b/docs/NewReferralsForMultipleAdvocates.md index f81457bf..d44ed694 100644 --- a/docs/NewReferralsForMultipleAdvocates.md +++ b/docs/NewReferralsForMultipleAdvocates.md @@ -8,8 +8,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **startDate** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp at which point the referral code becomes valid. | [optional] **expiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | Expiration date of the referral code. Referral never expires if this is omitted. | [optional] -**usageLimit** | **Integer** | The number of times a referral code can be used. `0` means no limit but any campaign usage limits will still apply. | -**campaignId** | **Integer** | The ID of the campaign from which the referral received the referral code. | +**usageLimit** | **Long** | The number of times a referral code can be used. `0` means no limit but any campaign usage limits will still apply. | +**campaignId** | **Long** | The ID of the campaign from which the referral received the referral code. | **advocateProfileIntegrationIds** | **List<String>** | An array containing all the respective advocate profiles. | **attributes** | [**Object**](.md) | Arbitrary properties associated with this referral code. | [optional] **validCharacters** | **List<String>** | List of characters used to generate the random parts of a code. By default, the list of characters is equivalent to the `[A-Z, 0-9]` regular expression. | [optional] diff --git a/docs/NewRevisionVersion.md b/docs/NewRevisionVersion.md index c1e8104d..cc7bc981 100644 --- a/docs/NewRevisionVersion.md +++ b/docs/NewRevisionVersion.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **endTime** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp when the campaign will become inactive. | [optional] **attributes** | [**Object**](.md) | Arbitrary properties associated with this campaign. | [optional] **description** | **String** | A detailed description of the campaign. | [optional] -**activeRulesetId** | **Integer** | The ID of the ruleset this campaign template will use. | [optional] +**activeRulesetId** | **Long** | The ID of the ruleset this campaign template will use. | [optional] **tags** | **List<String>** | A list of tags for the campaign template. | [optional] **couponSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional] **referralSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional] diff --git a/docs/NewRole.md b/docs/NewRole.md index 18efda13..8f5a69b3 100644 --- a/docs/NewRole.md +++ b/docs/NewRole.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **name** | **String** | Name of the role. | **description** | **String** | Description of the role. | [optional] **acl** | **String** | The `Access Control List` json defining the role of the user. This represents the access control on the user level. | -**members** | **List<Integer>** | An array of user identifiers. | +**members** | **List<Long>** | An array of user identifiers. | diff --git a/docs/NewRoleV2.md b/docs/NewRoleV2.md index 0b14d352..8b602195 100644 --- a/docs/NewRoleV2.md +++ b/docs/NewRoleV2.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **name** | **String** | Name of the role. | **description** | **String** | Description of the role. | **permissions** | [**RoleV2Permissions**](RoleV2Permissions.md) | | [optional] -**members** | **List<Integer>** | A list of user IDs the role is assigned to. | [optional] +**members** | **List<Long>** | A list of user IDs the role is assigned to. | [optional] diff --git a/docs/NewSamlConnection.md b/docs/NewSamlConnection.md index fc26b121..19b8e34c 100644 --- a/docs/NewSamlConnection.md +++ b/docs/NewSamlConnection.md @@ -8,7 +8,7 @@ A new SAML 2.0 connection. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **x509certificate** | **String** | X.509 Certificate. | -**accountId** | **Integer** | The ID of the account that owns this entity. | +**accountId** | **Long** | The ID of the account that owns this entity. | **name** | **String** | ID of the SAML service. | **enabled** | **Boolean** | Determines if this SAML connection active. | **issuer** | **String** | Identity Provider Entity ID. | diff --git a/docs/NewWebhook.md b/docs/NewWebhook.md index 8af6c671..770b40bd 100644 --- a/docs/NewWebhook.md +++ b/docs/NewWebhook.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**applicationIds** | **List<Integer>** | The IDs of the Applications in which this webhook is available. An empty array means the webhook is available in `All Applications`. | +**applicationIds** | **List<Long>** | The IDs of the Applications in which this webhook is available. An empty array means the webhook is available in `All Applications`. | **title** | **String** | Name or title for this webhook. | **description** | **String** | A description of the webhook. | [optional] **verb** | [**VerbEnum**](#VerbEnum) | API method for this webhook. | diff --git a/docs/Notification.md b/docs/Notification.md index c53c17f7..531d20a2 100644 --- a/docs/Notification.md +++ b/docs/Notification.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | id of the notification. | +**id** | **Long** | id of the notification. | **name** | **String** | name of the notification. | **description** | **String** | description of the notification. | diff --git a/docs/NotificationListItem.md b/docs/NotificationListItem.md index 0e021bd9..96056400 100644 --- a/docs/NotificationListItem.md +++ b/docs/NotificationListItem.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**notificationId** | **Integer** | The ID of the notification. | +**notificationId** | **Long** | The ID of the notification. | **notificationName** | **String** | The name of the notification. | -**entityId** | **Integer** | The ID of the entity to which this notification belongs. For example, in case of a loyalty notification, this value is the ID of the loyalty program. | +**entityId** | **Long** | The ID of the entity to which this notification belongs. For example, in case of a loyalty notification, this value is the ID of the loyalty program. | **enabled** | **Boolean** | Indicates whether the notification is activated. | diff --git a/docs/OneTimeCode.md b/docs/OneTimeCode.md index b6ad8079..4fced140 100644 --- a/docs/OneTimeCode.md +++ b/docs/OneTimeCode.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**userId** | **Integer** | The ID of the user. | -**accountId** | **Integer** | The ID of the account. | +**userId** | **Long** | The ID of the user. | +**accountId** | **Long** | The ID of the account. | **token** | **String** | The two-factor authentication token created during sign-in. This token is used to ensure that the correct user is trying to sign in with a given one-time security code. | **code** | **String** | The one-time security code used for signing in. | [optional] diff --git a/docs/OutgoingIntegrationConfiguration.md b/docs/OutgoingIntegrationConfiguration.md index 1b93b0e3..92e89621 100644 --- a/docs/OutgoingIntegrationConfiguration.md +++ b/docs/OutgoingIntegrationConfiguration.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Unique ID for this entity. | -**accountId** | **Integer** | The ID of the account to which this configuration belongs. | -**typeId** | **Integer** | The outgoing integration type ID. | +**id** | **Long** | Unique ID for this entity. | +**accountId** | **Long** | The ID of the account to which this configuration belongs. | +**typeId** | **Long** | The outgoing integration type ID. | **policy** | [**Object**](.md) | The outgoing integration policy specific to each integration type. | diff --git a/docs/OutgoingIntegrationTemplate.md b/docs/OutgoingIntegrationTemplate.md index 66982094..b598cec6 100644 --- a/docs/OutgoingIntegrationTemplate.md +++ b/docs/OutgoingIntegrationTemplate.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Unique ID for this entity. | -**integrationType** | **Integer** | Unique ID of outgoing integration type. | +**id** | **Long** | Unique ID for this entity. | +**integrationType** | **Long** | Unique ID of outgoing integration type. | **title** | **String** | The title of the integration template. | **description** | **String** | The description of the specific outgoing integration template. | **payload** | **String** | The API payload (supports templating using parameters) for this integration template. | diff --git a/docs/OutgoingIntegrationTemplateWithConfigurationDetails.md b/docs/OutgoingIntegrationTemplateWithConfigurationDetails.md index e938523d..c63a957f 100644 --- a/docs/OutgoingIntegrationTemplateWithConfigurationDetails.md +++ b/docs/OutgoingIntegrationTemplateWithConfigurationDetails.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Unique ID for this entity. | -**integrationType** | **Integer** | Unique ID of outgoing integration type. | +**id** | **Long** | Unique ID for this entity. | +**integrationType** | **Long** | Unique ID of outgoing integration type. | **title** | **String** | The title of the integration template. | **description** | **String** | The description of the specific outgoing integration template. | **payload** | **String** | The API payload (supports templating using parameters) for this integration template. | diff --git a/docs/OutgoingIntegrationType.md b/docs/OutgoingIntegrationType.md index 65d59b52..32d1cb2a 100644 --- a/docs/OutgoingIntegrationType.md +++ b/docs/OutgoingIntegrationType.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Unique ID for this entity. | +**id** | **Long** | Unique ID for this entity. | **name** | **String** | Name of the outgoing integration. | **description** | **String** | Description of the outgoing integration. | [optional] **category** | **String** | Category of the outgoing integration. | [optional] diff --git a/docs/PendingPointsNotificationPolicy.md b/docs/PendingPointsNotificationPolicy.md index a37a3c6c..a0f97e41 100644 --- a/docs/PendingPointsNotificationPolicy.md +++ b/docs/PendingPointsNotificationPolicy.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | Notification name. | **batchingEnabled** | **Boolean** | Indicates whether batching is activated. | [optional] -**batchSize** | **Integer** | The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. | [optional] +**batchSize** | **Long** | The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. | [optional] diff --git a/docs/Picklist.md b/docs/Picklist.md index 15ea9dbc..bc923812 100644 --- a/docs/Picklist.md +++ b/docs/Picklist.md @@ -6,13 +6,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | **type** | [**TypeEnum**](#TypeEnum) | The type of allowed values in the picklist. If the type `time` is chosen, it must be an RFC3339 timestamp string. | **values** | **List<String>** | The list of allowed values provided by this picklist. | -**modifiedBy** | **Integer** | ID of the user who last updated this effect if available. | [optional] -**createdBy** | **Integer** | ID of the user who created this effect. | -**accountId** | **Integer** | The ID of the account that owns this entity. | [optional] +**modifiedBy** | **Long** | ID of the user who last updated this effect if available. | [optional] +**createdBy** | **Long** | ID of the user who created this effect. | +**accountId** | **Long** | The ID of the account that owns this entity. | [optional] **imported** | **Boolean** | Imported flag shows that a picklist is imported by a CSV file or not | [optional] diff --git a/docs/ProductSearchMatch.md b/docs/ProductSearchMatch.md index 38532320..04e05906 100644 --- a/docs/ProductSearchMatch.md +++ b/docs/ProductSearchMatch.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**productId** | **Integer** | The ID of the product. | [optional] +**productId** | **Long** | The ID of the product. | [optional] **value** | **String** | The string matching the given value. Either a product name or SKU. | -**productSkuId** | **Integer** | The ID of the SKU linked to a product. If empty, this is an product. | [optional] +**productSkuId** | **Long** | The ID of the SKU linked to a product. If empty, this is an product. | [optional] diff --git a/docs/ProductUnitAnalyticsDataPoint.md b/docs/ProductUnitAnalyticsDataPoint.md index 4ebeaa2c..78594190 100644 --- a/docs/ProductUnitAnalyticsDataPoint.md +++ b/docs/ProductUnitAnalyticsDataPoint.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **startTime** | [**OffsetDateTime**](OffsetDateTime.md) | The start of the aggregation time frame in UTC. | **endTime** | [**OffsetDateTime**](OffsetDateTime.md) | The end of the aggregation time frame in UTC. | **unitsSold** | [**AnalyticsDataPointWithTrend**](AnalyticsDataPointWithTrend.md) | | -**productId** | **Integer** | The ID of the product. | +**productId** | **Long** | The ID of the product. | **productName** | **String** | The name of the product. | diff --git a/docs/ProfileAudiencesChanges.md b/docs/ProfileAudiencesChanges.md index f57da462..afbd48aa 100644 --- a/docs/ProfileAudiencesChanges.md +++ b/docs/ProfileAudiencesChanges.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**adds** | **List<Integer>** | The IDs of the audiences for the customer to join. | -**deletes** | **List<Integer>** | The IDs of the audiences for the customer to leave. | +**adds** | **List<Long>** | The IDs of the audiences for the customer to join. | +**deletes** | **List<Long>** | The IDs of the audiences for the customer to leave. | diff --git a/docs/RedeemReferralEffectProps.md b/docs/RedeemReferralEffectProps.md index 1bf20890..150d11b9 100644 --- a/docs/RedeemReferralEffectProps.md +++ b/docs/RedeemReferralEffectProps.md @@ -7,7 +7,7 @@ This effect is **deprecated**. The properties specific to the \"redeemReferral\" Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | The id of the referral code that was redeemed. | +**id** | **Long** | The id of the referral code that was redeemed. | **value** | **String** | The referral code that was redeemed. | diff --git a/docs/Referral.md b/docs/Referral.md index 37b7b891..1c94d1f6 100644 --- a/docs/Referral.md +++ b/docs/Referral.md @@ -6,18 +6,18 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | **startDate** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp at which point the referral code becomes valid. | [optional] **expiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | Expiration date of the referral code. Referral never expires if this is omitted. | [optional] -**usageLimit** | **Integer** | The number of times a referral code can be used. `0` means no limit but any campaign usage limits will still apply. | -**campaignId** | **Integer** | ID of the campaign from which the referral received the referral code. | +**usageLimit** | **Long** | The number of times a referral code can be used. `0` means no limit but any campaign usage limits will still apply. | +**campaignId** | **Long** | ID of the campaign from which the referral received the referral code. | **advocateProfileIntegrationId** | **String** | The Integration ID of the Advocate's Profile. | **friendProfileIntegrationId** | **String** | An optional Integration ID of the Friend's Profile. | [optional] **attributes** | [**Object**](.md) | Arbitrary properties associated with this item. | [optional] -**importId** | **Integer** | The ID of the Import which created this referral. | [optional] +**importId** | **Long** | The ID of the Import which created this referral. | [optional] **code** | **String** | The referral code. | -**usageCounter** | **Integer** | The number of times this referral code has been successfully used. | +**usageCounter** | **Long** | The number of times this referral code has been successfully used. | **batchId** | **String** | The ID of the batch the referrals belong to. | [optional] diff --git a/docs/ReferralConstraints.md b/docs/ReferralConstraints.md index cf6624f1..6922a5ab 100644 --- a/docs/ReferralConstraints.md +++ b/docs/ReferralConstraints.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **startDate** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp at which point the referral code becomes valid. | [optional] **expiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | Expiration date of the referral code. Referral never expires if this is omitted. | [optional] -**usageLimit** | **Integer** | The number of times a referral code can be used. `0` means no limit but any campaign usage limits will still apply. | [optional] +**usageLimit** | **Long** | The number of times a referral code can be used. `0` means no limit but any campaign usage limits will still apply. | [optional] diff --git a/docs/ReferralRejectionReason.md b/docs/ReferralRejectionReason.md index 26e8584f..0d938403 100644 --- a/docs/ReferralRejectionReason.md +++ b/docs/ReferralRejectionReason.md @@ -7,8 +7,8 @@ Holds a reference to the campaign, the referral and the reason for which that re Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**campaignId** | **Integer** | | -**referralId** | **Integer** | | +**campaignId** | **Long** | | +**referralId** | **Long** | | **reason** | [**ReasonEnum**](#ReasonEnum) | | diff --git a/docs/RejectCouponEffectProps.md b/docs/RejectCouponEffectProps.md index 7dad99ea..21e16c7b 100644 --- a/docs/RejectCouponEffectProps.md +++ b/docs/RejectCouponEffectProps.md @@ -9,8 +9,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **value** | **String** | The coupon code that was rejected. | **rejectionReason** | **String** | The reason why this coupon was rejected. | -**conditionIndex** | **Integer** | The index of the condition that caused the rejection of the coupon. | [optional] -**effectIndex** | **Integer** | The index of the effect that caused the rejection of the coupon. | [optional] +**conditionIndex** | **Long** | The index of the condition that caused the rejection of the coupon. | [optional] +**effectIndex** | **Long** | The index of the effect that caused the rejection of the coupon. | [optional] **details** | **String** | More details about the failure. | [optional] **campaignExclusionReason** | **String** | The reason why the campaign was not applied. | [optional] diff --git a/docs/RejectReferralEffectProps.md b/docs/RejectReferralEffectProps.md index c44ee07a..ec3e5eff 100644 --- a/docs/RejectReferralEffectProps.md +++ b/docs/RejectReferralEffectProps.md @@ -9,8 +9,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **value** | **String** | The referral code that was rejected. | **rejectionReason** | **String** | The reason why this referral code was rejected. | -**conditionIndex** | **Integer** | The index of the condition that caused the rejection of the referral. | [optional] -**effectIndex** | **Integer** | The index of the effect that caused the rejection of the referral. | [optional] +**conditionIndex** | **Long** | The index of the condition that caused the rejection of the referral. | [optional] +**effectIndex** | **Long** | The index of the effect that caused the rejection of the referral. | [optional] **details** | **String** | More details about the failure. | [optional] **campaignExclusionReason** | **String** | The reason why the campaign was not applied. | [optional] diff --git a/docs/RemoveFromAudienceEffectProps.md b/docs/RemoveFromAudienceEffectProps.md index 64112908..5c4b229e 100644 --- a/docs/RemoveFromAudienceEffectProps.md +++ b/docs/RemoveFromAudienceEffectProps.md @@ -7,10 +7,10 @@ The properties specific to the \"removeFromAudience\" effect. This gets triggere Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**audienceId** | **Integer** | The internal ID of the audience. | [optional] +**audienceId** | **Long** | The internal ID of the audience. | [optional] **audienceName** | **String** | The name of the audience. | [optional] **profileIntegrationId** | **String** | The ID of the customer profile in the third-party integration platform. | [optional] -**profileId** | **Integer** | The internal ID of the customer profile. | [optional] +**profileId** | **Long** | The internal ID of the customer profile. | [optional] diff --git a/docs/ReturnedCartItem.md b/docs/ReturnedCartItem.md index 89e52370..095d36f3 100644 --- a/docs/ReturnedCartItem.md +++ b/docs/ReturnedCartItem.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**position** | **Integer** | The index of the cart item in the provided customer session's `cartItems` property. | -**quantity** | **Integer** | Number of cart items to return. | [optional] +**position** | **Long** | The index of the cart item in the provided customer session's `cartItems` property. | +**quantity** | **Long** | Number of cart items to return. | [optional] diff --git a/docs/Revision.md b/docs/Revision.md index c0c9b496..861b4ad2 100644 --- a/docs/Revision.md +++ b/docs/Revision.md @@ -6,15 +6,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Unique ID for this entity. Not to be confused with the Integration ID, which is set by your integration layer and used in most endpoints. | +**id** | **Long** | Unique ID for this entity. Not to be confused with the Integration ID, which is set by your integration layer and used in most endpoints. | **activateAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional] -**accountId** | **Integer** | | -**applicationId** | **Integer** | | -**campaignId** | **Integer** | | +**accountId** | **Long** | | +**applicationId** | **Long** | | +**campaignId** | **Long** | | **created** | [**OffsetDateTime**](OffsetDateTime.md) | | -**createdBy** | **Integer** | | +**createdBy** | **Long** | | **activatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional] -**activatedBy** | **Integer** | | [optional] +**activatedBy** | **Long** | | [optional] **currentVersion** | [**RevisionVersion**](RevisionVersion.md) | | [optional] diff --git a/docs/RevisionActivationRequest.md b/docs/RevisionActivationRequest.md index 1b518dc0..6ba3ae5a 100644 --- a/docs/RevisionActivationRequest.md +++ b/docs/RevisionActivationRequest.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**userIds** | **List<Integer>** | The list of IDs of the users who will receive the activation request. | +**userIds** | **List<Long>** | The list of IDs of the users who will receive the activation request. | **activateAt** | [**OffsetDateTime**](OffsetDateTime.md) | Time when the revisions are finalized after the `activate_revision` operation. The current time is used when left blank. **Note:** It must be an RFC3339 timestamp string. | [optional] diff --git a/docs/RevisionVersion.md b/docs/RevisionVersion.md index d4f0d085..123c6168 100644 --- a/docs/RevisionVersion.md +++ b/docs/RevisionVersion.md @@ -6,20 +6,20 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Unique ID for this entity. Not to be confused with the Integration ID, which is set by your integration layer and used in most endpoints. | -**accountId** | **Integer** | | -**applicationId** | **Integer** | | -**campaignId** | **Integer** | | +**id** | **Long** | Unique ID for this entity. Not to be confused with the Integration ID, which is set by your integration layer and used in most endpoints. | +**accountId** | **Long** | | +**applicationId** | **Long** | | +**campaignId** | **Long** | | **created** | [**OffsetDateTime**](OffsetDateTime.md) | | -**createdBy** | **Integer** | | -**revisionId** | **Integer** | | -**version** | **Integer** | | +**createdBy** | **Long** | | +**revisionId** | **Long** | | +**version** | **Long** | | **name** | **String** | A user-facing name for this campaign. | [optional] **startTime** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp when the campaign will become active. | [optional] **endTime** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp when the campaign will become inactive. | [optional] **attributes** | [**Object**](.md) | Arbitrary properties associated with this campaign. | [optional] **description** | **String** | A detailed description of the campaign. | [optional] -**activeRulesetId** | **Integer** | The ID of the ruleset this campaign template will use. | [optional] +**activeRulesetId** | **Long** | The ID of the ruleset this campaign template will use. | [optional] **tags** | **List<String>** | A list of tags for the campaign template. | [optional] **couponSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional] **referralSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional] diff --git a/docs/Role.md b/docs/Role.md index cd357581..de52c50f 100644 --- a/docs/Role.md +++ b/docs/Role.md @@ -6,14 +6,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | **modified** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was last modified. | -**accountId** | **Integer** | The ID of the account that owns this entity. | -**campaignGroupID** | **Integer** | The ID of the [Campaign Group](https://docs.talon.one/docs/product/account/account-settings/managing-campaign-groups) this role was created for. | [optional] +**accountId** | **Long** | The ID of the account that owns this entity. | +**campaignGroupID** | **Long** | The ID of the [Campaign Group](https://docs.talon.one/docs/product/account/account-settings/managing-campaign-groups) this role was created for. | [optional] **name** | **String** | Name of the role. | **description** | **String** | Description of the role. | [optional] -**members** | **List<Integer>** | A list of user identifiers assigned to this role. | [optional] +**members** | **List<Long>** | A list of user identifiers assigned to this role. | [optional] **acl** | [**Object**](.md) | The `Access Control List` json defining the role of the user. This represents the access control on the user level. | diff --git a/docs/RoleAssign.md b/docs/RoleAssign.md index a91a102a..3f5e5588 100644 --- a/docs/RoleAssign.md +++ b/docs/RoleAssign.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**users** | **List<Integer>** | An array of user IDs. | -**roles** | **List<Integer>** | An array of role IDs. | +**users** | **List<Long>** | An array of user IDs. | +**roles** | **List<Long>** | An array of role IDs. | diff --git a/docs/RoleMembership.md b/docs/RoleMembership.md index d64d274f..044b456f 100644 --- a/docs/RoleMembership.md +++ b/docs/RoleMembership.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**roleID** | **Integer** | ID of role. | -**userID** | **Integer** | ID of User. | +**roleID** | **Long** | ID of role. | +**userID** | **Long** | ID of User. | diff --git a/docs/RoleV2.md b/docs/RoleV2.md index 6ef2bfae..2829c25d 100644 --- a/docs/RoleV2.md +++ b/docs/RoleV2.md @@ -6,14 +6,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | **modified** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was last modified. | -**accountId** | **Integer** | The ID of the account that owns this entity. | +**accountId** | **Long** | The ID of the account that owns this entity. | **name** | **String** | Name of the role. | [optional] **description** | **String** | Description of the role. | [optional] **permissions** | [**RoleV2Permissions**](RoleV2Permissions.md) | | [optional] -**members** | **List<Integer>** | A list of user IDs the role is assigned to. | [optional] +**members** | **List<Long>** | A list of user IDs the role is assigned to. | [optional] diff --git a/docs/RoleV2Base.md b/docs/RoleV2Base.md index 2557f618..0197a861 100644 --- a/docs/RoleV2Base.md +++ b/docs/RoleV2Base.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **name** | **String** | Name of the role. | [optional] **description** | **String** | Description of the role. | [optional] **permissions** | [**RoleV2Permissions**](RoleV2Permissions.md) | | [optional] -**members** | **List<Integer>** | A list of user IDs the role is assigned to. | [optional] +**members** | **List<Long>** | A list of user IDs the role is assigned to. | [optional] diff --git a/docs/RollbackAddedLoyaltyPointsEffectProps.md b/docs/RollbackAddedLoyaltyPointsEffectProps.md index 3054d608..ecc7667b 100644 --- a/docs/RollbackAddedLoyaltyPointsEffectProps.md +++ b/docs/RollbackAddedLoyaltyPointsEffectProps.md @@ -7,7 +7,7 @@ The properties specific to the \"rollbackAddedLoyaltyPoints\" effect. This gets Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**programId** | **Integer** | The ID of the loyalty program where the points were originally added. | +**programId** | **Long** | The ID of the loyalty program where the points were originally added. | **subLedgerId** | **String** | The ID of the subledger within the loyalty program where these points were originally added. | **value** | [**BigDecimal**](BigDecimal.md) | The amount of points that were rolled back. | **recipientIntegrationId** | **String** | The user for whom these points were originally added. | diff --git a/docs/RollbackDeductedLoyaltyPointsEffectProps.md b/docs/RollbackDeductedLoyaltyPointsEffectProps.md index c4b03f74..6f63f376 100644 --- a/docs/RollbackDeductedLoyaltyPointsEffectProps.md +++ b/docs/RollbackDeductedLoyaltyPointsEffectProps.md @@ -7,7 +7,7 @@ The properties specific to the \"rollbackDeductedLoyaltyPoints\" effect. This ef Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**programId** | **Integer** | The ID of the loyalty program where these points were reimbursed. | +**programId** | **Long** | The ID of the loyalty program where these points were reimbursed. | **subLedgerId** | **String** | The ID of the subledger within the loyalty program where these points were reimbursed. | **value** | [**BigDecimal**](BigDecimal.md) | The amount of reimbursed points that were added. | **recipientIntegrationId** | **String** | The user for whom these points were reimbursed. | diff --git a/docs/RollbackDiscountEffectProps.md b/docs/RollbackDiscountEffectProps.md index 41388635..604c0457 100644 --- a/docs/RollbackDiscountEffectProps.md +++ b/docs/RollbackDiscountEffectProps.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **value** | [**BigDecimal**](BigDecimal.md) | The value of the discount that was rolled back. | **cartItemPosition** | [**BigDecimal**](BigDecimal.md) | The index of the item in the cart items for which the discount was rolled back. | [optional] **cartItemSubPosition** | [**BigDecimal**](BigDecimal.md) | For cart items with `quantity` > 1, the subposition returns the index of the item unit in its line item. | [optional] -**additionalCostId** | **Integer** | The ID of the additional cost that was rolled back. | [optional] +**additionalCostId** | **Long** | The ID of the additional cost that was rolled back. | [optional] **additionalCost** | **String** | The name of the additional cost that was rolled back. | [optional] **scope** | **String** | The scope of the rolled back discount - For a discount per session, it can be one of `cartItems`, `additionalCosts` or `sessionTotal` - For a discount per item, it can be one of `price`, `additionalCosts` or `itemTotal` | [optional] diff --git a/docs/RollbackIncreasedAchievementProgressEffectProps.md b/docs/RollbackIncreasedAchievementProgressEffectProps.md index 80e6519b..6d95ddf9 100644 --- a/docs/RollbackIncreasedAchievementProgressEffectProps.md +++ b/docs/RollbackIncreasedAchievementProgressEffectProps.md @@ -7,9 +7,9 @@ The properties specific to the \"rollbackIncreasedAchievementProgress\" effect. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**achievementId** | **Integer** | The internal ID of the achievement. | +**achievementId** | **Long** | The internal ID of the achievement. | **achievementName** | **String** | The name of the achievement. | -**progressTrackerId** | **Integer** | The internal ID of the achievement progress tracker. | +**progressTrackerId** | **Long** | The internal ID of the achievement progress tracker. | **decreaseProgressBy** | [**BigDecimal**](BigDecimal.md) | The value by which the customer's current progress in the achievement is decreased. | **currentProgress** | [**BigDecimal**](BigDecimal.md) | The current progress of the customer in the achievement. | **target** | [**BigDecimal**](BigDecimal.md) | The target value to complete the achievement. | diff --git a/docs/RuleFailureReason.md b/docs/RuleFailureReason.md index 8d65a4d7..04830bd8 100644 --- a/docs/RuleFailureReason.md +++ b/docs/RuleFailureReason.md @@ -7,19 +7,19 @@ Details about why a rule failed. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**campaignID** | **Integer** | The ID of the campaign that contains the rule that failed. | +**campaignID** | **Long** | The ID of the campaign that contains the rule that failed. | **campaignName** | **String** | The name of the campaign that contains the rule that failed. | -**rulesetID** | **Integer** | The ID of the ruleset that contains the rule that failed. | -**couponID** | **Integer** | The ID of the coupon that was being evaluated at the time of the rule failure. | [optional] +**rulesetID** | **Long** | The ID of the ruleset that contains the rule that failed. | +**couponID** | **Long** | The ID of the coupon that was being evaluated at the time of the rule failure. | [optional] **couponValue** | **String** | The code of the coupon that was being evaluated at the time of the rule failure. | [optional] -**referralID** | **Integer** | The ID of the referral that was being evaluated at the time of the rule failure. | [optional] +**referralID** | **Long** | The ID of the referral that was being evaluated at the time of the rule failure. | [optional] **referralValue** | **String** | The code of the referral that was being evaluated at the time of the rule failure. | [optional] -**ruleIndex** | **Integer** | The index of the rule that failed within the ruleset. | +**ruleIndex** | **Long** | The index of the rule that failed within the ruleset. | **ruleName** | **String** | The name of the rule that failed within the ruleset. | -**conditionIndex** | **Integer** | The index of the condition that failed. | [optional] -**effectIndex** | **Integer** | The index of the effect that failed. | [optional] +**conditionIndex** | **Long** | The index of the condition that failed. | [optional] +**effectIndex** | **Long** | The index of the effect that failed. | [optional] **details** | **String** | More details about the failure. | [optional] -**evaluationGroupID** | **Integer** | The ID of the evaluation group. For more information, see [Managing campaign evaluation](https://docs.talon.one/docs/product/applications/managing-campaign-evaluation). | [optional] +**evaluationGroupID** | **Long** | The ID of the evaluation group. For more information, see [Managing campaign evaluation](https://docs.talon.one/docs/product/applications/managing-campaign-evaluation). | [optional] **evaluationGroupMode** | **String** | The evaluation mode of the evaluation group. For more information, see [Managing campaign evaluation](https://docs.talon.one/docs/product/applications/managing-campaign- | [optional] diff --git a/docs/Ruleset.md b/docs/Ruleset.md index 9c2e2240..63ecf3cc 100644 --- a/docs/Ruleset.md +++ b/docs/Ruleset.md @@ -6,16 +6,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | -**userId** | **Integer** | The ID of the user associated with this entity. | +**userId** | **Long** | The ID of the user associated with this entity. | **rules** | [**List<Rule>**](Rule.md) | Set of rules to apply. | **strikethroughRules** | [**List<Rule>**](Rule.md) | Set of rules to apply for strikethrough. | [optional] **bindings** | [**List<Binding>**](Binding.md) | An array that provides objects with variable names (name) and talang expressions to whose result they are bound (expression) during rule evaluation. The order of the evaluation is decided by the position in the array. | **rbVersion** | **String** | The version of the rulebuilder used to create this ruleset. | [optional] **activate** | **Boolean** | Indicates whether this created ruleset should be activated for the campaign that owns it. | [optional] -**campaignId** | **Integer** | The ID of the campaign that owns this entity. | [optional] -**templateId** | **Integer** | The ID of the campaign template that owns this entity. | [optional] +**campaignId** | **Long** | The ID of the campaign that owns this entity. | [optional] +**templateId** | **Long** | The ID of the campaign template that owns this entity. | [optional] **activatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp indicating when this Ruleset was activated. | [optional] diff --git a/docs/SamlConnection.md b/docs/SamlConnection.md index 7f81a5ba..971a6f74 100644 --- a/docs/SamlConnection.md +++ b/docs/SamlConnection.md @@ -8,7 +8,7 @@ A SAML 2.0 connection. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **assertionConsumerServiceURL** | **String** | The location where the SAML assertion is sent with a HTTP POST. | -**accountId** | **Integer** | The ID of the account that owns this entity. | +**accountId** | **Long** | The ID of the account that owns this entity. | **name** | **String** | ID of the SAML service. | **enabled** | **Boolean** | Determines if this SAML connection active. | **issuer** | **String** | Identity Provider Entity ID. | @@ -16,7 +16,7 @@ Name | Type | Description | Notes **signOutURL** | **String** | Single Sign-Out URL. | [optional] **metadataURL** | **String** | Metadata URL. | [optional] **audienceURI** | **String** | The application-defined unique identifier that is the intended audience of the SAML assertion. This is most often the SP Entity ID of your application. When not specified, the ACS URL will be used. | -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | diff --git a/docs/SamlLoginEndpoint.md b/docs/SamlLoginEndpoint.md index 11e32a8b..d8f16a20 100644 --- a/docs/SamlLoginEndpoint.md +++ b/docs/SamlLoginEndpoint.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | ID of the SAML login endpoint. | +**id** | **Long** | ID of the SAML login endpoint. | **name** | **String** | ID of the SAML service. | **loginURL** | **String** | The single sign-on URL. | diff --git a/docs/ScimSchemasListResponse.md b/docs/ScimSchemasListResponse.md index bec0115f..57d88d2e 100644 --- a/docs/ScimSchemasListResponse.md +++ b/docs/ScimSchemasListResponse.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **resources** | [**List<ScimSchemaResource>**](ScimSchemaResource.md) | | **schemas** | **List<String>** | SCIM schema for the given resource. | [optional] -**totalResults** | **Integer** | Number of total results in the response. | [optional] +**totalResults** | **Long** | Number of total results in the response. | [optional] diff --git a/docs/ScimServiceProviderConfigResponseBulk.md b/docs/ScimServiceProviderConfigResponseBulk.md index d5ac9118..3d5767a1 100644 --- a/docs/ScimServiceProviderConfigResponseBulk.md +++ b/docs/ScimServiceProviderConfigResponseBulk.md @@ -7,8 +7,8 @@ Configuration related to bulk operations, which allow multiple SCIM requests to Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**maxOperations** | **Integer** | The maximum number of individual operations that can be included in a single bulk request. | [optional] -**maxPayloadSize** | **Integer** | The maximum size, in bytes, of the entire payload for a bulk operation request. | [optional] +**maxOperations** | **Long** | The maximum number of individual operations that can be included in a single bulk request. | [optional] +**maxPayloadSize** | **Long** | The maximum size, in bytes, of the entire payload for a bulk operation request. | [optional] **supported** | **Boolean** | Indicates whether the SCIM service provider supports bulk operations. | [optional] diff --git a/docs/ScimServiceProviderConfigResponseFilter.md b/docs/ScimServiceProviderConfigResponseFilter.md index a9276b0f..c3a9d2a5 100644 --- a/docs/ScimServiceProviderConfigResponseFilter.md +++ b/docs/ScimServiceProviderConfigResponseFilter.md @@ -7,7 +7,7 @@ Configuration settings related to filtering SCIM resources based on specific cri Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**maxResults** | **Integer** | The maximum number of resources that can be returned in a single filtered query response. | [optional] +**maxResults** | **Long** | The maximum number of resources that can be returned in a single filtered query response. | [optional] **supported** | **Boolean** | Indicates whether the SCIM service provider supports filtering operations. | [optional] diff --git a/docs/ScimUsersListResponse.md b/docs/ScimUsersListResponse.md index 4c93df21..91c2f7ac 100644 --- a/docs/ScimUsersListResponse.md +++ b/docs/ScimUsersListResponse.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **resources** | [**List<ScimUser>**](ScimUser.md) | | **schemas** | **List<String>** | SCIM schema for the given resource. | [optional] -**totalResults** | **Integer** | Number of total results in the response. | [optional] +**totalResults** | **Long** | Number of total results in the response. | [optional] diff --git a/docs/Session.md b/docs/Session.md index 98524ded..3d2cf8d3 100644 --- a/docs/Session.md +++ b/docs/Session.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**userId** | **Integer** | The ID of the user of this session. | +**userId** | **Long** | The ID of the user of this session. | **token** | **String** | The token to use as a bearer token to query Management API endpoints. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | Unix timestamp indicating when the session was first created. | diff --git a/docs/SetDiscountPerAdditionalCostEffectProps.md b/docs/SetDiscountPerAdditionalCostEffectProps.md index 2e7fd55f..d94246cf 100644 --- a/docs/SetDiscountPerAdditionalCostEffectProps.md +++ b/docs/SetDiscountPerAdditionalCostEffectProps.md @@ -8,7 +8,7 @@ The properties specific to the \"setDiscountPerAdditionalCost\" effect. This get Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name / description of this discount | -**additionalCostId** | **Integer** | The ID of the additional cost. | +**additionalCostId** | **Long** | The ID of the additional cost. | **additionalCost** | **String** | The name of the additional cost. | **value** | [**BigDecimal**](BigDecimal.md) | The total monetary value of the discount. | **desiredValue** | [**BigDecimal**](BigDecimal.md) | The original value of the discount. | [optional] diff --git a/docs/SetDiscountPerAdditionalCostPerItemEffectProps.md b/docs/SetDiscountPerAdditionalCostPerItemEffectProps.md index 589a67fe..c67eb5dd 100644 --- a/docs/SetDiscountPerAdditionalCostPerItemEffectProps.md +++ b/docs/SetDiscountPerAdditionalCostPerItemEffectProps.md @@ -8,7 +8,7 @@ The properties specific to the \"setDiscountPerAdditionalCostPerItem\" effect. T Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name / description of this discount | -**additionalCostId** | **Integer** | The ID of the additional cost. | +**additionalCostId** | **Long** | The ID of the additional cost. | **value** | [**BigDecimal**](BigDecimal.md) | The total monetary value of the discount. | **position** | [**BigDecimal**](BigDecimal.md) | The index of the item in the cart item list containing the additional cost to be discounted. | **subPosition** | [**BigDecimal**](BigDecimal.md) | For cart items with `quantity` > 1, the sub position indicates which item the discount applies to. | [optional] diff --git a/docs/SetDiscountPerItemEffectProps.md b/docs/SetDiscountPerItemEffectProps.md index 18fffe2e..df1fb4fa 100644 --- a/docs/SetDiscountPerItemEffectProps.md +++ b/docs/SetDiscountPerItemEffectProps.md @@ -15,7 +15,7 @@ Name | Type | Description | Notes **scope** | **String** | The scope of the discount: - `additionalCosts`: The discount applies to all the additional costs of the item. - `itemTotal`: The discount applies to the price of the item + the additional costs of the item. - `price`: The discount applies to the price of the item. | [optional] **totalDiscount** | [**BigDecimal**](BigDecimal.md) | The total discount given if this effect is a result of a prorated discount. | [optional] **desiredTotalDiscount** | [**BigDecimal**](BigDecimal.md) | The original total discount to give if this effect is a result of a prorated discount. | [optional] -**bundleIndex** | **Integer** | The position of the bundle in a list of item bundles created from the same bundle definition. | [optional] +**bundleIndex** | **Long** | The position of the bundle in a list of item bundles created from the same bundle definition. | [optional] **bundleName** | **String** | The name of the bundle definition. | [optional] **targetedItemPosition** | [**BigDecimal**](BigDecimal.md) | The index of the targeted bundle item on which the applied discount is based. | [optional] **targetedItemSubPosition** | [**BigDecimal**](BigDecimal.md) | The sub-position of the targeted bundle item on which the applied discount is based. | [optional] diff --git a/docs/Store.md b/docs/Store.md index 5d8c955e..487fa591 100644 --- a/docs/Store.md +++ b/docs/Store.md @@ -6,15 +6,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | **name** | **String** | The name of the store. | **description** | **String** | The description of the store. | **attributes** | [**Object**](.md) | The attributes of the store. | [optional] **integrationId** | **String** | The integration ID of the store. You choose this ID when you create a store. **Note**: You cannot edit the `integrationId` after the store has been created. | -**applicationId** | **Integer** | The ID of the Application that owns this entity. | +**applicationId** | **Long** | The ID of the Application that owns this entity. | **updated** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp of the most recent update on this entity. | -**linkedCampaignIds** | **List<Integer>** | A list of IDs of the campaigns that are linked with current store. | [optional] +**linkedCampaignIds** | **List<Long>** | A list of IDs of the campaigns that are linked with current store. | [optional] diff --git a/docs/StrikethroughChangedItem.md b/docs/StrikethroughChangedItem.md index 0985a414..0bc2c67c 100644 --- a/docs/StrikethroughChangedItem.md +++ b/docs/StrikethroughChangedItem.md @@ -7,10 +7,10 @@ The information of affected items. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | The ID of the event that triggered the strikethrough labeling. | -**catalogId** | **Integer** | The ID of the catalog that the changed item belongs to. | +**id** | **Long** | The ID of the event that triggered the strikethrough labeling. | +**catalogId** | **Long** | The ID of the catalog that the changed item belongs to. | **sku** | **String** | The unique SKU of the changed item. | -**version** | **Integer** | The version of the changed item. | +**version** | **Long** | The version of the changed item. | **price** | [**BigDecimal**](BigDecimal.md) | The price of the changed item. | **evaluatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The evaluation time of the changed item. | **effects** | [**List<StrikethroughEffect>**](StrikethroughEffect.md) | | [optional] diff --git a/docs/StrikethroughCustomEffectPerItemProps.md b/docs/StrikethroughCustomEffectPerItemProps.md index c2d97790..cbf914a3 100644 --- a/docs/StrikethroughCustomEffectPerItemProps.md +++ b/docs/StrikethroughCustomEffectPerItemProps.md @@ -7,7 +7,7 @@ customEffectPerItem effect in strikethrough pricing payload. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**effectId** | **Integer** | ID of the effect. | +**effectId** | **Long** | ID of the effect. | **name** | **String** | The type of the custom effect. | **payload** | [**Object**](.md) | The JSON payload of the custom effect. | diff --git a/docs/StrikethroughDebugResponse.md b/docs/StrikethroughDebugResponse.md index c2a229b0..b58f785a 100644 --- a/docs/StrikethroughDebugResponse.md +++ b/docs/StrikethroughDebugResponse.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**campaignsIDs** | **List<Integer>** | The campaign IDs that got fetched for the evaluation process. | [optional] +**campaignsIDs** | **List<Long>** | The campaign IDs that got fetched for the evaluation process. | [optional] **effects** | [**List<StrikethroughEffect>**](StrikethroughEffect.md) | The strikethrough effects that are returned from the evaluation process. | [optional] diff --git a/docs/StrikethroughEffect.md b/docs/StrikethroughEffect.md index 1ce465f1..8fb4b48c 100644 --- a/docs/StrikethroughEffect.md +++ b/docs/StrikethroughEffect.md @@ -7,9 +7,9 @@ The effect produced for the catalog item. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**campaignId** | **Integer** | The ID of the campaign that effect belongs to. | -**rulesetId** | **Integer** | The ID of the ruleset containing the rule that triggered this effect. | -**ruleIndex** | **Integer** | The position of the rule that triggered this effect within the ruleset. | +**campaignId** | **Long** | The ID of the campaign that effect belongs to. | +**rulesetId** | **Long** | The ID of the ruleset containing the rule that triggered this effect. | +**ruleIndex** | **Long** | The position of the rule that triggered this effect within the ruleset. | **ruleName** | **String** | The name of the rule that triggered this effect. | **type** | **String** | The type of this effect. | **props** | [**Object**](.md) | | diff --git a/docs/StrikethroughLabelingNotification.md b/docs/StrikethroughLabelingNotification.md index f5fd6948..9e0652b8 100644 --- a/docs/StrikethroughLabelingNotification.md +++ b/docs/StrikethroughLabelingNotification.md @@ -9,9 +9,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **version** | [**VersionEnum**](#VersionEnum) | The version of the strikethrough pricing notification. | [optional] **validFrom** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp at which the strikethrough pricing update becomes valid. Set for **scheduled** strikethrough pricing updates (version: v2) only. | [optional] -**applicationId** | **Integer** | The ID of the Application to which the catalog items labels belongs. | -**currentBatch** | **Integer** | The batch number of the notification. Notifications might be sent in different batches. | -**totalBatches** | **Integer** | The total number of batches for the notification. | +**applicationId** | **Long** | The ID of the Application to which the catalog items labels belongs. | +**currentBatch** | **Long** | The batch number of the notification. Notifications might be sent in different batches. | +**totalBatches** | **Long** | The total number of batches for the notification. | **trigger** | [**StrikethroughTrigger**](StrikethroughTrigger.md) | | **changedItems** | [**List<StrikethroughChangedItem>**](StrikethroughChangedItem.md) | | diff --git a/docs/StrikethroughTrigger.md b/docs/StrikethroughTrigger.md index 7db0f9f5..a0f6efc3 100644 --- a/docs/StrikethroughTrigger.md +++ b/docs/StrikethroughTrigger.md @@ -7,7 +7,7 @@ Information about the event that triggered the strikethrough labeling. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | The ID of the event that triggered the strikethrough labeling. | +**id** | **Long** | The ID of the event that triggered the strikethrough labeling. | **type** | **String** | The type of event that triggered the strikethrough labeling. | **triggeredAt** | [**OffsetDateTime**](OffsetDateTime.md) | The creation time of the event that triggered the strikethrough labeling. | **totalAffectedItems** | **Integer** | The total number of items affected by the event that triggered the strikethrough labeling. | diff --git a/docs/SummaryCampaignStoreBudget.md b/docs/SummaryCampaignStoreBudget.md index 4f973d76..847a89d8 100644 --- a/docs/SummaryCampaignStoreBudget.md +++ b/docs/SummaryCampaignStoreBudget.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **action** | [**ActionEnum**](#ActionEnum) | | **period** | [**PeriodEnum**](#PeriodEnum) | | [optional] -**storeCount** | **Integer** | | +**storeCount** | **Long** | | **imported** | **Boolean** | | diff --git a/docs/TalangAttribute.md b/docs/TalangAttribute.md index f39315e0..34fafdc6 100644 --- a/docs/TalangAttribute.md +++ b/docs/TalangAttribute.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes **description** | **String** | A description of the attribute. | [optional] **visible** | **Boolean** | Indicates whether the attribute is visible in the UI or not. | **kind** | [**KindEnum**](#KindEnum) | Indicate the kind of the attribute. | -**campaignsCount** | **Integer** | The number of campaigns that refer to the attribute. | +**campaignsCount** | **Long** | The number of campaigns that refer to the attribute. | **exampleValue** | **List<String>** | Examples of values that can be assigned to the attribute. | [optional] diff --git a/docs/TemplateArgDef.md b/docs/TemplateArgDef.md index 523ffdbd..c6317b6e 100644 --- a/docs/TemplateArgDef.md +++ b/docs/TemplateArgDef.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **title** | **String** | A campaigner friendly name for the argument, this will be shown in the rule editor. | **ui** | [**Object**](.md) | Arbitrary metadata that may be used to render an input for this argument. | **key** | **String** | The identifier for the associated value within the JSON object. | [optional] -**picklistID** | **Integer** | ID of the picklist linked to a template. | [optional] +**picklistID** | **Long** | ID of the picklist linked to a template. | [optional] **restrictedByPicklist** | **Boolean** | Whether or not this attribute's value is restricted by picklist (`picklist` property) | [optional] diff --git a/docs/TemplateDef.md b/docs/TemplateDef.md index 0e21a558..043d3c5e 100644 --- a/docs/TemplateDef.md +++ b/docs/TemplateDef.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | -**applicationId** | **Integer** | The ID of the Application that owns this entity. | +**applicationId** | **Long** | The ID of the Application that owns this entity. | **title** | **String** | Campaigner-friendly name for the template that will be shown in the rule editor. | **description** | **String** | A short description of the template that will be shown in the rule editor. | **help** | **String** | Extended help text for the template. | diff --git a/docs/Tier.md b/docs/Tier.md index fc02f3fa..a83a8aa0 100644 --- a/docs/Tier.md +++ b/docs/Tier.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | The internal ID of the tier. | +**id** | **Long** | The internal ID of the tier. | **name** | **String** | The name of the tier. | **startDate** | [**OffsetDateTime**](OffsetDateTime.md) | Date and time when the customer moved to this tier. This value uses the loyalty program's time zone setting. | [optional] **expiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | Date when tier level expires in the RFC3339 format (in the Loyalty Program's timezone). | [optional] diff --git a/docs/TierDowngradeNotificationPolicy.md b/docs/TierDowngradeNotificationPolicy.md index b97811ba..e4238122 100644 --- a/docs/TierDowngradeNotificationPolicy.md +++ b/docs/TierDowngradeNotificationPolicy.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name of the notification. | **batchingEnabled** | **Boolean** | Indicates whether batching is activated. | [optional] -**batchSize** | **Integer** | The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. | [optional] +**batchSize** | **Long** | The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. | [optional] diff --git a/docs/TierUpgradeNotificationPolicy.md b/docs/TierUpgradeNotificationPolicy.md index 42c95fb8..3eddda1d 100644 --- a/docs/TierUpgradeNotificationPolicy.md +++ b/docs/TierUpgradeNotificationPolicy.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | Notification name. | **batchingEnabled** | **Boolean** | Indicates whether batching is activated. | [optional] -**batchSize** | **Integer** | The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. | [optional] +**batchSize** | **Long** | The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. | [optional] diff --git a/docs/TierWillDowngradeNotificationPolicy.md b/docs/TierWillDowngradeNotificationPolicy.md index 3a410eff..e5a365d8 100644 --- a/docs/TierWillDowngradeNotificationPolicy.md +++ b/docs/TierWillDowngradeNotificationPolicy.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name of the notification. | **batchingEnabled** | **Boolean** | Indicates whether batching is activated. | [optional] -**batchSize** | **Integer** | The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. | [optional] +**batchSize** | **Long** | The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. | [optional] **triggers** | [**List<TierWillDowngradeNotificationTrigger>**](TierWillDowngradeNotificationTrigger.md) | | diff --git a/docs/TierWillDowngradeNotificationTrigger.md b/docs/TierWillDowngradeNotificationTrigger.md index 308371d1..5bf51b74 100644 --- a/docs/TierWillDowngradeNotificationTrigger.md +++ b/docs/TierWillDowngradeNotificationTrigger.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**amount** | **Integer** | The amount of period. | +**amount** | **Long** | The amount of period. | **period** | [**PeriodEnum**](#PeriodEnum) | Notification period indicated by a letter; \"w\" means week, \"d\" means day. | diff --git a/docs/TimePoint.md b/docs/TimePoint.md index 3e69e308..75704e43 100644 --- a/docs/TimePoint.md +++ b/docs/TimePoint.md @@ -7,12 +7,12 @@ The absolute duration after which the achievement ends and resets for a particul Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**month** | **Integer** | The achievement ends and resets in this month. **Note**: Only applicable if the period is set to `Y`. | [optional] -**dayOfMonth** | **Integer** | The achievement ends and resets on this day of the month. **Note**: Only applicable if the period is set to `Y` or `M`. | [optional] -**dayOfWeek** | **Integer** | The achievement ends and resets on this day of the week. `1` represents `Monday` and `7` represents `Sunday`. **Note**: Only applicable if the period is set to `W`. | [optional] -**hour** | **Integer** | The achievement ends and resets at this hour. | -**minute** | **Integer** | The achievement ends and resets at this minute. | -**second** | **Integer** | The achievement ends and resets at this second. | +**month** | **Long** | The achievement ends and resets in this month. **Note**: Only applicable if the period is set to `Y`. | [optional] +**dayOfMonth** | **Long** | The achievement ends and resets on this day of the month. **Note**: Only applicable if the period is set to `Y` or `M`. | [optional] +**dayOfWeek** | **Long** | The achievement ends and resets on this day of the week. `1` represents `Monday` and `7` represents `Sunday`. **Note**: Only applicable if the period is set to `W`. | [optional] +**hour** | **Long** | The achievement ends and resets at this hour. | +**minute** | **Long** | The achievement ends and resets at this minute. | +**second** | **Long** | The achievement ends and resets at this second. | diff --git a/docs/UpdateApplication.md b/docs/UpdateApplication.md index 3cd2b2e4..41a96bdc 100644 --- a/docs/UpdateApplication.md +++ b/docs/UpdateApplication.md @@ -20,8 +20,8 @@ Name | Type | Description | Notes **sandbox** | **Boolean** | Indicates if this is a live or sandbox Application. | [optional] **enablePartialDiscounts** | **Boolean** | Indicates if this Application supports partial discounts. | [optional] **defaultDiscountAdditionalCostPerItemScope** | [**DefaultDiscountAdditionalCostPerItemScopeEnum**](#DefaultDiscountAdditionalCostPerItemScopeEnum) | The default scope to apply `setDiscountPerItem` effects on if no scope was provided with the effect. | [optional] -**defaultEvaluationGroupId** | **Integer** | The ID of the default campaign evaluation group to which new campaigns will be added unless a different group is selected when creating the campaign. | [optional] -**defaultCartItemFilterId** | **Integer** | The ID of the default Cart-Item-Filter for this application. | [optional] +**defaultEvaluationGroupId** | **Long** | The ID of the default campaign evaluation group to which new campaigns will be added unless a different group is selected when creating the campaign. | [optional] +**defaultCartItemFilterId** | **Long** | The ID of the default Cart-Item-Filter for this application. | [optional] **enableCampaignStateManagement** | **Boolean** | Indicates whether the campaign staging and revisions feature is enabled for the Application. **Important:** After this feature is enabled, it cannot be disabled. | [optional] diff --git a/docs/UpdateApplicationAPIKey.md b/docs/UpdateApplicationAPIKey.md index b98defda..67fe23cc 100644 --- a/docs/UpdateApplicationAPIKey.md +++ b/docs/UpdateApplicationAPIKey.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**timeOffset** | **Integer** | A time offset in nanoseconds associated with the API key. When making a request using the API key, rule evaluation is based on a date that is calculated by adding the offset to the current date. | +**timeOffset** | **Long** | A time offset in nanoseconds associated with the API key. When making a request using the API key, rule evaluation is based on a date that is calculated by adding the offset to the current date. | diff --git a/docs/UpdateApplicationCIF.md b/docs/UpdateApplicationCIF.md index 4f91411e..4df9090f 100644 --- a/docs/UpdateApplicationCIF.md +++ b/docs/UpdateApplicationCIF.md @@ -7,8 +7,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **description** | **String** | A short description of the Application cart item filter. | [optional] -**activeExpressionId** | **Integer** | The ID of the expression that the Application cart item filter uses. | [optional] -**modifiedBy** | **Integer** | The ID of the user who last updated the Application cart item filter. | [optional] +**activeExpressionId** | **Long** | The ID of the expression that the Application cart item filter uses. | [optional] +**modifiedBy** | **Long** | The ID of the user who last updated the Application cart item filter. | [optional] **modified** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp of the most recent update to the Application cart item filter. | [optional] diff --git a/docs/UpdateCampaign.md b/docs/UpdateCampaign.md index c3c6a42f..5a9a231c 100644 --- a/docs/UpdateCampaign.md +++ b/docs/UpdateCampaign.md @@ -12,16 +12,16 @@ Name | Type | Description | Notes **endTime** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp when the campaign will become inactive. | [optional] **attributes** | [**Object**](.md) | Arbitrary properties associated with this campaign. | [optional] **state** | [**StateEnum**](#StateEnum) | A disabled or archived campaign is not evaluated for rules or coupons. | [optional] -**activeRulesetId** | **Integer** | [ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this campaign applies on customer session evaluation. | [optional] +**activeRulesetId** | **Long** | [ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this campaign applies on customer session evaluation. | [optional] **tags** | **List<String>** | A list of tags for the campaign. | **features** | [**List<FeaturesEnum>**](#List<FeaturesEnum>) | A list of features for the campaign. | **couponSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional] **referralSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional] **limits** | [**List<LimitConfig>**](LimitConfig.md) | The set of limits that will operate for this campaign. | -**campaignGroups** | **List<Integer>** | The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/account-settings/managing-campaign-groups) this campaign belongs to. | [optional] -**evaluationGroupId** | **Integer** | The ID of the campaign evaluation group the campaign belongs to. | [optional] +**campaignGroups** | **List<Long>** | The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/account-settings/managing-campaign-groups) this campaign belongs to. | [optional] +**evaluationGroupId** | **Long** | The ID of the campaign evaluation group the campaign belongs to. | [optional] **type** | [**TypeEnum**](#TypeEnum) | The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items. | [optional] -**linkedStoreIds** | **List<Integer>** | A list of store IDs that you want to link to the campaign. **Note:** - Campaigns with linked store IDs will only be evaluated when there is a [customer session update](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) that references a linked store. - If you linked stores to the campaign by uploading a CSV file, you cannot use this property and it should be empty. - Use of this property is limited to 50 stores. To link more than 50 stores, upload them via a CSV file. | [optional] +**linkedStoreIds** | **List<Long>** | A list of store IDs that you want to link to the campaign. **Note:** - Campaigns with linked store IDs will only be evaluated when there is a [customer session update](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) that references a linked store. - If you linked stores to the campaign by uploading a CSV file, you cannot use this property and it should be empty. - Use of this property is limited to 50 stores. To link more than 50 stores, upload them via a CSV file. | [optional] diff --git a/docs/UpdateCampaignEvaluationGroup.md b/docs/UpdateCampaignEvaluationGroup.md index 0408d666..3ede3a67 100644 --- a/docs/UpdateCampaignEvaluationGroup.md +++ b/docs/UpdateCampaignEvaluationGroup.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name of the campaign evaluation group. | -**parentId** | **Integer** | The ID of the parent group that contains the campaign evaluation group. | +**parentId** | **Long** | The ID of the parent group that contains the campaign evaluation group. | **description** | **String** | A description of the campaign evaluation group. | [optional] **evaluationMode** | [**EvaluationModeEnum**](#EvaluationModeEnum) | The mode by which campaigns in the campaign evaluation group are evaluated. | **evaluationScope** | [**EvaluationScopeEnum**](#EvaluationScopeEnum) | The evaluation scope of the campaign evaluation group. | diff --git a/docs/UpdateCampaignGroup.md b/docs/UpdateCampaignGroup.md index f1d2b0ad..86972ccd 100644 --- a/docs/UpdateCampaignGroup.md +++ b/docs/UpdateCampaignGroup.md @@ -8,8 +8,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name of the campaign access group. | **description** | **String** | A longer description of the campaign access group. | [optional] -**subscribedApplicationsIds** | **List<Integer>** | A list of IDs of the Applications that this campaign access group is enabled for. | [optional] -**campaignIds** | **List<Integer>** | A list of IDs of the campaigns that are part of the campaign access group. | [optional] +**subscribedApplicationsIds** | **List<Long>** | A list of IDs of the Applications that this campaign access group is enabled for. | [optional] +**campaignIds** | **List<Long>** | A list of IDs of the campaigns that are part of the campaign access group. | [optional] diff --git a/docs/UpdateCampaignTemplate.md b/docs/UpdateCampaignTemplate.md index 08dcd55f..2036e4a4 100644 --- a/docs/UpdateCampaignTemplate.md +++ b/docs/UpdateCampaignTemplate.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **campaignAttributes** | [**Object**](.md) | The campaign attributes that campaigns created from this template will have by default. | [optional] **couponAttributes** | [**Object**](.md) | The campaign attributes that coupons created from this template will have by default. | [optional] **state** | [**StateEnum**](#StateEnum) | Only campaign templates in 'available' state may be used to create campaigns. | -**activeRulesetId** | **Integer** | The ID of the ruleset this campaign template will use. | [optional] +**activeRulesetId** | **Long** | The ID of the ruleset this campaign template will use. | [optional] **tags** | **List<String>** | A list of tags for the campaign template. | [optional] **features** | [**List<FeaturesEnum>**](#List<FeaturesEnum>) | A list of features for the campaign template. | [optional] **couponSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional] @@ -20,9 +20,9 @@ Name | Type | Description | Notes **referralSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional] **limits** | [**List<TemplateLimitConfig>**](TemplateLimitConfig.md) | The set of limits that operate for this campaign template. | [optional] **templateParams** | [**List<CampaignTemplateParams>**](CampaignTemplateParams.md) | Fields which can be used to replace values in a rule. | [optional] -**applicationsIds** | **List<Integer>** | A list of IDs of the Applications that are subscribed to this campaign template. | +**applicationsIds** | **List<Long>** | A list of IDs of the Applications that are subscribed to this campaign template. | **campaignCollections** | [**List<CampaignTemplateCollection>**](CampaignTemplateCollection.md) | The campaign collections from the blueprint campaign for the template. | [optional] -**defaultCampaignGroupId** | **Integer** | The default campaign group ID. | [optional] +**defaultCampaignGroupId** | **Long** | The default campaign group ID. | [optional] **campaignType** | [**CampaignTypeEnum**](#CampaignTypeEnum) | The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items. | [optional] diff --git a/docs/UpdateCatalog.md b/docs/UpdateCatalog.md index 265dd822..4fb2f30a 100644 --- a/docs/UpdateCatalog.md +++ b/docs/UpdateCatalog.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **description** | **String** | A description of this cart item catalog. | [optional] **name** | **String** | Name of this cart item catalog. | [optional] -**subscribedApplicationsIds** | **List<Integer>** | A list of the IDs of the applications that are subscribed to this catalog. | [optional] +**subscribedApplicationsIds** | **List<Long>** | A list of the IDs of the applications that are subscribed to this catalog. | [optional] diff --git a/docs/UpdateCollection.md b/docs/UpdateCollection.md index 635623ad..ccbc9465 100644 --- a/docs/UpdateCollection.md +++ b/docs/UpdateCollection.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **description** | **String** | A short description of the purpose of this collection. | [optional] -**subscribedApplicationsIds** | **List<Integer>** | A list of the IDs of the Applications where this collection is enabled. | [optional] +**subscribedApplicationsIds** | **List<Long>** | A list of the IDs of the Applications where this collection is enabled. | [optional] diff --git a/docs/UpdateCoupon.md b/docs/UpdateCoupon.md index 301154ae..5ac442da 100644 --- a/docs/UpdateCoupon.md +++ b/docs/UpdateCoupon.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**usageLimit** | **Integer** | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. | [optional] +**usageLimit** | **Long** | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. | [optional] **discountLimit** | [**BigDecimal**](BigDecimal.md) | The total discount value that the code can give. Typically used to represent a gift card value. | [optional] -**reservationLimit** | **Integer** | The number of reservations that can be made with this coupon code. | [optional] +**reservationLimit** | **Long** | The number of reservations that can be made with this coupon code. | [optional] **startDate** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp at which point the coupon becomes valid. | [optional] **expiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | Expiration date of the coupon. Coupon never expires if this is omitted. | [optional] **limits** | [**List<LimitConfig>**](LimitConfig.md) | Limits configuration for a coupon. These limits will override the limits set from the campaign. **Note:** Only usable when creating a single coupon which is not tied to a specific recipient. Only per-profile limits are allowed to be configured. | [optional] diff --git a/docs/UpdateCouponBatch.md b/docs/UpdateCouponBatch.md index 5a8078ae..5aa99a21 100644 --- a/docs/UpdateCouponBatch.md +++ b/docs/UpdateCouponBatch.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**usageLimit** | **Integer** | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. | [optional] +**usageLimit** | **Long** | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. | [optional] **discountLimit** | [**BigDecimal**](BigDecimal.md) | The total discount value that the code can give. Typically used to represent a gift card value. | [optional] -**reservationLimit** | **Integer** | The number of reservations that can be made with this coupon code. | [optional] +**reservationLimit** | **Long** | The number of reservations that can be made with this coupon code. | [optional] **startDate** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp at which point the coupon becomes valid. | [optional] **expiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | Expiration date of the coupon. Coupon never expires if this is omitted. | [optional] **attributes** | [**Object**](.md) | Optional property to set the value of custom coupon attributes. They are defined in the Campaign Manager, see [Managing attributes](https://docs.talon.one/docs/product/account/dev-tools/managing-attributes). Coupon attributes can also be set to _mandatory_ in your Application [settings](https://docs.talon.one/docs/product/applications/using-attributes#making-attributes-mandatory). If your Application uses mandatory attributes, you must use this property to set their value. | [optional] diff --git a/docs/UpdateLoyaltyProgram.md b/docs/UpdateLoyaltyProgram.md index 19475bf5..9ac2c035 100644 --- a/docs/UpdateLoyaltyProgram.md +++ b/docs/UpdateLoyaltyProgram.md @@ -9,11 +9,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **title** | **String** | The display title for the Loyalty Program. | [optional] **description** | **String** | Description of our Loyalty Program. | [optional] -**subscribedApplications** | **List<Integer>** | A list containing the IDs of all applications that are subscribed to this Loyalty Program. | [optional] +**subscribedApplications** | **List<Long>** | A list containing the IDs of all applications that are subscribed to this Loyalty Program. | [optional] **defaultValidity** | **String** | The default duration after which new loyalty points should expire. Can be 'unlimited' or a specific time. The time format is a number followed by one letter indicating the time unit, like '30s', '40m', '1h', '5D', '7W', or 10M'. These rounding suffixes are also supported: - '_D' for rounding down. Can be used as a suffix after 'D', and signifies the start of the day. - '_U' for rounding up. Can be used as a suffix after 'D', 'W', and 'M', and signifies the end of the day, week, and month. | [optional] **defaultPending** | **String** | The default duration of the pending time after which points should be valid. Can be 'immediate' or a specific time. The time format is a number followed by one letter indicating the time unit, like '30s', '40m', '1h', '5D', '7W', or 10M'. These rounding suffixes are also supported: - '_D' for rounding down. Can be used as a suffix after 'D', and signifies the start of the day. - '_U' for rounding up. Can be used as a suffix after 'D', 'W', and 'M', and signifies the end of the day, week, and month. | [optional] **allowSubledger** | **Boolean** | Indicates if this program supports subledgers inside the program. | [optional] -**usersPerCardLimit** | **Integer** | The max amount of user profiles with whom a card can be shared. This can be set to 0 for no limit. This property is only used when `cardBased` is `true`. | [optional] +**usersPerCardLimit** | **Long** | The max amount of user profiles with whom a card can be shared. This can be set to 0 for no limit. This property is only used when `cardBased` is `true`. | [optional] **sandbox** | **Boolean** | Indicates if this program is a live or sandbox program. Programs of a given type can only be connected to Applications of the same type. | [optional] **programJoinPolicy** | [**ProgramJoinPolicyEnum**](#ProgramJoinPolicyEnum) | The policy that defines when the customer joins the loyalty program. - `not_join`: The customer does not join the loyalty program but can still earn and spend loyalty points. **Note**: The customer does not have a program join date. - `points_activated`: The customer joins the loyalty program only when their earned loyalty points become active for the first time. - `points_earned`: The customer joins the loyalty program when they earn loyalty points for the first time. | [optional] **tiersExpirationPolicy** | [**TiersExpirationPolicyEnum**](#TiersExpirationPolicyEnum) | The policy that defines how tier expiration, used to reevaluate the customer's current tier, is determined. - `tier_start_date`: The tier expiration is relative to when the customer joined the current tier. - `program_join_date`: The tier expiration is relative to when the customer joined the loyalty program. - `customer_attribute`: The tier expiration is determined by a custom customer attribute. - `absolute_expiration`: The tier is reevaluated at the start of each tier cycle. For this policy, it is required to provide a `tierCycleStartDate`. | [optional] diff --git a/docs/UpdateLoyaltyProgramTier.md b/docs/UpdateLoyaltyProgramTier.md index 2e1bb290..6aa6c538 100644 --- a/docs/UpdateLoyaltyProgramTier.md +++ b/docs/UpdateLoyaltyProgramTier.md @@ -7,7 +7,7 @@ Update a tier in a specified loyalty program. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | The internal ID of the tier. | +**id** | **Long** | The internal ID of the tier. | **name** | **String** | The name of the tier. | [optional] **minPoints** | [**BigDecimal**](BigDecimal.md) | The minimum amount of points required to enter the tier. | [optional] diff --git a/docs/UpdateReferral.md b/docs/UpdateReferral.md index 8a2a5e89..53383707 100644 --- a/docs/UpdateReferral.md +++ b/docs/UpdateReferral.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **friendProfileIntegrationId** | **String** | An optional Integration ID of the Friend's Profile. | [optional] **startDate** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp at which point the referral code becomes valid. | [optional] **expiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | Expiration date of the referral code. Referral never expires if this is omitted. | [optional] -**usageLimit** | **Integer** | The number of times a referral code can be used. This can be set to 0 for no limit, but any campaign usage limits will still apply. | [optional] +**usageLimit** | **Long** | The number of times a referral code can be used. This can be set to 0 for no limit, but any campaign usage limits will still apply. | [optional] **attributes** | [**Object**](.md) | Arbitrary properties associated with this item. | [optional] diff --git a/docs/UpdateReferralBatch.md b/docs/UpdateReferralBatch.md index 78a97d38..b256e8f3 100644 --- a/docs/UpdateReferralBatch.md +++ b/docs/UpdateReferralBatch.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **batchID** | **String** | The id of the batch the referral belongs to. | **startDate** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp at which point the referral code becomes valid. | [optional] **expiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | Expiration date of the referral code. Referral never expires if this is omitted. | [optional] -**usageLimit** | **Integer** | The number of times a referral code can be used. This can be set to 0 for no limit, but any campaign usage limits will still apply. | [optional] +**usageLimit** | **Long** | The number of times a referral code can be used. This can be set to 0 for no limit, but any campaign usage limits will still apply. | [optional] diff --git a/docs/UpdateRole.md b/docs/UpdateRole.md index 59852518..0aa604c5 100644 --- a/docs/UpdateRole.md +++ b/docs/UpdateRole.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **name** | **String** | Name of the role. | [optional] **description** | **String** | Description of the role. | [optional] **acl** | **String** | The `Access Control List` json defining the role of the user. This represents the access control on the user level. | [optional] -**members** | **List<Integer>** | An array of user identifiers. | [optional] +**members** | **List<Long>** | An array of user identifiers. | [optional] diff --git a/docs/UpdateUser.md b/docs/UpdateUser.md index 62735909..1b08a258 100644 --- a/docs/UpdateUser.md +++ b/docs/UpdateUser.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **state** | [**StateEnum**](#StateEnum) | The state of the user. - `deactivated`: The user has been deactivated. - `active`: The user is active. **Note**: Only `admin` users can update the state of another user. | [optional] **isAdmin** | **Boolean** | Indicates whether the user is an `admin`. | [optional] **policy** | **String** | Indicates the access level of the user. | [optional] -**roles** | **List<Integer>** | A list of the IDs of the roles assigned to the user. **Note**: To find the ID of a role, use the [List roles](/management-api#tag/Roles/operation/listAllRolesV2) endpoint. | [optional] +**roles** | **List<Long>** | A list of the IDs of the roles assigned to the user. **Note**: To find the ID of a role, use the [List roles](/management-api#tag/Roles/operation/listAllRolesV2) endpoint. | [optional] **applicationNotificationSubscriptions** | [**Object**](.md) | Application notifications that the user is subscribed to. | [optional] diff --git a/docs/User.md b/docs/User.md index a91c6b7a..fec8aac6 100644 --- a/docs/User.md +++ b/docs/User.md @@ -6,17 +6,17 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | **modified** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was last modified. | **email** | **String** | The email address associated with the user profile. | -**accountId** | **Integer** | The ID of the account that owns this entity. | +**accountId** | **Long** | The ID of the account that owns this entity. | **name** | **String** | Name of the user. | **state** | [**StateEnum**](#StateEnum) | State of the user. | **inviteToken** | **String** | Invitation token of the user. **Note**: If the user has already accepted their invitation, this is `null`. | **isAdmin** | **Boolean** | Indicates whether the user is an `admin`. | [optional] **policy** | [**Object**](.md) | Access level of the user. | -**roles** | **List<Integer>** | A list of the IDs of the roles assigned to the user. | [optional] +**roles** | **List<Long>** | A list of the IDs of the roles assigned to the user. | [optional] **authMethod** | **String** | Authentication method for this user. | [optional] **applicationNotificationSubscriptions** | [**Object**](.md) | Application notifications that the user is subscribed to. | [optional] **lastSignedIn** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp when the user last signed in to Talon.One. | [optional] diff --git a/docs/UserEntity.md b/docs/UserEntity.md index 279e4bb1..ed951e56 100644 --- a/docs/UserEntity.md +++ b/docs/UserEntity.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**userId** | **Integer** | The ID of the user associated with this entity. | +**userId** | **Long** | The ID of the user associated with this entity. | diff --git a/docs/ValueMap.md b/docs/ValueMap.md index c0befac4..84df5442 100644 --- a/docs/ValueMap.md +++ b/docs/ValueMap.md @@ -6,10 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Unique ID for this entity. Not to be confused with the Integration ID, which is set by your integration layer and used in most endpoints. | +**id** | **Long** | Unique ID for this entity. Not to be confused with the Integration ID, which is set by your integration layer and used in most endpoints. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional] -**createdBy** | **Integer** | The ID of the user who created the value map. | [optional] -**campaignId** | **Integer** | | +**createdBy** | **Long** | The ID of the user who created the value map. | [optional] +**campaignId** | **Long** | | diff --git a/docs/Webhook.md b/docs/Webhook.md index 175ba6f5..71010d5c 100644 --- a/docs/Webhook.md +++ b/docs/Webhook.md @@ -6,10 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | **modified** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was last modified. | -**applicationIds** | **List<Integer>** | The IDs of the Applications in which this webhook is available. An empty array means the webhook is available in `All Applications`. | +**applicationIds** | **List<Long>** | The IDs of the Applications in which this webhook is available. An empty array means the webhook is available in `All Applications`. | **title** | **String** | Name or title for this webhook. | **description** | **String** | A description of the webhook. | [optional] **verb** | [**VerbEnum**](#VerbEnum) | API method for this webhook. | diff --git a/docs/WebhookActivationLogEntry.md b/docs/WebhookActivationLogEntry.md index eba02e14..6d662252 100644 --- a/docs/WebhookActivationLogEntry.md +++ b/docs/WebhookActivationLogEntry.md @@ -8,9 +8,9 @@ Log of activated webhooks. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **integrationRequestUuid** | **String** | UUID reference of the integration request that triggered the effect with the webhook. | -**webhookId** | **Integer** | ID of the webhook that triggered the request. | -**applicationId** | **Integer** | ID of the application that triggered the webhook. | -**campaignId** | **Integer** | ID of the campaign that triggered the webhook. | +**webhookId** | **Long** | ID of the webhook that triggered the request. | +**applicationId** | **Long** | ID of the application that triggered the webhook. | +**campaignId** | **Long** | ID of the campaign that triggered the webhook. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp of request | diff --git a/docs/WebhookLogEntry.md b/docs/WebhookLogEntry.md index bac9be49..c192f194 100644 --- a/docs/WebhookLogEntry.md +++ b/docs/WebhookLogEntry.md @@ -9,12 +9,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **String** | UUID reference of the webhook request. | **integrationRequestUuid** | **String** | UUID reference of the integration request linked to this webhook request. | -**webhookId** | **Integer** | ID of the webhook that triggered the request. | -**applicationId** | **Integer** | ID of the application that triggered the webhook. | [optional] +**webhookId** | **Long** | ID of the webhook that triggered the request. | +**applicationId** | **Long** | ID of the application that triggered the webhook. | [optional] **url** | **String** | The target URL of the request. | **request** | **String** | Request message | **response** | **String** | Response message | [optional] -**status** | **Integer** | HTTP status code of response. | [optional] +**status** | **Long** | HTTP status code of response. | [optional] **requestTime** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp of request | **responseTime** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp of response | [optional] diff --git a/docs/WebhookWithOutgoingIntegrationDetails.md b/docs/WebhookWithOutgoingIntegrationDetails.md index 41e97e14..079324a7 100644 --- a/docs/WebhookWithOutgoingIntegrationDetails.md +++ b/docs/WebhookWithOutgoingIntegrationDetails.md @@ -6,10 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Internal ID of this entity. | +**id** | **Long** | Internal ID of this entity. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | **modified** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was last modified. | -**applicationIds** | **List<Integer>** | The IDs of the Applications in which this webhook is available. An empty array means the webhook is available in `All Applications`. | +**applicationIds** | **List<Long>** | The IDs of the Applications in which this webhook is available. An empty array means the webhook is available in `All Applications`. | **title** | **String** | Name or title for this webhook. | **description** | **String** | A description of the webhook. | [optional] **verb** | [**VerbEnum**](#VerbEnum) | API method for this webhook. | @@ -18,8 +18,8 @@ Name | Type | Description | Notes **payload** | **String** | API payload (supports templating using parameters) for this webhook. | [optional] **params** | [**List<TemplateArgDef>**](TemplateArgDef.md) | Array of template argument definitions. | **enabled** | **Boolean** | Enables or disables webhook from showing in the Rule Builder. | -**outgoingIntegrationTemplateId** | **Integer** | Identifier of the outgoing integration template. | [optional] -**outgoingIntegrationTypeId** | **Integer** | Identifier of the outgoing integration type. | [optional] +**outgoingIntegrationTemplateId** | **Long** | Identifier of the outgoing integration template. | [optional] +**outgoingIntegrationTypeId** | **Long** | Identifier of the outgoing integration type. | [optional] **outgoingIntegrationTypeName** | **String** | Name of the outgoing integration. | [optional] diff --git a/docs/WillAwardGiveawayEffectProps.md b/docs/WillAwardGiveawayEffectProps.md index 64d4bd99..fc643303 100644 --- a/docs/WillAwardGiveawayEffectProps.md +++ b/docs/WillAwardGiveawayEffectProps.md @@ -7,7 +7,7 @@ The properties specific to the \"awardGiveaway\" effect when the session is not Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**poolId** | **Integer** | The ID of the giveaways pool the code will be taken from. | +**poolId** | **Long** | The ID of the giveaways pool the code will be taken from. | **poolName** | **String** | The name of the giveaways pool the code will be taken from. | **recipientIntegrationId** | **String** | The integration ID of the profile that will be awarded the giveaway. | diff --git a/pom.xml b/pom.xml index 39b0196d..48d73594 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ talon-one-client jar talon-one-client - 11.0.0 + 12.0.0 https://github.com/talon-one/maven-artefacts Talon.One unified JAVA SDK. It allows for programmatic access to the integration and management API with their respective authentication strategies diff --git a/src/main/java/one/talon/ApiClient.java b/src/main/java/one/talon/ApiClient.java index 1615bda7..5f39512b 100644 --- a/src/main/java/one/talon/ApiClient.java +++ b/src/main/java/one/talon/ApiClient.java @@ -132,7 +132,7 @@ private void init() { json = new JSON(); // Set default User-Agent. - setUserAgent("OpenAPI-Generator/11.0.0/java"); + setUserAgent("OpenAPI-Generator/12.0.0/java"); authentications = new HashMap(); } diff --git a/src/main/java/one/talon/api/IntegrationApi.java b/src/main/java/one/talon/api/IntegrationApi.java index 5706eb93..cf736c4e 100644 --- a/src/main/java/one/talon/api/IntegrationApi.java +++ b/src/main/java/one/talon/api/IntegrationApi.java @@ -608,7 +608,7 @@ public okhttp3.Call createReferralsForMultipleAdvocatesAsync(NewReferralsForMult 404 Not found - */ - public okhttp3.Call deleteAudienceMembershipsV2Call(Integer audienceId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteAudienceMembershipsV2Call(Long audienceId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -639,7 +639,7 @@ public okhttp3.Call deleteAudienceMembershipsV2Call(Integer audienceId, final Ap } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteAudienceMembershipsV2ValidateBeforeCall(Integer audienceId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteAudienceMembershipsV2ValidateBeforeCall(Long audienceId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'audienceId' is set if (audienceId == null) { @@ -665,7 +665,7 @@ private okhttp3.Call deleteAudienceMembershipsV2ValidateBeforeCall(Integer audie 404 Not found - */ - public void deleteAudienceMembershipsV2(Integer audienceId) throws ApiException { + public void deleteAudienceMembershipsV2(Long audienceId) throws ApiException { deleteAudienceMembershipsV2WithHttpInfo(audienceId); } @@ -683,7 +683,7 @@ public void deleteAudienceMembershipsV2(Integer audienceId) throws ApiException 404 Not found - */ - public ApiResponse deleteAudienceMembershipsV2WithHttpInfo(Integer audienceId) throws ApiException { + public ApiResponse deleteAudienceMembershipsV2WithHttpInfo(Long audienceId) throws ApiException { okhttp3.Call localVarCall = deleteAudienceMembershipsV2ValidateBeforeCall(audienceId, null); return localVarApiClient.execute(localVarCall); } @@ -703,7 +703,7 @@ public ApiResponse deleteAudienceMembershipsV2WithHttpInfo(Integer audienc 404 Not found - */ - public okhttp3.Call deleteAudienceMembershipsV2Async(Integer audienceId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteAudienceMembershipsV2Async(Long audienceId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = deleteAudienceMembershipsV2ValidateBeforeCall(audienceId, _callback); localVarApiClient.executeAsync(localVarCall, _callback); @@ -724,7 +724,7 @@ public okhttp3.Call deleteAudienceMembershipsV2Async(Integer audienceId, final A 404 Not found - */ - public okhttp3.Call deleteAudienceV2Call(Integer audienceId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteAudienceV2Call(Long audienceId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -755,7 +755,7 @@ public okhttp3.Call deleteAudienceV2Call(Integer audienceId, final ApiCallback _ } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteAudienceV2ValidateBeforeCall(Integer audienceId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteAudienceV2ValidateBeforeCall(Long audienceId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'audienceId' is set if (audienceId == null) { @@ -782,7 +782,7 @@ private okhttp3.Call deleteAudienceV2ValidateBeforeCall(Integer audienceId, fina 404 Not found - */ - public void deleteAudienceV2(Integer audienceId) throws ApiException { + public void deleteAudienceV2(Long audienceId) throws ApiException { deleteAudienceV2WithHttpInfo(audienceId); } @@ -801,7 +801,7 @@ public void deleteAudienceV2(Integer audienceId) throws ApiException { 404 Not found - */ - public ApiResponse deleteAudienceV2WithHttpInfo(Integer audienceId) throws ApiException { + public ApiResponse deleteAudienceV2WithHttpInfo(Long audienceId) throws ApiException { okhttp3.Call localVarCall = deleteAudienceV2ValidateBeforeCall(audienceId, null); return localVarApiClient.execute(localVarCall); } @@ -822,7 +822,7 @@ public ApiResponse deleteAudienceV2WithHttpInfo(Integer audienceId) throws 404 Not found - */ - public okhttp3.Call deleteAudienceV2Async(Integer audienceId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteAudienceV2Async(Long audienceId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = deleteAudienceV2ValidateBeforeCall(audienceId, _callback); localVarApiClient.executeAsync(localVarCall, _callback); @@ -1086,7 +1086,7 @@ public okhttp3.Call deleteCustomerDataAsync(String integrationId, final ApiCallb 401 Unauthorized - */ - public okhttp3.Call generateLoyaltyCardCall(Integer loyaltyProgramId, GenerateLoyaltyCard body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call generateLoyaltyCardCall(Long loyaltyProgramId, GenerateLoyaltyCard body, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -1117,7 +1117,7 @@ public okhttp3.Call generateLoyaltyCardCall(Integer loyaltyProgramId, GenerateLo } @SuppressWarnings("rawtypes") - private okhttp3.Call generateLoyaltyCardValidateBeforeCall(Integer loyaltyProgramId, GenerateLoyaltyCard body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call generateLoyaltyCardValidateBeforeCall(Long loyaltyProgramId, GenerateLoyaltyCard body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'loyaltyProgramId' is set if (loyaltyProgramId == null) { @@ -1150,7 +1150,7 @@ private okhttp3.Call generateLoyaltyCardValidateBeforeCall(Integer loyaltyProgra 401 Unauthorized - */ - public LoyaltyCard generateLoyaltyCard(Integer loyaltyProgramId, GenerateLoyaltyCard body) throws ApiException { + public LoyaltyCard generateLoyaltyCard(Long loyaltyProgramId, GenerateLoyaltyCard body) throws ApiException { ApiResponse localVarResp = generateLoyaltyCardWithHttpInfo(loyaltyProgramId, body); return localVarResp.getData(); } @@ -1170,7 +1170,7 @@ public LoyaltyCard generateLoyaltyCard(Integer loyaltyProgramId, GenerateLoyalty 401 Unauthorized - */ - public ApiResponse generateLoyaltyCardWithHttpInfo(Integer loyaltyProgramId, GenerateLoyaltyCard body) throws ApiException { + public ApiResponse generateLoyaltyCardWithHttpInfo(Long loyaltyProgramId, GenerateLoyaltyCard body) throws ApiException { okhttp3.Call localVarCall = generateLoyaltyCardValidateBeforeCall(loyaltyProgramId, body, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -1192,7 +1192,7 @@ public ApiResponse generateLoyaltyCardWithHttpInfo(Integer loyaltyP 401 Unauthorized - */ - public okhttp3.Call generateLoyaltyCardAsync(Integer loyaltyProgramId, GenerateLoyaltyCard body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call generateLoyaltyCardAsync(Long loyaltyProgramId, GenerateLoyaltyCard body, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = generateLoyaltyCardValidateBeforeCall(loyaltyProgramId, body, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -1206,7 +1206,7 @@ public okhttp3.Call generateLoyaltyCardAsync(Integer loyaltyProgramId, GenerateL * @param progressStatus Filter by customer progress status in the achievement. (optional) * @param startDate Timestamp that filters the results to only contain achievements created on or after the start date. (optional) * @param endDate Timestamp that filters the results to only contain achievements created before or on the end date. (optional) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param _callback Callback for upload/download progress * @return Call to execute @@ -1220,7 +1220,7 @@ public okhttp3.Call generateLoyaltyCardAsync(Integer loyaltyProgramId, GenerateL 404 Not found - */ - public okhttp3.Call getCustomerAchievementHistoryCall(String integrationId, Integer achievementId, List progressStatus, OffsetDateTime startDate, OffsetDateTime endDate, Integer pageSize, Integer skip, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCustomerAchievementHistoryCall(String integrationId, Long achievementId, List progressStatus, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -1272,7 +1272,7 @@ public okhttp3.Call getCustomerAchievementHistoryCall(String integrationId, Inte } @SuppressWarnings("rawtypes") - private okhttp3.Call getCustomerAchievementHistoryValidateBeforeCall(String integrationId, Integer achievementId, List progressStatus, OffsetDateTime startDate, OffsetDateTime endDate, Integer pageSize, Integer skip, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getCustomerAchievementHistoryValidateBeforeCall(String integrationId, Long achievementId, List progressStatus, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { // verify the required parameter 'integrationId' is set if (integrationId == null) { @@ -1298,7 +1298,7 @@ private okhttp3.Call getCustomerAchievementHistoryValidateBeforeCall(String inte * @param progressStatus Filter by customer progress status in the achievement. (optional) * @param startDate Timestamp that filters the results to only contain achievements created on or after the start date. (optional) * @param endDate Timestamp that filters the results to only contain achievements created before or on the end date. (optional) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @return InlineResponse2002 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -1311,7 +1311,7 @@ private okhttp3.Call getCustomerAchievementHistoryValidateBeforeCall(String inte 404 Not found - */ - public InlineResponse2002 getCustomerAchievementHistory(String integrationId, Integer achievementId, List progressStatus, OffsetDateTime startDate, OffsetDateTime endDate, Integer pageSize, Integer skip) throws ApiException { + public InlineResponse2002 getCustomerAchievementHistory(String integrationId, Long achievementId, List progressStatus, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip) throws ApiException { ApiResponse localVarResp = getCustomerAchievementHistoryWithHttpInfo(integrationId, achievementId, progressStatus, startDate, endDate, pageSize, skip); return localVarResp.getData(); } @@ -1324,7 +1324,7 @@ public InlineResponse2002 getCustomerAchievementHistory(String integrationId, In * @param progressStatus Filter by customer progress status in the achievement. (optional) * @param startDate Timestamp that filters the results to only contain achievements created on or after the start date. (optional) * @param endDate Timestamp that filters the results to only contain achievements created before or on the end date. (optional) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @return ApiResponse<InlineResponse2002> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -1337,7 +1337,7 @@ public InlineResponse2002 getCustomerAchievementHistory(String integrationId, In 404 Not found - */ - public ApiResponse getCustomerAchievementHistoryWithHttpInfo(String integrationId, Integer achievementId, List progressStatus, OffsetDateTime startDate, OffsetDateTime endDate, Integer pageSize, Integer skip) throws ApiException { + public ApiResponse getCustomerAchievementHistoryWithHttpInfo(String integrationId, Long achievementId, List progressStatus, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip) throws ApiException { okhttp3.Call localVarCall = getCustomerAchievementHistoryValidateBeforeCall(integrationId, achievementId, progressStatus, startDate, endDate, pageSize, skip, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -1351,7 +1351,7 @@ public ApiResponse getCustomerAchievementHistoryWithHttpInfo * @param progressStatus Filter by customer progress status in the achievement. (optional) * @param startDate Timestamp that filters the results to only contain achievements created on or after the start date. (optional) * @param endDate Timestamp that filters the results to only contain achievements created before or on the end date. (optional) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -1365,7 +1365,7 @@ public ApiResponse getCustomerAchievementHistoryWithHttpInfo 404 Not found - */ - public okhttp3.Call getCustomerAchievementHistoryAsync(String integrationId, Integer achievementId, List progressStatus, OffsetDateTime startDate, OffsetDateTime endDate, Integer pageSize, Integer skip, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCustomerAchievementHistoryAsync(String integrationId, Long achievementId, List progressStatus, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getCustomerAchievementHistoryValidateBeforeCall(integrationId, achievementId, progressStatus, startDate, endDate, pageSize, skip, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -1379,7 +1379,7 @@ public okhttp3.Call getCustomerAchievementHistoryAsync(String integrationId, Int * @param achievementIds Filter by one or more Achievement IDs, separated by a comma. **Note:** If no achievements are specified, data for all the achievements in the Application is returned. (optional) * @param achievementStatus Filter by status of the achievement. **Note:** If the achievement status is not specified, only data for all active achievements in the Application is returned. (optional) * @param currentProgressStatus Filter by customer progress status in the achievement. (optional) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param _callback Callback for upload/download progress * @return Call to execute @@ -1393,7 +1393,7 @@ public okhttp3.Call getCustomerAchievementHistoryAsync(String integrationId, Int 404 Not found - */ - public okhttp3.Call getCustomerAchievementsCall(String integrationId, List campaignIds, List achievementIds, List achievementStatus, List currentProgressStatus, Integer pageSize, Integer skip, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCustomerAchievementsCall(String integrationId, List campaignIds, List achievementIds, List achievementStatus, List currentProgressStatus, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -1448,7 +1448,7 @@ public okhttp3.Call getCustomerAchievementsCall(String integrationId, List campaignIds, List achievementIds, List achievementStatus, List currentProgressStatus, Integer pageSize, Integer skip, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getCustomerAchievementsValidateBeforeCall(String integrationId, List campaignIds, List achievementIds, List achievementStatus, List currentProgressStatus, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { // verify the required parameter 'integrationId' is set if (integrationId == null) { @@ -1469,7 +1469,7 @@ private okhttp3.Call getCustomerAchievementsValidateBeforeCall(String integratio * @param achievementIds Filter by one or more Achievement IDs, separated by a comma. **Note:** If no achievements are specified, data for all the achievements in the Application is returned. (optional) * @param achievementStatus Filter by status of the achievement. **Note:** If the achievement status is not specified, only data for all active achievements in the Application is returned. (optional) * @param currentProgressStatus Filter by customer progress status in the achievement. (optional) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @return InlineResponse2001 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -1482,7 +1482,7 @@ private okhttp3.Call getCustomerAchievementsValidateBeforeCall(String integratio 404 Not found - */ - public InlineResponse2001 getCustomerAchievements(String integrationId, List campaignIds, List achievementIds, List achievementStatus, List currentProgressStatus, Integer pageSize, Integer skip) throws ApiException { + public InlineResponse2001 getCustomerAchievements(String integrationId, List campaignIds, List achievementIds, List achievementStatus, List currentProgressStatus, Long pageSize, Long skip) throws ApiException { ApiResponse localVarResp = getCustomerAchievementsWithHttpInfo(integrationId, campaignIds, achievementIds, achievementStatus, currentProgressStatus, pageSize, skip); return localVarResp.getData(); } @@ -1495,7 +1495,7 @@ public InlineResponse2001 getCustomerAchievements(String integrationId, List 404 Not found - */ - public ApiResponse getCustomerAchievementsWithHttpInfo(String integrationId, List campaignIds, List achievementIds, List achievementStatus, List currentProgressStatus, Integer pageSize, Integer skip) throws ApiException { + public ApiResponse getCustomerAchievementsWithHttpInfo(String integrationId, List campaignIds, List achievementIds, List achievementStatus, List currentProgressStatus, Long pageSize, Long skip) throws ApiException { okhttp3.Call localVarCall = getCustomerAchievementsValidateBeforeCall(integrationId, campaignIds, achievementIds, achievementStatus, currentProgressStatus, pageSize, skip, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -1522,7 +1522,7 @@ public ApiResponse getCustomerAchievementsWithHttpInfo(Strin * @param achievementIds Filter by one or more Achievement IDs, separated by a comma. **Note:** If no achievements are specified, data for all the achievements in the Application is returned. (optional) * @param achievementStatus Filter by status of the achievement. **Note:** If the achievement status is not specified, only data for all active achievements in the Application is returned. (optional) * @param currentProgressStatus Filter by customer progress status in the achievement. (optional) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -1536,7 +1536,7 @@ public ApiResponse getCustomerAchievementsWithHttpInfo(Strin 404 Not found - */ - public okhttp3.Call getCustomerAchievementsAsync(String integrationId, List campaignIds, List achievementIds, List achievementStatus, List currentProgressStatus, Integer pageSize, Integer skip, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCustomerAchievementsAsync(String integrationId, List campaignIds, List achievementIds, List achievementStatus, List currentProgressStatus, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getCustomerAchievementsValidateBeforeCall(integrationId, campaignIds, achievementIds, achievementStatus, currentProgressStatus, pageSize, skip, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -1849,7 +1849,7 @@ public okhttp3.Call getCustomerSessionAsync(String customerSessionId, final ApiC 404 Not found - */ - public okhttp3.Call getLoyaltyBalancesCall(Integer loyaltyProgramId, String integrationId, OffsetDateTime endDate, String subledgerId, Boolean includeTiers, Boolean includeProjectedTier, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLoyaltyBalancesCall(Long loyaltyProgramId, String integrationId, OffsetDateTime endDate, String subledgerId, Boolean includeTiers, Boolean includeProjectedTier, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -1897,7 +1897,7 @@ public okhttp3.Call getLoyaltyBalancesCall(Integer loyaltyProgramId, String inte } @SuppressWarnings("rawtypes") - private okhttp3.Call getLoyaltyBalancesValidateBeforeCall(Integer loyaltyProgramId, String integrationId, OffsetDateTime endDate, String subledgerId, Boolean includeTiers, Boolean includeProjectedTier, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getLoyaltyBalancesValidateBeforeCall(Long loyaltyProgramId, String integrationId, OffsetDateTime endDate, String subledgerId, Boolean includeTiers, Boolean includeProjectedTier, final ApiCallback _callback) throws ApiException { // verify the required parameter 'loyaltyProgramId' is set if (loyaltyProgramId == null) { @@ -1935,7 +1935,7 @@ private okhttp3.Call getLoyaltyBalancesValidateBeforeCall(Integer loyaltyProgram 404 Not found - */ - public LoyaltyBalancesWithTiers getLoyaltyBalances(Integer loyaltyProgramId, String integrationId, OffsetDateTime endDate, String subledgerId, Boolean includeTiers, Boolean includeProjectedTier) throws ApiException { + public LoyaltyBalancesWithTiers getLoyaltyBalances(Long loyaltyProgramId, String integrationId, OffsetDateTime endDate, String subledgerId, Boolean includeTiers, Boolean includeProjectedTier) throws ApiException { ApiResponse localVarResp = getLoyaltyBalancesWithHttpInfo(loyaltyProgramId, integrationId, endDate, subledgerId, includeTiers, includeProjectedTier); return localVarResp.getData(); } @@ -1960,7 +1960,7 @@ public LoyaltyBalancesWithTiers getLoyaltyBalances(Integer loyaltyProgramId, Str 404 Not found - */ - public ApiResponse getLoyaltyBalancesWithHttpInfo(Integer loyaltyProgramId, String integrationId, OffsetDateTime endDate, String subledgerId, Boolean includeTiers, Boolean includeProjectedTier) throws ApiException { + public ApiResponse getLoyaltyBalancesWithHttpInfo(Long loyaltyProgramId, String integrationId, OffsetDateTime endDate, String subledgerId, Boolean includeTiers, Boolean includeProjectedTier) throws ApiException { okhttp3.Call localVarCall = getLoyaltyBalancesValidateBeforeCall(loyaltyProgramId, integrationId, endDate, subledgerId, includeTiers, includeProjectedTier, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -1987,7 +1987,7 @@ public ApiResponse getLoyaltyBalancesWithHttpInfo(Inte 404 Not found - */ - public okhttp3.Call getLoyaltyBalancesAsync(Integer loyaltyProgramId, String integrationId, OffsetDateTime endDate, String subledgerId, Boolean includeTiers, Boolean includeProjectedTier, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLoyaltyBalancesAsync(Long loyaltyProgramId, String integrationId, OffsetDateTime endDate, String subledgerId, Boolean includeTiers, Boolean includeProjectedTier, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getLoyaltyBalancesValidateBeforeCall(loyaltyProgramId, integrationId, endDate, subledgerId, includeTiers, includeProjectedTier, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -2012,7 +2012,7 @@ public okhttp3.Call getLoyaltyBalancesAsync(Integer loyaltyProgramId, String int 404 Not found - */ - public okhttp3.Call getLoyaltyCardBalancesCall(Integer loyaltyProgramId, String loyaltyCardId, OffsetDateTime endDate, List subledgerId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLoyaltyCardBalancesCall(Long loyaltyProgramId, String loyaltyCardId, OffsetDateTime endDate, List subledgerId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -2052,7 +2052,7 @@ public okhttp3.Call getLoyaltyCardBalancesCall(Integer loyaltyProgramId, String } @SuppressWarnings("rawtypes") - private okhttp3.Call getLoyaltyCardBalancesValidateBeforeCall(Integer loyaltyProgramId, String loyaltyCardId, OffsetDateTime endDate, List subledgerId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getLoyaltyCardBalancesValidateBeforeCall(Long loyaltyProgramId, String loyaltyCardId, OffsetDateTime endDate, List subledgerId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'loyaltyProgramId' is set if (loyaltyProgramId == null) { @@ -2088,7 +2088,7 @@ private okhttp3.Call getLoyaltyCardBalancesValidateBeforeCall(Integer loyaltyPro 404 Not found - */ - public LoyaltyCardBalances getLoyaltyCardBalances(Integer loyaltyProgramId, String loyaltyCardId, OffsetDateTime endDate, List subledgerId) throws ApiException { + public LoyaltyCardBalances getLoyaltyCardBalances(Long loyaltyProgramId, String loyaltyCardId, OffsetDateTime endDate, List subledgerId) throws ApiException { ApiResponse localVarResp = getLoyaltyCardBalancesWithHttpInfo(loyaltyProgramId, loyaltyCardId, endDate, subledgerId); return localVarResp.getData(); } @@ -2111,7 +2111,7 @@ public LoyaltyCardBalances getLoyaltyCardBalances(Integer loyaltyProgramId, Stri 404 Not found - */ - public ApiResponse getLoyaltyCardBalancesWithHttpInfo(Integer loyaltyProgramId, String loyaltyCardId, OffsetDateTime endDate, List subledgerId) throws ApiException { + public ApiResponse getLoyaltyCardBalancesWithHttpInfo(Long loyaltyProgramId, String loyaltyCardId, OffsetDateTime endDate, List subledgerId) throws ApiException { okhttp3.Call localVarCall = getLoyaltyCardBalancesValidateBeforeCall(loyaltyProgramId, loyaltyCardId, endDate, subledgerId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -2136,7 +2136,7 @@ public ApiResponse getLoyaltyCardBalancesWithHttpInfo(Integ 404 Not found - */ - public okhttp3.Call getLoyaltyCardBalancesAsync(Integer loyaltyProgramId, String loyaltyCardId, OffsetDateTime endDate, List subledgerId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLoyaltyCardBalancesAsync(Long loyaltyProgramId, String loyaltyCardId, OffsetDateTime endDate, List subledgerId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getLoyaltyCardBalancesValidateBeforeCall(loyaltyProgramId, loyaltyCardId, endDate, subledgerId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -2149,7 +2149,7 @@ public okhttp3.Call getLoyaltyCardBalancesAsync(Integer loyaltyProgramId, String * @param loyaltyCardId Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. (required) * @param status Filter points based on their status. (optional, default to active) * @param subledgerId Filter results by one or more subledger IDs. Must be exact match. (optional) - * @param pageSize The number of items in the response. (optional, default to 50) + * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param _callback Callback for upload/download progress * @return Call to execute @@ -2163,7 +2163,7 @@ public okhttp3.Call getLoyaltyCardBalancesAsync(Integer loyaltyProgramId, String 404 Not found - */ - public okhttp3.Call getLoyaltyCardPointsCall(Integer loyaltyProgramId, String loyaltyCardId, String status, List subledgerId, Integer pageSize, Integer skip, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLoyaltyCardPointsCall(Long loyaltyProgramId, String loyaltyCardId, String status, List subledgerId, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -2211,7 +2211,7 @@ public okhttp3.Call getLoyaltyCardPointsCall(Integer loyaltyProgramId, String lo } @SuppressWarnings("rawtypes") - private okhttp3.Call getLoyaltyCardPointsValidateBeforeCall(Integer loyaltyProgramId, String loyaltyCardId, String status, List subledgerId, Integer pageSize, Integer skip, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getLoyaltyCardPointsValidateBeforeCall(Long loyaltyProgramId, String loyaltyCardId, String status, List subledgerId, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { // verify the required parameter 'loyaltyProgramId' is set if (loyaltyProgramId == null) { @@ -2236,7 +2236,7 @@ private okhttp3.Call getLoyaltyCardPointsValidateBeforeCall(Integer loyaltyProgr * @param loyaltyCardId Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. (required) * @param status Filter points based on their status. (optional, default to active) * @param subledgerId Filter results by one or more subledger IDs. Must be exact match. (optional) - * @param pageSize The number of items in the response. (optional, default to 50) + * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) * @return InlineResponse2005 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -2249,7 +2249,7 @@ private okhttp3.Call getLoyaltyCardPointsValidateBeforeCall(Integer loyaltyProgr 404 Not found - */ - public InlineResponse2005 getLoyaltyCardPoints(Integer loyaltyProgramId, String loyaltyCardId, String status, List subledgerId, Integer pageSize, Integer skip) throws ApiException { + public InlineResponse2005 getLoyaltyCardPoints(Long loyaltyProgramId, String loyaltyCardId, String status, List subledgerId, Long pageSize, Long skip) throws ApiException { ApiResponse localVarResp = getLoyaltyCardPointsWithHttpInfo(loyaltyProgramId, loyaltyCardId, status, subledgerId, pageSize, skip); return localVarResp.getData(); } @@ -2261,7 +2261,7 @@ public InlineResponse2005 getLoyaltyCardPoints(Integer loyaltyProgramId, String * @param loyaltyCardId Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. (required) * @param status Filter points based on their status. (optional, default to active) * @param subledgerId Filter results by one or more subledger IDs. Must be exact match. (optional) - * @param pageSize The number of items in the response. (optional, default to 50) + * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) * @return ApiResponse<InlineResponse2005> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -2274,7 +2274,7 @@ public InlineResponse2005 getLoyaltyCardPoints(Integer loyaltyProgramId, String 404 Not found - */ - public ApiResponse getLoyaltyCardPointsWithHttpInfo(Integer loyaltyProgramId, String loyaltyCardId, String status, List subledgerId, Integer pageSize, Integer skip) throws ApiException { + public ApiResponse getLoyaltyCardPointsWithHttpInfo(Long loyaltyProgramId, String loyaltyCardId, String status, List subledgerId, Long pageSize, Long skip) throws ApiException { okhttp3.Call localVarCall = getLoyaltyCardPointsValidateBeforeCall(loyaltyProgramId, loyaltyCardId, status, subledgerId, pageSize, skip, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -2287,7 +2287,7 @@ public ApiResponse getLoyaltyCardPointsWithHttpInfo(Integer * @param loyaltyCardId Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. (required) * @param status Filter points based on their status. (optional, default to active) * @param subledgerId Filter results by one or more subledger IDs. Must be exact match. (optional) - * @param pageSize The number of items in the response. (optional, default to 50) + * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -2301,7 +2301,7 @@ public ApiResponse getLoyaltyCardPointsWithHttpInfo(Integer 404 Not found - */ - public okhttp3.Call getLoyaltyCardPointsAsync(Integer loyaltyProgramId, String loyaltyCardId, String status, List subledgerId, Integer pageSize, Integer skip, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLoyaltyCardPointsAsync(Long loyaltyProgramId, String loyaltyCardId, String status, List subledgerId, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getLoyaltyCardPointsValidateBeforeCall(loyaltyProgramId, loyaltyCardId, status, subledgerId, pageSize, skip, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -2316,7 +2316,7 @@ public okhttp3.Call getLoyaltyCardPointsAsync(Integer loyaltyProgramId, String l * @param loyaltyTransactionType Filter results by loyalty transaction type: - `manual`: Loyalty transaction that was done manually. - `session`: Loyalty transaction that resulted from a customer session. - `import`: Loyalty transaction that was imported from a CSV file. (optional) * @param startDate Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional) * @param endDate Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional) - * @param pageSize The number of items in the response. (optional, default to 50) + * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param _callback Callback for upload/download progress * @return Call to execute @@ -2330,7 +2330,7 @@ public okhttp3.Call getLoyaltyCardPointsAsync(Integer loyaltyProgramId, String l 404 Not found - */ - public okhttp3.Call getLoyaltyCardTransactionsCall(Integer loyaltyProgramId, String loyaltyCardId, List subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Integer pageSize, Integer skip, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLoyaltyCardTransactionsCall(Long loyaltyProgramId, String loyaltyCardId, List subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -2386,7 +2386,7 @@ public okhttp3.Call getLoyaltyCardTransactionsCall(Integer loyaltyProgramId, Str } @SuppressWarnings("rawtypes") - private okhttp3.Call getLoyaltyCardTransactionsValidateBeforeCall(Integer loyaltyProgramId, String loyaltyCardId, List subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Integer pageSize, Integer skip, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getLoyaltyCardTransactionsValidateBeforeCall(Long loyaltyProgramId, String loyaltyCardId, List subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { // verify the required parameter 'loyaltyProgramId' is set if (loyaltyProgramId == null) { @@ -2413,7 +2413,7 @@ private okhttp3.Call getLoyaltyCardTransactionsValidateBeforeCall(Integer loyalt * @param loyaltyTransactionType Filter results by loyalty transaction type: - `manual`: Loyalty transaction that was done manually. - `session`: Loyalty transaction that resulted from a customer session. - `import`: Loyalty transaction that was imported from a CSV file. (optional) * @param startDate Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional) * @param endDate Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional) - * @param pageSize The number of items in the response. (optional, default to 50) + * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) * @return InlineResponse2003 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -2426,7 +2426,7 @@ private okhttp3.Call getLoyaltyCardTransactionsValidateBeforeCall(Integer loyalt 404 Not found - */ - public InlineResponse2003 getLoyaltyCardTransactions(Integer loyaltyProgramId, String loyaltyCardId, List subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Integer pageSize, Integer skip) throws ApiException { + public InlineResponse2003 getLoyaltyCardTransactions(Long loyaltyProgramId, String loyaltyCardId, List subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip) throws ApiException { ApiResponse localVarResp = getLoyaltyCardTransactionsWithHttpInfo(loyaltyProgramId, loyaltyCardId, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip); return localVarResp.getData(); } @@ -2440,7 +2440,7 @@ public InlineResponse2003 getLoyaltyCardTransactions(Integer loyaltyProgramId, S * @param loyaltyTransactionType Filter results by loyalty transaction type: - `manual`: Loyalty transaction that was done manually. - `session`: Loyalty transaction that resulted from a customer session. - `import`: Loyalty transaction that was imported from a CSV file. (optional) * @param startDate Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional) * @param endDate Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional) - * @param pageSize The number of items in the response. (optional, default to 50) + * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) * @return ApiResponse<InlineResponse2003> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -2453,7 +2453,7 @@ public InlineResponse2003 getLoyaltyCardTransactions(Integer loyaltyProgramId, S 404 Not found - */ - public ApiResponse getLoyaltyCardTransactionsWithHttpInfo(Integer loyaltyProgramId, String loyaltyCardId, List subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Integer pageSize, Integer skip) throws ApiException { + public ApiResponse getLoyaltyCardTransactionsWithHttpInfo(Long loyaltyProgramId, String loyaltyCardId, List subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip) throws ApiException { okhttp3.Call localVarCall = getLoyaltyCardTransactionsValidateBeforeCall(loyaltyProgramId, loyaltyCardId, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -2468,7 +2468,7 @@ public ApiResponse getLoyaltyCardTransactionsWithHttpInfo(In * @param loyaltyTransactionType Filter results by loyalty transaction type: - `manual`: Loyalty transaction that was done manually. - `session`: Loyalty transaction that resulted from a customer session. - `import`: Loyalty transaction that was imported from a CSV file. (optional) * @param startDate Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional) * @param endDate Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional) - * @param pageSize The number of items in the response. (optional, default to 50) + * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -2482,7 +2482,7 @@ public ApiResponse getLoyaltyCardTransactionsWithHttpInfo(In 404 Not found - */ - public okhttp3.Call getLoyaltyCardTransactionsAsync(Integer loyaltyProgramId, String loyaltyCardId, List subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Integer pageSize, Integer skip, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLoyaltyCardTransactionsAsync(Long loyaltyProgramId, String loyaltyCardId, List subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getLoyaltyCardTransactionsValidateBeforeCall(loyaltyProgramId, loyaltyCardId, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -2495,7 +2495,7 @@ public okhttp3.Call getLoyaltyCardTransactionsAsync(Integer loyaltyProgramId, St * @param integrationId The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier. (required) * @param status Filter points based on their status. (optional, default to active) * @param subledgerId The ID of the subledger by which we filter the data. (optional) - * @param pageSize The number of items in the response. (optional, default to 50) + * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param _callback Callback for upload/download progress * @return Call to execute @@ -2509,7 +2509,7 @@ public okhttp3.Call getLoyaltyCardTransactionsAsync(Integer loyaltyProgramId, St 404 Not found - */ - public okhttp3.Call getLoyaltyProgramProfilePointsCall(Integer loyaltyProgramId, String integrationId, String status, String subledgerId, Integer pageSize, Integer skip, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLoyaltyProgramProfilePointsCall(Long loyaltyProgramId, String integrationId, String status, String subledgerId, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -2557,7 +2557,7 @@ public okhttp3.Call getLoyaltyProgramProfilePointsCall(Integer loyaltyProgramId, } @SuppressWarnings("rawtypes") - private okhttp3.Call getLoyaltyProgramProfilePointsValidateBeforeCall(Integer loyaltyProgramId, String integrationId, String status, String subledgerId, Integer pageSize, Integer skip, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getLoyaltyProgramProfilePointsValidateBeforeCall(Long loyaltyProgramId, String integrationId, String status, String subledgerId, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { // verify the required parameter 'loyaltyProgramId' is set if (loyaltyProgramId == null) { @@ -2582,7 +2582,7 @@ private okhttp3.Call getLoyaltyProgramProfilePointsValidateBeforeCall(Integer lo * @param integrationId The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier. (required) * @param status Filter points based on their status. (optional, default to active) * @param subledgerId The ID of the subledger by which we filter the data. (optional) - * @param pageSize The number of items in the response. (optional, default to 50) + * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) * @return InlineResponse2006 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -2595,7 +2595,7 @@ private okhttp3.Call getLoyaltyProgramProfilePointsValidateBeforeCall(Integer lo 404 Not found - */ - public InlineResponse2006 getLoyaltyProgramProfilePoints(Integer loyaltyProgramId, String integrationId, String status, String subledgerId, Integer pageSize, Integer skip) throws ApiException { + public InlineResponse2006 getLoyaltyProgramProfilePoints(Long loyaltyProgramId, String integrationId, String status, String subledgerId, Long pageSize, Long skip) throws ApiException { ApiResponse localVarResp = getLoyaltyProgramProfilePointsWithHttpInfo(loyaltyProgramId, integrationId, status, subledgerId, pageSize, skip); return localVarResp.getData(); } @@ -2607,7 +2607,7 @@ public InlineResponse2006 getLoyaltyProgramProfilePoints(Integer loyaltyProgramI * @param integrationId The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier. (required) * @param status Filter points based on their status. (optional, default to active) * @param subledgerId The ID of the subledger by which we filter the data. (optional) - * @param pageSize The number of items in the response. (optional, default to 50) + * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) * @return ApiResponse<InlineResponse2006> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -2620,7 +2620,7 @@ public InlineResponse2006 getLoyaltyProgramProfilePoints(Integer loyaltyProgramI 404 Not found - */ - public ApiResponse getLoyaltyProgramProfilePointsWithHttpInfo(Integer loyaltyProgramId, String integrationId, String status, String subledgerId, Integer pageSize, Integer skip) throws ApiException { + public ApiResponse getLoyaltyProgramProfilePointsWithHttpInfo(Long loyaltyProgramId, String integrationId, String status, String subledgerId, Long pageSize, Long skip) throws ApiException { okhttp3.Call localVarCall = getLoyaltyProgramProfilePointsValidateBeforeCall(loyaltyProgramId, integrationId, status, subledgerId, pageSize, skip, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -2633,7 +2633,7 @@ public ApiResponse getLoyaltyProgramProfilePointsWithHttpInf * @param integrationId The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier. (required) * @param status Filter points based on their status. (optional, default to active) * @param subledgerId The ID of the subledger by which we filter the data. (optional) - * @param pageSize The number of items in the response. (optional, default to 50) + * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -2647,7 +2647,7 @@ public ApiResponse getLoyaltyProgramProfilePointsWithHttpInf 404 Not found - */ - public okhttp3.Call getLoyaltyProgramProfilePointsAsync(Integer loyaltyProgramId, String integrationId, String status, String subledgerId, Integer pageSize, Integer skip, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLoyaltyProgramProfilePointsAsync(Long loyaltyProgramId, String integrationId, String status, String subledgerId, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getLoyaltyProgramProfilePointsValidateBeforeCall(loyaltyProgramId, integrationId, status, subledgerId, pageSize, skip, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -2662,7 +2662,7 @@ public okhttp3.Call getLoyaltyProgramProfilePointsAsync(Integer loyaltyProgramId * @param loyaltyTransactionType Filter results by loyalty transaction type: - `manual`: Loyalty transaction that was done manually. - `session`: Loyalty transaction that resulted from a customer session. - `import`: Loyalty transaction that was imported from a CSV file. (optional) * @param startDate Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional) * @param endDate Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional) - * @param pageSize The number of items in the response. (optional, default to 50) + * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param _callback Callback for upload/download progress * @return Call to execute @@ -2676,7 +2676,7 @@ public okhttp3.Call getLoyaltyProgramProfilePointsAsync(Integer loyaltyProgramId 404 Not found - */ - public okhttp3.Call getLoyaltyProgramProfileTransactionsCall(Integer loyaltyProgramId, String integrationId, String subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Integer pageSize, Integer skip, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLoyaltyProgramProfileTransactionsCall(Long loyaltyProgramId, String integrationId, String subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -2732,7 +2732,7 @@ public okhttp3.Call getLoyaltyProgramProfileTransactionsCall(Integer loyaltyProg } @SuppressWarnings("rawtypes") - private okhttp3.Call getLoyaltyProgramProfileTransactionsValidateBeforeCall(Integer loyaltyProgramId, String integrationId, String subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Integer pageSize, Integer skip, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getLoyaltyProgramProfileTransactionsValidateBeforeCall(Long loyaltyProgramId, String integrationId, String subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { // verify the required parameter 'loyaltyProgramId' is set if (loyaltyProgramId == null) { @@ -2759,7 +2759,7 @@ private okhttp3.Call getLoyaltyProgramProfileTransactionsValidateBeforeCall(Inte * @param loyaltyTransactionType Filter results by loyalty transaction type: - `manual`: Loyalty transaction that was done manually. - `session`: Loyalty transaction that resulted from a customer session. - `import`: Loyalty transaction that was imported from a CSV file. (optional) * @param startDate Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional) * @param endDate Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional) - * @param pageSize The number of items in the response. (optional, default to 50) + * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) * @return InlineResponse2004 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -2772,7 +2772,7 @@ private okhttp3.Call getLoyaltyProgramProfileTransactionsValidateBeforeCall(Inte 404 Not found - */ - public InlineResponse2004 getLoyaltyProgramProfileTransactions(Integer loyaltyProgramId, String integrationId, String subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Integer pageSize, Integer skip) throws ApiException { + public InlineResponse2004 getLoyaltyProgramProfileTransactions(Long loyaltyProgramId, String integrationId, String subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip) throws ApiException { ApiResponse localVarResp = getLoyaltyProgramProfileTransactionsWithHttpInfo(loyaltyProgramId, integrationId, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip); return localVarResp.getData(); } @@ -2786,7 +2786,7 @@ public InlineResponse2004 getLoyaltyProgramProfileTransactions(Integer loyaltyPr * @param loyaltyTransactionType Filter results by loyalty transaction type: - `manual`: Loyalty transaction that was done manually. - `session`: Loyalty transaction that resulted from a customer session. - `import`: Loyalty transaction that was imported from a CSV file. (optional) * @param startDate Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional) * @param endDate Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional) - * @param pageSize The number of items in the response. (optional, default to 50) + * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) * @return ApiResponse<InlineResponse2004> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -2799,7 +2799,7 @@ public InlineResponse2004 getLoyaltyProgramProfileTransactions(Integer loyaltyPr 404 Not found - */ - public ApiResponse getLoyaltyProgramProfileTransactionsWithHttpInfo(Integer loyaltyProgramId, String integrationId, String subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Integer pageSize, Integer skip) throws ApiException { + public ApiResponse getLoyaltyProgramProfileTransactionsWithHttpInfo(Long loyaltyProgramId, String integrationId, String subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip) throws ApiException { okhttp3.Call localVarCall = getLoyaltyProgramProfileTransactionsValidateBeforeCall(loyaltyProgramId, integrationId, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -2814,7 +2814,7 @@ public ApiResponse getLoyaltyProgramProfileTransactionsWithH * @param loyaltyTransactionType Filter results by loyalty transaction type: - `manual`: Loyalty transaction that was done manually. - `session`: Loyalty transaction that resulted from a customer session. - `import`: Loyalty transaction that was imported from a CSV file. (optional) * @param startDate Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional) * @param endDate Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional) - * @param pageSize The number of items in the response. (optional, default to 50) + * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -2828,7 +2828,7 @@ public ApiResponse getLoyaltyProgramProfileTransactionsWithH 404 Not found - */ - public okhttp3.Call getLoyaltyProgramProfileTransactionsAsync(Integer loyaltyProgramId, String integrationId, String subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Integer pageSize, Integer skip, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLoyaltyProgramProfileTransactionsAsync(Long loyaltyProgramId, String integrationId, String subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getLoyaltyProgramProfileTransactionsValidateBeforeCall(loyaltyProgramId, integrationId, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -2975,7 +2975,7 @@ public okhttp3.Call getReservedCustomersAsync(String couponValue, final ApiCallb 404 Not found - */ - public okhttp3.Call linkLoyaltyCardToProfileCall(Integer loyaltyProgramId, String loyaltyCardId, LoyaltyCardRegistration body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call linkLoyaltyCardToProfileCall(Long loyaltyProgramId, String loyaltyCardId, LoyaltyCardRegistration body, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -3007,7 +3007,7 @@ public okhttp3.Call linkLoyaltyCardToProfileCall(Integer loyaltyProgramId, Strin } @SuppressWarnings("rawtypes") - private okhttp3.Call linkLoyaltyCardToProfileValidateBeforeCall(Integer loyaltyProgramId, String loyaltyCardId, LoyaltyCardRegistration body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call linkLoyaltyCardToProfileValidateBeforeCall(Long loyaltyProgramId, String loyaltyCardId, LoyaltyCardRegistration body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'loyaltyProgramId' is set if (loyaltyProgramId == null) { @@ -3047,7 +3047,7 @@ private okhttp3.Call linkLoyaltyCardToProfileValidateBeforeCall(Integer loyaltyP 404 Not found - */ - public LoyaltyCard linkLoyaltyCardToProfile(Integer loyaltyProgramId, String loyaltyCardId, LoyaltyCardRegistration body) throws ApiException { + public LoyaltyCard linkLoyaltyCardToProfile(Long loyaltyProgramId, String loyaltyCardId, LoyaltyCardRegistration body) throws ApiException { ApiResponse localVarResp = linkLoyaltyCardToProfileWithHttpInfo(loyaltyProgramId, loyaltyCardId, body); return localVarResp.getData(); } @@ -3069,7 +3069,7 @@ public LoyaltyCard linkLoyaltyCardToProfile(Integer loyaltyProgramId, String loy 404 Not found - */ - public ApiResponse linkLoyaltyCardToProfileWithHttpInfo(Integer loyaltyProgramId, String loyaltyCardId, LoyaltyCardRegistration body) throws ApiException { + public ApiResponse linkLoyaltyCardToProfileWithHttpInfo(Long loyaltyProgramId, String loyaltyCardId, LoyaltyCardRegistration body) throws ApiException { okhttp3.Call localVarCall = linkLoyaltyCardToProfileValidateBeforeCall(loyaltyProgramId, loyaltyCardId, body, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -3093,7 +3093,7 @@ public ApiResponse linkLoyaltyCardToProfileWithHttpInfo(Integer loy 404 Not found - */ - public okhttp3.Call linkLoyaltyCardToProfileAsync(Integer loyaltyProgramId, String loyaltyCardId, LoyaltyCardRegistration body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call linkLoyaltyCardToProfileAsync(Long loyaltyProgramId, String loyaltyCardId, LoyaltyCardRegistration body, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = linkLoyaltyCardToProfileValidateBeforeCall(loyaltyProgramId, loyaltyCardId, body, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -3371,7 +3371,7 @@ public okhttp3.Call returnCartItemsAsync(String customerSessionId, ReturnIntegra 404 Not found - */ - public okhttp3.Call syncCatalogCall(Integer catalogId, CatalogSyncRequest body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call syncCatalogCall(Long catalogId, CatalogSyncRequest body, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -3402,7 +3402,7 @@ public okhttp3.Call syncCatalogCall(Integer catalogId, CatalogSyncRequest body, } @SuppressWarnings("rawtypes") - private okhttp3.Call syncCatalogValidateBeforeCall(Integer catalogId, CatalogSyncRequest body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call syncCatalogValidateBeforeCall(Long catalogId, CatalogSyncRequest body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'catalogId' is set if (catalogId == null) { @@ -3436,7 +3436,7 @@ private okhttp3.Call syncCatalogValidateBeforeCall(Integer catalogId, CatalogSyn 404 Not found - */ - public Catalog syncCatalog(Integer catalogId, CatalogSyncRequest body) throws ApiException { + public Catalog syncCatalog(Long catalogId, CatalogSyncRequest body) throws ApiException { ApiResponse localVarResp = syncCatalogWithHttpInfo(catalogId, body); return localVarResp.getData(); } @@ -3457,7 +3457,7 @@ public Catalog syncCatalog(Integer catalogId, CatalogSyncRequest body) throws Ap 404 Not found - */ - public ApiResponse syncCatalogWithHttpInfo(Integer catalogId, CatalogSyncRequest body) throws ApiException { + public ApiResponse syncCatalogWithHttpInfo(Long catalogId, CatalogSyncRequest body) throws ApiException { okhttp3.Call localVarCall = syncCatalogValidateBeforeCall(catalogId, body, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -3480,7 +3480,7 @@ public ApiResponse syncCatalogWithHttpInfo(Integer catalogId, CatalogSy 404 Not found - */ - public okhttp3.Call syncCatalogAsync(Integer catalogId, CatalogSyncRequest body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call syncCatalogAsync(Long catalogId, CatalogSyncRequest body, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = syncCatalogValidateBeforeCall(catalogId, body, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -3648,7 +3648,7 @@ public okhttp3.Call trackEventV2Async(IntegrationEventV2Request body, String sil 404 Not found - */ - public okhttp3.Call updateAudienceCustomersAttributesCall(Integer audienceId, Object body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateAudienceCustomersAttributesCall(Long audienceId, Object body, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -3679,7 +3679,7 @@ public okhttp3.Call updateAudienceCustomersAttributesCall(Integer audienceId, Ob } @SuppressWarnings("rawtypes") - private okhttp3.Call updateAudienceCustomersAttributesValidateBeforeCall(Integer audienceId, Object body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call updateAudienceCustomersAttributesValidateBeforeCall(Long audienceId, Object body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'audienceId' is set if (audienceId == null) { @@ -3711,7 +3711,7 @@ private okhttp3.Call updateAudienceCustomersAttributesValidateBeforeCall(Integer 404 Not found - */ - public void updateAudienceCustomersAttributes(Integer audienceId, Object body) throws ApiException { + public void updateAudienceCustomersAttributes(Long audienceId, Object body) throws ApiException { updateAudienceCustomersAttributesWithHttpInfo(audienceId, body); } @@ -3730,7 +3730,7 @@ public void updateAudienceCustomersAttributes(Integer audienceId, Object body) t 404 Not found - */ - public ApiResponse updateAudienceCustomersAttributesWithHttpInfo(Integer audienceId, Object body) throws ApiException { + public ApiResponse updateAudienceCustomersAttributesWithHttpInfo(Long audienceId, Object body) throws ApiException { okhttp3.Call localVarCall = updateAudienceCustomersAttributesValidateBeforeCall(audienceId, body, null); return localVarApiClient.execute(localVarCall); } @@ -3751,7 +3751,7 @@ public ApiResponse updateAudienceCustomersAttributesWithHttpInfo(Integer a 404 Not found - */ - public okhttp3.Call updateAudienceCustomersAttributesAsync(Integer audienceId, Object body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateAudienceCustomersAttributesAsync(Long audienceId, Object body, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = updateAudienceCustomersAttributesValidateBeforeCall(audienceId, body, _callback); localVarApiClient.executeAsync(localVarCall, _callback); @@ -3772,7 +3772,7 @@ public okhttp3.Call updateAudienceCustomersAttributesAsync(Integer audienceId, O 404 Not found - */ - public okhttp3.Call updateAudienceV2Call(Integer audienceId, UpdateAudience body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateAudienceV2Call(Long audienceId, UpdateAudience body, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -3803,7 +3803,7 @@ public okhttp3.Call updateAudienceV2Call(Integer audienceId, UpdateAudience body } @SuppressWarnings("rawtypes") - private okhttp3.Call updateAudienceV2ValidateBeforeCall(Integer audienceId, UpdateAudience body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call updateAudienceV2ValidateBeforeCall(Long audienceId, UpdateAudience body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'audienceId' is set if (audienceId == null) { @@ -3836,7 +3836,7 @@ private okhttp3.Call updateAudienceV2ValidateBeforeCall(Integer audienceId, Upda 404 Not found - */ - public Audience updateAudienceV2(Integer audienceId, UpdateAudience body) throws ApiException { + public Audience updateAudienceV2(Long audienceId, UpdateAudience body) throws ApiException { ApiResponse localVarResp = updateAudienceV2WithHttpInfo(audienceId, body); return localVarResp.getData(); } @@ -3856,7 +3856,7 @@ public Audience updateAudienceV2(Integer audienceId, UpdateAudience body) throws 404 Not found - */ - public ApiResponse updateAudienceV2WithHttpInfo(Integer audienceId, UpdateAudience body) throws ApiException { + public ApiResponse updateAudienceV2WithHttpInfo(Long audienceId, UpdateAudience body) throws ApiException { okhttp3.Call localVarCall = updateAudienceV2ValidateBeforeCall(audienceId, body, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -3878,7 +3878,7 @@ public ApiResponse updateAudienceV2WithHttpInfo(Integer audienceId, Up 404 Not found - */ - public okhttp3.Call updateAudienceV2Async(Integer audienceId, UpdateAudience body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateAudienceV2Async(Long audienceId, UpdateAudience body, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = updateAudienceV2ValidateBeforeCall(audienceId, body, _callback); Type localVarReturnType = new TypeToken(){}.getType(); diff --git a/src/main/java/one/talon/api/ManagementApi.java b/src/main/java/one/talon/api/ManagementApi.java index e9863030..2083a158 100644 --- a/src/main/java/one/talon/api/ManagementApi.java +++ b/src/main/java/one/talon/api/ManagementApi.java @@ -298,7 +298,7 @@ public okhttp3.Call activateUserByEmailAsync(DeleteUserRequest body, final ApiCa 404 Not found - */ - public okhttp3.Call addLoyaltyCardPointsCall(Integer loyaltyProgramId, String loyaltyCardId, AddLoyaltyPoints body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call addLoyaltyCardPointsCall(Long loyaltyProgramId, String loyaltyCardId, AddLoyaltyPoints body, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -330,7 +330,7 @@ public okhttp3.Call addLoyaltyCardPointsCall(Integer loyaltyProgramId, String lo } @SuppressWarnings("rawtypes") - private okhttp3.Call addLoyaltyCardPointsValidateBeforeCall(Integer loyaltyProgramId, String loyaltyCardId, AddLoyaltyPoints body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call addLoyaltyCardPointsValidateBeforeCall(Long loyaltyProgramId, String loyaltyCardId, AddLoyaltyPoints body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'loyaltyProgramId' is set if (loyaltyProgramId == null) { @@ -369,7 +369,7 @@ private okhttp3.Call addLoyaltyCardPointsValidateBeforeCall(Integer loyaltyProgr 404 Not found - */ - public void addLoyaltyCardPoints(Integer loyaltyProgramId, String loyaltyCardId, AddLoyaltyPoints body) throws ApiException { + public void addLoyaltyCardPoints(Long loyaltyProgramId, String loyaltyCardId, AddLoyaltyPoints body) throws ApiException { addLoyaltyCardPointsWithHttpInfo(loyaltyProgramId, loyaltyCardId, body); } @@ -390,7 +390,7 @@ public void addLoyaltyCardPoints(Integer loyaltyProgramId, String loyaltyCardId, 404 Not found - */ - public ApiResponse addLoyaltyCardPointsWithHttpInfo(Integer loyaltyProgramId, String loyaltyCardId, AddLoyaltyPoints body) throws ApiException { + public ApiResponse addLoyaltyCardPointsWithHttpInfo(Long loyaltyProgramId, String loyaltyCardId, AddLoyaltyPoints body) throws ApiException { okhttp3.Call localVarCall = addLoyaltyCardPointsValidateBeforeCall(loyaltyProgramId, loyaltyCardId, body, null); return localVarApiClient.execute(localVarCall); } @@ -413,7 +413,7 @@ public ApiResponse addLoyaltyCardPointsWithHttpInfo(Integer loyaltyProgram 404 Not found - */ - public okhttp3.Call addLoyaltyCardPointsAsync(Integer loyaltyProgramId, String loyaltyCardId, AddLoyaltyPoints body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call addLoyaltyCardPointsAsync(Long loyaltyProgramId, String loyaltyCardId, AddLoyaltyPoints body, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = addLoyaltyCardPointsValidateBeforeCall(loyaltyProgramId, loyaltyCardId, body, _callback); localVarApiClient.executeAsync(localVarCall, _callback); @@ -571,7 +571,7 @@ public okhttp3.Call addLoyaltyPointsAsync(String loyaltyProgramId, String integr 200 OK - */ - public okhttp3.Call copyCampaignToApplicationsCall(Integer applicationId, Integer campaignId, CampaignCopy body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call copyCampaignToApplicationsCall(Long applicationId, Long campaignId, CampaignCopy body, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -603,7 +603,7 @@ public okhttp3.Call copyCampaignToApplicationsCall(Integer applicationId, Intege } @SuppressWarnings("rawtypes") - private okhttp3.Call copyCampaignToApplicationsValidateBeforeCall(Integer applicationId, Integer campaignId, CampaignCopy body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call copyCampaignToApplicationsValidateBeforeCall(Long applicationId, Long campaignId, CampaignCopy body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -640,7 +640,7 @@ private okhttp3.Call copyCampaignToApplicationsValidateBeforeCall(Integer applic 200 OK - */ - public InlineResponse2008 copyCampaignToApplications(Integer applicationId, Integer campaignId, CampaignCopy body) throws ApiException { + public InlineResponse2008 copyCampaignToApplications(Long applicationId, Long campaignId, CampaignCopy body) throws ApiException { ApiResponse localVarResp = copyCampaignToApplicationsWithHttpInfo(applicationId, campaignId, body); return localVarResp.getData(); } @@ -659,7 +659,7 @@ public InlineResponse2008 copyCampaignToApplications(Integer applicationId, Inte 200 OK - */ - public ApiResponse copyCampaignToApplicationsWithHttpInfo(Integer applicationId, Integer campaignId, CampaignCopy body) throws ApiException { + public ApiResponse copyCampaignToApplicationsWithHttpInfo(Long applicationId, Long campaignId, CampaignCopy body) throws ApiException { okhttp3.Call localVarCall = copyCampaignToApplicationsValidateBeforeCall(applicationId, campaignId, body, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -680,7 +680,7 @@ public ApiResponse copyCampaignToApplicationsWithHttpInfo(In 200 OK - */ - public okhttp3.Call copyCampaignToApplicationsAsync(Integer applicationId, Integer campaignId, CampaignCopy body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call copyCampaignToApplicationsAsync(Long applicationId, Long campaignId, CampaignCopy body, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = copyCampaignToApplicationsValidateBeforeCall(applicationId, campaignId, body, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -826,7 +826,7 @@ public okhttp3.Call createAccountCollectionAsync(NewCollection body, final ApiCa 409 Conflict. An achievement with this name or title already exists. - */ - public okhttp3.Call createAchievementCall(Integer applicationId, Integer campaignId, CreateAchievement body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createAchievementCall(Long applicationId, Long campaignId, CreateAchievement body, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -858,7 +858,7 @@ public okhttp3.Call createAchievementCall(Integer applicationId, Integer campaig } @SuppressWarnings("rawtypes") - private okhttp3.Call createAchievementValidateBeforeCall(Integer applicationId, Integer campaignId, CreateAchievement body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call createAchievementValidateBeforeCall(Long applicationId, Long campaignId, CreateAchievement body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -898,7 +898,7 @@ private okhttp3.Call createAchievementValidateBeforeCall(Integer applicationId, 409 Conflict. An achievement with this name or title already exists. - */ - public Achievement createAchievement(Integer applicationId, Integer campaignId, CreateAchievement body) throws ApiException { + public Achievement createAchievement(Long applicationId, Long campaignId, CreateAchievement body) throws ApiException { ApiResponse localVarResp = createAchievementWithHttpInfo(applicationId, campaignId, body); return localVarResp.getData(); } @@ -920,7 +920,7 @@ public Achievement createAchievement(Integer applicationId, Integer campaignId, 409 Conflict. An achievement with this name or title already exists. - */ - public ApiResponse createAchievementWithHttpInfo(Integer applicationId, Integer campaignId, CreateAchievement body) throws ApiException { + public ApiResponse createAchievementWithHttpInfo(Long applicationId, Long campaignId, CreateAchievement body) throws ApiException { okhttp3.Call localVarCall = createAchievementValidateBeforeCall(applicationId, campaignId, body, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -944,7 +944,7 @@ public ApiResponse createAchievementWithHttpInfo(Integer applicatio 409 Conflict. An achievement with this name or title already exists. - */ - public okhttp3.Call createAchievementAsync(Integer applicationId, Integer campaignId, CreateAchievement body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createAchievementAsync(Long applicationId, Long campaignId, CreateAchievement body, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = createAchievementValidateBeforeCall(applicationId, campaignId, body, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -1187,7 +1187,7 @@ public okhttp3.Call createAttributeAsync(NewAttribute body, final ApiCallback 404 Not found - */ - public okhttp3.Call createBatchLoyaltyCardsCall(Integer loyaltyProgramId, LoyaltyCardBatch body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createBatchLoyaltyCardsCall(Long loyaltyProgramId, LoyaltyCardBatch body, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -1218,7 +1218,7 @@ public okhttp3.Call createBatchLoyaltyCardsCall(Integer loyaltyProgramId, Loyalt } @SuppressWarnings("rawtypes") - private okhttp3.Call createBatchLoyaltyCardsValidateBeforeCall(Integer loyaltyProgramId, LoyaltyCardBatch body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call createBatchLoyaltyCardsValidateBeforeCall(Long loyaltyProgramId, LoyaltyCardBatch body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'loyaltyProgramId' is set if (loyaltyProgramId == null) { @@ -1252,7 +1252,7 @@ private okhttp3.Call createBatchLoyaltyCardsValidateBeforeCall(Integer loyaltyPr 404 Not found - */ - public LoyaltyCardBatchResponse createBatchLoyaltyCards(Integer loyaltyProgramId, LoyaltyCardBatch body) throws ApiException { + public LoyaltyCardBatchResponse createBatchLoyaltyCards(Long loyaltyProgramId, LoyaltyCardBatch body) throws ApiException { ApiResponse localVarResp = createBatchLoyaltyCardsWithHttpInfo(loyaltyProgramId, body); return localVarResp.getData(); } @@ -1273,7 +1273,7 @@ public LoyaltyCardBatchResponse createBatchLoyaltyCards(Integer loyaltyProgramId 404 Not found - */ - public ApiResponse createBatchLoyaltyCardsWithHttpInfo(Integer loyaltyProgramId, LoyaltyCardBatch body) throws ApiException { + public ApiResponse createBatchLoyaltyCardsWithHttpInfo(Long loyaltyProgramId, LoyaltyCardBatch body) throws ApiException { okhttp3.Call localVarCall = createBatchLoyaltyCardsValidateBeforeCall(loyaltyProgramId, body, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -1296,7 +1296,7 @@ public ApiResponse createBatchLoyaltyCardsWithHttpInfo 404 Not found - */ - public okhttp3.Call createBatchLoyaltyCardsAsync(Integer loyaltyProgramId, LoyaltyCardBatch body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createBatchLoyaltyCardsAsync(Long loyaltyProgramId, LoyaltyCardBatch body, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = createBatchLoyaltyCardsValidateBeforeCall(loyaltyProgramId, body, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -1316,7 +1316,7 @@ public okhttp3.Call createBatchLoyaltyCardsAsync(Integer loyaltyProgramId, Loyal 201 Created - */ - public okhttp3.Call createCampaignFromTemplateCall(Integer applicationId, CreateTemplateCampaign body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createCampaignFromTemplateCall(Long applicationId, CreateTemplateCampaign body, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -1347,7 +1347,7 @@ public okhttp3.Call createCampaignFromTemplateCall(Integer applicationId, Create } @SuppressWarnings("rawtypes") - private okhttp3.Call createCampaignFromTemplateValidateBeforeCall(Integer applicationId, CreateTemplateCampaign body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call createCampaignFromTemplateValidateBeforeCall(Long applicationId, CreateTemplateCampaign body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -1378,7 +1378,7 @@ private okhttp3.Call createCampaignFromTemplateValidateBeforeCall(Integer applic 201 Created - */ - public CreateTemplateCampaignResponse createCampaignFromTemplate(Integer applicationId, CreateTemplateCampaign body) throws ApiException { + public CreateTemplateCampaignResponse createCampaignFromTemplate(Long applicationId, CreateTemplateCampaign body) throws ApiException { ApiResponse localVarResp = createCampaignFromTemplateWithHttpInfo(applicationId, body); return localVarResp.getData(); } @@ -1396,7 +1396,7 @@ public CreateTemplateCampaignResponse createCampaignFromTemplate(Integer applica 201 Created - */ - public ApiResponse createCampaignFromTemplateWithHttpInfo(Integer applicationId, CreateTemplateCampaign body) throws ApiException { + public ApiResponse createCampaignFromTemplateWithHttpInfo(Long applicationId, CreateTemplateCampaign body) throws ApiException { okhttp3.Call localVarCall = createCampaignFromTemplateValidateBeforeCall(applicationId, body, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -1416,7 +1416,7 @@ public ApiResponse createCampaignFromTemplateWit 201 Created - */ - public okhttp3.Call createCampaignFromTemplateAsync(Integer applicationId, CreateTemplateCampaign body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createCampaignFromTemplateAsync(Long applicationId, CreateTemplateCampaign body, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = createCampaignFromTemplateValidateBeforeCall(applicationId, body, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -1437,7 +1437,7 @@ public okhttp3.Call createCampaignFromTemplateAsync(Integer applicationId, Creat 201 Created - */ - public okhttp3.Call createCollectionCall(Integer applicationId, Integer campaignId, NewCampaignCollection body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createCollectionCall(Long applicationId, Long campaignId, NewCampaignCollection body, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -1469,7 +1469,7 @@ public okhttp3.Call createCollectionCall(Integer applicationId, Integer campaign } @SuppressWarnings("rawtypes") - private okhttp3.Call createCollectionValidateBeforeCall(Integer applicationId, Integer campaignId, NewCampaignCollection body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call createCollectionValidateBeforeCall(Long applicationId, Long campaignId, NewCampaignCollection body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -1506,7 +1506,7 @@ private okhttp3.Call createCollectionValidateBeforeCall(Integer applicationId, I 201 Created - */ - public Collection createCollection(Integer applicationId, Integer campaignId, NewCampaignCollection body) throws ApiException { + public Collection createCollection(Long applicationId, Long campaignId, NewCampaignCollection body) throws ApiException { ApiResponse localVarResp = createCollectionWithHttpInfo(applicationId, campaignId, body); return localVarResp.getData(); } @@ -1525,7 +1525,7 @@ public Collection createCollection(Integer applicationId, Integer campaignId, Ne 201 Created - */ - public ApiResponse createCollectionWithHttpInfo(Integer applicationId, Integer campaignId, NewCampaignCollection body) throws ApiException { + public ApiResponse createCollectionWithHttpInfo(Long applicationId, Long campaignId, NewCampaignCollection body) throws ApiException { okhttp3.Call localVarCall = createCollectionValidateBeforeCall(applicationId, campaignId, body, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -1546,7 +1546,7 @@ public ApiResponse createCollectionWithHttpInfo(Integer applicationI 201 Created - */ - public okhttp3.Call createCollectionAsync(Integer applicationId, Integer campaignId, NewCampaignCollection body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createCollectionAsync(Long applicationId, Long campaignId, NewCampaignCollection body, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = createCollectionValidateBeforeCall(applicationId, campaignId, body, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -1569,7 +1569,7 @@ public okhttp3.Call createCollectionAsync(Integer applicationId, Integer campaig 204 No Content - */ - public okhttp3.Call createCouponsCall(Integer applicationId, Integer campaignId, NewCoupons body, String silent, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createCouponsCall(Long applicationId, Long campaignId, NewCoupons body, String silent, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -1605,7 +1605,7 @@ public okhttp3.Call createCouponsCall(Integer applicationId, Integer campaignId, } @SuppressWarnings("rawtypes") - private okhttp3.Call createCouponsValidateBeforeCall(Integer applicationId, Integer campaignId, NewCoupons body, String silent, final ApiCallback _callback) throws ApiException { + private okhttp3.Call createCouponsValidateBeforeCall(Long applicationId, Long campaignId, NewCoupons body, String silent, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -1644,7 +1644,7 @@ private okhttp3.Call createCouponsValidateBeforeCall(Integer applicationId, Inte 204 No Content - */ - public InlineResponse20010 createCoupons(Integer applicationId, Integer campaignId, NewCoupons body, String silent) throws ApiException { + public InlineResponse20010 createCoupons(Long applicationId, Long campaignId, NewCoupons body, String silent) throws ApiException { ApiResponse localVarResp = createCouponsWithHttpInfo(applicationId, campaignId, body, silent); return localVarResp.getData(); } @@ -1665,7 +1665,7 @@ public InlineResponse20010 createCoupons(Integer applicationId, Integer campaign 204 No Content - */ - public ApiResponse createCouponsWithHttpInfo(Integer applicationId, Integer campaignId, NewCoupons body, String silent) throws ApiException { + public ApiResponse createCouponsWithHttpInfo(Long applicationId, Long campaignId, NewCoupons body, String silent) throws ApiException { okhttp3.Call localVarCall = createCouponsValidateBeforeCall(applicationId, campaignId, body, silent, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -1688,7 +1688,7 @@ public ApiResponse createCouponsWithHttpInfo(Integer applic 204 No Content - */ - public okhttp3.Call createCouponsAsync(Integer applicationId, Integer campaignId, NewCoupons body, String silent, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createCouponsAsync(Long applicationId, Long campaignId, NewCoupons body, String silent, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = createCouponsValidateBeforeCall(applicationId, campaignId, body, silent, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -1709,7 +1709,7 @@ public okhttp3.Call createCouponsAsync(Integer applicationId, Integer campaignId 200 OK - */ - public okhttp3.Call createCouponsAsyncCall(Integer applicationId, Integer campaignId, NewCouponCreationJob body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createCouponsAsyncCall(Long applicationId, Long campaignId, NewCouponCreationJob body, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -1741,7 +1741,7 @@ public okhttp3.Call createCouponsAsyncCall(Integer applicationId, Integer campai } @SuppressWarnings("rawtypes") - private okhttp3.Call createCouponsAsyncValidateBeforeCall(Integer applicationId, Integer campaignId, NewCouponCreationJob body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call createCouponsAsyncValidateBeforeCall(Long applicationId, Long campaignId, NewCouponCreationJob body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -1778,7 +1778,7 @@ private okhttp3.Call createCouponsAsyncValidateBeforeCall(Integer applicationId, 200 OK - */ - public AsyncCouponCreationResponse createCouponsAsync(Integer applicationId, Integer campaignId, NewCouponCreationJob body) throws ApiException { + public AsyncCouponCreationResponse createCouponsAsync(Long applicationId, Long campaignId, NewCouponCreationJob body) throws ApiException { ApiResponse localVarResp = createCouponsAsyncWithHttpInfo(applicationId, campaignId, body); return localVarResp.getData(); } @@ -1797,7 +1797,7 @@ public AsyncCouponCreationResponse createCouponsAsync(Integer applicationId, Int 200 OK - */ - public ApiResponse createCouponsAsyncWithHttpInfo(Integer applicationId, Integer campaignId, NewCouponCreationJob body) throws ApiException { + public ApiResponse createCouponsAsyncWithHttpInfo(Long applicationId, Long campaignId, NewCouponCreationJob body) throws ApiException { okhttp3.Call localVarCall = createCouponsAsyncValidateBeforeCall(applicationId, campaignId, body, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -1818,7 +1818,7 @@ public ApiResponse createCouponsAsyncWithHttpInfo(I 200 OK - */ - public okhttp3.Call createCouponsAsyncAsync(Integer applicationId, Integer campaignId, NewCouponCreationJob body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createCouponsAsyncAsync(Long applicationId, Long campaignId, NewCouponCreationJob body, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = createCouponsAsyncValidateBeforeCall(applicationId, campaignId, body, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -1839,7 +1839,7 @@ public okhttp3.Call createCouponsAsyncAsync(Integer applicationId, Integer campa 202 The deletion request has been accepted and will be processed asynchronously - */ - public okhttp3.Call createCouponsDeletionJobCall(Integer applicationId, Integer campaignId, NewCouponDeletionJob body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createCouponsDeletionJobCall(Long applicationId, Long campaignId, NewCouponDeletionJob body, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -1871,7 +1871,7 @@ public okhttp3.Call createCouponsDeletionJobCall(Integer applicationId, Integer } @SuppressWarnings("rawtypes") - private okhttp3.Call createCouponsDeletionJobValidateBeforeCall(Integer applicationId, Integer campaignId, NewCouponDeletionJob body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call createCouponsDeletionJobValidateBeforeCall(Long applicationId, Long campaignId, NewCouponDeletionJob body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -1908,7 +1908,7 @@ private okhttp3.Call createCouponsDeletionJobValidateBeforeCall(Integer applicat 202 The deletion request has been accepted and will be processed asynchronously - */ - public AsyncCouponDeletionJobResponse createCouponsDeletionJob(Integer applicationId, Integer campaignId, NewCouponDeletionJob body) throws ApiException { + public AsyncCouponDeletionJobResponse createCouponsDeletionJob(Long applicationId, Long campaignId, NewCouponDeletionJob body) throws ApiException { ApiResponse localVarResp = createCouponsDeletionJobWithHttpInfo(applicationId, campaignId, body); return localVarResp.getData(); } @@ -1927,7 +1927,7 @@ public AsyncCouponDeletionJobResponse createCouponsDeletionJob(Integer applicati 202 The deletion request has been accepted and will be processed asynchronously - */ - public ApiResponse createCouponsDeletionJobWithHttpInfo(Integer applicationId, Integer campaignId, NewCouponDeletionJob body) throws ApiException { + public ApiResponse createCouponsDeletionJobWithHttpInfo(Long applicationId, Long campaignId, NewCouponDeletionJob body) throws ApiException { okhttp3.Call localVarCall = createCouponsDeletionJobValidateBeforeCall(applicationId, campaignId, body, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -1948,7 +1948,7 @@ public ApiResponse createCouponsDeletionJobWithH 202 The deletion request has been accepted and will be processed asynchronously - */ - public okhttp3.Call createCouponsDeletionJobAsync(Integer applicationId, Integer campaignId, NewCouponDeletionJob body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createCouponsDeletionJobAsync(Long applicationId, Long campaignId, NewCouponDeletionJob body, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = createCouponsDeletionJobValidateBeforeCall(applicationId, campaignId, body, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -1971,7 +1971,7 @@ public okhttp3.Call createCouponsDeletionJobAsync(Integer applicationId, Integer 204 No Content - */ - public okhttp3.Call createCouponsForMultipleRecipientsCall(Integer applicationId, Integer campaignId, NewCouponsForMultipleRecipients body, String silent, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createCouponsForMultipleRecipientsCall(Long applicationId, Long campaignId, NewCouponsForMultipleRecipients body, String silent, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -2007,7 +2007,7 @@ public okhttp3.Call createCouponsForMultipleRecipientsCall(Integer applicationId } @SuppressWarnings("rawtypes") - private okhttp3.Call createCouponsForMultipleRecipientsValidateBeforeCall(Integer applicationId, Integer campaignId, NewCouponsForMultipleRecipients body, String silent, final ApiCallback _callback) throws ApiException { + private okhttp3.Call createCouponsForMultipleRecipientsValidateBeforeCall(Long applicationId, Long campaignId, NewCouponsForMultipleRecipients body, String silent, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -2046,7 +2046,7 @@ private okhttp3.Call createCouponsForMultipleRecipientsValidateBeforeCall(Intege 204 No Content - */ - public InlineResponse20010 createCouponsForMultipleRecipients(Integer applicationId, Integer campaignId, NewCouponsForMultipleRecipients body, String silent) throws ApiException { + public InlineResponse20010 createCouponsForMultipleRecipients(Long applicationId, Long campaignId, NewCouponsForMultipleRecipients body, String silent) throws ApiException { ApiResponse localVarResp = createCouponsForMultipleRecipientsWithHttpInfo(applicationId, campaignId, body, silent); return localVarResp.getData(); } @@ -2067,7 +2067,7 @@ public InlineResponse20010 createCouponsForMultipleRecipients(Integer applicatio 204 No Content - */ - public ApiResponse createCouponsForMultipleRecipientsWithHttpInfo(Integer applicationId, Integer campaignId, NewCouponsForMultipleRecipients body, String silent) throws ApiException { + public ApiResponse createCouponsForMultipleRecipientsWithHttpInfo(Long applicationId, Long campaignId, NewCouponsForMultipleRecipients body, String silent) throws ApiException { okhttp3.Call localVarCall = createCouponsForMultipleRecipientsValidateBeforeCall(applicationId, campaignId, body, silent, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -2090,7 +2090,7 @@ public ApiResponse createCouponsForMultipleRecipientsWithHt 204 No Content - */ - public okhttp3.Call createCouponsForMultipleRecipientsAsync(Integer applicationId, Integer campaignId, NewCouponsForMultipleRecipients body, String silent, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createCouponsForMultipleRecipientsAsync(Long applicationId, Long campaignId, NewCouponsForMultipleRecipients body, String silent, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = createCouponsForMultipleRecipientsValidateBeforeCall(applicationId, campaignId, body, silent, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -2552,7 +2552,7 @@ public okhttp3.Call createSessionAsync(LoginParams body, final ApiCallback 409 Conflict. A store with this integration ID already exists for this application. - */ - public okhttp3.Call createStoreCall(Integer applicationId, NewStore body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createStoreCall(Long applicationId, NewStore body, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -2583,7 +2583,7 @@ public okhttp3.Call createStoreCall(Integer applicationId, NewStore body, final } @SuppressWarnings("rawtypes") - private okhttp3.Call createStoreValidateBeforeCall(Integer applicationId, NewStore body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call createStoreValidateBeforeCall(Long applicationId, NewStore body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -2616,7 +2616,7 @@ private okhttp3.Call createStoreValidateBeforeCall(Integer applicationId, NewSto 409 Conflict. A store with this integration ID already exists for this application. - */ - public Store createStore(Integer applicationId, NewStore body) throws ApiException { + public Store createStore(Long applicationId, NewStore body) throws ApiException { ApiResponse localVarResp = createStoreWithHttpInfo(applicationId, body); return localVarResp.getData(); } @@ -2636,7 +2636,7 @@ public Store createStore(Integer applicationId, NewStore body) throws ApiExcepti 409 Conflict. A store with this integration ID already exists for this application. - */ - public ApiResponse createStoreWithHttpInfo(Integer applicationId, NewStore body) throws ApiException { + public ApiResponse createStoreWithHttpInfo(Long applicationId, NewStore body) throws ApiException { okhttp3.Call localVarCall = createStoreValidateBeforeCall(applicationId, body, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -2658,7 +2658,7 @@ public ApiResponse createStoreWithHttpInfo(Integer applicationId, NewStor 409 Conflict. A store with this integration ID already exists for this application. - */ - public okhttp3.Call createStoreAsync(Integer applicationId, NewStore body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createStoreAsync(Long applicationId, NewStore body, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = createStoreValidateBeforeCall(applicationId, body, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -2788,7 +2788,7 @@ public okhttp3.Call deactivateUserByEmailAsync(DeleteUserRequest body, final Api 404 Not found - */ - public okhttp3.Call deductLoyaltyCardPointsCall(Integer loyaltyProgramId, String loyaltyCardId, DeductLoyaltyPoints body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deductLoyaltyCardPointsCall(Long loyaltyProgramId, String loyaltyCardId, DeductLoyaltyPoints body, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -2820,7 +2820,7 @@ public okhttp3.Call deductLoyaltyCardPointsCall(Integer loyaltyProgramId, String } @SuppressWarnings("rawtypes") - private okhttp3.Call deductLoyaltyCardPointsValidateBeforeCall(Integer loyaltyProgramId, String loyaltyCardId, DeductLoyaltyPoints body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deductLoyaltyCardPointsValidateBeforeCall(Long loyaltyProgramId, String loyaltyCardId, DeductLoyaltyPoints body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'loyaltyProgramId' is set if (loyaltyProgramId == null) { @@ -2859,7 +2859,7 @@ private okhttp3.Call deductLoyaltyCardPointsValidateBeforeCall(Integer loyaltyPr 404 Not found - */ - public void deductLoyaltyCardPoints(Integer loyaltyProgramId, String loyaltyCardId, DeductLoyaltyPoints body) throws ApiException { + public void deductLoyaltyCardPoints(Long loyaltyProgramId, String loyaltyCardId, DeductLoyaltyPoints body) throws ApiException { deductLoyaltyCardPointsWithHttpInfo(loyaltyProgramId, loyaltyCardId, body); } @@ -2880,7 +2880,7 @@ public void deductLoyaltyCardPoints(Integer loyaltyProgramId, String loyaltyCard 404 Not found - */ - public ApiResponse deductLoyaltyCardPointsWithHttpInfo(Integer loyaltyProgramId, String loyaltyCardId, DeductLoyaltyPoints body) throws ApiException { + public ApiResponse deductLoyaltyCardPointsWithHttpInfo(Long loyaltyProgramId, String loyaltyCardId, DeductLoyaltyPoints body) throws ApiException { okhttp3.Call localVarCall = deductLoyaltyCardPointsValidateBeforeCall(loyaltyProgramId, loyaltyCardId, body, null); return localVarApiClient.execute(localVarCall); } @@ -2903,7 +2903,7 @@ public ApiResponse deductLoyaltyCardPointsWithHttpInfo(Integer loyaltyProg 404 Not found - */ - public okhttp3.Call deductLoyaltyCardPointsAsync(Integer loyaltyProgramId, String loyaltyCardId, DeductLoyaltyPoints body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deductLoyaltyCardPointsAsync(Long loyaltyProgramId, String loyaltyCardId, DeductLoyaltyPoints body, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = deductLoyaltyCardPointsValidateBeforeCall(loyaltyProgramId, loyaltyCardId, body, _callback); localVarApiClient.executeAsync(localVarCall, _callback); @@ -2922,7 +2922,7 @@ public okhttp3.Call deductLoyaltyCardPointsAsync(Integer loyaltyProgramId, Strin 404 Not found - */ - public okhttp3.Call deleteAccountCollectionCall(Integer collectionId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteAccountCollectionCall(Long collectionId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -2953,7 +2953,7 @@ public okhttp3.Call deleteAccountCollectionCall(Integer collectionId, final ApiC } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteAccountCollectionValidateBeforeCall(Integer collectionId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteAccountCollectionValidateBeforeCall(Long collectionId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'collectionId' is set if (collectionId == null) { @@ -2978,7 +2978,7 @@ private okhttp3.Call deleteAccountCollectionValidateBeforeCall(Integer collectio 404 Not found - */ - public void deleteAccountCollection(Integer collectionId) throws ApiException { + public void deleteAccountCollection(Long collectionId) throws ApiException { deleteAccountCollectionWithHttpInfo(collectionId); } @@ -2995,7 +2995,7 @@ public void deleteAccountCollection(Integer collectionId) throws ApiException { 404 Not found - */ - public ApiResponse deleteAccountCollectionWithHttpInfo(Integer collectionId) throws ApiException { + public ApiResponse deleteAccountCollectionWithHttpInfo(Long collectionId) throws ApiException { okhttp3.Call localVarCall = deleteAccountCollectionValidateBeforeCall(collectionId, null); return localVarApiClient.execute(localVarCall); } @@ -3014,7 +3014,7 @@ public ApiResponse deleteAccountCollectionWithHttpInfo(Integer collectionI 404 Not found - */ - public okhttp3.Call deleteAccountCollectionAsync(Integer collectionId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteAccountCollectionAsync(Long collectionId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = deleteAccountCollectionValidateBeforeCall(collectionId, _callback); localVarApiClient.executeAsync(localVarCall, _callback); @@ -3036,7 +3036,7 @@ public okhttp3.Call deleteAccountCollectionAsync(Integer collectionId, final Api 404 Not found - */ - public okhttp3.Call deleteAchievementCall(Integer applicationId, Integer campaignId, Integer achievementId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteAchievementCall(Long applicationId, Long campaignId, Long achievementId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -3069,7 +3069,7 @@ public okhttp3.Call deleteAchievementCall(Integer applicationId, Integer campaig } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteAchievementValidateBeforeCall(Integer applicationId, Integer campaignId, Integer achievementId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteAchievementValidateBeforeCall(Long applicationId, Long campaignId, Long achievementId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -3107,7 +3107,7 @@ private okhttp3.Call deleteAchievementValidateBeforeCall(Integer applicationId, 404 Not found - */ - public void deleteAchievement(Integer applicationId, Integer campaignId, Integer achievementId) throws ApiException { + public void deleteAchievement(Long applicationId, Long campaignId, Long achievementId) throws ApiException { deleteAchievementWithHttpInfo(applicationId, campaignId, achievementId); } @@ -3127,7 +3127,7 @@ public void deleteAchievement(Integer applicationId, Integer campaignId, Integer 404 Not found - */ - public ApiResponse deleteAchievementWithHttpInfo(Integer applicationId, Integer campaignId, Integer achievementId) throws ApiException { + public ApiResponse deleteAchievementWithHttpInfo(Long applicationId, Long campaignId, Long achievementId) throws ApiException { okhttp3.Call localVarCall = deleteAchievementValidateBeforeCall(applicationId, campaignId, achievementId, null); return localVarApiClient.execute(localVarCall); } @@ -3149,7 +3149,7 @@ public ApiResponse deleteAchievementWithHttpInfo(Integer applicationId, In 404 Not found - */ - public okhttp3.Call deleteAchievementAsync(Integer applicationId, Integer campaignId, Integer achievementId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteAchievementAsync(Long applicationId, Long campaignId, Long achievementId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = deleteAchievementValidateBeforeCall(applicationId, campaignId, achievementId, _callback); localVarApiClient.executeAsync(localVarCall, _callback); @@ -3168,7 +3168,7 @@ public okhttp3.Call deleteAchievementAsync(Integer applicationId, Integer campai 204 No Content - */ - public okhttp3.Call deleteCampaignCall(Integer applicationId, Integer campaignId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteCampaignCall(Long applicationId, Long campaignId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -3200,7 +3200,7 @@ public okhttp3.Call deleteCampaignCall(Integer applicationId, Integer campaignId } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteCampaignValidateBeforeCall(Integer applicationId, Integer campaignId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteCampaignValidateBeforeCall(Long applicationId, Long campaignId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -3230,7 +3230,7 @@ private okhttp3.Call deleteCampaignValidateBeforeCall(Integer applicationId, Int 204 No Content - */ - public void deleteCampaign(Integer applicationId, Integer campaignId) throws ApiException { + public void deleteCampaign(Long applicationId, Long campaignId) throws ApiException { deleteCampaignWithHttpInfo(applicationId, campaignId); } @@ -3247,7 +3247,7 @@ public void deleteCampaign(Integer applicationId, Integer campaignId) throws Api 204 No Content - */ - public ApiResponse deleteCampaignWithHttpInfo(Integer applicationId, Integer campaignId) throws ApiException { + public ApiResponse deleteCampaignWithHttpInfo(Long applicationId, Long campaignId) throws ApiException { okhttp3.Call localVarCall = deleteCampaignValidateBeforeCall(applicationId, campaignId, null); return localVarApiClient.execute(localVarCall); } @@ -3266,7 +3266,7 @@ public ApiResponse deleteCampaignWithHttpInfo(Integer applicationId, Integ 204 No Content - */ - public okhttp3.Call deleteCampaignAsync(Integer applicationId, Integer campaignId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteCampaignAsync(Long applicationId, Long campaignId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = deleteCampaignValidateBeforeCall(applicationId, campaignId, _callback); localVarApiClient.executeAsync(localVarCall, _callback); @@ -3287,7 +3287,7 @@ public okhttp3.Call deleteCampaignAsync(Integer applicationId, Integer campaignI 401 Unauthorized - */ - public okhttp3.Call deleteCollectionCall(Integer applicationId, Integer campaignId, Integer collectionId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteCollectionCall(Long applicationId, Long campaignId, Long collectionId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -3320,7 +3320,7 @@ public okhttp3.Call deleteCollectionCall(Integer applicationId, Integer campaign } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteCollectionValidateBeforeCall(Integer applicationId, Integer campaignId, Integer collectionId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteCollectionValidateBeforeCall(Long applicationId, Long campaignId, Long collectionId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -3357,7 +3357,7 @@ private okhttp3.Call deleteCollectionValidateBeforeCall(Integer applicationId, I 401 Unauthorized - */ - public void deleteCollection(Integer applicationId, Integer campaignId, Integer collectionId) throws ApiException { + public void deleteCollection(Long applicationId, Long campaignId, Long collectionId) throws ApiException { deleteCollectionWithHttpInfo(applicationId, campaignId, collectionId); } @@ -3376,7 +3376,7 @@ public void deleteCollection(Integer applicationId, Integer campaignId, Integer 401 Unauthorized - */ - public ApiResponse deleteCollectionWithHttpInfo(Integer applicationId, Integer campaignId, Integer collectionId) throws ApiException { + public ApiResponse deleteCollectionWithHttpInfo(Long applicationId, Long campaignId, Long collectionId) throws ApiException { okhttp3.Call localVarCall = deleteCollectionValidateBeforeCall(applicationId, campaignId, collectionId, null); return localVarApiClient.execute(localVarCall); } @@ -3397,7 +3397,7 @@ public ApiResponse deleteCollectionWithHttpInfo(Integer applicationId, Int 401 Unauthorized - */ - public okhttp3.Call deleteCollectionAsync(Integer applicationId, Integer campaignId, Integer collectionId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteCollectionAsync(Long applicationId, Long campaignId, Long collectionId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = deleteCollectionValidateBeforeCall(applicationId, campaignId, collectionId, _callback); localVarApiClient.executeAsync(localVarCall, _callback); @@ -3417,7 +3417,7 @@ public okhttp3.Call deleteCollectionAsync(Integer applicationId, Integer campaig 204 No Content - */ - public okhttp3.Call deleteCouponCall(Integer applicationId, Integer campaignId, String couponId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteCouponCall(Long applicationId, Long campaignId, String couponId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -3450,7 +3450,7 @@ public okhttp3.Call deleteCouponCall(Integer applicationId, Integer campaignId, } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteCouponValidateBeforeCall(Integer applicationId, Integer campaignId, String couponId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteCouponValidateBeforeCall(Long applicationId, Long campaignId, String couponId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -3486,7 +3486,7 @@ private okhttp3.Call deleteCouponValidateBeforeCall(Integer applicationId, Integ 204 No Content - */ - public void deleteCoupon(Integer applicationId, Integer campaignId, String couponId) throws ApiException { + public void deleteCoupon(Long applicationId, Long campaignId, String couponId) throws ApiException { deleteCouponWithHttpInfo(applicationId, campaignId, couponId); } @@ -3504,7 +3504,7 @@ public void deleteCoupon(Integer applicationId, Integer campaignId, String coupo 204 No Content - */ - public ApiResponse deleteCouponWithHttpInfo(Integer applicationId, Integer campaignId, String couponId) throws ApiException { + public ApiResponse deleteCouponWithHttpInfo(Long applicationId, Long campaignId, String couponId) throws ApiException { okhttp3.Call localVarCall = deleteCouponValidateBeforeCall(applicationId, campaignId, couponId, null); return localVarApiClient.execute(localVarCall); } @@ -3524,7 +3524,7 @@ public ApiResponse deleteCouponWithHttpInfo(Integer applicationId, Integer 204 No Content - */ - public okhttp3.Call deleteCouponAsync(Integer applicationId, Integer campaignId, String couponId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteCouponAsync(Long applicationId, Long campaignId, String couponId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = deleteCouponValidateBeforeCall(applicationId, campaignId, couponId, _callback); localVarApiClient.executeAsync(localVarCall, _callback); @@ -3556,7 +3556,7 @@ public okhttp3.Call deleteCouponAsync(Integer applicationId, Integer campaignId, 204 No Content - */ - public okhttp3.Call deleteCouponsCall(Integer applicationId, Integer campaignId, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, OffsetDateTime startsAfter, OffsetDateTime startsBefore, OffsetDateTime expiresAfter, OffsetDateTime expiresBefore, String valid, String batchId, String usable, Integer referralId, String recipientIntegrationId, Boolean exactMatch, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteCouponsCall(Long applicationId, Long campaignId, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, OffsetDateTime startsAfter, OffsetDateTime startsBefore, OffsetDateTime expiresAfter, OffsetDateTime expiresBefore, String valid, String batchId, String usable, Long referralId, String recipientIntegrationId, Boolean exactMatch, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -3640,7 +3640,7 @@ public okhttp3.Call deleteCouponsCall(Integer applicationId, Integer campaignId, } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteCouponsValidateBeforeCall(Integer applicationId, Integer campaignId, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, OffsetDateTime startsAfter, OffsetDateTime startsBefore, OffsetDateTime expiresAfter, OffsetDateTime expiresBefore, String valid, String batchId, String usable, Integer referralId, String recipientIntegrationId, Boolean exactMatch, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteCouponsValidateBeforeCall(Long applicationId, Long campaignId, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, OffsetDateTime startsAfter, OffsetDateTime startsBefore, OffsetDateTime expiresAfter, OffsetDateTime expiresBefore, String valid, String batchId, String usable, Long referralId, String recipientIntegrationId, Boolean exactMatch, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -3683,7 +3683,7 @@ private okhttp3.Call deleteCouponsValidateBeforeCall(Integer applicationId, Inte 204 No Content - */ - public void deleteCoupons(Integer applicationId, Integer campaignId, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, OffsetDateTime startsAfter, OffsetDateTime startsBefore, OffsetDateTime expiresAfter, OffsetDateTime expiresBefore, String valid, String batchId, String usable, Integer referralId, String recipientIntegrationId, Boolean exactMatch) throws ApiException { + public void deleteCoupons(Long applicationId, Long campaignId, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, OffsetDateTime startsAfter, OffsetDateTime startsBefore, OffsetDateTime expiresAfter, OffsetDateTime expiresBefore, String valid, String batchId, String usable, Long referralId, String recipientIntegrationId, Boolean exactMatch) throws ApiException { deleteCouponsWithHttpInfo(applicationId, campaignId, value, createdBefore, createdAfter, startsAfter, startsBefore, expiresAfter, expiresBefore, valid, batchId, usable, referralId, recipientIntegrationId, exactMatch); } @@ -3713,7 +3713,7 @@ public void deleteCoupons(Integer applicationId, Integer campaignId, String valu 204 No Content - */ - public ApiResponse deleteCouponsWithHttpInfo(Integer applicationId, Integer campaignId, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, OffsetDateTime startsAfter, OffsetDateTime startsBefore, OffsetDateTime expiresAfter, OffsetDateTime expiresBefore, String valid, String batchId, String usable, Integer referralId, String recipientIntegrationId, Boolean exactMatch) throws ApiException { + public ApiResponse deleteCouponsWithHttpInfo(Long applicationId, Long campaignId, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, OffsetDateTime startsAfter, OffsetDateTime startsBefore, OffsetDateTime expiresAfter, OffsetDateTime expiresBefore, String valid, String batchId, String usable, Long referralId, String recipientIntegrationId, Boolean exactMatch) throws ApiException { okhttp3.Call localVarCall = deleteCouponsValidateBeforeCall(applicationId, campaignId, value, createdBefore, createdAfter, startsAfter, startsBefore, expiresAfter, expiresBefore, valid, batchId, usable, referralId, recipientIntegrationId, exactMatch, null); return localVarApiClient.execute(localVarCall); } @@ -3745,7 +3745,7 @@ public ApiResponse deleteCouponsWithHttpInfo(Integer applicationId, Intege 204 No Content - */ - public okhttp3.Call deleteCouponsAsync(Integer applicationId, Integer campaignId, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, OffsetDateTime startsAfter, OffsetDateTime startsBefore, OffsetDateTime expiresAfter, OffsetDateTime expiresBefore, String valid, String batchId, String usable, Integer referralId, String recipientIntegrationId, Boolean exactMatch, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteCouponsAsync(Long applicationId, Long campaignId, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, OffsetDateTime startsAfter, OffsetDateTime startsBefore, OffsetDateTime expiresAfter, OffsetDateTime expiresBefore, String valid, String batchId, String usable, Long referralId, String recipientIntegrationId, Boolean exactMatch, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = deleteCouponsValidateBeforeCall(applicationId, campaignId, value, createdBefore, createdAfter, startsAfter, startsBefore, expiresAfter, expiresBefore, valid, batchId, usable, referralId, recipientIntegrationId, exactMatch, _callback); localVarApiClient.executeAsync(localVarCall, _callback); @@ -3766,7 +3766,7 @@ public okhttp3.Call deleteCouponsAsync(Integer applicationId, Integer campaignId 404 Not found - */ - public okhttp3.Call deleteLoyaltyCardCall(Integer loyaltyProgramId, String loyaltyCardId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteLoyaltyCardCall(Long loyaltyProgramId, String loyaltyCardId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -3798,7 +3798,7 @@ public okhttp3.Call deleteLoyaltyCardCall(Integer loyaltyProgramId, String loyal } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteLoyaltyCardValidateBeforeCall(Integer loyaltyProgramId, String loyaltyCardId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteLoyaltyCardValidateBeforeCall(Long loyaltyProgramId, String loyaltyCardId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'loyaltyProgramId' is set if (loyaltyProgramId == null) { @@ -3830,7 +3830,7 @@ private okhttp3.Call deleteLoyaltyCardValidateBeforeCall(Integer loyaltyProgramI 404 Not found - */ - public void deleteLoyaltyCard(Integer loyaltyProgramId, String loyaltyCardId) throws ApiException { + public void deleteLoyaltyCard(Long loyaltyProgramId, String loyaltyCardId) throws ApiException { deleteLoyaltyCardWithHttpInfo(loyaltyProgramId, loyaltyCardId); } @@ -3849,7 +3849,7 @@ public void deleteLoyaltyCard(Integer loyaltyProgramId, String loyaltyCardId) th 404 Not found - */ - public ApiResponse deleteLoyaltyCardWithHttpInfo(Integer loyaltyProgramId, String loyaltyCardId) throws ApiException { + public ApiResponse deleteLoyaltyCardWithHttpInfo(Long loyaltyProgramId, String loyaltyCardId) throws ApiException { okhttp3.Call localVarCall = deleteLoyaltyCardValidateBeforeCall(loyaltyProgramId, loyaltyCardId, null); return localVarApiClient.execute(localVarCall); } @@ -3870,7 +3870,7 @@ public ApiResponse deleteLoyaltyCardWithHttpInfo(Integer loyaltyProgramId, 404 Not found - */ - public okhttp3.Call deleteLoyaltyCardAsync(Integer loyaltyProgramId, String loyaltyCardId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteLoyaltyCardAsync(Long loyaltyProgramId, String loyaltyCardId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = deleteLoyaltyCardValidateBeforeCall(loyaltyProgramId, loyaltyCardId, _callback); localVarApiClient.executeAsync(localVarCall, _callback); @@ -3890,7 +3890,7 @@ public okhttp3.Call deleteLoyaltyCardAsync(Integer loyaltyProgramId, String loya 204 No Content - */ - public okhttp3.Call deleteReferralCall(Integer applicationId, Integer campaignId, String referralId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteReferralCall(Long applicationId, Long campaignId, String referralId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -3923,7 +3923,7 @@ public okhttp3.Call deleteReferralCall(Integer applicationId, Integer campaignId } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteReferralValidateBeforeCall(Integer applicationId, Integer campaignId, String referralId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteReferralValidateBeforeCall(Long applicationId, Long campaignId, String referralId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -3959,7 +3959,7 @@ private okhttp3.Call deleteReferralValidateBeforeCall(Integer applicationId, Int 204 No Content - */ - public void deleteReferral(Integer applicationId, Integer campaignId, String referralId) throws ApiException { + public void deleteReferral(Long applicationId, Long campaignId, String referralId) throws ApiException { deleteReferralWithHttpInfo(applicationId, campaignId, referralId); } @@ -3977,7 +3977,7 @@ public void deleteReferral(Integer applicationId, Integer campaignId, String ref 204 No Content - */ - public ApiResponse deleteReferralWithHttpInfo(Integer applicationId, Integer campaignId, String referralId) throws ApiException { + public ApiResponse deleteReferralWithHttpInfo(Long applicationId, Long campaignId, String referralId) throws ApiException { okhttp3.Call localVarCall = deleteReferralValidateBeforeCall(applicationId, campaignId, referralId, null); return localVarApiClient.execute(localVarCall); } @@ -3997,7 +3997,7 @@ public ApiResponse deleteReferralWithHttpInfo(Integer applicationId, Integ 204 No Content - */ - public okhttp3.Call deleteReferralAsync(Integer applicationId, Integer campaignId, String referralId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteReferralAsync(Long applicationId, Long campaignId, String referralId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = deleteReferralValidateBeforeCall(applicationId, campaignId, referralId, _callback); localVarApiClient.executeAsync(localVarCall, _callback); @@ -4017,7 +4017,7 @@ public okhttp3.Call deleteReferralAsync(Integer applicationId, Integer campaignI 404 Not found - */ - public okhttp3.Call deleteStoreCall(Integer applicationId, String storeId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteStoreCall(Long applicationId, String storeId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -4049,7 +4049,7 @@ public okhttp3.Call deleteStoreCall(Integer applicationId, String storeId, final } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteStoreValidateBeforeCall(Integer applicationId, String storeId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteStoreValidateBeforeCall(Long applicationId, String storeId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -4080,7 +4080,7 @@ private okhttp3.Call deleteStoreValidateBeforeCall(Integer applicationId, String 404 Not found - */ - public void deleteStore(Integer applicationId, String storeId) throws ApiException { + public void deleteStore(Long applicationId, String storeId) throws ApiException { deleteStoreWithHttpInfo(applicationId, storeId); } @@ -4098,7 +4098,7 @@ public void deleteStore(Integer applicationId, String storeId) throws ApiExcepti 404 Not found - */ - public ApiResponse deleteStoreWithHttpInfo(Integer applicationId, String storeId) throws ApiException { + public ApiResponse deleteStoreWithHttpInfo(Long applicationId, String storeId) throws ApiException { okhttp3.Call localVarCall = deleteStoreValidateBeforeCall(applicationId, storeId, null); return localVarApiClient.execute(localVarCall); } @@ -4118,7 +4118,7 @@ public ApiResponse deleteStoreWithHttpInfo(Integer applicationId, String s 404 Not found - */ - public okhttp3.Call deleteStoreAsync(Integer applicationId, String storeId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteStoreAsync(Long applicationId, String storeId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = deleteStoreValidateBeforeCall(applicationId, storeId, _callback); localVarApiClient.executeAsync(localVarCall, _callback); @@ -4136,7 +4136,7 @@ public okhttp3.Call deleteStoreAsync(Integer applicationId, String storeId, fina 204 No Content - */ - public okhttp3.Call deleteUserCall(Integer userId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteUserCall(Long userId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -4167,7 +4167,7 @@ public okhttp3.Call deleteUserCall(Integer userId, final ApiCallback _callback) } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteUserValidateBeforeCall(Integer userId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteUserValidateBeforeCall(Long userId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'userId' is set if (userId == null) { @@ -4191,7 +4191,7 @@ private okhttp3.Call deleteUserValidateBeforeCall(Integer userId, final ApiCallb 204 No Content - */ - public void deleteUser(Integer userId) throws ApiException { + public void deleteUser(Long userId) throws ApiException { deleteUserWithHttpInfo(userId); } @@ -4207,7 +4207,7 @@ public void deleteUser(Integer userId) throws ApiException { 204 No Content - */ - public ApiResponse deleteUserWithHttpInfo(Integer userId) throws ApiException { + public ApiResponse deleteUserWithHttpInfo(Long userId) throws ApiException { okhttp3.Call localVarCall = deleteUserValidateBeforeCall(userId, null); return localVarApiClient.execute(localVarCall); } @@ -4225,7 +4225,7 @@ public ApiResponse deleteUserWithHttpInfo(Integer userId) throws ApiExcept 204 No Content - */ - public okhttp3.Call deleteUserAsync(Integer userId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteUserAsync(Long userId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = deleteUserValidateBeforeCall(userId, _callback); localVarApiClient.executeAsync(localVarCall, _callback); @@ -4450,7 +4450,7 @@ public okhttp3.Call destroySessionAsync(final ApiCallback _callback) throw 404 Not found - */ - public okhttp3.Call disconnectCampaignStoresCall(Integer applicationId, Integer campaignId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call disconnectCampaignStoresCall(Long applicationId, Long campaignId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -4482,7 +4482,7 @@ public okhttp3.Call disconnectCampaignStoresCall(Integer applicationId, Integer } @SuppressWarnings("rawtypes") - private okhttp3.Call disconnectCampaignStoresValidateBeforeCall(Integer applicationId, Integer campaignId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call disconnectCampaignStoresValidateBeforeCall(Long applicationId, Long campaignId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -4515,7 +4515,7 @@ private okhttp3.Call disconnectCampaignStoresValidateBeforeCall(Integer applicat 404 Not found - */ - public void disconnectCampaignStores(Integer applicationId, Integer campaignId) throws ApiException { + public void disconnectCampaignStores(Long applicationId, Long campaignId) throws ApiException { disconnectCampaignStoresWithHttpInfo(applicationId, campaignId); } @@ -4535,7 +4535,7 @@ public void disconnectCampaignStores(Integer applicationId, Integer campaignId) 404 Not found - */ - public ApiResponse disconnectCampaignStoresWithHttpInfo(Integer applicationId, Integer campaignId) throws ApiException { + public ApiResponse disconnectCampaignStoresWithHttpInfo(Long applicationId, Long campaignId) throws ApiException { okhttp3.Call localVarCall = disconnectCampaignStoresValidateBeforeCall(applicationId, campaignId, null); return localVarApiClient.execute(localVarCall); } @@ -4557,7 +4557,7 @@ public ApiResponse disconnectCampaignStoresWithHttpInfo(Integer applicatio 404 Not found - */ - public okhttp3.Call disconnectCampaignStoresAsync(Integer applicationId, Integer campaignId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call disconnectCampaignStoresAsync(Long applicationId, Long campaignId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = disconnectCampaignStoresValidateBeforeCall(applicationId, campaignId, _callback); localVarApiClient.executeAsync(localVarCall, _callback); @@ -4577,7 +4577,7 @@ public okhttp3.Call disconnectCampaignStoresAsync(Integer applicationId, Integer 404 Not found - */ - public okhttp3.Call exportAccountCollectionItemsCall(Integer collectionId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call exportAccountCollectionItemsCall(Long collectionId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -4608,7 +4608,7 @@ public okhttp3.Call exportAccountCollectionItemsCall(Integer collectionId, final } @SuppressWarnings("rawtypes") - private okhttp3.Call exportAccountCollectionItemsValidateBeforeCall(Integer collectionId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call exportAccountCollectionItemsValidateBeforeCall(Long collectionId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'collectionId' is set if (collectionId == null) { @@ -4635,7 +4635,7 @@ private okhttp3.Call exportAccountCollectionItemsValidateBeforeCall(Integer coll 404 Not found - */ - public String exportAccountCollectionItems(Integer collectionId) throws ApiException { + public String exportAccountCollectionItems(Long collectionId) throws ApiException { ApiResponse localVarResp = exportAccountCollectionItemsWithHttpInfo(collectionId); return localVarResp.getData(); } @@ -4654,7 +4654,7 @@ public String exportAccountCollectionItems(Integer collectionId) throws ApiExcep 404 Not found - */ - public ApiResponse exportAccountCollectionItemsWithHttpInfo(Integer collectionId) throws ApiException { + public ApiResponse exportAccountCollectionItemsWithHttpInfo(Long collectionId) throws ApiException { okhttp3.Call localVarCall = exportAccountCollectionItemsValidateBeforeCall(collectionId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -4675,7 +4675,7 @@ public ApiResponse exportAccountCollectionItemsWithHttpInfo(Integer coll 404 Not found - */ - public okhttp3.Call exportAccountCollectionItemsAsync(Integer collectionId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call exportAccountCollectionItemsAsync(Long collectionId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = exportAccountCollectionItemsValidateBeforeCall(collectionId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -4699,7 +4699,7 @@ public okhttp3.Call exportAccountCollectionItemsAsync(Integer collectionId, fina 404 Not found - */ - public okhttp3.Call exportAchievementsCall(Integer applicationId, Integer campaignId, Integer achievementId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call exportAchievementsCall(Long applicationId, Long campaignId, Long achievementId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -4732,7 +4732,7 @@ public okhttp3.Call exportAchievementsCall(Integer applicationId, Integer campai } @SuppressWarnings("rawtypes") - private okhttp3.Call exportAchievementsValidateBeforeCall(Integer applicationId, Integer campaignId, Integer achievementId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call exportAchievementsValidateBeforeCall(Long applicationId, Long campaignId, Long achievementId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -4772,7 +4772,7 @@ private okhttp3.Call exportAchievementsValidateBeforeCall(Integer applicationId, 404 Not found - */ - public String exportAchievements(Integer applicationId, Integer campaignId, Integer achievementId) throws ApiException { + public String exportAchievements(Long applicationId, Long campaignId, Long achievementId) throws ApiException { ApiResponse localVarResp = exportAchievementsWithHttpInfo(applicationId, campaignId, achievementId); return localVarResp.getData(); } @@ -4794,7 +4794,7 @@ public String exportAchievements(Integer applicationId, Integer campaignId, Inte 404 Not found - */ - public ApiResponse exportAchievementsWithHttpInfo(Integer applicationId, Integer campaignId, Integer achievementId) throws ApiException { + public ApiResponse exportAchievementsWithHttpInfo(Long applicationId, Long campaignId, Long achievementId) throws ApiException { okhttp3.Call localVarCall = exportAchievementsValidateBeforeCall(applicationId, campaignId, achievementId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -4818,7 +4818,7 @@ public ApiResponse exportAchievementsWithHttpInfo(Integer applicationId, 404 Not found - */ - public okhttp3.Call exportAchievementsAsync(Integer applicationId, Integer campaignId, Integer achievementId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call exportAchievementsAsync(Long applicationId, Long campaignId, Long achievementId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = exportAchievementsValidateBeforeCall(applicationId, campaignId, achievementId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -4840,7 +4840,7 @@ public okhttp3.Call exportAchievementsAsync(Integer applicationId, Integer campa 404 Not found - */ - public okhttp3.Call exportAudiencesMembershipsCall(Integer audienceId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call exportAudiencesMembershipsCall(Long audienceId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -4871,7 +4871,7 @@ public okhttp3.Call exportAudiencesMembershipsCall(Integer audienceId, final Api } @SuppressWarnings("rawtypes") - private okhttp3.Call exportAudiencesMembershipsValidateBeforeCall(Integer audienceId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call exportAudiencesMembershipsValidateBeforeCall(Long audienceId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'audienceId' is set if (audienceId == null) { @@ -4899,7 +4899,7 @@ private okhttp3.Call exportAudiencesMembershipsValidateBeforeCall(Integer audien 404 Not found - */ - public String exportAudiencesMemberships(Integer audienceId) throws ApiException { + public String exportAudiencesMemberships(Long audienceId) throws ApiException { ApiResponse localVarResp = exportAudiencesMembershipsWithHttpInfo(audienceId); return localVarResp.getData(); } @@ -4919,7 +4919,7 @@ public String exportAudiencesMemberships(Integer audienceId) throws ApiException 404 Not found - */ - public ApiResponse exportAudiencesMembershipsWithHttpInfo(Integer audienceId) throws ApiException { + public ApiResponse exportAudiencesMembershipsWithHttpInfo(Long audienceId) throws ApiException { okhttp3.Call localVarCall = exportAudiencesMembershipsValidateBeforeCall(audienceId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -4941,7 +4941,7 @@ public ApiResponse exportAudiencesMembershipsWithHttpInfo(Integer audien 404 Not found - */ - public okhttp3.Call exportAudiencesMembershipsAsync(Integer audienceId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call exportAudiencesMembershipsAsync(Long audienceId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = exportAudiencesMembershipsValidateBeforeCall(audienceId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -4964,7 +4964,7 @@ public okhttp3.Call exportAudiencesMembershipsAsync(Integer audienceId, final Ap 404 Not found - */ - public okhttp3.Call exportCampaignStoresCall(Integer applicationId, Integer campaignId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call exportCampaignStoresCall(Long applicationId, Long campaignId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -4996,7 +4996,7 @@ public okhttp3.Call exportCampaignStoresCall(Integer applicationId, Integer camp } @SuppressWarnings("rawtypes") - private okhttp3.Call exportCampaignStoresValidateBeforeCall(Integer applicationId, Integer campaignId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call exportCampaignStoresValidateBeforeCall(Long applicationId, Long campaignId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -5030,7 +5030,7 @@ private okhttp3.Call exportCampaignStoresValidateBeforeCall(Integer applicationI 404 Not found - */ - public String exportCampaignStores(Integer applicationId, Integer campaignId) throws ApiException { + public String exportCampaignStores(Long applicationId, Long campaignId) throws ApiException { ApiResponse localVarResp = exportCampaignStoresWithHttpInfo(applicationId, campaignId); return localVarResp.getData(); } @@ -5051,7 +5051,7 @@ public String exportCampaignStores(Integer applicationId, Integer campaignId) th 404 Not found - */ - public ApiResponse exportCampaignStoresWithHttpInfo(Integer applicationId, Integer campaignId) throws ApiException { + public ApiResponse exportCampaignStoresWithHttpInfo(Long applicationId, Long campaignId) throws ApiException { okhttp3.Call localVarCall = exportCampaignStoresValidateBeforeCall(applicationId, campaignId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -5074,7 +5074,7 @@ public ApiResponse exportCampaignStoresWithHttpInfo(Integer applicationI 404 Not found - */ - public okhttp3.Call exportCampaignStoresAsync(Integer applicationId, Integer campaignId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call exportCampaignStoresAsync(Long applicationId, Long campaignId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = exportCampaignStoresValidateBeforeCall(applicationId, campaignId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -5097,7 +5097,7 @@ public okhttp3.Call exportCampaignStoresAsync(Integer applicationId, Integer cam 404 Not found - */ - public okhttp3.Call exportCollectionItemsCall(Integer applicationId, Integer campaignId, Integer collectionId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call exportCollectionItemsCall(Long applicationId, Long campaignId, Long collectionId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -5130,7 +5130,7 @@ public okhttp3.Call exportCollectionItemsCall(Integer applicationId, Integer cam } @SuppressWarnings("rawtypes") - private okhttp3.Call exportCollectionItemsValidateBeforeCall(Integer applicationId, Integer campaignId, Integer collectionId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call exportCollectionItemsValidateBeforeCall(Long applicationId, Long campaignId, Long collectionId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -5169,7 +5169,7 @@ private okhttp3.Call exportCollectionItemsValidateBeforeCall(Integer application 404 Not found - */ - public String exportCollectionItems(Integer applicationId, Integer campaignId, Integer collectionId) throws ApiException { + public String exportCollectionItems(Long applicationId, Long campaignId, Long collectionId) throws ApiException { ApiResponse localVarResp = exportCollectionItemsWithHttpInfo(applicationId, campaignId, collectionId); return localVarResp.getData(); } @@ -5190,7 +5190,7 @@ public String exportCollectionItems(Integer applicationId, Integer campaignId, I 404 Not found - */ - public ApiResponse exportCollectionItemsWithHttpInfo(Integer applicationId, Integer campaignId, Integer collectionId) throws ApiException { + public ApiResponse exportCollectionItemsWithHttpInfo(Long applicationId, Long campaignId, Long collectionId) throws ApiException { okhttp3.Call localVarCall = exportCollectionItemsValidateBeforeCall(applicationId, campaignId, collectionId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -5213,7 +5213,7 @@ public ApiResponse exportCollectionItemsWithHttpInfo(Integer application 404 Not found - */ - public okhttp3.Call exportCollectionItemsAsync(Integer applicationId, Integer campaignId, Integer collectionId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call exportCollectionItemsAsync(Long applicationId, Long campaignId, Long collectionId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = exportCollectionItemsValidateBeforeCall(applicationId, campaignId, collectionId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -5246,7 +5246,7 @@ public okhttp3.Call exportCollectionItemsAsync(Integer applicationId, Integer ca 200 OK - */ - public okhttp3.Call exportCouponsCall(Integer applicationId, BigDecimal campaignId, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, Integer referralId, String recipientIntegrationId, String batchId, Boolean exactMatch, String dateFormat, String campaignState, Boolean valuesOnly, final ApiCallback _callback) throws ApiException { + public okhttp3.Call exportCouponsCall(Long applicationId, BigDecimal campaignId, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, Long referralId, String recipientIntegrationId, String batchId, Boolean exactMatch, String dateFormat, String campaignState, Boolean valuesOnly, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -5333,7 +5333,7 @@ public okhttp3.Call exportCouponsCall(Integer applicationId, BigDecimal campaign } @SuppressWarnings("rawtypes") - private okhttp3.Call exportCouponsValidateBeforeCall(Integer applicationId, BigDecimal campaignId, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, Integer referralId, String recipientIntegrationId, String batchId, Boolean exactMatch, String dateFormat, String campaignState, Boolean valuesOnly, final ApiCallback _callback) throws ApiException { + private okhttp3.Call exportCouponsValidateBeforeCall(Long applicationId, BigDecimal campaignId, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, Long referralId, String recipientIntegrationId, String batchId, Boolean exactMatch, String dateFormat, String campaignState, Boolean valuesOnly, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -5372,7 +5372,7 @@ private okhttp3.Call exportCouponsValidateBeforeCall(Integer applicationId, BigD 200 OK - */ - public String exportCoupons(Integer applicationId, BigDecimal campaignId, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, Integer referralId, String recipientIntegrationId, String batchId, Boolean exactMatch, String dateFormat, String campaignState, Boolean valuesOnly) throws ApiException { + public String exportCoupons(Long applicationId, BigDecimal campaignId, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, Long referralId, String recipientIntegrationId, String batchId, Boolean exactMatch, String dateFormat, String campaignState, Boolean valuesOnly) throws ApiException { ApiResponse localVarResp = exportCouponsWithHttpInfo(applicationId, campaignId, sort, value, createdBefore, createdAfter, valid, usable, referralId, recipientIntegrationId, batchId, exactMatch, dateFormat, campaignState, valuesOnly); return localVarResp.getData(); } @@ -5403,7 +5403,7 @@ public String exportCoupons(Integer applicationId, BigDecimal campaignId, String 200 OK - */ - public ApiResponse exportCouponsWithHttpInfo(Integer applicationId, BigDecimal campaignId, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, Integer referralId, String recipientIntegrationId, String batchId, Boolean exactMatch, String dateFormat, String campaignState, Boolean valuesOnly) throws ApiException { + public ApiResponse exportCouponsWithHttpInfo(Long applicationId, BigDecimal campaignId, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, Long referralId, String recipientIntegrationId, String batchId, Boolean exactMatch, String dateFormat, String campaignState, Boolean valuesOnly) throws ApiException { okhttp3.Call localVarCall = exportCouponsValidateBeforeCall(applicationId, campaignId, sort, value, createdBefore, createdAfter, valid, usable, referralId, recipientIntegrationId, batchId, exactMatch, dateFormat, campaignState, valuesOnly, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -5436,7 +5436,7 @@ public ApiResponse exportCouponsWithHttpInfo(Integer applicationId, BigD 200 OK - */ - public okhttp3.Call exportCouponsAsync(Integer applicationId, BigDecimal campaignId, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, Integer referralId, String recipientIntegrationId, String batchId, Boolean exactMatch, String dateFormat, String campaignState, Boolean valuesOnly, final ApiCallback _callback) throws ApiException { + public okhttp3.Call exportCouponsAsync(Long applicationId, BigDecimal campaignId, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, Long referralId, String recipientIntegrationId, String batchId, Boolean exactMatch, String dateFormat, String campaignState, Boolean valuesOnly, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = exportCouponsValidateBeforeCall(applicationId, campaignId, sort, value, createdBefore, createdAfter, valid, usable, referralId, recipientIntegrationId, batchId, exactMatch, dateFormat, campaignState, valuesOnly, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -5460,7 +5460,7 @@ public okhttp3.Call exportCouponsAsync(Integer applicationId, BigDecimal campaig 200 OK - */ - public okhttp3.Call exportCustomerSessionsCall(Integer applicationId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String profileIntegrationId, String dateFormat, String customerSessionState, final ApiCallback _callback) throws ApiException { + public okhttp3.Call exportCustomerSessionsCall(Long applicationId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String profileIntegrationId, String dateFormat, String customerSessionState, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -5511,7 +5511,7 @@ public okhttp3.Call exportCustomerSessionsCall(Integer applicationId, OffsetDate } @SuppressWarnings("rawtypes") - private okhttp3.Call exportCustomerSessionsValidateBeforeCall(Integer applicationId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String profileIntegrationId, String dateFormat, String customerSessionState, final ApiCallback _callback) throws ApiException { + private okhttp3.Call exportCustomerSessionsValidateBeforeCall(Long applicationId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String profileIntegrationId, String dateFormat, String customerSessionState, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -5541,7 +5541,7 @@ private okhttp3.Call exportCustomerSessionsValidateBeforeCall(Integer applicatio 200 OK - */ - public String exportCustomerSessions(Integer applicationId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String profileIntegrationId, String dateFormat, String customerSessionState) throws ApiException { + public String exportCustomerSessions(Long applicationId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String profileIntegrationId, String dateFormat, String customerSessionState) throws ApiException { ApiResponse localVarResp = exportCustomerSessionsWithHttpInfo(applicationId, createdBefore, createdAfter, profileIntegrationId, dateFormat, customerSessionState); return localVarResp.getData(); } @@ -5563,7 +5563,7 @@ public String exportCustomerSessions(Integer applicationId, OffsetDateTime creat 200 OK - */ - public ApiResponse exportCustomerSessionsWithHttpInfo(Integer applicationId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String profileIntegrationId, String dateFormat, String customerSessionState) throws ApiException { + public ApiResponse exportCustomerSessionsWithHttpInfo(Long applicationId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String profileIntegrationId, String dateFormat, String customerSessionState) throws ApiException { okhttp3.Call localVarCall = exportCustomerSessionsValidateBeforeCall(applicationId, createdBefore, createdAfter, profileIntegrationId, dateFormat, customerSessionState, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -5587,7 +5587,7 @@ public ApiResponse exportCustomerSessionsWithHttpInfo(Integer applicatio 200 OK - */ - public okhttp3.Call exportCustomerSessionsAsync(Integer applicationId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String profileIntegrationId, String dateFormat, String customerSessionState, final ApiCallback _callback) throws ApiException { + public okhttp3.Call exportCustomerSessionsAsync(Long applicationId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String profileIntegrationId, String dateFormat, String customerSessionState, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = exportCustomerSessionsValidateBeforeCall(applicationId, createdBefore, createdAfter, profileIntegrationId, dateFormat, customerSessionState, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -5737,7 +5737,7 @@ public okhttp3.Call exportCustomersTiersAsync(String loyaltyProgramId, List 200 OK - */ - public okhttp3.Call exportEffectsCall(Integer applicationId, BigDecimal campaignId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String dateFormat, final ApiCallback _callback) throws ApiException { + public okhttp3.Call exportEffectsCall(Long applicationId, BigDecimal campaignId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String dateFormat, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -5784,7 +5784,7 @@ public okhttp3.Call exportEffectsCall(Integer applicationId, BigDecimal campaign } @SuppressWarnings("rawtypes") - private okhttp3.Call exportEffectsValidateBeforeCall(Integer applicationId, BigDecimal campaignId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String dateFormat, final ApiCallback _callback) throws ApiException { + private okhttp3.Call exportEffectsValidateBeforeCall(Long applicationId, BigDecimal campaignId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String dateFormat, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -5813,7 +5813,7 @@ private okhttp3.Call exportEffectsValidateBeforeCall(Integer applicationId, BigD 200 OK - */ - public String exportEffects(Integer applicationId, BigDecimal campaignId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String dateFormat) throws ApiException { + public String exportEffects(Long applicationId, BigDecimal campaignId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String dateFormat) throws ApiException { ApiResponse localVarResp = exportEffectsWithHttpInfo(applicationId, campaignId, createdBefore, createdAfter, dateFormat); return localVarResp.getData(); } @@ -5834,7 +5834,7 @@ public String exportEffects(Integer applicationId, BigDecimal campaignId, Offset 200 OK - */ - public ApiResponse exportEffectsWithHttpInfo(Integer applicationId, BigDecimal campaignId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String dateFormat) throws ApiException { + public ApiResponse exportEffectsWithHttpInfo(Long applicationId, BigDecimal campaignId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String dateFormat) throws ApiException { okhttp3.Call localVarCall = exportEffectsValidateBeforeCall(applicationId, campaignId, createdBefore, createdAfter, dateFormat, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -5857,7 +5857,7 @@ public ApiResponse exportEffectsWithHttpInfo(Integer applicationId, BigD 200 OK - */ - public okhttp3.Call exportEffectsAsync(Integer applicationId, BigDecimal campaignId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String dateFormat, final ApiCallback _callback) throws ApiException { + public okhttp3.Call exportEffectsAsync(Long applicationId, BigDecimal campaignId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String dateFormat, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = exportEffectsValidateBeforeCall(applicationId, campaignId, createdBefore, createdAfter, dateFormat, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -6142,7 +6142,7 @@ public okhttp3.Call exportLoyaltyBalancesAsync(String loyaltyProgramId, OffsetDa 401 Unauthorized - */ - public okhttp3.Call exportLoyaltyCardBalancesCall(Integer loyaltyProgramId, OffsetDateTime endDate, final ApiCallback _callback) throws ApiException { + public okhttp3.Call exportLoyaltyCardBalancesCall(Long loyaltyProgramId, OffsetDateTime endDate, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -6177,7 +6177,7 @@ public okhttp3.Call exportLoyaltyCardBalancesCall(Integer loyaltyProgramId, Offs } @SuppressWarnings("rawtypes") - private okhttp3.Call exportLoyaltyCardBalancesValidateBeforeCall(Integer loyaltyProgramId, OffsetDateTime endDate, final ApiCallback _callback) throws ApiException { + private okhttp3.Call exportLoyaltyCardBalancesValidateBeforeCall(Long loyaltyProgramId, OffsetDateTime endDate, final ApiCallback _callback) throws ApiException { // verify the required parameter 'loyaltyProgramId' is set if (loyaltyProgramId == null) { @@ -6205,7 +6205,7 @@ private okhttp3.Call exportLoyaltyCardBalancesValidateBeforeCall(Integer loyalty 401 Unauthorized - */ - public String exportLoyaltyCardBalances(Integer loyaltyProgramId, OffsetDateTime endDate) throws ApiException { + public String exportLoyaltyCardBalances(Long loyaltyProgramId, OffsetDateTime endDate) throws ApiException { ApiResponse localVarResp = exportLoyaltyCardBalancesWithHttpInfo(loyaltyProgramId, endDate); return localVarResp.getData(); } @@ -6225,7 +6225,7 @@ public String exportLoyaltyCardBalances(Integer loyaltyProgramId, OffsetDateTime 401 Unauthorized - */ - public ApiResponse exportLoyaltyCardBalancesWithHttpInfo(Integer loyaltyProgramId, OffsetDateTime endDate) throws ApiException { + public ApiResponse exportLoyaltyCardBalancesWithHttpInfo(Long loyaltyProgramId, OffsetDateTime endDate) throws ApiException { okhttp3.Call localVarCall = exportLoyaltyCardBalancesValidateBeforeCall(loyaltyProgramId, endDate, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -6247,7 +6247,7 @@ public ApiResponse exportLoyaltyCardBalancesWithHttpInfo(Integer loyalty 401 Unauthorized - */ - public okhttp3.Call exportLoyaltyCardBalancesAsync(Integer loyaltyProgramId, OffsetDateTime endDate, final ApiCallback _callback) throws ApiException { + public okhttp3.Call exportLoyaltyCardBalancesAsync(Long loyaltyProgramId, OffsetDateTime endDate, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = exportLoyaltyCardBalancesValidateBeforeCall(loyaltyProgramId, endDate, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -6272,7 +6272,7 @@ public okhttp3.Call exportLoyaltyCardBalancesAsync(Integer loyaltyProgramId, Off 404 Not found - */ - public okhttp3.Call exportLoyaltyCardLedgerCall(Integer loyaltyProgramId, String loyaltyCardId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String dateFormat, final ApiCallback _callback) throws ApiException { + public okhttp3.Call exportLoyaltyCardLedgerCall(Long loyaltyProgramId, String loyaltyCardId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String dateFormat, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -6316,7 +6316,7 @@ public okhttp3.Call exportLoyaltyCardLedgerCall(Integer loyaltyProgramId, String } @SuppressWarnings("rawtypes") - private okhttp3.Call exportLoyaltyCardLedgerValidateBeforeCall(Integer loyaltyProgramId, String loyaltyCardId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String dateFormat, final ApiCallback _callback) throws ApiException { + private okhttp3.Call exportLoyaltyCardLedgerValidateBeforeCall(Long loyaltyProgramId, String loyaltyCardId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String dateFormat, final ApiCallback _callback) throws ApiException { // verify the required parameter 'loyaltyProgramId' is set if (loyaltyProgramId == null) { @@ -6362,7 +6362,7 @@ private okhttp3.Call exportLoyaltyCardLedgerValidateBeforeCall(Integer loyaltyPr 404 Not found - */ - public String exportLoyaltyCardLedger(Integer loyaltyProgramId, String loyaltyCardId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String dateFormat) throws ApiException { + public String exportLoyaltyCardLedger(Long loyaltyProgramId, String loyaltyCardId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String dateFormat) throws ApiException { ApiResponse localVarResp = exportLoyaltyCardLedgerWithHttpInfo(loyaltyProgramId, loyaltyCardId, rangeStart, rangeEnd, dateFormat); return localVarResp.getData(); } @@ -6385,7 +6385,7 @@ public String exportLoyaltyCardLedger(Integer loyaltyProgramId, String loyaltyCa 404 Not found - */ - public ApiResponse exportLoyaltyCardLedgerWithHttpInfo(Integer loyaltyProgramId, String loyaltyCardId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String dateFormat) throws ApiException { + public ApiResponse exportLoyaltyCardLedgerWithHttpInfo(Long loyaltyProgramId, String loyaltyCardId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String dateFormat) throws ApiException { okhttp3.Call localVarCall = exportLoyaltyCardLedgerValidateBeforeCall(loyaltyProgramId, loyaltyCardId, rangeStart, rangeEnd, dateFormat, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -6410,7 +6410,7 @@ public ApiResponse exportLoyaltyCardLedgerWithHttpInfo(Integer loyaltyPr 404 Not found - */ - public okhttp3.Call exportLoyaltyCardLedgerAsync(Integer loyaltyProgramId, String loyaltyCardId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String dateFormat, final ApiCallback _callback) throws ApiException { + public okhttp3.Call exportLoyaltyCardLedgerAsync(Long loyaltyProgramId, String loyaltyCardId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String dateFormat, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = exportLoyaltyCardLedgerValidateBeforeCall(loyaltyProgramId, loyaltyCardId, rangeStart, rangeEnd, dateFormat, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -6433,7 +6433,7 @@ public okhttp3.Call exportLoyaltyCardLedgerAsync(Integer loyaltyProgramId, Strin 401 Unauthorized - */ - public okhttp3.Call exportLoyaltyCardsCall(Integer loyaltyProgramId, String batchId, String dateFormat, final ApiCallback _callback) throws ApiException { + public okhttp3.Call exportLoyaltyCardsCall(Long loyaltyProgramId, String batchId, String dateFormat, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -6472,7 +6472,7 @@ public okhttp3.Call exportLoyaltyCardsCall(Integer loyaltyProgramId, String batc } @SuppressWarnings("rawtypes") - private okhttp3.Call exportLoyaltyCardsValidateBeforeCall(Integer loyaltyProgramId, String batchId, String dateFormat, final ApiCallback _callback) throws ApiException { + private okhttp3.Call exportLoyaltyCardsValidateBeforeCall(Long loyaltyProgramId, String batchId, String dateFormat, final ApiCallback _callback) throws ApiException { // verify the required parameter 'loyaltyProgramId' is set if (loyaltyProgramId == null) { @@ -6501,7 +6501,7 @@ private okhttp3.Call exportLoyaltyCardsValidateBeforeCall(Integer loyaltyProgram 401 Unauthorized - */ - public String exportLoyaltyCards(Integer loyaltyProgramId, String batchId, String dateFormat) throws ApiException { + public String exportLoyaltyCards(Long loyaltyProgramId, String batchId, String dateFormat) throws ApiException { ApiResponse localVarResp = exportLoyaltyCardsWithHttpInfo(loyaltyProgramId, batchId, dateFormat); return localVarResp.getData(); } @@ -6522,7 +6522,7 @@ public String exportLoyaltyCards(Integer loyaltyProgramId, String batchId, Strin 401 Unauthorized - */ - public ApiResponse exportLoyaltyCardsWithHttpInfo(Integer loyaltyProgramId, String batchId, String dateFormat) throws ApiException { + public ApiResponse exportLoyaltyCardsWithHttpInfo(Long loyaltyProgramId, String batchId, String dateFormat) throws ApiException { okhttp3.Call localVarCall = exportLoyaltyCardsValidateBeforeCall(loyaltyProgramId, batchId, dateFormat, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -6545,7 +6545,7 @@ public ApiResponse exportLoyaltyCardsWithHttpInfo(Integer loyaltyProgram 401 Unauthorized - */ - public okhttp3.Call exportLoyaltyCardsAsync(Integer loyaltyProgramId, String batchId, String dateFormat, final ApiCallback _callback) throws ApiException { + public okhttp3.Call exportLoyaltyCardsAsync(Long loyaltyProgramId, String batchId, String dateFormat, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = exportLoyaltyCardsValidateBeforeCall(loyaltyProgramId, batchId, dateFormat, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -6722,7 +6722,7 @@ public okhttp3.Call exportLoyaltyLedgerAsync(OffsetDateTime rangeStart, OffsetDa 400 Bad request - */ - public okhttp3.Call exportPoolGiveawaysCall(Integer poolId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, final ApiCallback _callback) throws ApiException { + public okhttp3.Call exportPoolGiveawaysCall(Long poolId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -6761,7 +6761,7 @@ public okhttp3.Call exportPoolGiveawaysCall(Integer poolId, OffsetDateTime creat } @SuppressWarnings("rawtypes") - private okhttp3.Call exportPoolGiveawaysValidateBeforeCall(Integer poolId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, final ApiCallback _callback) throws ApiException { + private okhttp3.Call exportPoolGiveawaysValidateBeforeCall(Long poolId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, final ApiCallback _callback) throws ApiException { // verify the required parameter 'poolId' is set if (poolId == null) { @@ -6789,7 +6789,7 @@ private okhttp3.Call exportPoolGiveawaysValidateBeforeCall(Integer poolId, Offse 400 Bad request - */ - public String exportPoolGiveaways(Integer poolId, OffsetDateTime createdBefore, OffsetDateTime createdAfter) throws ApiException { + public String exportPoolGiveaways(Long poolId, OffsetDateTime createdBefore, OffsetDateTime createdAfter) throws ApiException { ApiResponse localVarResp = exportPoolGiveawaysWithHttpInfo(poolId, createdBefore, createdAfter); return localVarResp.getData(); } @@ -6809,7 +6809,7 @@ public String exportPoolGiveaways(Integer poolId, OffsetDateTime createdBefore, 400 Bad request - */ - public ApiResponse exportPoolGiveawaysWithHttpInfo(Integer poolId, OffsetDateTime createdBefore, OffsetDateTime createdAfter) throws ApiException { + public ApiResponse exportPoolGiveawaysWithHttpInfo(Long poolId, OffsetDateTime createdBefore, OffsetDateTime createdAfter) throws ApiException { okhttp3.Call localVarCall = exportPoolGiveawaysValidateBeforeCall(poolId, createdBefore, createdAfter, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -6831,7 +6831,7 @@ public ApiResponse exportPoolGiveawaysWithHttpInfo(Integer poolId, Offse 400 Bad request - */ - public okhttp3.Call exportPoolGiveawaysAsync(Integer poolId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, final ApiCallback _callback) throws ApiException { + public okhttp3.Call exportPoolGiveawaysAsync(Long poolId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = exportPoolGiveawaysValidateBeforeCall(poolId, createdBefore, createdAfter, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -6857,7 +6857,7 @@ public okhttp3.Call exportPoolGiveawaysAsync(Integer poolId, OffsetDateTime crea 200 OK - */ - public okhttp3.Call exportReferralsCall(Integer applicationId, BigDecimal campaignId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, String batchId, String dateFormat, final ApiCallback _callback) throws ApiException { + public okhttp3.Call exportReferralsCall(Long applicationId, BigDecimal campaignId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, String batchId, String dateFormat, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -6916,7 +6916,7 @@ public okhttp3.Call exportReferralsCall(Integer applicationId, BigDecimal campai } @SuppressWarnings("rawtypes") - private okhttp3.Call exportReferralsValidateBeforeCall(Integer applicationId, BigDecimal campaignId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, String batchId, String dateFormat, final ApiCallback _callback) throws ApiException { + private okhttp3.Call exportReferralsValidateBeforeCall(Long applicationId, BigDecimal campaignId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, String batchId, String dateFormat, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -6948,7 +6948,7 @@ private okhttp3.Call exportReferralsValidateBeforeCall(Integer applicationId, Bi 200 OK - */ - public String exportReferrals(Integer applicationId, BigDecimal campaignId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, String batchId, String dateFormat) throws ApiException { + public String exportReferrals(Long applicationId, BigDecimal campaignId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, String batchId, String dateFormat) throws ApiException { ApiResponse localVarResp = exportReferralsWithHttpInfo(applicationId, campaignId, createdBefore, createdAfter, valid, usable, batchId, dateFormat); return localVarResp.getData(); } @@ -6972,7 +6972,7 @@ public String exportReferrals(Integer applicationId, BigDecimal campaignId, Offs 200 OK - */ - public ApiResponse exportReferralsWithHttpInfo(Integer applicationId, BigDecimal campaignId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, String batchId, String dateFormat) throws ApiException { + public ApiResponse exportReferralsWithHttpInfo(Long applicationId, BigDecimal campaignId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, String batchId, String dateFormat) throws ApiException { okhttp3.Call localVarCall = exportReferralsValidateBeforeCall(applicationId, campaignId, createdBefore, createdAfter, valid, usable, batchId, dateFormat, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -6998,7 +6998,7 @@ public ApiResponse exportReferralsWithHttpInfo(Integer applicationId, Bi 200 OK - */ - public okhttp3.Call exportReferralsAsync(Integer applicationId, BigDecimal campaignId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, String batchId, String dateFormat, final ApiCallback _callback) throws ApiException { + public okhttp3.Call exportReferralsAsync(Long applicationId, BigDecimal campaignId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, String batchId, String dateFormat, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = exportReferralsValidateBeforeCall(applicationId, campaignId, createdBefore, createdAfter, valid, usable, batchId, dateFormat, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -7013,7 +7013,7 @@ public okhttp3.Call exportReferralsAsync(Integer applicationId, BigDecimal campa * @param path Only return results where the request path matches the given regular expression. (optional) * @param method Only return results where the request method matches the given regular expression. (optional) * @param status Filter results by HTTP status codes. (optional) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param _callback Callback for upload/download progress @@ -7025,7 +7025,7 @@ public okhttp3.Call exportReferralsAsync(Integer applicationId, BigDecimal campa 200 OK - */ - public okhttp3.Call getAccessLogsWithoutTotalCountCall(Integer applicationId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String path, String method, String status, Integer pageSize, Integer skip, String sort, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAccessLogsWithoutTotalCountCall(Long applicationId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String path, String method, String status, Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -7088,7 +7088,7 @@ public okhttp3.Call getAccessLogsWithoutTotalCountCall(Integer applicationId, Of } @SuppressWarnings("rawtypes") - private okhttp3.Call getAccessLogsWithoutTotalCountValidateBeforeCall(Integer applicationId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String path, String method, String status, Integer pageSize, Integer skip, String sort, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getAccessLogsWithoutTotalCountValidateBeforeCall(Long applicationId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String path, String method, String status, Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -7120,7 +7120,7 @@ private okhttp3.Call getAccessLogsWithoutTotalCountValidateBeforeCall(Integer ap * @param path Only return results where the request path matches the given regular expression. (optional) * @param method Only return results where the request method matches the given regular expression. (optional) * @param status Filter results by HTTP status codes. (optional) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @return InlineResponse20022 @@ -7131,7 +7131,7 @@ private okhttp3.Call getAccessLogsWithoutTotalCountValidateBeforeCall(Integer ap 200 OK - */ - public InlineResponse20022 getAccessLogsWithoutTotalCount(Integer applicationId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String path, String method, String status, Integer pageSize, Integer skip, String sort) throws ApiException { + public InlineResponse20022 getAccessLogsWithoutTotalCount(Long applicationId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String path, String method, String status, Long pageSize, Long skip, String sort) throws ApiException { ApiResponse localVarResp = getAccessLogsWithoutTotalCountWithHttpInfo(applicationId, rangeStart, rangeEnd, path, method, status, pageSize, skip, sort); return localVarResp.getData(); } @@ -7145,7 +7145,7 @@ public InlineResponse20022 getAccessLogsWithoutTotalCount(Integer applicationId, * @param path Only return results where the request path matches the given regular expression. (optional) * @param method Only return results where the request method matches the given regular expression. (optional) * @param status Filter results by HTTP status codes. (optional) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @return ApiResponse<InlineResponse20022> @@ -7156,7 +7156,7 @@ public InlineResponse20022 getAccessLogsWithoutTotalCount(Integer applicationId, 200 OK - */ - public ApiResponse getAccessLogsWithoutTotalCountWithHttpInfo(Integer applicationId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String path, String method, String status, Integer pageSize, Integer skip, String sort) throws ApiException { + public ApiResponse getAccessLogsWithoutTotalCountWithHttpInfo(Long applicationId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String path, String method, String status, Long pageSize, Long skip, String sort) throws ApiException { okhttp3.Call localVarCall = getAccessLogsWithoutTotalCountValidateBeforeCall(applicationId, rangeStart, rangeEnd, path, method, status, pageSize, skip, sort, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -7171,7 +7171,7 @@ public ApiResponse getAccessLogsWithoutTotalCountWithHttpIn * @param path Only return results where the request path matches the given regular expression. (optional) * @param method Only return results where the request method matches the given regular expression. (optional) * @param status Filter results by HTTP status codes. (optional) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param _callback The callback to be executed when the API call finishes @@ -7183,7 +7183,7 @@ public ApiResponse getAccessLogsWithoutTotalCountWithHttpIn 200 OK - */ - public okhttp3.Call getAccessLogsWithoutTotalCountAsync(Integer applicationId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String path, String method, String status, Integer pageSize, Integer skip, String sort, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAccessLogsWithoutTotalCountAsync(Long applicationId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String path, String method, String status, Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getAccessLogsWithoutTotalCountValidateBeforeCall(applicationId, rangeStart, rangeEnd, path, method, status, pageSize, skip, sort, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -7202,7 +7202,7 @@ public okhttp3.Call getAccessLogsWithoutTotalCountAsync(Integer applicationId, O 200 OK - */ - public okhttp3.Call getAccountCall(Integer accountId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAccountCall(Long accountId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -7233,7 +7233,7 @@ public okhttp3.Call getAccountCall(Integer accountId, final ApiCallback _callbac } @SuppressWarnings("rawtypes") - private okhttp3.Call getAccountValidateBeforeCall(Integer accountId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getAccountValidateBeforeCall(Long accountId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'accountId' is set if (accountId == null) { @@ -7258,7 +7258,7 @@ private okhttp3.Call getAccountValidateBeforeCall(Integer accountId, final ApiCa 200 OK - */ - public Account getAccount(Integer accountId) throws ApiException { + public Account getAccount(Long accountId) throws ApiException { ApiResponse localVarResp = getAccountWithHttpInfo(accountId); return localVarResp.getData(); } @@ -7275,7 +7275,7 @@ public Account getAccount(Integer accountId) throws ApiException { 200 OK - */ - public ApiResponse getAccountWithHttpInfo(Integer accountId) throws ApiException { + public ApiResponse getAccountWithHttpInfo(Long accountId) throws ApiException { okhttp3.Call localVarCall = getAccountValidateBeforeCall(accountId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -7294,7 +7294,7 @@ public ApiResponse getAccountWithHttpInfo(Integer accountId) throws Api 200 OK - */ - public okhttp3.Call getAccountAsync(Integer accountId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAccountAsync(Long accountId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getAccountValidateBeforeCall(accountId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -7313,7 +7313,7 @@ public okhttp3.Call getAccountAsync(Integer accountId, final ApiCallback 200 OK - */ - public okhttp3.Call getAccountAnalyticsCall(Integer accountId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAccountAnalyticsCall(Long accountId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -7344,7 +7344,7 @@ public okhttp3.Call getAccountAnalyticsCall(Integer accountId, final ApiCallback } @SuppressWarnings("rawtypes") - private okhttp3.Call getAccountAnalyticsValidateBeforeCall(Integer accountId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getAccountAnalyticsValidateBeforeCall(Long accountId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'accountId' is set if (accountId == null) { @@ -7369,7 +7369,7 @@ private okhttp3.Call getAccountAnalyticsValidateBeforeCall(Integer accountId, fi 200 OK - */ - public AccountAnalytics getAccountAnalytics(Integer accountId) throws ApiException { + public AccountAnalytics getAccountAnalytics(Long accountId) throws ApiException { ApiResponse localVarResp = getAccountAnalyticsWithHttpInfo(accountId); return localVarResp.getData(); } @@ -7386,7 +7386,7 @@ public AccountAnalytics getAccountAnalytics(Integer accountId) throws ApiExcepti 200 OK - */ - public ApiResponse getAccountAnalyticsWithHttpInfo(Integer accountId) throws ApiException { + public ApiResponse getAccountAnalyticsWithHttpInfo(Long accountId) throws ApiException { okhttp3.Call localVarCall = getAccountAnalyticsValidateBeforeCall(accountId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -7405,7 +7405,7 @@ public ApiResponse getAccountAnalyticsWithHttpInfo(Integer acc 200 OK - */ - public okhttp3.Call getAccountAnalyticsAsync(Integer accountId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAccountAnalyticsAsync(Long accountId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getAccountAnalyticsValidateBeforeCall(accountId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -7425,7 +7425,7 @@ public okhttp3.Call getAccountAnalyticsAsync(Integer accountId, final ApiCallbac 404 Not found - */ - public okhttp3.Call getAccountCollectionCall(Integer collectionId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAccountCollectionCall(Long collectionId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -7456,7 +7456,7 @@ public okhttp3.Call getAccountCollectionCall(Integer collectionId, final ApiCall } @SuppressWarnings("rawtypes") - private okhttp3.Call getAccountCollectionValidateBeforeCall(Integer collectionId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getAccountCollectionValidateBeforeCall(Long collectionId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'collectionId' is set if (collectionId == null) { @@ -7482,7 +7482,7 @@ private okhttp3.Call getAccountCollectionValidateBeforeCall(Integer collectionId 404 Not found - */ - public Collection getAccountCollection(Integer collectionId) throws ApiException { + public Collection getAccountCollection(Long collectionId) throws ApiException { ApiResponse localVarResp = getAccountCollectionWithHttpInfo(collectionId); return localVarResp.getData(); } @@ -7500,7 +7500,7 @@ public Collection getAccountCollection(Integer collectionId) throws ApiException 404 Not found - */ - public ApiResponse getAccountCollectionWithHttpInfo(Integer collectionId) throws ApiException { + public ApiResponse getAccountCollectionWithHttpInfo(Long collectionId) throws ApiException { okhttp3.Call localVarCall = getAccountCollectionValidateBeforeCall(collectionId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -7520,7 +7520,7 @@ public ApiResponse getAccountCollectionWithHttpInfo(Integer collecti 404 Not found - */ - public okhttp3.Call getAccountCollectionAsync(Integer collectionId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAccountCollectionAsync(Long collectionId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getAccountCollectionValidateBeforeCall(collectionId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -7543,7 +7543,7 @@ public okhttp3.Call getAccountCollectionAsync(Integer collectionId, final ApiCal 404 Not found - */ - public okhttp3.Call getAchievementCall(Integer applicationId, Integer campaignId, Integer achievementId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAchievementCall(Long applicationId, Long campaignId, Long achievementId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -7576,7 +7576,7 @@ public okhttp3.Call getAchievementCall(Integer applicationId, Integer campaignId } @SuppressWarnings("rawtypes") - private okhttp3.Call getAchievementValidateBeforeCall(Integer applicationId, Integer campaignId, Integer achievementId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getAchievementValidateBeforeCall(Long applicationId, Long campaignId, Long achievementId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -7615,7 +7615,7 @@ private okhttp3.Call getAchievementValidateBeforeCall(Integer applicationId, Int 404 Not found - */ - public Achievement getAchievement(Integer applicationId, Integer campaignId, Integer achievementId) throws ApiException { + public Achievement getAchievement(Long applicationId, Long campaignId, Long achievementId) throws ApiException { ApiResponse localVarResp = getAchievementWithHttpInfo(applicationId, campaignId, achievementId); return localVarResp.getData(); } @@ -7636,7 +7636,7 @@ public Achievement getAchievement(Integer applicationId, Integer campaignId, Int 404 Not found - */ - public ApiResponse getAchievementWithHttpInfo(Integer applicationId, Integer campaignId, Integer achievementId) throws ApiException { + public ApiResponse getAchievementWithHttpInfo(Long applicationId, Long campaignId, Long achievementId) throws ApiException { okhttp3.Call localVarCall = getAchievementValidateBeforeCall(applicationId, campaignId, achievementId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -7659,7 +7659,7 @@ public ApiResponse getAchievementWithHttpInfo(Integer applicationId 404 Not found - */ - public okhttp3.Call getAchievementAsync(Integer applicationId, Integer campaignId, Integer achievementId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAchievementAsync(Long applicationId, Long campaignId, Long achievementId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getAchievementValidateBeforeCall(applicationId, campaignId, achievementId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -7678,7 +7678,7 @@ public okhttp3.Call getAchievementAsync(Integer applicationId, Integer campaignI 200 OK - */ - public okhttp3.Call getAdditionalCostCall(Integer additionalCostId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAdditionalCostCall(Long additionalCostId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -7709,7 +7709,7 @@ public okhttp3.Call getAdditionalCostCall(Integer additionalCostId, final ApiCal } @SuppressWarnings("rawtypes") - private okhttp3.Call getAdditionalCostValidateBeforeCall(Integer additionalCostId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getAdditionalCostValidateBeforeCall(Long additionalCostId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'additionalCostId' is set if (additionalCostId == null) { @@ -7734,7 +7734,7 @@ private okhttp3.Call getAdditionalCostValidateBeforeCall(Integer additionalCostI 200 OK - */ - public AccountAdditionalCost getAdditionalCost(Integer additionalCostId) throws ApiException { + public AccountAdditionalCost getAdditionalCost(Long additionalCostId) throws ApiException { ApiResponse localVarResp = getAdditionalCostWithHttpInfo(additionalCostId); return localVarResp.getData(); } @@ -7751,7 +7751,7 @@ public AccountAdditionalCost getAdditionalCost(Integer additionalCostId) throws 200 OK - */ - public ApiResponse getAdditionalCostWithHttpInfo(Integer additionalCostId) throws ApiException { + public ApiResponse getAdditionalCostWithHttpInfo(Long additionalCostId) throws ApiException { okhttp3.Call localVarCall = getAdditionalCostValidateBeforeCall(additionalCostId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -7770,7 +7770,7 @@ public ApiResponse getAdditionalCostWithHttpInfo(Integer 200 OK - */ - public okhttp3.Call getAdditionalCostAsync(Integer additionalCostId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAdditionalCostAsync(Long additionalCostId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getAdditionalCostValidateBeforeCall(additionalCostId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -7779,7 +7779,7 @@ public okhttp3.Call getAdditionalCostAsync(Integer additionalCostId, final ApiCa } /** * Build call for getAdditionalCosts - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param _callback Callback for upload/download progress @@ -7791,7 +7791,7 @@ public okhttp3.Call getAdditionalCostAsync(Integer additionalCostId, final ApiCa 200 OK - */ - public okhttp3.Call getAdditionalCostsCall(Integer pageSize, Integer skip, String sort, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAdditionalCostsCall(Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -7833,7 +7833,7 @@ public okhttp3.Call getAdditionalCostsCall(Integer pageSize, Integer skip, Strin } @SuppressWarnings("rawtypes") - private okhttp3.Call getAdditionalCostsValidateBeforeCall(Integer pageSize, Integer skip, String sort, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getAdditionalCostsValidateBeforeCall(Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getAdditionalCostsCall(pageSize, skip, sort, _callback); @@ -7844,7 +7844,7 @@ private okhttp3.Call getAdditionalCostsValidateBeforeCall(Integer pageSize, Inte /** * List additional costs * Returns all the defined additional costs for the account. - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @return InlineResponse20038 @@ -7855,7 +7855,7 @@ private okhttp3.Call getAdditionalCostsValidateBeforeCall(Integer pageSize, Inte 200 OK - */ - public InlineResponse20038 getAdditionalCosts(Integer pageSize, Integer skip, String sort) throws ApiException { + public InlineResponse20038 getAdditionalCosts(Long pageSize, Long skip, String sort) throws ApiException { ApiResponse localVarResp = getAdditionalCostsWithHttpInfo(pageSize, skip, sort); return localVarResp.getData(); } @@ -7863,7 +7863,7 @@ public InlineResponse20038 getAdditionalCosts(Integer pageSize, Integer skip, St /** * List additional costs * Returns all the defined additional costs for the account. - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @return ApiResponse<InlineResponse20038> @@ -7874,7 +7874,7 @@ public InlineResponse20038 getAdditionalCosts(Integer pageSize, Integer skip, St 200 OK - */ - public ApiResponse getAdditionalCostsWithHttpInfo(Integer pageSize, Integer skip, String sort) throws ApiException { + public ApiResponse getAdditionalCostsWithHttpInfo(Long pageSize, Long skip, String sort) throws ApiException { okhttp3.Call localVarCall = getAdditionalCostsValidateBeforeCall(pageSize, skip, sort, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -7883,7 +7883,7 @@ public ApiResponse getAdditionalCostsWithHttpInfo(Integer p /** * List additional costs (asynchronously) * Returns all the defined additional costs for the account. - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param _callback The callback to be executed when the API call finishes @@ -7895,7 +7895,7 @@ public ApiResponse getAdditionalCostsWithHttpInfo(Integer p 200 OK - */ - public okhttp3.Call getAdditionalCostsAsync(Integer pageSize, Integer skip, String sort, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAdditionalCostsAsync(Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getAdditionalCostsValidateBeforeCall(pageSize, skip, sort, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -7914,7 +7914,7 @@ public okhttp3.Call getAdditionalCostsAsync(Integer pageSize, Integer skip, Stri 200 OK - */ - public okhttp3.Call getApplicationCall(Integer applicationId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getApplicationCall(Long applicationId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -7945,7 +7945,7 @@ public okhttp3.Call getApplicationCall(Integer applicationId, final ApiCallback } @SuppressWarnings("rawtypes") - private okhttp3.Call getApplicationValidateBeforeCall(Integer applicationId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getApplicationValidateBeforeCall(Long applicationId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -7970,7 +7970,7 @@ private okhttp3.Call getApplicationValidateBeforeCall(Integer applicationId, fin 200 OK - */ - public Application getApplication(Integer applicationId) throws ApiException { + public Application getApplication(Long applicationId) throws ApiException { ApiResponse localVarResp = getApplicationWithHttpInfo(applicationId); return localVarResp.getData(); } @@ -7987,7 +7987,7 @@ public Application getApplication(Integer applicationId) throws ApiException { 200 OK - */ - public ApiResponse getApplicationWithHttpInfo(Integer applicationId) throws ApiException { + public ApiResponse getApplicationWithHttpInfo(Long applicationId) throws ApiException { okhttp3.Call localVarCall = getApplicationValidateBeforeCall(applicationId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -8006,7 +8006,7 @@ public ApiResponse getApplicationWithHttpInfo(Integer applicationId 200 OK - */ - public okhttp3.Call getApplicationAsync(Integer applicationId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getApplicationAsync(Long applicationId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getApplicationValidateBeforeCall(applicationId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -8025,7 +8025,7 @@ public okhttp3.Call getApplicationAsync(Integer applicationId, final ApiCallback 200 OK - */ - public okhttp3.Call getApplicationApiHealthCall(Integer applicationId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getApplicationApiHealthCall(Long applicationId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -8056,7 +8056,7 @@ public okhttp3.Call getApplicationApiHealthCall(Integer applicationId, final Api } @SuppressWarnings("rawtypes") - private okhttp3.Call getApplicationApiHealthValidateBeforeCall(Integer applicationId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getApplicationApiHealthValidateBeforeCall(Long applicationId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -8081,7 +8081,7 @@ private okhttp3.Call getApplicationApiHealthValidateBeforeCall(Integer applicati 200 OK - */ - public ApplicationApiHealth getApplicationApiHealth(Integer applicationId) throws ApiException { + public ApplicationApiHealth getApplicationApiHealth(Long applicationId) throws ApiException { ApiResponse localVarResp = getApplicationApiHealthWithHttpInfo(applicationId); return localVarResp.getData(); } @@ -8098,7 +8098,7 @@ public ApplicationApiHealth getApplicationApiHealth(Integer applicationId) throw 200 OK - */ - public ApiResponse getApplicationApiHealthWithHttpInfo(Integer applicationId) throws ApiException { + public ApiResponse getApplicationApiHealthWithHttpInfo(Long applicationId) throws ApiException { okhttp3.Call localVarCall = getApplicationApiHealthValidateBeforeCall(applicationId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -8117,7 +8117,7 @@ public ApiResponse getApplicationApiHealthWithHttpInfo(Int 200 OK - */ - public okhttp3.Call getApplicationApiHealthAsync(Integer applicationId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getApplicationApiHealthAsync(Long applicationId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getApplicationApiHealthValidateBeforeCall(applicationId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -8137,7 +8137,7 @@ public okhttp3.Call getApplicationApiHealthAsync(Integer applicationId, final Ap 200 OK - */ - public okhttp3.Call getApplicationCustomerCall(Integer applicationId, Integer customerId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getApplicationCustomerCall(Long applicationId, Long customerId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -8169,7 +8169,7 @@ public okhttp3.Call getApplicationCustomerCall(Integer applicationId, Integer cu } @SuppressWarnings("rawtypes") - private okhttp3.Call getApplicationCustomerValidateBeforeCall(Integer applicationId, Integer customerId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getApplicationCustomerValidateBeforeCall(Long applicationId, Long customerId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -8200,7 +8200,7 @@ private okhttp3.Call getApplicationCustomerValidateBeforeCall(Integer applicatio 200 OK - */ - public ApplicationCustomer getApplicationCustomer(Integer applicationId, Integer customerId) throws ApiException { + public ApplicationCustomer getApplicationCustomer(Long applicationId, Long customerId) throws ApiException { ApiResponse localVarResp = getApplicationCustomerWithHttpInfo(applicationId, customerId); return localVarResp.getData(); } @@ -8218,7 +8218,7 @@ public ApplicationCustomer getApplicationCustomer(Integer applicationId, Integer 200 OK - */ - public ApiResponse getApplicationCustomerWithHttpInfo(Integer applicationId, Integer customerId) throws ApiException { + public ApiResponse getApplicationCustomerWithHttpInfo(Long applicationId, Long customerId) throws ApiException { okhttp3.Call localVarCall = getApplicationCustomerValidateBeforeCall(applicationId, customerId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -8238,7 +8238,7 @@ public ApiResponse getApplicationCustomerWithHttpInfo(Integ 200 OK - */ - public okhttp3.Call getApplicationCustomerAsync(Integer applicationId, Integer customerId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getApplicationCustomerAsync(Long applicationId, Long customerId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getApplicationCustomerValidateBeforeCall(applicationId, customerId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -8249,7 +8249,7 @@ public okhttp3.Call getApplicationCustomerAsync(Integer applicationId, Integer c * Build call for getApplicationCustomerFriends * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param integrationId The Integration ID of the Advocate's Profile. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param withTotalResultSize When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. (optional) @@ -8262,7 +8262,7 @@ public okhttp3.Call getApplicationCustomerAsync(Integer applicationId, Integer c 200 OK - */ - public okhttp3.Call getApplicationCustomerFriendsCall(Integer applicationId, String integrationId, Integer pageSize, Integer skip, String sort, Boolean withTotalResultSize, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getApplicationCustomerFriendsCall(Long applicationId, String integrationId, Long pageSize, Long skip, String sort, Boolean withTotalResultSize, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -8310,7 +8310,7 @@ public okhttp3.Call getApplicationCustomerFriendsCall(Integer applicationId, Str } @SuppressWarnings("rawtypes") - private okhttp3.Call getApplicationCustomerFriendsValidateBeforeCall(Integer applicationId, String integrationId, Integer pageSize, Integer skip, String sort, Boolean withTotalResultSize, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getApplicationCustomerFriendsValidateBeforeCall(Long applicationId, String integrationId, Long pageSize, Long skip, String sort, Boolean withTotalResultSize, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -8333,7 +8333,7 @@ private okhttp3.Call getApplicationCustomerFriendsValidateBeforeCall(Integer app * List the friends referred by the specified customer profile in this Application. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param integrationId The Integration ID of the Advocate's Profile. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param withTotalResultSize When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. (optional) @@ -8345,7 +8345,7 @@ private okhttp3.Call getApplicationCustomerFriendsValidateBeforeCall(Integer app 200 OK - */ - public InlineResponse20035 getApplicationCustomerFriends(Integer applicationId, String integrationId, Integer pageSize, Integer skip, String sort, Boolean withTotalResultSize) throws ApiException { + public InlineResponse20035 getApplicationCustomerFriends(Long applicationId, String integrationId, Long pageSize, Long skip, String sort, Boolean withTotalResultSize) throws ApiException { ApiResponse localVarResp = getApplicationCustomerFriendsWithHttpInfo(applicationId, integrationId, pageSize, skip, sort, withTotalResultSize); return localVarResp.getData(); } @@ -8355,7 +8355,7 @@ public InlineResponse20035 getApplicationCustomerFriends(Integer applicationId, * List the friends referred by the specified customer profile in this Application. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param integrationId The Integration ID of the Advocate's Profile. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param withTotalResultSize When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. (optional) @@ -8367,7 +8367,7 @@ public InlineResponse20035 getApplicationCustomerFriends(Integer applicationId, 200 OK - */ - public ApiResponse getApplicationCustomerFriendsWithHttpInfo(Integer applicationId, String integrationId, Integer pageSize, Integer skip, String sort, Boolean withTotalResultSize) throws ApiException { + public ApiResponse getApplicationCustomerFriendsWithHttpInfo(Long applicationId, String integrationId, Long pageSize, Long skip, String sort, Boolean withTotalResultSize) throws ApiException { okhttp3.Call localVarCall = getApplicationCustomerFriendsValidateBeforeCall(applicationId, integrationId, pageSize, skip, sort, withTotalResultSize, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -8378,7 +8378,7 @@ public ApiResponse getApplicationCustomerFriendsWithHttpInf * List the friends referred by the specified customer profile in this Application. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param integrationId The Integration ID of the Advocate's Profile. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param withTotalResultSize When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. (optional) @@ -8391,7 +8391,7 @@ public ApiResponse getApplicationCustomerFriendsWithHttpInf 200 OK - */ - public okhttp3.Call getApplicationCustomerFriendsAsync(Integer applicationId, String integrationId, Integer pageSize, Integer skip, String sort, Boolean withTotalResultSize, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getApplicationCustomerFriendsAsync(Long applicationId, String integrationId, Long pageSize, Long skip, String sort, Boolean withTotalResultSize, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getApplicationCustomerFriendsValidateBeforeCall(applicationId, integrationId, pageSize, skip, sort, withTotalResultSize, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -8402,7 +8402,7 @@ public okhttp3.Call getApplicationCustomerFriendsAsync(Integer applicationId, St * Build call for getApplicationCustomers * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param integrationId Filter results performing an exact matching against the profile integration identifier. (optional) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param withTotalResultSize When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. (optional) * @param _callback Callback for upload/download progress @@ -8414,7 +8414,7 @@ public okhttp3.Call getApplicationCustomerFriendsAsync(Integer applicationId, St 200 OK - */ - public okhttp3.Call getApplicationCustomersCall(Integer applicationId, String integrationId, Integer pageSize, Integer skip, Boolean withTotalResultSize, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getApplicationCustomersCall(Long applicationId, String integrationId, Long pageSize, Long skip, Boolean withTotalResultSize, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -8461,7 +8461,7 @@ public okhttp3.Call getApplicationCustomersCall(Integer applicationId, String in } @SuppressWarnings("rawtypes") - private okhttp3.Call getApplicationCustomersValidateBeforeCall(Integer applicationId, String integrationId, Integer pageSize, Integer skip, Boolean withTotalResultSize, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getApplicationCustomersValidateBeforeCall(Long applicationId, String integrationId, Long pageSize, Long skip, Boolean withTotalResultSize, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -8479,7 +8479,7 @@ private okhttp3.Call getApplicationCustomersValidateBeforeCall(Integer applicati * List all the customers of the specified application. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param integrationId Filter results performing an exact matching against the profile integration identifier. (optional) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param withTotalResultSize When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. (optional) * @return InlineResponse20024 @@ -8490,7 +8490,7 @@ private okhttp3.Call getApplicationCustomersValidateBeforeCall(Integer applicati 200 OK - */ - public InlineResponse20024 getApplicationCustomers(Integer applicationId, String integrationId, Integer pageSize, Integer skip, Boolean withTotalResultSize) throws ApiException { + public InlineResponse20024 getApplicationCustomers(Long applicationId, String integrationId, Long pageSize, Long skip, Boolean withTotalResultSize) throws ApiException { ApiResponse localVarResp = getApplicationCustomersWithHttpInfo(applicationId, integrationId, pageSize, skip, withTotalResultSize); return localVarResp.getData(); } @@ -8500,7 +8500,7 @@ public InlineResponse20024 getApplicationCustomers(Integer applicationId, String * List all the customers of the specified application. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param integrationId Filter results performing an exact matching against the profile integration identifier. (optional) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param withTotalResultSize When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. (optional) * @return ApiResponse<InlineResponse20024> @@ -8511,7 +8511,7 @@ public InlineResponse20024 getApplicationCustomers(Integer applicationId, String 200 OK - */ - public ApiResponse getApplicationCustomersWithHttpInfo(Integer applicationId, String integrationId, Integer pageSize, Integer skip, Boolean withTotalResultSize) throws ApiException { + public ApiResponse getApplicationCustomersWithHttpInfo(Long applicationId, String integrationId, Long pageSize, Long skip, Boolean withTotalResultSize) throws ApiException { okhttp3.Call localVarCall = getApplicationCustomersValidateBeforeCall(applicationId, integrationId, pageSize, skip, withTotalResultSize, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -8522,7 +8522,7 @@ public ApiResponse getApplicationCustomersWithHttpInfo(Inte * List all the customers of the specified application. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param integrationId Filter results performing an exact matching against the profile integration identifier. (optional) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param withTotalResultSize When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. (optional) * @param _callback The callback to be executed when the API call finishes @@ -8534,7 +8534,7 @@ public ApiResponse getApplicationCustomersWithHttpInfo(Inte 200 OK - */ - public okhttp3.Call getApplicationCustomersAsync(Integer applicationId, String integrationId, Integer pageSize, Integer skip, Boolean withTotalResultSize, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getApplicationCustomersAsync(Long applicationId, String integrationId, Long pageSize, Long skip, Boolean withTotalResultSize, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getApplicationCustomersValidateBeforeCall(applicationId, integrationId, pageSize, skip, withTotalResultSize, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -8545,7 +8545,7 @@ public okhttp3.Call getApplicationCustomersAsync(Integer applicationId, String i * Build call for getApplicationCustomersByAttributes * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param body body (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param withTotalResultSize When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. (optional) * @param _callback Callback for upload/download progress @@ -8557,7 +8557,7 @@ public okhttp3.Call getApplicationCustomersAsync(Integer applicationId, String i 200 OK - */ - public okhttp3.Call getApplicationCustomersByAttributesCall(Integer applicationId, CustomerProfileSearchQuery body, Integer pageSize, Integer skip, Boolean withTotalResultSize, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getApplicationCustomersByAttributesCall(Long applicationId, CustomerProfileSearchQuery body, Long pageSize, Long skip, Boolean withTotalResultSize, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -8600,7 +8600,7 @@ public okhttp3.Call getApplicationCustomersByAttributesCall(Integer applicationI } @SuppressWarnings("rawtypes") - private okhttp3.Call getApplicationCustomersByAttributesValidateBeforeCall(Integer applicationId, CustomerProfileSearchQuery body, Integer pageSize, Integer skip, Boolean withTotalResultSize, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getApplicationCustomersByAttributesValidateBeforeCall(Long applicationId, CustomerProfileSearchQuery body, Long pageSize, Long skip, Boolean withTotalResultSize, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -8623,7 +8623,7 @@ private okhttp3.Call getApplicationCustomersByAttributesValidateBeforeCall(Integ * Get a list of the application customers matching the provided criteria. The match is successful if all the attributes of the request are found in a profile, even if the profile has more attributes that are not present on the request. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param body body (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param withTotalResultSize When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. (optional) * @return InlineResponse20025 @@ -8634,7 +8634,7 @@ private okhttp3.Call getApplicationCustomersByAttributesValidateBeforeCall(Integ 200 OK - */ - public InlineResponse20025 getApplicationCustomersByAttributes(Integer applicationId, CustomerProfileSearchQuery body, Integer pageSize, Integer skip, Boolean withTotalResultSize) throws ApiException { + public InlineResponse20025 getApplicationCustomersByAttributes(Long applicationId, CustomerProfileSearchQuery body, Long pageSize, Long skip, Boolean withTotalResultSize) throws ApiException { ApiResponse localVarResp = getApplicationCustomersByAttributesWithHttpInfo(applicationId, body, pageSize, skip, withTotalResultSize); return localVarResp.getData(); } @@ -8644,7 +8644,7 @@ public InlineResponse20025 getApplicationCustomersByAttributes(Integer applicati * Get a list of the application customers matching the provided criteria. The match is successful if all the attributes of the request are found in a profile, even if the profile has more attributes that are not present on the request. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param body body (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param withTotalResultSize When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. (optional) * @return ApiResponse<InlineResponse20025> @@ -8655,7 +8655,7 @@ public InlineResponse20025 getApplicationCustomersByAttributes(Integer applicati 200 OK - */ - public ApiResponse getApplicationCustomersByAttributesWithHttpInfo(Integer applicationId, CustomerProfileSearchQuery body, Integer pageSize, Integer skip, Boolean withTotalResultSize) throws ApiException { + public ApiResponse getApplicationCustomersByAttributesWithHttpInfo(Long applicationId, CustomerProfileSearchQuery body, Long pageSize, Long skip, Boolean withTotalResultSize) throws ApiException { okhttp3.Call localVarCall = getApplicationCustomersByAttributesValidateBeforeCall(applicationId, body, pageSize, skip, withTotalResultSize, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -8666,7 +8666,7 @@ public ApiResponse getApplicationCustomersByAttributesWithH * Get a list of the application customers matching the provided criteria. The match is successful if all the attributes of the request are found in a profile, even if the profile has more attributes that are not present on the request. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param body body (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param withTotalResultSize When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. (optional) * @param _callback The callback to be executed when the API call finishes @@ -8678,7 +8678,7 @@ public ApiResponse getApplicationCustomersByAttributesWithH 200 OK - */ - public okhttp3.Call getApplicationCustomersByAttributesAsync(Integer applicationId, CustomerProfileSearchQuery body, Integer pageSize, Integer skip, Boolean withTotalResultSize, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getApplicationCustomersByAttributesAsync(Long applicationId, CustomerProfileSearchQuery body, Long pageSize, Long skip, Boolean withTotalResultSize, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getApplicationCustomersByAttributesValidateBeforeCall(applicationId, body, pageSize, skip, withTotalResultSize, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -8688,7 +8688,7 @@ public okhttp3.Call getApplicationCustomersByAttributesAsync(Integer application /** * Build call for getApplicationEventTypes * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param _callback Callback for upload/download progress @@ -8700,7 +8700,7 @@ public okhttp3.Call getApplicationCustomersByAttributesAsync(Integer application 200 OK - */ - public okhttp3.Call getApplicationEventTypesCall(Integer applicationId, Integer pageSize, Integer skip, String sort, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getApplicationEventTypesCall(Long applicationId, Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -8743,7 +8743,7 @@ public okhttp3.Call getApplicationEventTypesCall(Integer applicationId, Integer } @SuppressWarnings("rawtypes") - private okhttp3.Call getApplicationEventTypesValidateBeforeCall(Integer applicationId, Integer pageSize, Integer skip, String sort, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getApplicationEventTypesValidateBeforeCall(Long applicationId, Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -8760,7 +8760,7 @@ private okhttp3.Call getApplicationEventTypesValidateBeforeCall(Integer applicat * List Applications event types * Get all of the distinct values of the Event `type` property for events recorded in the application. See also: [Track an event](https://docs.talon.one/integration-api#tag/Events/operation/trackEventV2) * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @return InlineResponse20031 @@ -8771,7 +8771,7 @@ private okhttp3.Call getApplicationEventTypesValidateBeforeCall(Integer applicat 200 OK - */ - public InlineResponse20031 getApplicationEventTypes(Integer applicationId, Integer pageSize, Integer skip, String sort) throws ApiException { + public InlineResponse20031 getApplicationEventTypes(Long applicationId, Long pageSize, Long skip, String sort) throws ApiException { ApiResponse localVarResp = getApplicationEventTypesWithHttpInfo(applicationId, pageSize, skip, sort); return localVarResp.getData(); } @@ -8780,7 +8780,7 @@ public InlineResponse20031 getApplicationEventTypes(Integer applicationId, Integ * List Applications event types * Get all of the distinct values of the Event `type` property for events recorded in the application. See also: [Track an event](https://docs.talon.one/integration-api#tag/Events/operation/trackEventV2) * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @return ApiResponse<InlineResponse20031> @@ -8791,7 +8791,7 @@ public InlineResponse20031 getApplicationEventTypes(Integer applicationId, Integ 200 OK - */ - public ApiResponse getApplicationEventTypesWithHttpInfo(Integer applicationId, Integer pageSize, Integer skip, String sort) throws ApiException { + public ApiResponse getApplicationEventTypesWithHttpInfo(Long applicationId, Long pageSize, Long skip, String sort) throws ApiException { okhttp3.Call localVarCall = getApplicationEventTypesValidateBeforeCall(applicationId, pageSize, skip, sort, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -8801,7 +8801,7 @@ public ApiResponse getApplicationEventTypesWithHttpInfo(Int * List Applications event types (asynchronously) * Get all of the distinct values of the Event `type` property for events recorded in the application. See also: [Track an event](https://docs.talon.one/integration-api#tag/Events/operation/trackEventV2) * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param _callback The callback to be executed when the API call finishes @@ -8813,7 +8813,7 @@ public ApiResponse getApplicationEventTypesWithHttpInfo(Int 200 OK - */ - public okhttp3.Call getApplicationEventTypesAsync(Integer applicationId, Integer pageSize, Integer skip, String sort, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getApplicationEventTypesAsync(Long applicationId, Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getApplicationEventTypesValidateBeforeCall(applicationId, pageSize, skip, sort, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -8823,7 +8823,7 @@ public okhttp3.Call getApplicationEventTypesAsync(Integer applicationId, Integer /** * Build call for getApplicationEventsWithoutTotalCount * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param type Comma-separated list of types by which to filter events. Must be exact match(es). (optional) @@ -8846,7 +8846,7 @@ public okhttp3.Call getApplicationEventTypesAsync(Integer applicationId, Integer 200 OK - */ - public okhttp3.Call getApplicationEventsWithoutTotalCountCall(Integer applicationId, Integer pageSize, Integer skip, String sort, String type, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String session, String profile, String customerName, String customerEmail, String couponCode, String referralCode, String ruleQuery, String campaignQuery, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getApplicationEventsWithoutTotalCountCall(Long applicationId, Long pageSize, Long skip, String sort, String type, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String session, String profile, String customerName, String customerEmail, String couponCode, String referralCode, String ruleQuery, String campaignQuery, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -8933,7 +8933,7 @@ public okhttp3.Call getApplicationEventsWithoutTotalCountCall(Integer applicatio } @SuppressWarnings("rawtypes") - private okhttp3.Call getApplicationEventsWithoutTotalCountValidateBeforeCall(Integer applicationId, Integer pageSize, Integer skip, String sort, String type, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String session, String profile, String customerName, String customerEmail, String couponCode, String referralCode, String ruleQuery, String campaignQuery, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getApplicationEventsWithoutTotalCountValidateBeforeCall(Long applicationId, Long pageSize, Long skip, String sort, String type, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String session, String profile, String customerName, String customerEmail, String couponCode, String referralCode, String ruleQuery, String campaignQuery, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -8950,7 +8950,7 @@ private okhttp3.Call getApplicationEventsWithoutTotalCountValidateBeforeCall(Int * List Applications events * Lists all events recorded for an application. Instead of having the total number of results in the response, this endpoint only mentions whether there are more results. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param type Comma-separated list of types by which to filter events. Must be exact match(es). (optional) @@ -8972,7 +8972,7 @@ private okhttp3.Call getApplicationEventsWithoutTotalCountValidateBeforeCall(Int 200 OK - */ - public InlineResponse20030 getApplicationEventsWithoutTotalCount(Integer applicationId, Integer pageSize, Integer skip, String sort, String type, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String session, String profile, String customerName, String customerEmail, String couponCode, String referralCode, String ruleQuery, String campaignQuery) throws ApiException { + public InlineResponse20030 getApplicationEventsWithoutTotalCount(Long applicationId, Long pageSize, Long skip, String sort, String type, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String session, String profile, String customerName, String customerEmail, String couponCode, String referralCode, String ruleQuery, String campaignQuery) throws ApiException { ApiResponse localVarResp = getApplicationEventsWithoutTotalCountWithHttpInfo(applicationId, pageSize, skip, sort, type, createdBefore, createdAfter, session, profile, customerName, customerEmail, couponCode, referralCode, ruleQuery, campaignQuery); return localVarResp.getData(); } @@ -8981,7 +8981,7 @@ public InlineResponse20030 getApplicationEventsWithoutTotalCount(Integer applica * List Applications events * Lists all events recorded for an application. Instead of having the total number of results in the response, this endpoint only mentions whether there are more results. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param type Comma-separated list of types by which to filter events. Must be exact match(es). (optional) @@ -9003,7 +9003,7 @@ public InlineResponse20030 getApplicationEventsWithoutTotalCount(Integer applica 200 OK - */ - public ApiResponse getApplicationEventsWithoutTotalCountWithHttpInfo(Integer applicationId, Integer pageSize, Integer skip, String sort, String type, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String session, String profile, String customerName, String customerEmail, String couponCode, String referralCode, String ruleQuery, String campaignQuery) throws ApiException { + public ApiResponse getApplicationEventsWithoutTotalCountWithHttpInfo(Long applicationId, Long pageSize, Long skip, String sort, String type, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String session, String profile, String customerName, String customerEmail, String couponCode, String referralCode, String ruleQuery, String campaignQuery) throws ApiException { okhttp3.Call localVarCall = getApplicationEventsWithoutTotalCountValidateBeforeCall(applicationId, pageSize, skip, sort, type, createdBefore, createdAfter, session, profile, customerName, customerEmail, couponCode, referralCode, ruleQuery, campaignQuery, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -9013,7 +9013,7 @@ public ApiResponse getApplicationEventsWithoutTotalCountWit * List Applications events (asynchronously) * Lists all events recorded for an application. Instead of having the total number of results in the response, this endpoint only mentions whether there are more results. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param type Comma-separated list of types by which to filter events. Must be exact match(es). (optional) @@ -9036,7 +9036,7 @@ public ApiResponse getApplicationEventsWithoutTotalCountWit 200 OK - */ - public okhttp3.Call getApplicationEventsWithoutTotalCountAsync(Integer applicationId, Integer pageSize, Integer skip, String sort, String type, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String session, String profile, String customerName, String customerEmail, String couponCode, String referralCode, String ruleQuery, String campaignQuery, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getApplicationEventsWithoutTotalCountAsync(Long applicationId, Long pageSize, Long skip, String sort, String type, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String session, String profile, String customerName, String customerEmail, String couponCode, String referralCode, String ruleQuery, String campaignQuery, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getApplicationEventsWithoutTotalCountValidateBeforeCall(applicationId, pageSize, skip, sort, type, createdBefore, createdAfter, session, profile, customerName, customerEmail, couponCode, referralCode, ruleQuery, campaignQuery, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -9056,7 +9056,7 @@ public okhttp3.Call getApplicationEventsWithoutTotalCountAsync(Integer applicati 200 OK - */ - public okhttp3.Call getApplicationSessionCall(Integer applicationId, Integer sessionId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getApplicationSessionCall(Long applicationId, Long sessionId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -9088,7 +9088,7 @@ public okhttp3.Call getApplicationSessionCall(Integer applicationId, Integer ses } @SuppressWarnings("rawtypes") - private okhttp3.Call getApplicationSessionValidateBeforeCall(Integer applicationId, Integer sessionId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getApplicationSessionValidateBeforeCall(Long applicationId, Long sessionId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -9119,7 +9119,7 @@ private okhttp3.Call getApplicationSessionValidateBeforeCall(Integer application 200 OK - */ - public ApplicationSession getApplicationSession(Integer applicationId, Integer sessionId) throws ApiException { + public ApplicationSession getApplicationSession(Long applicationId, Long sessionId) throws ApiException { ApiResponse localVarResp = getApplicationSessionWithHttpInfo(applicationId, sessionId); return localVarResp.getData(); } @@ -9137,7 +9137,7 @@ public ApplicationSession getApplicationSession(Integer applicationId, Integer s 200 OK - */ - public ApiResponse getApplicationSessionWithHttpInfo(Integer applicationId, Integer sessionId) throws ApiException { + public ApiResponse getApplicationSessionWithHttpInfo(Long applicationId, Long sessionId) throws ApiException { okhttp3.Call localVarCall = getApplicationSessionValidateBeforeCall(applicationId, sessionId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -9157,7 +9157,7 @@ public ApiResponse getApplicationSessionWithHttpInfo(Integer 200 OK - */ - public okhttp3.Call getApplicationSessionAsync(Integer applicationId, Integer sessionId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getApplicationSessionAsync(Long applicationId, Long sessionId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getApplicationSessionValidateBeforeCall(applicationId, sessionId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -9167,7 +9167,7 @@ public okhttp3.Call getApplicationSessionAsync(Integer applicationId, Integer se /** * Build call for getApplicationSessions * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param profile Profile integration ID filter for sessions. Must be exact match. (optional) @@ -9187,7 +9187,7 @@ public okhttp3.Call getApplicationSessionAsync(Integer applicationId, Integer se 200 OK - */ - public okhttp3.Call getApplicationSessionsCall(Integer applicationId, Integer pageSize, Integer skip, String sort, String profile, String state, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String coupon, String referral, String integrationId, String storeIntegrationId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getApplicationSessionsCall(Long applicationId, Long pageSize, Long skip, String sort, String profile, String state, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String coupon, String referral, String integrationId, String storeIntegrationId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -9262,7 +9262,7 @@ public okhttp3.Call getApplicationSessionsCall(Integer applicationId, Integer pa } @SuppressWarnings("rawtypes") - private okhttp3.Call getApplicationSessionsValidateBeforeCall(Integer applicationId, Integer pageSize, Integer skip, String sort, String profile, String state, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String coupon, String referral, String integrationId, String storeIntegrationId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getApplicationSessionsValidateBeforeCall(Long applicationId, Long pageSize, Long skip, String sort, String profile, String state, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String coupon, String referral, String integrationId, String storeIntegrationId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -9279,7 +9279,7 @@ private okhttp3.Call getApplicationSessionsValidateBeforeCall(Integer applicatio * List Application sessions * List all the sessions of the specified Application. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param profile Profile integration ID filter for sessions. Must be exact match. (optional) @@ -9298,7 +9298,7 @@ private okhttp3.Call getApplicationSessionsValidateBeforeCall(Integer applicatio 200 OK - */ - public InlineResponse20029 getApplicationSessions(Integer applicationId, Integer pageSize, Integer skip, String sort, String profile, String state, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String coupon, String referral, String integrationId, String storeIntegrationId) throws ApiException { + public InlineResponse20029 getApplicationSessions(Long applicationId, Long pageSize, Long skip, String sort, String profile, String state, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String coupon, String referral, String integrationId, String storeIntegrationId) throws ApiException { ApiResponse localVarResp = getApplicationSessionsWithHttpInfo(applicationId, pageSize, skip, sort, profile, state, createdBefore, createdAfter, coupon, referral, integrationId, storeIntegrationId); return localVarResp.getData(); } @@ -9307,7 +9307,7 @@ public InlineResponse20029 getApplicationSessions(Integer applicationId, Integer * List Application sessions * List all the sessions of the specified Application. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param profile Profile integration ID filter for sessions. Must be exact match. (optional) @@ -9326,7 +9326,7 @@ public InlineResponse20029 getApplicationSessions(Integer applicationId, Integer 200 OK - */ - public ApiResponse getApplicationSessionsWithHttpInfo(Integer applicationId, Integer pageSize, Integer skip, String sort, String profile, String state, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String coupon, String referral, String integrationId, String storeIntegrationId) throws ApiException { + public ApiResponse getApplicationSessionsWithHttpInfo(Long applicationId, Long pageSize, Long skip, String sort, String profile, String state, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String coupon, String referral, String integrationId, String storeIntegrationId) throws ApiException { okhttp3.Call localVarCall = getApplicationSessionsValidateBeforeCall(applicationId, pageSize, skip, sort, profile, state, createdBefore, createdAfter, coupon, referral, integrationId, storeIntegrationId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -9336,7 +9336,7 @@ public ApiResponse getApplicationSessionsWithHttpInfo(Integ * List Application sessions (asynchronously) * List all the sessions of the specified Application. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param profile Profile integration ID filter for sessions. Must be exact match. (optional) @@ -9356,7 +9356,7 @@ public ApiResponse getApplicationSessionsWithHttpInfo(Integ 200 OK - */ - public okhttp3.Call getApplicationSessionsAsync(Integer applicationId, Integer pageSize, Integer skip, String sort, String profile, String state, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String coupon, String referral, String integrationId, String storeIntegrationId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getApplicationSessionsAsync(Long applicationId, Long pageSize, Long skip, String sort, String profile, String state, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String coupon, String referral, String integrationId, String storeIntegrationId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getApplicationSessionsValidateBeforeCall(applicationId, pageSize, skip, sort, profile, state, createdBefore, createdAfter, coupon, referral, integrationId, storeIntegrationId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -9365,7 +9365,7 @@ public okhttp3.Call getApplicationSessionsAsync(Integer applicationId, Integer p } /** * Build call for getApplications - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param _callback Callback for upload/download progress @@ -9377,7 +9377,7 @@ public okhttp3.Call getApplicationSessionsAsync(Integer applicationId, Integer p 200 OK - */ - public okhttp3.Call getApplicationsCall(Integer pageSize, Integer skip, String sort, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getApplicationsCall(Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -9419,7 +9419,7 @@ public okhttp3.Call getApplicationsCall(Integer pageSize, Integer skip, String s } @SuppressWarnings("rawtypes") - private okhttp3.Call getApplicationsValidateBeforeCall(Integer pageSize, Integer skip, String sort, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getApplicationsValidateBeforeCall(Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getApplicationsCall(pageSize, skip, sort, _callback); @@ -9430,7 +9430,7 @@ private okhttp3.Call getApplicationsValidateBeforeCall(Integer pageSize, Integer /** * List Applications * List all applications in the current account. - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @return InlineResponse2007 @@ -9441,7 +9441,7 @@ private okhttp3.Call getApplicationsValidateBeforeCall(Integer pageSize, Integer 200 OK - */ - public InlineResponse2007 getApplications(Integer pageSize, Integer skip, String sort) throws ApiException { + public InlineResponse2007 getApplications(Long pageSize, Long skip, String sort) throws ApiException { ApiResponse localVarResp = getApplicationsWithHttpInfo(pageSize, skip, sort); return localVarResp.getData(); } @@ -9449,7 +9449,7 @@ public InlineResponse2007 getApplications(Integer pageSize, Integer skip, String /** * List Applications * List all applications in the current account. - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @return ApiResponse<InlineResponse2007> @@ -9460,7 +9460,7 @@ public InlineResponse2007 getApplications(Integer pageSize, Integer skip, String 200 OK - */ - public ApiResponse getApplicationsWithHttpInfo(Integer pageSize, Integer skip, String sort) throws ApiException { + public ApiResponse getApplicationsWithHttpInfo(Long pageSize, Long skip, String sort) throws ApiException { okhttp3.Call localVarCall = getApplicationsValidateBeforeCall(pageSize, skip, sort, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -9469,7 +9469,7 @@ public ApiResponse getApplicationsWithHttpInfo(Integer pageS /** * List Applications (asynchronously) * List all applications in the current account. - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param _callback The callback to be executed when the API call finishes @@ -9481,7 +9481,7 @@ public ApiResponse getApplicationsWithHttpInfo(Integer pageS 200 OK - */ - public okhttp3.Call getApplicationsAsync(Integer pageSize, Integer skip, String sort, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getApplicationsAsync(Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getApplicationsValidateBeforeCall(pageSize, skip, sort, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -9500,7 +9500,7 @@ public okhttp3.Call getApplicationsAsync(Integer pageSize, Integer skip, String 200 OK - */ - public okhttp3.Call getAttributeCall(Integer attributeId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAttributeCall(Long attributeId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -9531,7 +9531,7 @@ public okhttp3.Call getAttributeCall(Integer attributeId, final ApiCallback _cal } @SuppressWarnings("rawtypes") - private okhttp3.Call getAttributeValidateBeforeCall(Integer attributeId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getAttributeValidateBeforeCall(Long attributeId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'attributeId' is set if (attributeId == null) { @@ -9556,7 +9556,7 @@ private okhttp3.Call getAttributeValidateBeforeCall(Integer attributeId, final A 200 OK - */ - public Attribute getAttribute(Integer attributeId) throws ApiException { + public Attribute getAttribute(Long attributeId) throws ApiException { ApiResponse localVarResp = getAttributeWithHttpInfo(attributeId); return localVarResp.getData(); } @@ -9573,7 +9573,7 @@ public Attribute getAttribute(Integer attributeId) throws ApiException { 200 OK - */ - public ApiResponse getAttributeWithHttpInfo(Integer attributeId) throws ApiException { + public ApiResponse getAttributeWithHttpInfo(Long attributeId) throws ApiException { okhttp3.Call localVarCall = getAttributeValidateBeforeCall(attributeId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -9592,7 +9592,7 @@ public ApiResponse getAttributeWithHttpInfo(Integer attributeId) thro 200 OK - */ - public okhttp3.Call getAttributeAsync(Integer attributeId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAttributeAsync(Long attributeId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getAttributeValidateBeforeCall(attributeId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -9601,7 +9601,7 @@ public okhttp3.Call getAttributeAsync(Integer attributeId, final ApiCallback 200 OK - */ - public okhttp3.Call getAttributesCall(Integer pageSize, Integer skip, String sort, String entity, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAttributesCall(Long pageSize, Long skip, String sort, String entity, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -9660,7 +9660,7 @@ public okhttp3.Call getAttributesCall(Integer pageSize, Integer skip, String sor } @SuppressWarnings("rawtypes") - private okhttp3.Call getAttributesValidateBeforeCall(Integer pageSize, Integer skip, String sort, String entity, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getAttributesValidateBeforeCall(Long pageSize, Long skip, String sort, String entity, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getAttributesCall(pageSize, skip, sort, entity, _callback); @@ -9671,7 +9671,7 @@ private okhttp3.Call getAttributesValidateBeforeCall(Integer pageSize, Integer s /** * List custom attributes * Return all the custom attributes for the account. - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param entity Returned attributes will be filtered by supplied entity. (optional) @@ -9683,7 +9683,7 @@ private okhttp3.Call getAttributesValidateBeforeCall(Integer pageSize, Integer s 200 OK - */ - public InlineResponse20036 getAttributes(Integer pageSize, Integer skip, String sort, String entity) throws ApiException { + public InlineResponse20036 getAttributes(Long pageSize, Long skip, String sort, String entity) throws ApiException { ApiResponse localVarResp = getAttributesWithHttpInfo(pageSize, skip, sort, entity); return localVarResp.getData(); } @@ -9691,7 +9691,7 @@ public InlineResponse20036 getAttributes(Integer pageSize, Integer skip, String /** * List custom attributes * Return all the custom attributes for the account. - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param entity Returned attributes will be filtered by supplied entity. (optional) @@ -9703,7 +9703,7 @@ public InlineResponse20036 getAttributes(Integer pageSize, Integer skip, String 200 OK - */ - public ApiResponse getAttributesWithHttpInfo(Integer pageSize, Integer skip, String sort, String entity) throws ApiException { + public ApiResponse getAttributesWithHttpInfo(Long pageSize, Long skip, String sort, String entity) throws ApiException { okhttp3.Call localVarCall = getAttributesValidateBeforeCall(pageSize, skip, sort, entity, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -9712,7 +9712,7 @@ public ApiResponse getAttributesWithHttpInfo(Integer pageSi /** * List custom attributes (asynchronously) * Return all the custom attributes for the account. - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param entity Returned attributes will be filtered by supplied entity. (optional) @@ -9725,7 +9725,7 @@ public ApiResponse getAttributesWithHttpInfo(Integer pageSi 200 OK - */ - public okhttp3.Call getAttributesAsync(Integer pageSize, Integer skip, String sort, String entity, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAttributesAsync(Long pageSize, Long skip, String sort, String entity, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getAttributesValidateBeforeCall(pageSize, skip, sort, entity, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -9735,7 +9735,7 @@ public okhttp3.Call getAttributesAsync(Integer pageSize, Integer skip, String so /** * Build call for getAudienceMemberships * @param audienceId The ID of the audience. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param profileQuery The filter to select a profile. (optional) @@ -9749,7 +9749,7 @@ public okhttp3.Call getAttributesAsync(Integer pageSize, Integer skip, String so 404 Not found - */ - public okhttp3.Call getAudienceMembershipsCall(Integer audienceId, Integer pageSize, Integer skip, String sort, String profileQuery, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAudienceMembershipsCall(Long audienceId, Long pageSize, Long skip, String sort, String profileQuery, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -9796,7 +9796,7 @@ public okhttp3.Call getAudienceMembershipsCall(Integer audienceId, Integer pageS } @SuppressWarnings("rawtypes") - private okhttp3.Call getAudienceMembershipsValidateBeforeCall(Integer audienceId, Integer pageSize, Integer skip, String sort, String profileQuery, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getAudienceMembershipsValidateBeforeCall(Long audienceId, Long pageSize, Long skip, String sort, String profileQuery, final ApiCallback _callback) throws ApiException { // verify the required parameter 'audienceId' is set if (audienceId == null) { @@ -9813,7 +9813,7 @@ private okhttp3.Call getAudienceMembershipsValidateBeforeCall(Integer audienceId * List audience members * Get a paginated list of the customer profiles in a given audience. A maximum of 1000 customer profiles per page is allowed. * @param audienceId The ID of the audience. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param profileQuery The filter to select a profile. (optional) @@ -9826,7 +9826,7 @@ private okhttp3.Call getAudienceMembershipsValidateBeforeCall(Integer audienceId 404 Not found - */ - public InlineResponse20034 getAudienceMemberships(Integer audienceId, Integer pageSize, Integer skip, String sort, String profileQuery) throws ApiException { + public InlineResponse20034 getAudienceMemberships(Long audienceId, Long pageSize, Long skip, String sort, String profileQuery) throws ApiException { ApiResponse localVarResp = getAudienceMembershipsWithHttpInfo(audienceId, pageSize, skip, sort, profileQuery); return localVarResp.getData(); } @@ -9835,7 +9835,7 @@ public InlineResponse20034 getAudienceMemberships(Integer audienceId, Integer pa * List audience members * Get a paginated list of the customer profiles in a given audience. A maximum of 1000 customer profiles per page is allowed. * @param audienceId The ID of the audience. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param profileQuery The filter to select a profile. (optional) @@ -9848,7 +9848,7 @@ public InlineResponse20034 getAudienceMemberships(Integer audienceId, Integer pa 404 Not found - */ - public ApiResponse getAudienceMembershipsWithHttpInfo(Integer audienceId, Integer pageSize, Integer skip, String sort, String profileQuery) throws ApiException { + public ApiResponse getAudienceMembershipsWithHttpInfo(Long audienceId, Long pageSize, Long skip, String sort, String profileQuery) throws ApiException { okhttp3.Call localVarCall = getAudienceMembershipsValidateBeforeCall(audienceId, pageSize, skip, sort, profileQuery, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -9858,7 +9858,7 @@ public ApiResponse getAudienceMembershipsWithHttpInfo(Integ * List audience members (asynchronously) * Get a paginated list of the customer profiles in a given audience. A maximum of 1000 customer profiles per page is allowed. * @param audienceId The ID of the audience. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param profileQuery The filter to select a profile. (optional) @@ -9872,7 +9872,7 @@ public ApiResponse getAudienceMembershipsWithHttpInfo(Integ 404 Not found - */ - public okhttp3.Call getAudienceMembershipsAsync(Integer audienceId, Integer pageSize, Integer skip, String sort, String profileQuery, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAudienceMembershipsAsync(Long audienceId, Long pageSize, Long skip, String sort, String profileQuery, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getAudienceMembershipsValidateBeforeCall(audienceId, pageSize, skip, sort, profileQuery, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -9881,7 +9881,7 @@ public okhttp3.Call getAudienceMembershipsAsync(Integer audienceId, Integer page } /** * Build call for getAudiences - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param withTotalResultSize When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. (optional) @@ -9894,7 +9894,7 @@ public okhttp3.Call getAudienceMembershipsAsync(Integer audienceId, Integer page 200 OK - */ - public okhttp3.Call getAudiencesCall(Integer pageSize, Integer skip, String sort, Boolean withTotalResultSize, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAudiencesCall(Long pageSize, Long skip, String sort, Boolean withTotalResultSize, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -9940,7 +9940,7 @@ public okhttp3.Call getAudiencesCall(Integer pageSize, Integer skip, String sort } @SuppressWarnings("rawtypes") - private okhttp3.Call getAudiencesValidateBeforeCall(Integer pageSize, Integer skip, String sort, Boolean withTotalResultSize, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getAudiencesValidateBeforeCall(Long pageSize, Long skip, String sort, Boolean withTotalResultSize, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getAudiencesCall(pageSize, skip, sort, withTotalResultSize, _callback); @@ -9951,7 +9951,7 @@ private okhttp3.Call getAudiencesValidateBeforeCall(Integer pageSize, Integer sk /** * List audiences * Get all audiences created in the account. To create an audience, use [Create audience](https://docs.talon.one/integration-api#tag/Audiences/operation/createAudienceV2). - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param withTotalResultSize When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. (optional) @@ -9963,7 +9963,7 @@ private okhttp3.Call getAudiencesValidateBeforeCall(Integer pageSize, Integer sk 200 OK - */ - public InlineResponse20032 getAudiences(Integer pageSize, Integer skip, String sort, Boolean withTotalResultSize) throws ApiException { + public InlineResponse20032 getAudiences(Long pageSize, Long skip, String sort, Boolean withTotalResultSize) throws ApiException { ApiResponse localVarResp = getAudiencesWithHttpInfo(pageSize, skip, sort, withTotalResultSize); return localVarResp.getData(); } @@ -9971,7 +9971,7 @@ public InlineResponse20032 getAudiences(Integer pageSize, Integer skip, String s /** * List audiences * Get all audiences created in the account. To create an audience, use [Create audience](https://docs.talon.one/integration-api#tag/Audiences/operation/createAudienceV2). - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param withTotalResultSize When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. (optional) @@ -9983,7 +9983,7 @@ public InlineResponse20032 getAudiences(Integer pageSize, Integer skip, String s 200 OK - */ - public ApiResponse getAudiencesWithHttpInfo(Integer pageSize, Integer skip, String sort, Boolean withTotalResultSize) throws ApiException { + public ApiResponse getAudiencesWithHttpInfo(Long pageSize, Long skip, String sort, Boolean withTotalResultSize) throws ApiException { okhttp3.Call localVarCall = getAudiencesValidateBeforeCall(pageSize, skip, sort, withTotalResultSize, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -9992,7 +9992,7 @@ public ApiResponse getAudiencesWithHttpInfo(Integer pageSiz /** * List audiences (asynchronously) * Get all audiences created in the account. To create an audience, use [Create audience](https://docs.talon.one/integration-api#tag/Audiences/operation/createAudienceV2). - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param withTotalResultSize When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. (optional) @@ -10005,7 +10005,7 @@ public ApiResponse getAudiencesWithHttpInfo(Integer pageSiz 200 OK - */ - public okhttp3.Call getAudiencesAsync(Integer pageSize, Integer skip, String sort, Boolean withTotalResultSize, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAudiencesAsync(Long pageSize, Long skip, String sort, Boolean withTotalResultSize, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getAudiencesValidateBeforeCall(pageSize, skip, sort, withTotalResultSize, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -10147,7 +10147,7 @@ public okhttp3.Call getAudiencesAnalyticsAsync(String audienceIds, String sort, 200 OK - */ - public okhttp3.Call getCampaignCall(Integer applicationId, Integer campaignId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCampaignCall(Long applicationId, Long campaignId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -10179,7 +10179,7 @@ public okhttp3.Call getCampaignCall(Integer applicationId, Integer campaignId, f } @SuppressWarnings("rawtypes") - private okhttp3.Call getCampaignValidateBeforeCall(Integer applicationId, Integer campaignId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getCampaignValidateBeforeCall(Long applicationId, Long campaignId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -10210,7 +10210,7 @@ private okhttp3.Call getCampaignValidateBeforeCall(Integer applicationId, Intege 200 OK - */ - public Campaign getCampaign(Integer applicationId, Integer campaignId) throws ApiException { + public Campaign getCampaign(Long applicationId, Long campaignId) throws ApiException { ApiResponse localVarResp = getCampaignWithHttpInfo(applicationId, campaignId); return localVarResp.getData(); } @@ -10228,7 +10228,7 @@ public Campaign getCampaign(Integer applicationId, Integer campaignId) throws Ap 200 OK - */ - public ApiResponse getCampaignWithHttpInfo(Integer applicationId, Integer campaignId) throws ApiException { + public ApiResponse getCampaignWithHttpInfo(Long applicationId, Long campaignId) throws ApiException { okhttp3.Call localVarCall = getCampaignValidateBeforeCall(applicationId, campaignId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -10248,7 +10248,7 @@ public ApiResponse getCampaignWithHttpInfo(Integer applicationId, Inte 200 OK - */ - public okhttp3.Call getCampaignAsync(Integer applicationId, Integer campaignId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCampaignAsync(Long applicationId, Long campaignId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getCampaignValidateBeforeCall(applicationId, campaignId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -10271,7 +10271,7 @@ public okhttp3.Call getCampaignAsync(Integer applicationId, Integer campaignId, 200 OK - */ - public okhttp3.Call getCampaignAnalyticsCall(Integer applicationId, Integer campaignId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String granularity, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCampaignAnalyticsCall(Long applicationId, Long campaignId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String granularity, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -10315,7 +10315,7 @@ public okhttp3.Call getCampaignAnalyticsCall(Integer applicationId, Integer camp } @SuppressWarnings("rawtypes") - private okhttp3.Call getCampaignAnalyticsValidateBeforeCall(Integer applicationId, Integer campaignId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String granularity, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getCampaignAnalyticsValidateBeforeCall(Long applicationId, Long campaignId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String granularity, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -10359,7 +10359,7 @@ private okhttp3.Call getCampaignAnalyticsValidateBeforeCall(Integer applicationI 200 OK - */ - public InlineResponse20023 getCampaignAnalytics(Integer applicationId, Integer campaignId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String granularity) throws ApiException { + public InlineResponse20023 getCampaignAnalytics(Long applicationId, Long campaignId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String granularity) throws ApiException { ApiResponse localVarResp = getCampaignAnalyticsWithHttpInfo(applicationId, campaignId, rangeStart, rangeEnd, granularity); return localVarResp.getData(); } @@ -10380,7 +10380,7 @@ public InlineResponse20023 getCampaignAnalytics(Integer applicationId, Integer c 200 OK - */ - public ApiResponse getCampaignAnalyticsWithHttpInfo(Integer applicationId, Integer campaignId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String granularity) throws ApiException { + public ApiResponse getCampaignAnalyticsWithHttpInfo(Long applicationId, Long campaignId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String granularity) throws ApiException { okhttp3.Call localVarCall = getCampaignAnalyticsValidateBeforeCall(applicationId, campaignId, rangeStart, rangeEnd, granularity, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -10403,7 +10403,7 @@ public ApiResponse getCampaignAnalyticsWithHttpInfo(Integer 200 OK - */ - public okhttp3.Call getCampaignAnalyticsAsync(Integer applicationId, Integer campaignId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String granularity, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCampaignAnalyticsAsync(Long applicationId, Long campaignId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String granularity, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getCampaignAnalyticsValidateBeforeCall(applicationId, campaignId, rangeStart, rangeEnd, granularity, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -10414,7 +10414,7 @@ public okhttp3.Call getCampaignAnalyticsAsync(Integer applicationId, Integer cam * Build call for getCampaignByAttributes * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param body body (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param campaignState Filter results by the state of the campaign. - `enabled`: Campaigns that are scheduled, running (activated), or expired. - `running`: Campaigns that are running (activated). - `disabled`: Campaigns that are disabled. - `expired`: Campaigns that are expired. - `archived`: Campaigns that are archived. (optional) @@ -10427,7 +10427,7 @@ public okhttp3.Call getCampaignAnalyticsAsync(Integer applicationId, Integer cam 200 OK - */ - public okhttp3.Call getCampaignByAttributesCall(Integer applicationId, CampaignSearch body, Integer pageSize, Integer skip, String sort, String campaignState, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCampaignByAttributesCall(Long applicationId, CampaignSearch body, Long pageSize, Long skip, String sort, String campaignState, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -10474,7 +10474,7 @@ public okhttp3.Call getCampaignByAttributesCall(Integer applicationId, CampaignS } @SuppressWarnings("rawtypes") - private okhttp3.Call getCampaignByAttributesValidateBeforeCall(Integer applicationId, CampaignSearch body, Integer pageSize, Integer skip, String sort, String campaignState, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getCampaignByAttributesValidateBeforeCall(Long applicationId, CampaignSearch body, Long pageSize, Long skip, String sort, String campaignState, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -10497,7 +10497,7 @@ private okhttp3.Call getCampaignByAttributesValidateBeforeCall(Integer applicati * Get a list of all the campaigns that match a set of attributes. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param body body (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param campaignState Filter results by the state of the campaign. - `enabled`: Campaigns that are scheduled, running (activated), or expired. - `running`: Campaigns that are running (activated). - `disabled`: Campaigns that are disabled. - `expired`: Campaigns that are expired. - `archived`: Campaigns that are archived. (optional) @@ -10509,7 +10509,7 @@ private okhttp3.Call getCampaignByAttributesValidateBeforeCall(Integer applicati 200 OK - */ - public InlineResponse2008 getCampaignByAttributes(Integer applicationId, CampaignSearch body, Integer pageSize, Integer skip, String sort, String campaignState) throws ApiException { + public InlineResponse2008 getCampaignByAttributes(Long applicationId, CampaignSearch body, Long pageSize, Long skip, String sort, String campaignState) throws ApiException { ApiResponse localVarResp = getCampaignByAttributesWithHttpInfo(applicationId, body, pageSize, skip, sort, campaignState); return localVarResp.getData(); } @@ -10519,7 +10519,7 @@ public InlineResponse2008 getCampaignByAttributes(Integer applicationId, Campaig * Get a list of all the campaigns that match a set of attributes. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param body body (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param campaignState Filter results by the state of the campaign. - `enabled`: Campaigns that are scheduled, running (activated), or expired. - `running`: Campaigns that are running (activated). - `disabled`: Campaigns that are disabled. - `expired`: Campaigns that are expired. - `archived`: Campaigns that are archived. (optional) @@ -10531,7 +10531,7 @@ public InlineResponse2008 getCampaignByAttributes(Integer applicationId, Campaig 200 OK - */ - public ApiResponse getCampaignByAttributesWithHttpInfo(Integer applicationId, CampaignSearch body, Integer pageSize, Integer skip, String sort, String campaignState) throws ApiException { + public ApiResponse getCampaignByAttributesWithHttpInfo(Long applicationId, CampaignSearch body, Long pageSize, Long skip, String sort, String campaignState) throws ApiException { okhttp3.Call localVarCall = getCampaignByAttributesValidateBeforeCall(applicationId, body, pageSize, skip, sort, campaignState, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -10542,7 +10542,7 @@ public ApiResponse getCampaignByAttributesWithHttpInfo(Integ * Get a list of all the campaigns that match a set of attributes. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param body body (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param campaignState Filter results by the state of the campaign. - `enabled`: Campaigns that are scheduled, running (activated), or expired. - `running`: Campaigns that are running (activated). - `disabled`: Campaigns that are disabled. - `expired`: Campaigns that are expired. - `archived`: Campaigns that are archived. (optional) @@ -10555,7 +10555,7 @@ public ApiResponse getCampaignByAttributesWithHttpInfo(Integ 200 OK - */ - public okhttp3.Call getCampaignByAttributesAsync(Integer applicationId, CampaignSearch body, Integer pageSize, Integer skip, String sort, String campaignState, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCampaignByAttributesAsync(Long applicationId, CampaignSearch body, Long pageSize, Long skip, String sort, String campaignState, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getCampaignByAttributesValidateBeforeCall(applicationId, body, pageSize, skip, sort, campaignState, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -10574,7 +10574,7 @@ public okhttp3.Call getCampaignByAttributesAsync(Integer applicationId, Campaign 200 OK - */ - public okhttp3.Call getCampaignGroupCall(Integer campaignGroupId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCampaignGroupCall(Long campaignGroupId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -10605,7 +10605,7 @@ public okhttp3.Call getCampaignGroupCall(Integer campaignGroupId, final ApiCallb } @SuppressWarnings("rawtypes") - private okhttp3.Call getCampaignGroupValidateBeforeCall(Integer campaignGroupId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getCampaignGroupValidateBeforeCall(Long campaignGroupId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'campaignGroupId' is set if (campaignGroupId == null) { @@ -10630,7 +10630,7 @@ private okhttp3.Call getCampaignGroupValidateBeforeCall(Integer campaignGroupId, 200 OK - */ - public CampaignGroup getCampaignGroup(Integer campaignGroupId) throws ApiException { + public CampaignGroup getCampaignGroup(Long campaignGroupId) throws ApiException { ApiResponse localVarResp = getCampaignGroupWithHttpInfo(campaignGroupId); return localVarResp.getData(); } @@ -10647,7 +10647,7 @@ public CampaignGroup getCampaignGroup(Integer campaignGroupId) throws ApiExcepti 200 OK - */ - public ApiResponse getCampaignGroupWithHttpInfo(Integer campaignGroupId) throws ApiException { + public ApiResponse getCampaignGroupWithHttpInfo(Long campaignGroupId) throws ApiException { okhttp3.Call localVarCall = getCampaignGroupValidateBeforeCall(campaignGroupId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -10666,7 +10666,7 @@ public ApiResponse getCampaignGroupWithHttpInfo(Integer campaignG 200 OK - */ - public okhttp3.Call getCampaignGroupAsync(Integer campaignGroupId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCampaignGroupAsync(Long campaignGroupId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getCampaignGroupValidateBeforeCall(campaignGroupId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -10675,7 +10675,7 @@ public okhttp3.Call getCampaignGroupAsync(Integer campaignGroupId, final ApiCall } /** * Build call for getCampaignGroups - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param _callback Callback for upload/download progress @@ -10687,7 +10687,7 @@ public okhttp3.Call getCampaignGroupAsync(Integer campaignGroupId, final ApiCall 200 OK - */ - public okhttp3.Call getCampaignGroupsCall(Integer pageSize, Integer skip, String sort, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCampaignGroupsCall(Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -10729,7 +10729,7 @@ public okhttp3.Call getCampaignGroupsCall(Integer pageSize, Integer skip, String } @SuppressWarnings("rawtypes") - private okhttp3.Call getCampaignGroupsValidateBeforeCall(Integer pageSize, Integer skip, String sort, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getCampaignGroupsValidateBeforeCall(Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getCampaignGroupsCall(pageSize, skip, sort, _callback); @@ -10740,7 +10740,7 @@ private okhttp3.Call getCampaignGroupsValidateBeforeCall(Integer pageSize, Integ /** * List campaign access groups * List the campaign access groups in the current account. - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @return InlineResponse20013 @@ -10751,7 +10751,7 @@ private okhttp3.Call getCampaignGroupsValidateBeforeCall(Integer pageSize, Integ 200 OK - */ - public InlineResponse20013 getCampaignGroups(Integer pageSize, Integer skip, String sort) throws ApiException { + public InlineResponse20013 getCampaignGroups(Long pageSize, Long skip, String sort) throws ApiException { ApiResponse localVarResp = getCampaignGroupsWithHttpInfo(pageSize, skip, sort); return localVarResp.getData(); } @@ -10759,7 +10759,7 @@ public InlineResponse20013 getCampaignGroups(Integer pageSize, Integer skip, Str /** * List campaign access groups * List the campaign access groups in the current account. - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @return ApiResponse<InlineResponse20013> @@ -10770,7 +10770,7 @@ public InlineResponse20013 getCampaignGroups(Integer pageSize, Integer skip, Str 200 OK - */ - public ApiResponse getCampaignGroupsWithHttpInfo(Integer pageSize, Integer skip, String sort) throws ApiException { + public ApiResponse getCampaignGroupsWithHttpInfo(Long pageSize, Long skip, String sort) throws ApiException { okhttp3.Call localVarCall = getCampaignGroupsValidateBeforeCall(pageSize, skip, sort, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -10779,7 +10779,7 @@ public ApiResponse getCampaignGroupsWithHttpInfo(Integer pa /** * List campaign access groups (asynchronously) * List the campaign access groups in the current account. - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param _callback The callback to be executed when the API call finishes @@ -10791,7 +10791,7 @@ public ApiResponse getCampaignGroupsWithHttpInfo(Integer pa 200 OK - */ - public okhttp3.Call getCampaignGroupsAsync(Integer pageSize, Integer skip, String sort, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCampaignGroupsAsync(Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getCampaignGroupsValidateBeforeCall(pageSize, skip, sort, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -10800,7 +10800,7 @@ public okhttp3.Call getCampaignGroupsAsync(Integer pageSize, Integer skip, Strin } /** * Build call for getCampaignTemplates - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param state Filter results by the state of the campaign template. (optional) @@ -10816,7 +10816,7 @@ public okhttp3.Call getCampaignGroupsAsync(Integer pageSize, Integer skip, Strin 200 OK - */ - public okhttp3.Call getCampaignTemplatesCall(Integer pageSize, Integer skip, String sort, String state, String name, String tags, Integer userId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCampaignTemplatesCall(Long pageSize, Long skip, String sort, String state, String name, String tags, Long userId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -10874,7 +10874,7 @@ public okhttp3.Call getCampaignTemplatesCall(Integer pageSize, Integer skip, Str } @SuppressWarnings("rawtypes") - private okhttp3.Call getCampaignTemplatesValidateBeforeCall(Integer pageSize, Integer skip, String sort, String state, String name, String tags, Integer userId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getCampaignTemplatesValidateBeforeCall(Long pageSize, Long skip, String sort, String state, String name, String tags, Long userId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getCampaignTemplatesCall(pageSize, skip, sort, state, name, tags, userId, _callback); @@ -10885,7 +10885,7 @@ private okhttp3.Call getCampaignTemplatesValidateBeforeCall(Integer pageSize, In /** * List campaign templates * Retrieve a list of campaign templates. - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param state Filter results by the state of the campaign template. (optional) @@ -10900,7 +10900,7 @@ private okhttp3.Call getCampaignTemplatesValidateBeforeCall(Integer pageSize, In 200 OK - */ - public InlineResponse20014 getCampaignTemplates(Integer pageSize, Integer skip, String sort, String state, String name, String tags, Integer userId) throws ApiException { + public InlineResponse20014 getCampaignTemplates(Long pageSize, Long skip, String sort, String state, String name, String tags, Long userId) throws ApiException { ApiResponse localVarResp = getCampaignTemplatesWithHttpInfo(pageSize, skip, sort, state, name, tags, userId); return localVarResp.getData(); } @@ -10908,7 +10908,7 @@ public InlineResponse20014 getCampaignTemplates(Integer pageSize, Integer skip, /** * List campaign templates * Retrieve a list of campaign templates. - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param state Filter results by the state of the campaign template. (optional) @@ -10923,7 +10923,7 @@ public InlineResponse20014 getCampaignTemplates(Integer pageSize, Integer skip, 200 OK - */ - public ApiResponse getCampaignTemplatesWithHttpInfo(Integer pageSize, Integer skip, String sort, String state, String name, String tags, Integer userId) throws ApiException { + public ApiResponse getCampaignTemplatesWithHttpInfo(Long pageSize, Long skip, String sort, String state, String name, String tags, Long userId) throws ApiException { okhttp3.Call localVarCall = getCampaignTemplatesValidateBeforeCall(pageSize, skip, sort, state, name, tags, userId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -10932,7 +10932,7 @@ public ApiResponse getCampaignTemplatesWithHttpInfo(Integer /** * List campaign templates (asynchronously) * Retrieve a list of campaign templates. - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param state Filter results by the state of the campaign template. (optional) @@ -10948,7 +10948,7 @@ public ApiResponse getCampaignTemplatesWithHttpInfo(Integer 200 OK - */ - public okhttp3.Call getCampaignTemplatesAsync(Integer pageSize, Integer skip, String sort, String state, String name, String tags, Integer userId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCampaignTemplatesAsync(Long pageSize, Long skip, String sort, String state, String name, String tags, Long userId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getCampaignTemplatesValidateBeforeCall(pageSize, skip, sort, state, name, tags, userId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -10958,7 +10958,7 @@ public okhttp3.Call getCampaignTemplatesAsync(Integer pageSize, Integer skip, St /** * Build call for getCampaigns * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param campaignState Filter results by the state of the campaign. - `enabled`: Campaigns that are scheduled, running (activated), or expired. - `running`: Campaigns that are running (activated). - `disabled`: Campaigns that are disabled. - `expired`: Campaigns that are expired. - `archived`: Campaigns that are archived. (optional) @@ -10979,7 +10979,7 @@ public okhttp3.Call getCampaignTemplatesAsync(Integer pageSize, Integer skip, St 400 Bad request - */ - public okhttp3.Call getCampaignsCall(Integer applicationId, Integer pageSize, Integer skip, String sort, String campaignState, String name, String tags, OffsetDateTime createdBefore, OffsetDateTime createdAfter, Integer campaignGroupId, Integer templateId, Integer storeId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCampaignsCall(Long applicationId, Long pageSize, Long skip, String sort, String campaignState, String name, String tags, OffsetDateTime createdBefore, OffsetDateTime createdAfter, Long campaignGroupId, Long templateId, Long storeId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -11054,7 +11054,7 @@ public okhttp3.Call getCampaignsCall(Integer applicationId, Integer pageSize, In } @SuppressWarnings("rawtypes") - private okhttp3.Call getCampaignsValidateBeforeCall(Integer applicationId, Integer pageSize, Integer skip, String sort, String campaignState, String name, String tags, OffsetDateTime createdBefore, OffsetDateTime createdAfter, Integer campaignGroupId, Integer templateId, Integer storeId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getCampaignsValidateBeforeCall(Long applicationId, Long pageSize, Long skip, String sort, String campaignState, String name, String tags, OffsetDateTime createdBefore, OffsetDateTime createdAfter, Long campaignGroupId, Long templateId, Long storeId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -11071,7 +11071,7 @@ private okhttp3.Call getCampaignsValidateBeforeCall(Integer applicationId, Integ * List campaigns * List the campaigns of the specified application that match your filter criteria. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param campaignState Filter results by the state of the campaign. - `enabled`: Campaigns that are scheduled, running (activated), or expired. - `running`: Campaigns that are running (activated). - `disabled`: Campaigns that are disabled. - `expired`: Campaigns that are expired. - `archived`: Campaigns that are archived. (optional) @@ -11091,7 +11091,7 @@ private okhttp3.Call getCampaignsValidateBeforeCall(Integer applicationId, Integ 400 Bad request - */ - public InlineResponse2008 getCampaigns(Integer applicationId, Integer pageSize, Integer skip, String sort, String campaignState, String name, String tags, OffsetDateTime createdBefore, OffsetDateTime createdAfter, Integer campaignGroupId, Integer templateId, Integer storeId) throws ApiException { + public InlineResponse2008 getCampaigns(Long applicationId, Long pageSize, Long skip, String sort, String campaignState, String name, String tags, OffsetDateTime createdBefore, OffsetDateTime createdAfter, Long campaignGroupId, Long templateId, Long storeId) throws ApiException { ApiResponse localVarResp = getCampaignsWithHttpInfo(applicationId, pageSize, skip, sort, campaignState, name, tags, createdBefore, createdAfter, campaignGroupId, templateId, storeId); return localVarResp.getData(); } @@ -11100,7 +11100,7 @@ public InlineResponse2008 getCampaigns(Integer applicationId, Integer pageSize, * List campaigns * List the campaigns of the specified application that match your filter criteria. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param campaignState Filter results by the state of the campaign. - `enabled`: Campaigns that are scheduled, running (activated), or expired. - `running`: Campaigns that are running (activated). - `disabled`: Campaigns that are disabled. - `expired`: Campaigns that are expired. - `archived`: Campaigns that are archived. (optional) @@ -11120,7 +11120,7 @@ public InlineResponse2008 getCampaigns(Integer applicationId, Integer pageSize, 400 Bad request - */ - public ApiResponse getCampaignsWithHttpInfo(Integer applicationId, Integer pageSize, Integer skip, String sort, String campaignState, String name, String tags, OffsetDateTime createdBefore, OffsetDateTime createdAfter, Integer campaignGroupId, Integer templateId, Integer storeId) throws ApiException { + public ApiResponse getCampaignsWithHttpInfo(Long applicationId, Long pageSize, Long skip, String sort, String campaignState, String name, String tags, OffsetDateTime createdBefore, OffsetDateTime createdAfter, Long campaignGroupId, Long templateId, Long storeId) throws ApiException { okhttp3.Call localVarCall = getCampaignsValidateBeforeCall(applicationId, pageSize, skip, sort, campaignState, name, tags, createdBefore, createdAfter, campaignGroupId, templateId, storeId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -11130,7 +11130,7 @@ public ApiResponse getCampaignsWithHttpInfo(Integer applicat * List campaigns (asynchronously) * List the campaigns of the specified application that match your filter criteria. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param campaignState Filter results by the state of the campaign. - `enabled`: Campaigns that are scheduled, running (activated), or expired. - `running`: Campaigns that are running (activated). - `disabled`: Campaigns that are disabled. - `expired`: Campaigns that are expired. - `archived`: Campaigns that are archived. (optional) @@ -11151,7 +11151,7 @@ public ApiResponse getCampaignsWithHttpInfo(Integer applicat 400 Bad request - */ - public okhttp3.Call getCampaignsAsync(Integer applicationId, Integer pageSize, Integer skip, String sort, String campaignState, String name, String tags, OffsetDateTime createdBefore, OffsetDateTime createdAfter, Integer campaignGroupId, Integer templateId, Integer storeId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCampaignsAsync(Long applicationId, Long pageSize, Long skip, String sort, String campaignState, String name, String tags, OffsetDateTime createdBefore, OffsetDateTime createdAfter, Long campaignGroupId, Long templateId, Long storeId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getCampaignsValidateBeforeCall(applicationId, pageSize, skip, sort, campaignState, name, tags, createdBefore, createdAfter, campaignGroupId, templateId, storeId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -11160,7 +11160,7 @@ public okhttp3.Call getCampaignsAsync(Integer applicationId, Integer pageSize, I } /** * Build call for getChanges - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param applicationId Filter results by Application ID. (optional) @@ -11180,7 +11180,7 @@ public okhttp3.Call getCampaignsAsync(Integer applicationId, Integer pageSize, I 200 OK - */ - public okhttp3.Call getChangesCall(Integer pageSize, Integer skip, String sort, BigDecimal applicationId, String entityPath, Integer userId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, Boolean withTotalResultSize, Integer managementKeyId, Boolean includeOld, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getChangesCall(Long pageSize, Long skip, String sort, BigDecimal applicationId, String entityPath, Long userId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, Boolean withTotalResultSize, Long managementKeyId, Boolean includeOld, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -11254,7 +11254,7 @@ public okhttp3.Call getChangesCall(Integer pageSize, Integer skip, String sort, } @SuppressWarnings("rawtypes") - private okhttp3.Call getChangesValidateBeforeCall(Integer pageSize, Integer skip, String sort, BigDecimal applicationId, String entityPath, Integer userId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, Boolean withTotalResultSize, Integer managementKeyId, Boolean includeOld, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getChangesValidateBeforeCall(Long pageSize, Long skip, String sort, BigDecimal applicationId, String entityPath, Long userId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, Boolean withTotalResultSize, Long managementKeyId, Boolean includeOld, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getChangesCall(pageSize, skip, sort, applicationId, entityPath, userId, createdBefore, createdAfter, withTotalResultSize, managementKeyId, includeOld, _callback); @@ -11265,7 +11265,7 @@ private okhttp3.Call getChangesValidateBeforeCall(Integer pageSize, Integer skip /** * Get audit logs for an account * Retrieve the audit logs displayed in **Accounts > Audit logs**. - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param applicationId Filter results by Application ID. (optional) @@ -11284,7 +11284,7 @@ private okhttp3.Call getChangesValidateBeforeCall(Integer pageSize, Integer skip 200 OK - */ - public InlineResponse20044 getChanges(Integer pageSize, Integer skip, String sort, BigDecimal applicationId, String entityPath, Integer userId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, Boolean withTotalResultSize, Integer managementKeyId, Boolean includeOld) throws ApiException { + public InlineResponse20044 getChanges(Long pageSize, Long skip, String sort, BigDecimal applicationId, String entityPath, Long userId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, Boolean withTotalResultSize, Long managementKeyId, Boolean includeOld) throws ApiException { ApiResponse localVarResp = getChangesWithHttpInfo(pageSize, skip, sort, applicationId, entityPath, userId, createdBefore, createdAfter, withTotalResultSize, managementKeyId, includeOld); return localVarResp.getData(); } @@ -11292,7 +11292,7 @@ public InlineResponse20044 getChanges(Integer pageSize, Integer skip, String sor /** * Get audit logs for an account * Retrieve the audit logs displayed in **Accounts > Audit logs**. - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param applicationId Filter results by Application ID. (optional) @@ -11311,7 +11311,7 @@ public InlineResponse20044 getChanges(Integer pageSize, Integer skip, String sor 200 OK - */ - public ApiResponse getChangesWithHttpInfo(Integer pageSize, Integer skip, String sort, BigDecimal applicationId, String entityPath, Integer userId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, Boolean withTotalResultSize, Integer managementKeyId, Boolean includeOld) throws ApiException { + public ApiResponse getChangesWithHttpInfo(Long pageSize, Long skip, String sort, BigDecimal applicationId, String entityPath, Long userId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, Boolean withTotalResultSize, Long managementKeyId, Boolean includeOld) throws ApiException { okhttp3.Call localVarCall = getChangesValidateBeforeCall(pageSize, skip, sort, applicationId, entityPath, userId, createdBefore, createdAfter, withTotalResultSize, managementKeyId, includeOld, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -11320,7 +11320,7 @@ public ApiResponse getChangesWithHttpInfo(Integer pageSize, /** * Get audit logs for an account (asynchronously) * Retrieve the audit logs displayed in **Accounts > Audit logs**. - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param applicationId Filter results by Application ID. (optional) @@ -11340,7 +11340,7 @@ public ApiResponse getChangesWithHttpInfo(Integer pageSize, 200 OK - */ - public okhttp3.Call getChangesAsync(Integer pageSize, Integer skip, String sort, BigDecimal applicationId, String entityPath, Integer userId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, Boolean withTotalResultSize, Integer managementKeyId, Boolean includeOld, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getChangesAsync(Long pageSize, Long skip, String sort, BigDecimal applicationId, String entityPath, Long userId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, Boolean withTotalResultSize, Long managementKeyId, Boolean includeOld, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getChangesValidateBeforeCall(pageSize, skip, sort, applicationId, entityPath, userId, createdBefore, createdAfter, withTotalResultSize, managementKeyId, includeOld, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -11362,7 +11362,7 @@ public okhttp3.Call getChangesAsync(Integer pageSize, Integer skip, String sort, 404 Not found - */ - public okhttp3.Call getCollectionCall(Integer applicationId, Integer campaignId, Integer collectionId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCollectionCall(Long applicationId, Long campaignId, Long collectionId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -11395,7 +11395,7 @@ public okhttp3.Call getCollectionCall(Integer applicationId, Integer campaignId, } @SuppressWarnings("rawtypes") - private okhttp3.Call getCollectionValidateBeforeCall(Integer applicationId, Integer campaignId, Integer collectionId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getCollectionValidateBeforeCall(Long applicationId, Long campaignId, Long collectionId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -11433,7 +11433,7 @@ private okhttp3.Call getCollectionValidateBeforeCall(Integer applicationId, Inte 404 Not found - */ - public Collection getCollection(Integer applicationId, Integer campaignId, Integer collectionId) throws ApiException { + public Collection getCollection(Long applicationId, Long campaignId, Long collectionId) throws ApiException { ApiResponse localVarResp = getCollectionWithHttpInfo(applicationId, campaignId, collectionId); return localVarResp.getData(); } @@ -11453,7 +11453,7 @@ public Collection getCollection(Integer applicationId, Integer campaignId, Integ 404 Not found - */ - public ApiResponse getCollectionWithHttpInfo(Integer applicationId, Integer campaignId, Integer collectionId) throws ApiException { + public ApiResponse getCollectionWithHttpInfo(Long applicationId, Long campaignId, Long collectionId) throws ApiException { okhttp3.Call localVarCall = getCollectionValidateBeforeCall(applicationId, campaignId, collectionId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -11475,7 +11475,7 @@ public ApiResponse getCollectionWithHttpInfo(Integer applicationId, 404 Not found - */ - public okhttp3.Call getCollectionAsync(Integer applicationId, Integer campaignId, Integer collectionId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCollectionAsync(Long applicationId, Long campaignId, Long collectionId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getCollectionValidateBeforeCall(applicationId, campaignId, collectionId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -11485,7 +11485,7 @@ public okhttp3.Call getCollectionAsync(Integer applicationId, Integer campaignId /** * Build call for getCollectionItems * @param collectionId The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param _callback Callback for upload/download progress * @return Call to execute @@ -11497,7 +11497,7 @@ public okhttp3.Call getCollectionAsync(Integer applicationId, Integer campaignId 404 Not found - */ - public okhttp3.Call getCollectionItemsCall(Integer collectionId, Integer pageSize, Integer skip, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCollectionItemsCall(Long collectionId, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -11536,7 +11536,7 @@ public okhttp3.Call getCollectionItemsCall(Integer collectionId, Integer pageSiz } @SuppressWarnings("rawtypes") - private okhttp3.Call getCollectionItemsValidateBeforeCall(Integer collectionId, Integer pageSize, Integer skip, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getCollectionItemsValidateBeforeCall(Long collectionId, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { // verify the required parameter 'collectionId' is set if (collectionId == null) { @@ -11553,7 +11553,7 @@ private okhttp3.Call getCollectionItemsValidateBeforeCall(Integer collectionId, * Get collection items * Retrieve items from a given collection. You can retrieve items from both account-level collections and campaign-level collections using this endpoint. * @param collectionId The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @return InlineResponse20021 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -11564,7 +11564,7 @@ private okhttp3.Call getCollectionItemsValidateBeforeCall(Integer collectionId, 404 Not found - */ - public InlineResponse20021 getCollectionItems(Integer collectionId, Integer pageSize, Integer skip) throws ApiException { + public InlineResponse20021 getCollectionItems(Long collectionId, Long pageSize, Long skip) throws ApiException { ApiResponse localVarResp = getCollectionItemsWithHttpInfo(collectionId, pageSize, skip); return localVarResp.getData(); } @@ -11573,7 +11573,7 @@ public InlineResponse20021 getCollectionItems(Integer collectionId, Integer page * Get collection items * Retrieve items from a given collection. You can retrieve items from both account-level collections and campaign-level collections using this endpoint. * @param collectionId The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @return ApiResponse<InlineResponse20021> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -11584,7 +11584,7 @@ public InlineResponse20021 getCollectionItems(Integer collectionId, Integer page 404 Not found - */ - public ApiResponse getCollectionItemsWithHttpInfo(Integer collectionId, Integer pageSize, Integer skip) throws ApiException { + public ApiResponse getCollectionItemsWithHttpInfo(Long collectionId, Long pageSize, Long skip) throws ApiException { okhttp3.Call localVarCall = getCollectionItemsValidateBeforeCall(collectionId, pageSize, skip, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -11594,7 +11594,7 @@ public ApiResponse getCollectionItemsWithHttpInfo(Integer c * Get collection items (asynchronously) * Retrieve items from a given collection. You can retrieve items from both account-level collections and campaign-level collections using this endpoint. * @param collectionId The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -11606,7 +11606,7 @@ public ApiResponse getCollectionItemsWithHttpInfo(Integer c 404 Not found - */ - public okhttp3.Call getCollectionItemsAsync(Integer collectionId, Integer pageSize, Integer skip, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCollectionItemsAsync(Long collectionId, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getCollectionItemsValidateBeforeCall(collectionId, pageSize, skip, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -11617,7 +11617,7 @@ public okhttp3.Call getCollectionItemsAsync(Integer collectionId, Integer pageSi * Build call for getCouponsWithoutTotalCount * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param value Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters. (optional) @@ -11644,7 +11644,7 @@ public okhttp3.Call getCollectionItemsAsync(Integer collectionId, Integer pageSi 200 OK - */ - public okhttp3.Call getCouponsWithoutTotalCountCall(Integer applicationId, Integer campaignId, Integer pageSize, Integer skip, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, String redeemed, Integer referralId, String recipientIntegrationId, String batchId, Boolean exactMatch, OffsetDateTime expiresBefore, OffsetDateTime expiresAfter, OffsetDateTime startsBefore, OffsetDateTime startsAfter, Boolean valuesOnly, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCouponsWithoutTotalCountCall(Long applicationId, Long campaignId, Long pageSize, Long skip, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, String redeemed, Long referralId, String recipientIntegrationId, String batchId, Boolean exactMatch, OffsetDateTime expiresBefore, OffsetDateTime expiresAfter, OffsetDateTime startsBefore, OffsetDateTime startsAfter, Boolean valuesOnly, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -11748,7 +11748,7 @@ public okhttp3.Call getCouponsWithoutTotalCountCall(Integer applicationId, Integ } @SuppressWarnings("rawtypes") - private okhttp3.Call getCouponsWithoutTotalCountValidateBeforeCall(Integer applicationId, Integer campaignId, Integer pageSize, Integer skip, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, String redeemed, Integer referralId, String recipientIntegrationId, String batchId, Boolean exactMatch, OffsetDateTime expiresBefore, OffsetDateTime expiresAfter, OffsetDateTime startsBefore, OffsetDateTime startsAfter, Boolean valuesOnly, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getCouponsWithoutTotalCountValidateBeforeCall(Long applicationId, Long campaignId, Long pageSize, Long skip, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, String redeemed, Long referralId, String recipientIntegrationId, String batchId, Boolean exactMatch, OffsetDateTime expiresBefore, OffsetDateTime expiresAfter, OffsetDateTime startsBefore, OffsetDateTime startsAfter, Boolean valuesOnly, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -11771,7 +11771,7 @@ private okhttp3.Call getCouponsWithoutTotalCountValidateBeforeCall(Integer appli * List all the coupons matching the specified criteria. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param value Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters. (optional) @@ -11797,7 +11797,7 @@ private okhttp3.Call getCouponsWithoutTotalCountValidateBeforeCall(Integer appli 200 OK - */ - public InlineResponse20011 getCouponsWithoutTotalCount(Integer applicationId, Integer campaignId, Integer pageSize, Integer skip, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, String redeemed, Integer referralId, String recipientIntegrationId, String batchId, Boolean exactMatch, OffsetDateTime expiresBefore, OffsetDateTime expiresAfter, OffsetDateTime startsBefore, OffsetDateTime startsAfter, Boolean valuesOnly) throws ApiException { + public InlineResponse20011 getCouponsWithoutTotalCount(Long applicationId, Long campaignId, Long pageSize, Long skip, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, String redeemed, Long referralId, String recipientIntegrationId, String batchId, Boolean exactMatch, OffsetDateTime expiresBefore, OffsetDateTime expiresAfter, OffsetDateTime startsBefore, OffsetDateTime startsAfter, Boolean valuesOnly) throws ApiException { ApiResponse localVarResp = getCouponsWithoutTotalCountWithHttpInfo(applicationId, campaignId, pageSize, skip, sort, value, createdBefore, createdAfter, valid, usable, redeemed, referralId, recipientIntegrationId, batchId, exactMatch, expiresBefore, expiresAfter, startsBefore, startsAfter, valuesOnly); return localVarResp.getData(); } @@ -11807,7 +11807,7 @@ public InlineResponse20011 getCouponsWithoutTotalCount(Integer applicationId, In * List all the coupons matching the specified criteria. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param value Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters. (optional) @@ -11833,7 +11833,7 @@ public InlineResponse20011 getCouponsWithoutTotalCount(Integer applicationId, In 200 OK - */ - public ApiResponse getCouponsWithoutTotalCountWithHttpInfo(Integer applicationId, Integer campaignId, Integer pageSize, Integer skip, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, String redeemed, Integer referralId, String recipientIntegrationId, String batchId, Boolean exactMatch, OffsetDateTime expiresBefore, OffsetDateTime expiresAfter, OffsetDateTime startsBefore, OffsetDateTime startsAfter, Boolean valuesOnly) throws ApiException { + public ApiResponse getCouponsWithoutTotalCountWithHttpInfo(Long applicationId, Long campaignId, Long pageSize, Long skip, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, String redeemed, Long referralId, String recipientIntegrationId, String batchId, Boolean exactMatch, OffsetDateTime expiresBefore, OffsetDateTime expiresAfter, OffsetDateTime startsBefore, OffsetDateTime startsAfter, Boolean valuesOnly) throws ApiException { okhttp3.Call localVarCall = getCouponsWithoutTotalCountValidateBeforeCall(applicationId, campaignId, pageSize, skip, sort, value, createdBefore, createdAfter, valid, usable, redeemed, referralId, recipientIntegrationId, batchId, exactMatch, expiresBefore, expiresAfter, startsBefore, startsAfter, valuesOnly, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -11844,7 +11844,7 @@ public ApiResponse getCouponsWithoutTotalCountWithHttpInfo( * List all the coupons matching the specified criteria. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param value Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters. (optional) @@ -11871,7 +11871,7 @@ public ApiResponse getCouponsWithoutTotalCountWithHttpInfo( 200 OK - */ - public okhttp3.Call getCouponsWithoutTotalCountAsync(Integer applicationId, Integer campaignId, Integer pageSize, Integer skip, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, String redeemed, Integer referralId, String recipientIntegrationId, String batchId, Boolean exactMatch, OffsetDateTime expiresBefore, OffsetDateTime expiresAfter, OffsetDateTime startsBefore, OffsetDateTime startsAfter, Boolean valuesOnly, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCouponsWithoutTotalCountAsync(Long applicationId, Long campaignId, Long pageSize, Long skip, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, String redeemed, Long referralId, String recipientIntegrationId, String batchId, Boolean exactMatch, OffsetDateTime expiresBefore, OffsetDateTime expiresAfter, OffsetDateTime startsBefore, OffsetDateTime startsAfter, Boolean valuesOnly, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getCouponsWithoutTotalCountValidateBeforeCall(applicationId, campaignId, pageSize, skip, sort, value, createdBefore, createdAfter, valid, usable, redeemed, referralId, recipientIntegrationId, batchId, exactMatch, expiresBefore, expiresAfter, startsBefore, startsAfter, valuesOnly, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -11884,7 +11884,7 @@ public okhttp3.Call getCouponsWithoutTotalCountAsync(Integer applicationId, Inte * @param rangeEnd Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (required) * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param customerId The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param _callback Callback for upload/download progress * @return Call to execute @@ -11895,7 +11895,7 @@ public okhttp3.Call getCouponsWithoutTotalCountAsync(Integer applicationId, Inte 200 OK - */ - public okhttp3.Call getCustomerActivityReportCall(OffsetDateTime rangeStart, OffsetDateTime rangeEnd, Integer applicationId, Integer customerId, Integer pageSize, Integer skip, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCustomerActivityReportCall(OffsetDateTime rangeStart, OffsetDateTime rangeEnd, Long applicationId, Long customerId, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -11943,7 +11943,7 @@ public okhttp3.Call getCustomerActivityReportCall(OffsetDateTime rangeStart, Off } @SuppressWarnings("rawtypes") - private okhttp3.Call getCustomerActivityReportValidateBeforeCall(OffsetDateTime rangeStart, OffsetDateTime rangeEnd, Integer applicationId, Integer customerId, Integer pageSize, Integer skip, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getCustomerActivityReportValidateBeforeCall(OffsetDateTime rangeStart, OffsetDateTime rangeEnd, Long applicationId, Long customerId, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { // verify the required parameter 'rangeStart' is set if (rangeStart == null) { @@ -11978,7 +11978,7 @@ private okhttp3.Call getCustomerActivityReportValidateBeforeCall(OffsetDateTime * @param rangeEnd Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (required) * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param customerId The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @return CustomerActivityReport * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -11988,7 +11988,7 @@ private okhttp3.Call getCustomerActivityReportValidateBeforeCall(OffsetDateTime 200 OK - */ - public CustomerActivityReport getCustomerActivityReport(OffsetDateTime rangeStart, OffsetDateTime rangeEnd, Integer applicationId, Integer customerId, Integer pageSize, Integer skip) throws ApiException { + public CustomerActivityReport getCustomerActivityReport(OffsetDateTime rangeStart, OffsetDateTime rangeEnd, Long applicationId, Long customerId, Long pageSize, Long skip) throws ApiException { ApiResponse localVarResp = getCustomerActivityReportWithHttpInfo(rangeStart, rangeEnd, applicationId, customerId, pageSize, skip); return localVarResp.getData(); } @@ -12000,7 +12000,7 @@ public CustomerActivityReport getCustomerActivityReport(OffsetDateTime rangeStar * @param rangeEnd Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (required) * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param customerId The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @return ApiResponse<CustomerActivityReport> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -12010,7 +12010,7 @@ public CustomerActivityReport getCustomerActivityReport(OffsetDateTime rangeStar 200 OK - */ - public ApiResponse getCustomerActivityReportWithHttpInfo(OffsetDateTime rangeStart, OffsetDateTime rangeEnd, Integer applicationId, Integer customerId, Integer pageSize, Integer skip) throws ApiException { + public ApiResponse getCustomerActivityReportWithHttpInfo(OffsetDateTime rangeStart, OffsetDateTime rangeEnd, Long applicationId, Long customerId, Long pageSize, Long skip) throws ApiException { okhttp3.Call localVarCall = getCustomerActivityReportValidateBeforeCall(rangeStart, rangeEnd, applicationId, customerId, pageSize, skip, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -12023,7 +12023,7 @@ public ApiResponse getCustomerActivityReportWithHttpInfo * @param rangeEnd Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (required) * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param customerId The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -12034,7 +12034,7 @@ public ApiResponse getCustomerActivityReportWithHttpInfo 200 OK - */ - public okhttp3.Call getCustomerActivityReportAsync(OffsetDateTime rangeStart, OffsetDateTime rangeEnd, Integer applicationId, Integer customerId, Integer pageSize, Integer skip, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCustomerActivityReportAsync(OffsetDateTime rangeStart, OffsetDateTime rangeEnd, Long applicationId, Long customerId, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getCustomerActivityReportValidateBeforeCall(rangeStart, rangeEnd, applicationId, customerId, pageSize, skip, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -12046,7 +12046,7 @@ public okhttp3.Call getCustomerActivityReportAsync(OffsetDateTime rangeStart, Of * @param rangeStart Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (required) * @param rangeEnd Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (required) * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param name Only return reports matching the customer name. (optional) @@ -12062,7 +12062,7 @@ public okhttp3.Call getCustomerActivityReportAsync(OffsetDateTime rangeStart, Of 200 OK - */ - public okhttp3.Call getCustomerActivityReportsWithoutTotalCountCall(OffsetDateTime rangeStart, OffsetDateTime rangeEnd, Integer applicationId, Integer pageSize, Integer skip, String sort, String name, String integrationId, String campaignName, String advocateName, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCustomerActivityReportsWithoutTotalCountCall(OffsetDateTime rangeStart, OffsetDateTime rangeEnd, Long applicationId, Long pageSize, Long skip, String sort, String name, String integrationId, String campaignName, String advocateName, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -12129,7 +12129,7 @@ public okhttp3.Call getCustomerActivityReportsWithoutTotalCountCall(OffsetDateTi } @SuppressWarnings("rawtypes") - private okhttp3.Call getCustomerActivityReportsWithoutTotalCountValidateBeforeCall(OffsetDateTime rangeStart, OffsetDateTime rangeEnd, Integer applicationId, Integer pageSize, Integer skip, String sort, String name, String integrationId, String campaignName, String advocateName, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getCustomerActivityReportsWithoutTotalCountValidateBeforeCall(OffsetDateTime rangeStart, OffsetDateTime rangeEnd, Long applicationId, Long pageSize, Long skip, String sort, String name, String integrationId, String campaignName, String advocateName, final ApiCallback _callback) throws ApiException { // verify the required parameter 'rangeStart' is set if (rangeStart == null) { @@ -12158,7 +12158,7 @@ private okhttp3.Call getCustomerActivityReportsWithoutTotalCountValidateBeforeCa * @param rangeStart Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (required) * @param rangeEnd Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (required) * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param name Only return reports matching the customer name. (optional) @@ -12173,7 +12173,7 @@ private okhttp3.Call getCustomerActivityReportsWithoutTotalCountValidateBeforeCa 200 OK - */ - public InlineResponse20028 getCustomerActivityReportsWithoutTotalCount(OffsetDateTime rangeStart, OffsetDateTime rangeEnd, Integer applicationId, Integer pageSize, Integer skip, String sort, String name, String integrationId, String campaignName, String advocateName) throws ApiException { + public InlineResponse20028 getCustomerActivityReportsWithoutTotalCount(OffsetDateTime rangeStart, OffsetDateTime rangeEnd, Long applicationId, Long pageSize, Long skip, String sort, String name, String integrationId, String campaignName, String advocateName) throws ApiException { ApiResponse localVarResp = getCustomerActivityReportsWithoutTotalCountWithHttpInfo(rangeStart, rangeEnd, applicationId, pageSize, skip, sort, name, integrationId, campaignName, advocateName); return localVarResp.getData(); } @@ -12184,7 +12184,7 @@ public InlineResponse20028 getCustomerActivityReportsWithoutTotalCount(OffsetDat * @param rangeStart Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (required) * @param rangeEnd Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (required) * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param name Only return reports matching the customer name. (optional) @@ -12199,7 +12199,7 @@ public InlineResponse20028 getCustomerActivityReportsWithoutTotalCount(OffsetDat 200 OK - */ - public ApiResponse getCustomerActivityReportsWithoutTotalCountWithHttpInfo(OffsetDateTime rangeStart, OffsetDateTime rangeEnd, Integer applicationId, Integer pageSize, Integer skip, String sort, String name, String integrationId, String campaignName, String advocateName) throws ApiException { + public ApiResponse getCustomerActivityReportsWithoutTotalCountWithHttpInfo(OffsetDateTime rangeStart, OffsetDateTime rangeEnd, Long applicationId, Long pageSize, Long skip, String sort, String name, String integrationId, String campaignName, String advocateName) throws ApiException { okhttp3.Call localVarCall = getCustomerActivityReportsWithoutTotalCountValidateBeforeCall(rangeStart, rangeEnd, applicationId, pageSize, skip, sort, name, integrationId, campaignName, advocateName, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -12211,7 +12211,7 @@ public ApiResponse getCustomerActivityReportsWithoutTotalCo * @param rangeStart Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (required) * @param rangeEnd Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (required) * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param name Only return reports matching the customer name. (optional) @@ -12227,7 +12227,7 @@ public ApiResponse getCustomerActivityReportsWithoutTotalCo 200 OK - */ - public okhttp3.Call getCustomerActivityReportsWithoutTotalCountAsync(OffsetDateTime rangeStart, OffsetDateTime rangeEnd, Integer applicationId, Integer pageSize, Integer skip, String sort, String name, String integrationId, String campaignName, String advocateName, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCustomerActivityReportsWithoutTotalCountAsync(OffsetDateTime rangeStart, OffsetDateTime rangeEnd, Long applicationId, Long pageSize, Long skip, String sort, String name, String integrationId, String campaignName, String advocateName, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getCustomerActivityReportsWithoutTotalCountValidateBeforeCall(rangeStart, rangeEnd, applicationId, pageSize, skip, sort, name, integrationId, campaignName, advocateName, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -12238,7 +12238,7 @@ public okhttp3.Call getCustomerActivityReportsWithoutTotalCountAsync(OffsetDateT * Build call for getCustomerAnalytics * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param customerId The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param _callback Callback for upload/download progress @@ -12250,7 +12250,7 @@ public okhttp3.Call getCustomerActivityReportsWithoutTotalCountAsync(OffsetDateT 200 OK - */ - public okhttp3.Call getCustomerAnalyticsCall(Integer applicationId, Integer customerId, Integer pageSize, Integer skip, String sort, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCustomerAnalyticsCall(Long applicationId, Long customerId, Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -12294,7 +12294,7 @@ public okhttp3.Call getCustomerAnalyticsCall(Integer applicationId, Integer cust } @SuppressWarnings("rawtypes") - private okhttp3.Call getCustomerAnalyticsValidateBeforeCall(Integer applicationId, Integer customerId, Integer pageSize, Integer skip, String sort, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getCustomerAnalyticsValidateBeforeCall(Long applicationId, Long customerId, Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -12317,7 +12317,7 @@ private okhttp3.Call getCustomerAnalyticsValidateBeforeCall(Integer applicationI * Fetch analytics for a given customer in the given application. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param customerId The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @return CustomerAnalytics @@ -12328,7 +12328,7 @@ private okhttp3.Call getCustomerAnalyticsValidateBeforeCall(Integer applicationI 200 OK - */ - public CustomerAnalytics getCustomerAnalytics(Integer applicationId, Integer customerId, Integer pageSize, Integer skip, String sort) throws ApiException { + public CustomerAnalytics getCustomerAnalytics(Long applicationId, Long customerId, Long pageSize, Long skip, String sort) throws ApiException { ApiResponse localVarResp = getCustomerAnalyticsWithHttpInfo(applicationId, customerId, pageSize, skip, sort); return localVarResp.getData(); } @@ -12338,7 +12338,7 @@ public CustomerAnalytics getCustomerAnalytics(Integer applicationId, Integer cus * Fetch analytics for a given customer in the given application. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param customerId The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @return ApiResponse<CustomerAnalytics> @@ -12349,7 +12349,7 @@ public CustomerAnalytics getCustomerAnalytics(Integer applicationId, Integer cus 200 OK - */ - public ApiResponse getCustomerAnalyticsWithHttpInfo(Integer applicationId, Integer customerId, Integer pageSize, Integer skip, String sort) throws ApiException { + public ApiResponse getCustomerAnalyticsWithHttpInfo(Long applicationId, Long customerId, Long pageSize, Long skip, String sort) throws ApiException { okhttp3.Call localVarCall = getCustomerAnalyticsValidateBeforeCall(applicationId, customerId, pageSize, skip, sort, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -12360,7 +12360,7 @@ public ApiResponse getCustomerAnalyticsWithHttpInfo(Integer a * Fetch analytics for a given customer in the given application. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param customerId The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param _callback The callback to be executed when the API call finishes @@ -12372,7 +12372,7 @@ public ApiResponse getCustomerAnalyticsWithHttpInfo(Integer a 200 OK - */ - public okhttp3.Call getCustomerAnalyticsAsync(Integer applicationId, Integer customerId, Integer pageSize, Integer skip, String sort, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCustomerAnalyticsAsync(Long applicationId, Long customerId, Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getCustomerAnalyticsValidateBeforeCall(applicationId, customerId, pageSize, skip, sort, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -12391,7 +12391,7 @@ public okhttp3.Call getCustomerAnalyticsAsync(Integer applicationId, Integer cus 200 OK - */ - public okhttp3.Call getCustomerProfileCall(Integer customerId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCustomerProfileCall(Long customerId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -12422,7 +12422,7 @@ public okhttp3.Call getCustomerProfileCall(Integer customerId, final ApiCallback } @SuppressWarnings("rawtypes") - private okhttp3.Call getCustomerProfileValidateBeforeCall(Integer customerId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getCustomerProfileValidateBeforeCall(Long customerId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'customerId' is set if (customerId == null) { @@ -12447,7 +12447,7 @@ private okhttp3.Call getCustomerProfileValidateBeforeCall(Integer customerId, fi 200 OK - */ - public CustomerProfile getCustomerProfile(Integer customerId) throws ApiException { + public CustomerProfile getCustomerProfile(Long customerId) throws ApiException { ApiResponse localVarResp = getCustomerProfileWithHttpInfo(customerId); return localVarResp.getData(); } @@ -12464,7 +12464,7 @@ public CustomerProfile getCustomerProfile(Integer customerId) throws ApiExceptio 200 OK - */ - public ApiResponse getCustomerProfileWithHttpInfo(Integer customerId) throws ApiException { + public ApiResponse getCustomerProfileWithHttpInfo(Long customerId) throws ApiException { okhttp3.Call localVarCall = getCustomerProfileValidateBeforeCall(customerId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -12483,7 +12483,7 @@ public ApiResponse getCustomerProfileWithHttpInfo(Integer custo 200 OK - */ - public okhttp3.Call getCustomerProfileAsync(Integer customerId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCustomerProfileAsync(Long customerId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getCustomerProfileValidateBeforeCall(customerId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -12494,7 +12494,7 @@ public okhttp3.Call getCustomerProfileAsync(Integer customerId, final ApiCallbac * Build call for getCustomerProfileAchievementProgress * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param integrationId The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier. (required) - * @param pageSize The number of items in the response. (optional, default to 50) + * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param achievementId The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) endpoint. (optional) * @param title Filter results by the `title` of an achievement. (optional) @@ -12509,7 +12509,7 @@ public okhttp3.Call getCustomerProfileAsync(Integer customerId, final ApiCallbac 401 Unauthorized - */ - public okhttp3.Call getCustomerProfileAchievementProgressCall(Integer applicationId, String integrationId, Integer pageSize, Integer skip, Integer achievementId, String title, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCustomerProfileAchievementProgressCall(Long applicationId, String integrationId, Long pageSize, Long skip, Long achievementId, String title, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -12557,7 +12557,7 @@ public okhttp3.Call getCustomerProfileAchievementProgressCall(Integer applicatio } @SuppressWarnings("rawtypes") - private okhttp3.Call getCustomerProfileAchievementProgressValidateBeforeCall(Integer applicationId, String integrationId, Integer pageSize, Integer skip, Integer achievementId, String title, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getCustomerProfileAchievementProgressValidateBeforeCall(Long applicationId, String integrationId, Long pageSize, Long skip, Long achievementId, String title, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -12580,7 +12580,7 @@ private okhttp3.Call getCustomerProfileAchievementProgressValidateBeforeCall(Int * For the given customer profile, list all the achievements that match your filter criteria. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param integrationId The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier. (required) - * @param pageSize The number of items in the response. (optional, default to 50) + * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param achievementId The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) endpoint. (optional) * @param title Filter results by the `title` of an achievement. (optional) @@ -12594,7 +12594,7 @@ private okhttp3.Call getCustomerProfileAchievementProgressValidateBeforeCall(Int 401 Unauthorized - */ - public InlineResponse20049 getCustomerProfileAchievementProgress(Integer applicationId, String integrationId, Integer pageSize, Integer skip, Integer achievementId, String title) throws ApiException { + public InlineResponse20049 getCustomerProfileAchievementProgress(Long applicationId, String integrationId, Long pageSize, Long skip, Long achievementId, String title) throws ApiException { ApiResponse localVarResp = getCustomerProfileAchievementProgressWithHttpInfo(applicationId, integrationId, pageSize, skip, achievementId, title); return localVarResp.getData(); } @@ -12604,7 +12604,7 @@ public InlineResponse20049 getCustomerProfileAchievementProgress(Integer applica * For the given customer profile, list all the achievements that match your filter criteria. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param integrationId The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier. (required) - * @param pageSize The number of items in the response. (optional, default to 50) + * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param achievementId The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) endpoint. (optional) * @param title Filter results by the `title` of an achievement. (optional) @@ -12618,7 +12618,7 @@ public InlineResponse20049 getCustomerProfileAchievementProgress(Integer applica 401 Unauthorized - */ - public ApiResponse getCustomerProfileAchievementProgressWithHttpInfo(Integer applicationId, String integrationId, Integer pageSize, Integer skip, Integer achievementId, String title) throws ApiException { + public ApiResponse getCustomerProfileAchievementProgressWithHttpInfo(Long applicationId, String integrationId, Long pageSize, Long skip, Long achievementId, String title) throws ApiException { okhttp3.Call localVarCall = getCustomerProfileAchievementProgressValidateBeforeCall(applicationId, integrationId, pageSize, skip, achievementId, title, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -12629,7 +12629,7 @@ public ApiResponse getCustomerProfileAchievementProgressWit * For the given customer profile, list all the achievements that match your filter criteria. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param integrationId The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier. (required) - * @param pageSize The number of items in the response. (optional, default to 50) + * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param achievementId The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) endpoint. (optional) * @param title Filter results by the `title` of an achievement. (optional) @@ -12644,7 +12644,7 @@ public ApiResponse getCustomerProfileAchievementProgressWit 401 Unauthorized - */ - public okhttp3.Call getCustomerProfileAchievementProgressAsync(Integer applicationId, String integrationId, Integer pageSize, Integer skip, Integer achievementId, String title, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCustomerProfileAchievementProgressAsync(Long applicationId, String integrationId, Long pageSize, Long skip, Long achievementId, String title, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getCustomerProfileAchievementProgressValidateBeforeCall(applicationId, integrationId, pageSize, skip, achievementId, title, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -12653,7 +12653,7 @@ public okhttp3.Call getCustomerProfileAchievementProgressAsync(Integer applicati } /** * Build call for getCustomerProfiles - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sandbox Indicates whether you are pointing to a sandbox or live customer. (optional, default to false) * @param _callback Callback for upload/download progress @@ -12665,7 +12665,7 @@ public okhttp3.Call getCustomerProfileAchievementProgressAsync(Integer applicati 200 OK - */ - public okhttp3.Call getCustomerProfilesCall(Integer pageSize, Integer skip, Boolean sandbox, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCustomerProfilesCall(Long pageSize, Long skip, Boolean sandbox, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -12707,7 +12707,7 @@ public okhttp3.Call getCustomerProfilesCall(Integer pageSize, Integer skip, Bool } @SuppressWarnings("rawtypes") - private okhttp3.Call getCustomerProfilesValidateBeforeCall(Integer pageSize, Integer skip, Boolean sandbox, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getCustomerProfilesValidateBeforeCall(Long pageSize, Long skip, Boolean sandbox, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getCustomerProfilesCall(pageSize, skip, sandbox, _callback); @@ -12718,7 +12718,7 @@ private okhttp3.Call getCustomerProfilesValidateBeforeCall(Integer pageSize, Int /** * List customer profiles * List all customer profiles. - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sandbox Indicates whether you are pointing to a sandbox or live customer. (optional, default to false) * @return InlineResponse20027 @@ -12729,7 +12729,7 @@ private okhttp3.Call getCustomerProfilesValidateBeforeCall(Integer pageSize, Int 200 OK - */ - public InlineResponse20027 getCustomerProfiles(Integer pageSize, Integer skip, Boolean sandbox) throws ApiException { + public InlineResponse20027 getCustomerProfiles(Long pageSize, Long skip, Boolean sandbox) throws ApiException { ApiResponse localVarResp = getCustomerProfilesWithHttpInfo(pageSize, skip, sandbox); return localVarResp.getData(); } @@ -12737,7 +12737,7 @@ public InlineResponse20027 getCustomerProfiles(Integer pageSize, Integer skip, B /** * List customer profiles * List all customer profiles. - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sandbox Indicates whether you are pointing to a sandbox or live customer. (optional, default to false) * @return ApiResponse<InlineResponse20027> @@ -12748,7 +12748,7 @@ public InlineResponse20027 getCustomerProfiles(Integer pageSize, Integer skip, B 200 OK - */ - public ApiResponse getCustomerProfilesWithHttpInfo(Integer pageSize, Integer skip, Boolean sandbox) throws ApiException { + public ApiResponse getCustomerProfilesWithHttpInfo(Long pageSize, Long skip, Boolean sandbox) throws ApiException { okhttp3.Call localVarCall = getCustomerProfilesValidateBeforeCall(pageSize, skip, sandbox, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -12757,7 +12757,7 @@ public ApiResponse getCustomerProfilesWithHttpInfo(Integer /** * List customer profiles (asynchronously) * List all customer profiles. - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sandbox Indicates whether you are pointing to a sandbox or live customer. (optional, default to false) * @param _callback The callback to be executed when the API call finishes @@ -12769,7 +12769,7 @@ public ApiResponse getCustomerProfilesWithHttpInfo(Integer 200 OK - */ - public okhttp3.Call getCustomerProfilesAsync(Integer pageSize, Integer skip, Boolean sandbox, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCustomerProfilesAsync(Long pageSize, Long skip, Boolean sandbox, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getCustomerProfilesValidateBeforeCall(pageSize, skip, sandbox, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -12779,7 +12779,7 @@ public okhttp3.Call getCustomerProfilesAsync(Integer pageSize, Integer skip, Boo /** * Build call for getCustomersByAttributes * @param body body (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sandbox Indicates whether you are pointing to a sandbox or live customer. (optional, default to false) * @param _callback Callback for upload/download progress @@ -12791,7 +12791,7 @@ public okhttp3.Call getCustomerProfilesAsync(Integer pageSize, Integer skip, Boo 200 OK - */ - public okhttp3.Call getCustomersByAttributesCall(CustomerProfileSearchQuery body, Integer pageSize, Integer skip, Boolean sandbox, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCustomersByAttributesCall(CustomerProfileSearchQuery body, Long pageSize, Long skip, Boolean sandbox, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -12833,7 +12833,7 @@ public okhttp3.Call getCustomersByAttributesCall(CustomerProfileSearchQuery body } @SuppressWarnings("rawtypes") - private okhttp3.Call getCustomersByAttributesValidateBeforeCall(CustomerProfileSearchQuery body, Integer pageSize, Integer skip, Boolean sandbox, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getCustomersByAttributesValidateBeforeCall(CustomerProfileSearchQuery body, Long pageSize, Long skip, Boolean sandbox, final ApiCallback _callback) throws ApiException { // verify the required parameter 'body' is set if (body == null) { @@ -12850,7 +12850,7 @@ private okhttp3.Call getCustomersByAttributesValidateBeforeCall(CustomerProfileS * List customer profiles matching the given attributes * Get a list of the customer profiles matching the provided criteria. The match is successful if all the attributes of the request are found in a profile, even if the profile has more attributes that are not present on the request. * @param body body (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sandbox Indicates whether you are pointing to a sandbox or live customer. (optional, default to false) * @return InlineResponse20026 @@ -12861,7 +12861,7 @@ private okhttp3.Call getCustomersByAttributesValidateBeforeCall(CustomerProfileS 200 OK - */ - public InlineResponse20026 getCustomersByAttributes(CustomerProfileSearchQuery body, Integer pageSize, Integer skip, Boolean sandbox) throws ApiException { + public InlineResponse20026 getCustomersByAttributes(CustomerProfileSearchQuery body, Long pageSize, Long skip, Boolean sandbox) throws ApiException { ApiResponse localVarResp = getCustomersByAttributesWithHttpInfo(body, pageSize, skip, sandbox); return localVarResp.getData(); } @@ -12870,7 +12870,7 @@ public InlineResponse20026 getCustomersByAttributes(CustomerProfileSearchQuery b * List customer profiles matching the given attributes * Get a list of the customer profiles matching the provided criteria. The match is successful if all the attributes of the request are found in a profile, even if the profile has more attributes that are not present on the request. * @param body body (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sandbox Indicates whether you are pointing to a sandbox or live customer. (optional, default to false) * @return ApiResponse<InlineResponse20026> @@ -12881,7 +12881,7 @@ public InlineResponse20026 getCustomersByAttributes(CustomerProfileSearchQuery b 200 OK - */ - public ApiResponse getCustomersByAttributesWithHttpInfo(CustomerProfileSearchQuery body, Integer pageSize, Integer skip, Boolean sandbox) throws ApiException { + public ApiResponse getCustomersByAttributesWithHttpInfo(CustomerProfileSearchQuery body, Long pageSize, Long skip, Boolean sandbox) throws ApiException { okhttp3.Call localVarCall = getCustomersByAttributesValidateBeforeCall(body, pageSize, skip, sandbox, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -12891,7 +12891,7 @@ public ApiResponse getCustomersByAttributesWithHttpInfo(Cus * List customer profiles matching the given attributes (asynchronously) * Get a list of the customer profiles matching the provided criteria. The match is successful if all the attributes of the request are found in a profile, even if the profile has more attributes that are not present on the request. * @param body body (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sandbox Indicates whether you are pointing to a sandbox or live customer. (optional, default to false) * @param _callback The callback to be executed when the API call finishes @@ -12903,7 +12903,7 @@ public ApiResponse getCustomersByAttributesWithHttpInfo(Cus 200 OK - */ - public okhttp3.Call getCustomersByAttributesAsync(CustomerProfileSearchQuery body, Integer pageSize, Integer skip, Boolean sandbox, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getCustomersByAttributesAsync(CustomerProfileSearchQuery body, Long pageSize, Long skip, Boolean sandbox, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getCustomersByAttributesValidateBeforeCall(body, pageSize, skip, sandbox, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -12925,7 +12925,7 @@ public okhttp3.Call getCustomersByAttributesAsync(CustomerProfileSearchQuery bod 200 OK - */ - public okhttp3.Call getDashboardStatisticsCall(Integer loyaltyProgramId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String subledgerId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getDashboardStatisticsCall(Long loyaltyProgramId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String subledgerId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -12968,7 +12968,7 @@ public okhttp3.Call getDashboardStatisticsCall(Integer loyaltyProgramId, OffsetD } @SuppressWarnings("rawtypes") - private okhttp3.Call getDashboardStatisticsValidateBeforeCall(Integer loyaltyProgramId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String subledgerId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getDashboardStatisticsValidateBeforeCall(Long loyaltyProgramId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String subledgerId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'loyaltyProgramId' is set if (loyaltyProgramId == null) { @@ -13006,7 +13006,7 @@ private okhttp3.Call getDashboardStatisticsValidateBeforeCall(Integer loyaltyPro 200 OK - */ - public InlineResponse20016 getDashboardStatistics(Integer loyaltyProgramId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String subledgerId) throws ApiException { + public InlineResponse20016 getDashboardStatistics(Long loyaltyProgramId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String subledgerId) throws ApiException { ApiResponse localVarResp = getDashboardStatisticsWithHttpInfo(loyaltyProgramId, rangeStart, rangeEnd, subledgerId); return localVarResp.getData(); } @@ -13026,7 +13026,7 @@ public InlineResponse20016 getDashboardStatistics(Integer loyaltyProgramId, Offs 200 OK - */ - public ApiResponse getDashboardStatisticsWithHttpInfo(Integer loyaltyProgramId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String subledgerId) throws ApiException { + public ApiResponse getDashboardStatisticsWithHttpInfo(Long loyaltyProgramId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String subledgerId) throws ApiException { okhttp3.Call localVarCall = getDashboardStatisticsValidateBeforeCall(loyaltyProgramId, rangeStart, rangeEnd, subledgerId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -13048,7 +13048,7 @@ public ApiResponse getDashboardStatisticsWithHttpInfo(Integ 200 OK - */ - public okhttp3.Call getDashboardStatisticsAsync(Integer loyaltyProgramId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String subledgerId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getDashboardStatisticsAsync(Long loyaltyProgramId, OffsetDateTime rangeStart, OffsetDateTime rangeEnd, String subledgerId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getDashboardStatisticsValidateBeforeCall(loyaltyProgramId, rangeStart, rangeEnd, subledgerId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -13059,7 +13059,7 @@ public okhttp3.Call getDashboardStatisticsAsync(Integer loyaltyProgramId, Offset * Build call for getEventTypes * @param name Filter results to event types with the given name. This parameter implies `includeOldVersions`. (optional) * @param includeOldVersions Include all versions of every event type. (optional, default to false) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param _callback Callback for upload/download progress @@ -13071,7 +13071,7 @@ public okhttp3.Call getDashboardStatisticsAsync(Integer loyaltyProgramId, Offset 200 OK - */ - public okhttp3.Call getEventTypesCall(String name, Boolean includeOldVersions, Integer pageSize, Integer skip, String sort, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getEventTypesCall(String name, Boolean includeOldVersions, Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -13121,7 +13121,7 @@ public okhttp3.Call getEventTypesCall(String name, Boolean includeOldVersions, I } @SuppressWarnings("rawtypes") - private okhttp3.Call getEventTypesValidateBeforeCall(String name, Boolean includeOldVersions, Integer pageSize, Integer skip, String sort, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getEventTypesValidateBeforeCall(String name, Boolean includeOldVersions, Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getEventTypesCall(name, includeOldVersions, pageSize, skip, sort, _callback); @@ -13134,7 +13134,7 @@ private okhttp3.Call getEventTypesValidateBeforeCall(String name, Boolean includ * Fetch all event type definitions for your account. * @param name Filter results to event types with the given name. This parameter implies `includeOldVersions`. (optional) * @param includeOldVersions Include all versions of every event type. (optional, default to false) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @return InlineResponse20042 @@ -13145,7 +13145,7 @@ private okhttp3.Call getEventTypesValidateBeforeCall(String name, Boolean includ 200 OK - */ - public InlineResponse20042 getEventTypes(String name, Boolean includeOldVersions, Integer pageSize, Integer skip, String sort) throws ApiException { + public InlineResponse20042 getEventTypes(String name, Boolean includeOldVersions, Long pageSize, Long skip, String sort) throws ApiException { ApiResponse localVarResp = getEventTypesWithHttpInfo(name, includeOldVersions, pageSize, skip, sort); return localVarResp.getData(); } @@ -13155,7 +13155,7 @@ public InlineResponse20042 getEventTypes(String name, Boolean includeOldVersions * Fetch all event type definitions for your account. * @param name Filter results to event types with the given name. This parameter implies `includeOldVersions`. (optional) * @param includeOldVersions Include all versions of every event type. (optional, default to false) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @return ApiResponse<InlineResponse20042> @@ -13166,7 +13166,7 @@ public InlineResponse20042 getEventTypes(String name, Boolean includeOldVersions 200 OK - */ - public ApiResponse getEventTypesWithHttpInfo(String name, Boolean includeOldVersions, Integer pageSize, Integer skip, String sort) throws ApiException { + public ApiResponse getEventTypesWithHttpInfo(String name, Boolean includeOldVersions, Long pageSize, Long skip, String sort) throws ApiException { okhttp3.Call localVarCall = getEventTypesValidateBeforeCall(name, includeOldVersions, pageSize, skip, sort, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -13177,7 +13177,7 @@ public ApiResponse getEventTypesWithHttpInfo(String name, B * Fetch all event type definitions for your account. * @param name Filter results to event types with the given name. This parameter implies `includeOldVersions`. (optional) * @param includeOldVersions Include all versions of every event type. (optional, default to false) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param _callback The callback to be executed when the API call finishes @@ -13189,7 +13189,7 @@ public ApiResponse getEventTypesWithHttpInfo(String name, B 200 OK - */ - public okhttp3.Call getEventTypesAsync(String name, Boolean includeOldVersions, Integer pageSize, Integer skip, String sort, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getEventTypesAsync(String name, Boolean includeOldVersions, Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getEventTypesValidateBeforeCall(name, includeOldVersions, pageSize, skip, sort, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -13198,7 +13198,7 @@ public okhttp3.Call getEventTypesAsync(String name, Boolean includeOldVersions, } /** * Build call for getExports - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param applicationId Filter results by Application ID. (optional) * @param campaignId Filter by the campaign ID on which the limit counters are used. (optional) @@ -13212,7 +13212,7 @@ public okhttp3.Call getEventTypesAsync(String name, Boolean includeOldVersions, 200 OK - */ - public okhttp3.Call getExportsCall(Integer pageSize, Integer skip, BigDecimal applicationId, Integer campaignId, String entity, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getExportsCall(Long pageSize, Long skip, BigDecimal applicationId, Long campaignId, String entity, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -13262,7 +13262,7 @@ public okhttp3.Call getExportsCall(Integer pageSize, Integer skip, BigDecimal ap } @SuppressWarnings("rawtypes") - private okhttp3.Call getExportsValidateBeforeCall(Integer pageSize, Integer skip, BigDecimal applicationId, Integer campaignId, String entity, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getExportsValidateBeforeCall(Long pageSize, Long skip, BigDecimal applicationId, Long campaignId, String entity, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getExportsCall(pageSize, skip, applicationId, campaignId, entity, _callback); @@ -13273,7 +13273,7 @@ private okhttp3.Call getExportsValidateBeforeCall(Integer pageSize, Integer skip /** * Get exports * List all past exports - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param applicationId Filter results by Application ID. (optional) * @param campaignId Filter by the campaign ID on which the limit counters are used. (optional) @@ -13286,7 +13286,7 @@ private okhttp3.Call getExportsValidateBeforeCall(Integer pageSize, Integer skip 200 OK - */ - public InlineResponse20045 getExports(Integer pageSize, Integer skip, BigDecimal applicationId, Integer campaignId, String entity) throws ApiException { + public InlineResponse20045 getExports(Long pageSize, Long skip, BigDecimal applicationId, Long campaignId, String entity) throws ApiException { ApiResponse localVarResp = getExportsWithHttpInfo(pageSize, skip, applicationId, campaignId, entity); return localVarResp.getData(); } @@ -13294,7 +13294,7 @@ public InlineResponse20045 getExports(Integer pageSize, Integer skip, BigDecimal /** * Get exports * List all past exports - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param applicationId Filter results by Application ID. (optional) * @param campaignId Filter by the campaign ID on which the limit counters are used. (optional) @@ -13307,7 +13307,7 @@ public InlineResponse20045 getExports(Integer pageSize, Integer skip, BigDecimal 200 OK - */ - public ApiResponse getExportsWithHttpInfo(Integer pageSize, Integer skip, BigDecimal applicationId, Integer campaignId, String entity) throws ApiException { + public ApiResponse getExportsWithHttpInfo(Long pageSize, Long skip, BigDecimal applicationId, Long campaignId, String entity) throws ApiException { okhttp3.Call localVarCall = getExportsValidateBeforeCall(pageSize, skip, applicationId, campaignId, entity, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -13316,7 +13316,7 @@ public ApiResponse getExportsWithHttpInfo(Integer pageSize, /** * Get exports (asynchronously) * List all past exports - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param applicationId Filter results by Application ID. (optional) * @param campaignId Filter by the campaign ID on which the limit counters are used. (optional) @@ -13330,7 +13330,7 @@ public ApiResponse getExportsWithHttpInfo(Integer pageSize, 200 OK - */ - public okhttp3.Call getExportsAsync(Integer pageSize, Integer skip, BigDecimal applicationId, Integer campaignId, String entity, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getExportsAsync(Long pageSize, Long skip, BigDecimal applicationId, Long campaignId, String entity, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getExportsValidateBeforeCall(pageSize, skip, applicationId, campaignId, entity, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -13353,7 +13353,7 @@ public okhttp3.Call getExportsAsync(Integer pageSize, Integer skip, BigDecimal a 404 Not found - */ - public okhttp3.Call getLoyaltyCardCall(Integer loyaltyProgramId, String loyaltyCardId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLoyaltyCardCall(Long loyaltyProgramId, String loyaltyCardId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -13385,7 +13385,7 @@ public okhttp3.Call getLoyaltyCardCall(Integer loyaltyProgramId, String loyaltyC } @SuppressWarnings("rawtypes") - private okhttp3.Call getLoyaltyCardValidateBeforeCall(Integer loyaltyProgramId, String loyaltyCardId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getLoyaltyCardValidateBeforeCall(Long loyaltyProgramId, String loyaltyCardId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'loyaltyProgramId' is set if (loyaltyProgramId == null) { @@ -13419,7 +13419,7 @@ private okhttp3.Call getLoyaltyCardValidateBeforeCall(Integer loyaltyProgramId, 404 Not found - */ - public LoyaltyCard getLoyaltyCard(Integer loyaltyProgramId, String loyaltyCardId) throws ApiException { + public LoyaltyCard getLoyaltyCard(Long loyaltyProgramId, String loyaltyCardId) throws ApiException { ApiResponse localVarResp = getLoyaltyCardWithHttpInfo(loyaltyProgramId, loyaltyCardId); return localVarResp.getData(); } @@ -13440,7 +13440,7 @@ public LoyaltyCard getLoyaltyCard(Integer loyaltyProgramId, String loyaltyCardId 404 Not found - */ - public ApiResponse getLoyaltyCardWithHttpInfo(Integer loyaltyProgramId, String loyaltyCardId) throws ApiException { + public ApiResponse getLoyaltyCardWithHttpInfo(Long loyaltyProgramId, String loyaltyCardId) throws ApiException { okhttp3.Call localVarCall = getLoyaltyCardValidateBeforeCall(loyaltyProgramId, loyaltyCardId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -13463,7 +13463,7 @@ public ApiResponse getLoyaltyCardWithHttpInfo(Integer loyaltyProgra 404 Not found - */ - public okhttp3.Call getLoyaltyCardAsync(Integer loyaltyProgramId, String loyaltyCardId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLoyaltyCardAsync(Long loyaltyProgramId, String loyaltyCardId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getLoyaltyCardValidateBeforeCall(loyaltyProgramId, loyaltyCardId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -13476,7 +13476,7 @@ public okhttp3.Call getLoyaltyCardAsync(Integer loyaltyProgramId, String loyalty * @param loyaltyCardId Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. (required) * @param startDate Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional) * @param endDate Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param subledgerId The ID of the subledger by which we filter the data. (optional) * @param _callback Callback for upload/download progress @@ -13490,7 +13490,7 @@ public okhttp3.Call getLoyaltyCardAsync(Integer loyaltyProgramId, String loyalty 404 Not found - */ - public okhttp3.Call getLoyaltyCardTransactionLogsCall(Integer loyaltyProgramId, String loyaltyCardId, OffsetDateTime startDate, OffsetDateTime endDate, Integer pageSize, Integer skip, String subledgerId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLoyaltyCardTransactionLogsCall(Long loyaltyProgramId, String loyaltyCardId, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, String subledgerId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -13542,7 +13542,7 @@ public okhttp3.Call getLoyaltyCardTransactionLogsCall(Integer loyaltyProgramId, } @SuppressWarnings("rawtypes") - private okhttp3.Call getLoyaltyCardTransactionLogsValidateBeforeCall(Integer loyaltyProgramId, String loyaltyCardId, OffsetDateTime startDate, OffsetDateTime endDate, Integer pageSize, Integer skip, String subledgerId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getLoyaltyCardTransactionLogsValidateBeforeCall(Long loyaltyProgramId, String loyaltyCardId, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, String subledgerId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'loyaltyProgramId' is set if (loyaltyProgramId == null) { @@ -13567,7 +13567,7 @@ private okhttp3.Call getLoyaltyCardTransactionLogsValidateBeforeCall(Integer loy * @param loyaltyCardId Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. (required) * @param startDate Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional) * @param endDate Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param subledgerId The ID of the subledger by which we filter the data. (optional) * @return InlineResponse20019 @@ -13580,7 +13580,7 @@ private okhttp3.Call getLoyaltyCardTransactionLogsValidateBeforeCall(Integer loy 404 Not found - */ - public InlineResponse20019 getLoyaltyCardTransactionLogs(Integer loyaltyProgramId, String loyaltyCardId, OffsetDateTime startDate, OffsetDateTime endDate, Integer pageSize, Integer skip, String subledgerId) throws ApiException { + public InlineResponse20019 getLoyaltyCardTransactionLogs(Long loyaltyProgramId, String loyaltyCardId, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, String subledgerId) throws ApiException { ApiResponse localVarResp = getLoyaltyCardTransactionLogsWithHttpInfo(loyaltyProgramId, loyaltyCardId, startDate, endDate, pageSize, skip, subledgerId); return localVarResp.getData(); } @@ -13592,7 +13592,7 @@ public InlineResponse20019 getLoyaltyCardTransactionLogs(Integer loyaltyProgramI * @param loyaltyCardId Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. (required) * @param startDate Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional) * @param endDate Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param subledgerId The ID of the subledger by which we filter the data. (optional) * @return ApiResponse<InlineResponse20019> @@ -13605,7 +13605,7 @@ public InlineResponse20019 getLoyaltyCardTransactionLogs(Integer loyaltyProgramI 404 Not found - */ - public ApiResponse getLoyaltyCardTransactionLogsWithHttpInfo(Integer loyaltyProgramId, String loyaltyCardId, OffsetDateTime startDate, OffsetDateTime endDate, Integer pageSize, Integer skip, String subledgerId) throws ApiException { + public ApiResponse getLoyaltyCardTransactionLogsWithHttpInfo(Long loyaltyProgramId, String loyaltyCardId, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, String subledgerId) throws ApiException { okhttp3.Call localVarCall = getLoyaltyCardTransactionLogsValidateBeforeCall(loyaltyProgramId, loyaltyCardId, startDate, endDate, pageSize, skip, subledgerId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -13618,7 +13618,7 @@ public ApiResponse getLoyaltyCardTransactionLogsWithHttpInf * @param loyaltyCardId Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. (required) * @param startDate Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional) * @param endDate Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param subledgerId The ID of the subledger by which we filter the data. (optional) * @param _callback The callback to be executed when the API call finishes @@ -13632,7 +13632,7 @@ public ApiResponse getLoyaltyCardTransactionLogsWithHttpInf 404 Not found - */ - public okhttp3.Call getLoyaltyCardTransactionLogsAsync(Integer loyaltyProgramId, String loyaltyCardId, OffsetDateTime startDate, OffsetDateTime endDate, Integer pageSize, Integer skip, String subledgerId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLoyaltyCardTransactionLogsAsync(Long loyaltyProgramId, String loyaltyCardId, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, String subledgerId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getLoyaltyCardTransactionLogsValidateBeforeCall(loyaltyProgramId, loyaltyCardId, startDate, endDate, pageSize, skip, subledgerId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -13642,7 +13642,7 @@ public okhttp3.Call getLoyaltyCardTransactionLogsAsync(Integer loyaltyProgramId, /** * Build call for getLoyaltyCards * @param loyaltyProgramId Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param identifier The card code by which to filter loyalty cards in the response. (optional) @@ -13659,7 +13659,7 @@ public okhttp3.Call getLoyaltyCardTransactionLogsAsync(Integer loyaltyProgramId, 401 Unauthorized - */ - public okhttp3.Call getLoyaltyCardsCall(Integer loyaltyProgramId, Integer pageSize, Integer skip, String sort, String identifier, Integer profileId, String batchId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLoyaltyCardsCall(Long loyaltyProgramId, Long pageSize, Long skip, String sort, String identifier, Long profileId, String batchId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -13714,7 +13714,7 @@ public okhttp3.Call getLoyaltyCardsCall(Integer loyaltyProgramId, Integer pageSi } @SuppressWarnings("rawtypes") - private okhttp3.Call getLoyaltyCardsValidateBeforeCall(Integer loyaltyProgramId, Integer pageSize, Integer skip, String sort, String identifier, Integer profileId, String batchId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getLoyaltyCardsValidateBeforeCall(Long loyaltyProgramId, Long pageSize, Long skip, String sort, String identifier, Long profileId, String batchId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'loyaltyProgramId' is set if (loyaltyProgramId == null) { @@ -13731,7 +13731,7 @@ private okhttp3.Call getLoyaltyCardsValidateBeforeCall(Integer loyaltyProgramId, * List loyalty cards * For the given card-based loyalty program, list the loyalty cards that match your filter criteria. * @param loyaltyProgramId Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param identifier The card code by which to filter loyalty cards in the response. (optional) @@ -13747,7 +13747,7 @@ private okhttp3.Call getLoyaltyCardsValidateBeforeCall(Integer loyaltyProgramId, 401 Unauthorized - */ - public InlineResponse20018 getLoyaltyCards(Integer loyaltyProgramId, Integer pageSize, Integer skip, String sort, String identifier, Integer profileId, String batchId) throws ApiException { + public InlineResponse20018 getLoyaltyCards(Long loyaltyProgramId, Long pageSize, Long skip, String sort, String identifier, Long profileId, String batchId) throws ApiException { ApiResponse localVarResp = getLoyaltyCardsWithHttpInfo(loyaltyProgramId, pageSize, skip, sort, identifier, profileId, batchId); return localVarResp.getData(); } @@ -13756,7 +13756,7 @@ public InlineResponse20018 getLoyaltyCards(Integer loyaltyProgramId, Integer pag * List loyalty cards * For the given card-based loyalty program, list the loyalty cards that match your filter criteria. * @param loyaltyProgramId Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param identifier The card code by which to filter loyalty cards in the response. (optional) @@ -13772,7 +13772,7 @@ public InlineResponse20018 getLoyaltyCards(Integer loyaltyProgramId, Integer pag 401 Unauthorized - */ - public ApiResponse getLoyaltyCardsWithHttpInfo(Integer loyaltyProgramId, Integer pageSize, Integer skip, String sort, String identifier, Integer profileId, String batchId) throws ApiException { + public ApiResponse getLoyaltyCardsWithHttpInfo(Long loyaltyProgramId, Long pageSize, Long skip, String sort, String identifier, Long profileId, String batchId) throws ApiException { okhttp3.Call localVarCall = getLoyaltyCardsValidateBeforeCall(loyaltyProgramId, pageSize, skip, sort, identifier, profileId, batchId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -13782,7 +13782,7 @@ public ApiResponse getLoyaltyCardsWithHttpInfo(Integer loya * List loyalty cards (asynchronously) * For the given card-based loyalty program, list the loyalty cards that match your filter criteria. * @param loyaltyProgramId Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param identifier The card code by which to filter loyalty cards in the response. (optional) @@ -13799,7 +13799,7 @@ public ApiResponse getLoyaltyCardsWithHttpInfo(Integer loya 401 Unauthorized - */ - public okhttp3.Call getLoyaltyCardsAsync(Integer loyaltyProgramId, Integer pageSize, Integer skip, String sort, String identifier, Integer profileId, String batchId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLoyaltyCardsAsync(Long loyaltyProgramId, Long pageSize, Long skip, String sort, String identifier, Long profileId, String batchId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getLoyaltyCardsValidateBeforeCall(loyaltyProgramId, pageSize, skip, sort, identifier, profileId, batchId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -13939,7 +13939,7 @@ public okhttp3.Call getLoyaltyPointsAsync(String loyaltyProgramId, String integr 200 OK - */ - public okhttp3.Call getLoyaltyProgramCall(Integer loyaltyProgramId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLoyaltyProgramCall(Long loyaltyProgramId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -13970,7 +13970,7 @@ public okhttp3.Call getLoyaltyProgramCall(Integer loyaltyProgramId, final ApiCal } @SuppressWarnings("rawtypes") - private okhttp3.Call getLoyaltyProgramValidateBeforeCall(Integer loyaltyProgramId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getLoyaltyProgramValidateBeforeCall(Long loyaltyProgramId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'loyaltyProgramId' is set if (loyaltyProgramId == null) { @@ -13995,7 +13995,7 @@ private okhttp3.Call getLoyaltyProgramValidateBeforeCall(Integer loyaltyProgramI 200 OK - */ - public LoyaltyProgram getLoyaltyProgram(Integer loyaltyProgramId) throws ApiException { + public LoyaltyProgram getLoyaltyProgram(Long loyaltyProgramId) throws ApiException { ApiResponse localVarResp = getLoyaltyProgramWithHttpInfo(loyaltyProgramId); return localVarResp.getData(); } @@ -14012,7 +14012,7 @@ public LoyaltyProgram getLoyaltyProgram(Integer loyaltyProgramId) throws ApiExce 200 OK - */ - public ApiResponse getLoyaltyProgramWithHttpInfo(Integer loyaltyProgramId) throws ApiException { + public ApiResponse getLoyaltyProgramWithHttpInfo(Long loyaltyProgramId) throws ApiException { okhttp3.Call localVarCall = getLoyaltyProgramValidateBeforeCall(loyaltyProgramId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -14031,7 +14031,7 @@ public ApiResponse getLoyaltyProgramWithHttpInfo(Integer loyalty 200 OK - */ - public okhttp3.Call getLoyaltyProgramAsync(Integer loyaltyProgramId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLoyaltyProgramAsync(Long loyaltyProgramId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getLoyaltyProgramValidateBeforeCall(loyaltyProgramId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -14045,7 +14045,7 @@ public okhttp3.Call getLoyaltyProgramAsync(Integer loyaltyProgramId, final ApiCa * @param subledgerId The ID of the subledger by which we filter the data. (optional) * @param startDate Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional) * @param endDate Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional) - * @param pageSize The number of items in the response. (optional, default to 50) + * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param _callback Callback for upload/download progress * @return Call to execute @@ -14059,7 +14059,7 @@ public okhttp3.Call getLoyaltyProgramAsync(Integer loyaltyProgramId, final ApiCa 404 Not found - */ - public okhttp3.Call getLoyaltyProgramTransactionsCall(Integer loyaltyProgramId, String loyaltyTransactionType, String subledgerId, OffsetDateTime startDate, OffsetDateTime endDate, Integer pageSize, Integer skip, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLoyaltyProgramTransactionsCall(Long loyaltyProgramId, String loyaltyTransactionType, String subledgerId, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -14114,7 +14114,7 @@ public okhttp3.Call getLoyaltyProgramTransactionsCall(Integer loyaltyProgramId, } @SuppressWarnings("rawtypes") - private okhttp3.Call getLoyaltyProgramTransactionsValidateBeforeCall(Integer loyaltyProgramId, String loyaltyTransactionType, String subledgerId, OffsetDateTime startDate, OffsetDateTime endDate, Integer pageSize, Integer skip, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getLoyaltyProgramTransactionsValidateBeforeCall(Long loyaltyProgramId, String loyaltyTransactionType, String subledgerId, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { // verify the required parameter 'loyaltyProgramId' is set if (loyaltyProgramId == null) { @@ -14135,7 +14135,7 @@ private okhttp3.Call getLoyaltyProgramTransactionsValidateBeforeCall(Integer loy * @param subledgerId The ID of the subledger by which we filter the data. (optional) * @param startDate Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional) * @param endDate Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional) - * @param pageSize The number of items in the response. (optional, default to 50) + * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) * @return InlineResponse20017 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -14148,7 +14148,7 @@ private okhttp3.Call getLoyaltyProgramTransactionsValidateBeforeCall(Integer loy 404 Not found - */ - public InlineResponse20017 getLoyaltyProgramTransactions(Integer loyaltyProgramId, String loyaltyTransactionType, String subledgerId, OffsetDateTime startDate, OffsetDateTime endDate, Integer pageSize, Integer skip) throws ApiException { + public InlineResponse20017 getLoyaltyProgramTransactions(Long loyaltyProgramId, String loyaltyTransactionType, String subledgerId, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip) throws ApiException { ApiResponse localVarResp = getLoyaltyProgramTransactionsWithHttpInfo(loyaltyProgramId, loyaltyTransactionType, subledgerId, startDate, endDate, pageSize, skip); return localVarResp.getData(); } @@ -14161,7 +14161,7 @@ public InlineResponse20017 getLoyaltyProgramTransactions(Integer loyaltyProgramI * @param subledgerId The ID of the subledger by which we filter the data. (optional) * @param startDate Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional) * @param endDate Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional) - * @param pageSize The number of items in the response. (optional, default to 50) + * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) * @return ApiResponse<InlineResponse20017> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -14174,7 +14174,7 @@ public InlineResponse20017 getLoyaltyProgramTransactions(Integer loyaltyProgramI 404 Not found - */ - public ApiResponse getLoyaltyProgramTransactionsWithHttpInfo(Integer loyaltyProgramId, String loyaltyTransactionType, String subledgerId, OffsetDateTime startDate, OffsetDateTime endDate, Integer pageSize, Integer skip) throws ApiException { + public ApiResponse getLoyaltyProgramTransactionsWithHttpInfo(Long loyaltyProgramId, String loyaltyTransactionType, String subledgerId, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip) throws ApiException { okhttp3.Call localVarCall = getLoyaltyProgramTransactionsValidateBeforeCall(loyaltyProgramId, loyaltyTransactionType, subledgerId, startDate, endDate, pageSize, skip, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -14188,7 +14188,7 @@ public ApiResponse getLoyaltyProgramTransactionsWithHttpInf * @param subledgerId The ID of the subledger by which we filter the data. (optional) * @param startDate Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional) * @param endDate Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional) - * @param pageSize The number of items in the response. (optional, default to 50) + * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -14202,7 +14202,7 @@ public ApiResponse getLoyaltyProgramTransactionsWithHttpInf 404 Not found - */ - public okhttp3.Call getLoyaltyProgramTransactionsAsync(Integer loyaltyProgramId, String loyaltyTransactionType, String subledgerId, OffsetDateTime startDate, OffsetDateTime endDate, Integer pageSize, Integer skip, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLoyaltyProgramTransactionsAsync(Long loyaltyProgramId, String loyaltyTransactionType, String subledgerId, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getLoyaltyProgramTransactionsValidateBeforeCall(loyaltyProgramId, loyaltyTransactionType, subledgerId, startDate, endDate, pageSize, skip, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -14324,7 +14324,7 @@ public okhttp3.Call getLoyaltyProgramsAsync(final ApiCallback localVarResp = getLoyaltyStatisticsWithHttpInfo(loyaltyProgramId); return localVarResp.getData(); } @@ -14402,7 +14402,7 @@ public LoyaltyDashboardData getLoyaltyStatistics(Integer loyaltyProgramId) throw * @deprecated */ @Deprecated - public ApiResponse getLoyaltyStatisticsWithHttpInfo(Integer loyaltyProgramId) throws ApiException { + public ApiResponse getLoyaltyStatisticsWithHttpInfo(Long loyaltyProgramId) throws ApiException { okhttp3.Call localVarCall = getLoyaltyStatisticsValidateBeforeCall(loyaltyProgramId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -14423,7 +14423,7 @@ public ApiResponse getLoyaltyStatisticsWithHttpInfo(Intege * @deprecated */ @Deprecated - public okhttp3.Call getLoyaltyStatisticsAsync(Integer loyaltyProgramId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLoyaltyStatisticsAsync(Long loyaltyProgramId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getLoyaltyStatisticsValidateBeforeCall(loyaltyProgramId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -14455,7 +14455,7 @@ public okhttp3.Call getLoyaltyStatisticsAsync(Integer loyaltyProgramId, final Ap 200 OK - */ - public okhttp3.Call getMessageLogsCall(String entityType, String messageID, String changeType, String notificationIDs, OffsetDateTime createdBefore, OffsetDateTime createdAfter, byte[] cursor, String period, Boolean isSuccessful, BigDecimal applicationId, BigDecimal campaignId, Integer loyaltyProgramId, Integer responseCode, String webhookIDs, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getMessageLogsCall(String entityType, String messageID, String changeType, String notificationIDs, OffsetDateTime createdBefore, OffsetDateTime createdAfter, byte[] cursor, String period, Boolean isSuccessful, BigDecimal applicationId, BigDecimal campaignId, Long loyaltyProgramId, Long responseCode, String webhookIDs, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -14541,7 +14541,7 @@ public okhttp3.Call getMessageLogsCall(String entityType, String messageID, Stri } @SuppressWarnings("rawtypes") - private okhttp3.Call getMessageLogsValidateBeforeCall(String entityType, String messageID, String changeType, String notificationIDs, OffsetDateTime createdBefore, OffsetDateTime createdAfter, byte[] cursor, String period, Boolean isSuccessful, BigDecimal applicationId, BigDecimal campaignId, Integer loyaltyProgramId, Integer responseCode, String webhookIDs, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getMessageLogsValidateBeforeCall(String entityType, String messageID, String changeType, String notificationIDs, OffsetDateTime createdBefore, OffsetDateTime createdAfter, byte[] cursor, String period, Boolean isSuccessful, BigDecimal applicationId, BigDecimal campaignId, Long loyaltyProgramId, Long responseCode, String webhookIDs, final ApiCallback _callback) throws ApiException { // verify the required parameter 'entityType' is set if (entityType == null) { @@ -14579,7 +14579,7 @@ private okhttp3.Call getMessageLogsValidateBeforeCall(String entityType, String 200 OK - */ - public MessageLogEntries getMessageLogs(String entityType, String messageID, String changeType, String notificationIDs, OffsetDateTime createdBefore, OffsetDateTime createdAfter, byte[] cursor, String period, Boolean isSuccessful, BigDecimal applicationId, BigDecimal campaignId, Integer loyaltyProgramId, Integer responseCode, String webhookIDs) throws ApiException { + public MessageLogEntries getMessageLogs(String entityType, String messageID, String changeType, String notificationIDs, OffsetDateTime createdBefore, OffsetDateTime createdAfter, byte[] cursor, String period, Boolean isSuccessful, BigDecimal applicationId, BigDecimal campaignId, Long loyaltyProgramId, Long responseCode, String webhookIDs) throws ApiException { ApiResponse localVarResp = getMessageLogsWithHttpInfo(entityType, messageID, changeType, notificationIDs, createdBefore, createdAfter, cursor, period, isSuccessful, applicationId, campaignId, loyaltyProgramId, responseCode, webhookIDs); return localVarResp.getData(); } @@ -14609,7 +14609,7 @@ public MessageLogEntries getMessageLogs(String entityType, String messageID, Str 200 OK - */ - public ApiResponse getMessageLogsWithHttpInfo(String entityType, String messageID, String changeType, String notificationIDs, OffsetDateTime createdBefore, OffsetDateTime createdAfter, byte[] cursor, String period, Boolean isSuccessful, BigDecimal applicationId, BigDecimal campaignId, Integer loyaltyProgramId, Integer responseCode, String webhookIDs) throws ApiException { + public ApiResponse getMessageLogsWithHttpInfo(String entityType, String messageID, String changeType, String notificationIDs, OffsetDateTime createdBefore, OffsetDateTime createdAfter, byte[] cursor, String period, Boolean isSuccessful, BigDecimal applicationId, BigDecimal campaignId, Long loyaltyProgramId, Long responseCode, String webhookIDs) throws ApiException { okhttp3.Call localVarCall = getMessageLogsValidateBeforeCall(entityType, messageID, changeType, notificationIDs, createdBefore, createdAfter, cursor, period, isSuccessful, applicationId, campaignId, loyaltyProgramId, responseCode, webhookIDs, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -14641,7 +14641,7 @@ public ApiResponse getMessageLogsWithHttpInfo(String entityTy 200 OK - */ - public okhttp3.Call getMessageLogsAsync(String entityType, String messageID, String changeType, String notificationIDs, OffsetDateTime createdBefore, OffsetDateTime createdAfter, byte[] cursor, String period, Boolean isSuccessful, BigDecimal applicationId, BigDecimal campaignId, Integer loyaltyProgramId, Integer responseCode, String webhookIDs, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getMessageLogsAsync(String entityType, String messageID, String changeType, String notificationIDs, OffsetDateTime createdBefore, OffsetDateTime createdAfter, byte[] cursor, String period, Boolean isSuccessful, BigDecimal applicationId, BigDecimal campaignId, Long loyaltyProgramId, Long responseCode, String webhookIDs, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getMessageLogsValidateBeforeCall(entityType, messageID, changeType, notificationIDs, createdBefore, createdAfter, cursor, period, isSuccessful, applicationId, campaignId, loyaltyProgramId, responseCode, webhookIDs, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -14652,7 +14652,7 @@ public okhttp3.Call getMessageLogsAsync(String entityType, String messageID, Str * Build call for getReferralsWithoutTotalCount * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param code Filter results performing case-insensitive matching against the referral code. Both the code and the query are folded to remove all non-alpha-numeric characters. (optional) @@ -14670,7 +14670,7 @@ public okhttp3.Call getMessageLogsAsync(String entityType, String messageID, Str 200 OK - */ - public okhttp3.Call getReferralsWithoutTotalCountCall(Integer applicationId, Integer campaignId, Integer pageSize, Integer skip, String sort, String code, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, String advocate, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getReferralsWithoutTotalCountCall(Long applicationId, Long campaignId, Long pageSize, Long skip, String sort, String code, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, String advocate, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -14738,7 +14738,7 @@ public okhttp3.Call getReferralsWithoutTotalCountCall(Integer applicationId, Int } @SuppressWarnings("rawtypes") - private okhttp3.Call getReferralsWithoutTotalCountValidateBeforeCall(Integer applicationId, Integer campaignId, Integer pageSize, Integer skip, String sort, String code, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, String advocate, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getReferralsWithoutTotalCountValidateBeforeCall(Long applicationId, Long campaignId, Long pageSize, Long skip, String sort, String code, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, String advocate, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -14761,7 +14761,7 @@ private okhttp3.Call getReferralsWithoutTotalCountValidateBeforeCall(Integer app * List all referrals of the specified campaign. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param code Filter results performing case-insensitive matching against the referral code. Both the code and the query are folded to remove all non-alpha-numeric characters. (optional) @@ -14778,7 +14778,7 @@ private okhttp3.Call getReferralsWithoutTotalCountValidateBeforeCall(Integer app 200 OK - */ - public InlineResponse20012 getReferralsWithoutTotalCount(Integer applicationId, Integer campaignId, Integer pageSize, Integer skip, String sort, String code, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, String advocate) throws ApiException { + public InlineResponse20012 getReferralsWithoutTotalCount(Long applicationId, Long campaignId, Long pageSize, Long skip, String sort, String code, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, String advocate) throws ApiException { ApiResponse localVarResp = getReferralsWithoutTotalCountWithHttpInfo(applicationId, campaignId, pageSize, skip, sort, code, createdBefore, createdAfter, valid, usable, advocate); return localVarResp.getData(); } @@ -14788,7 +14788,7 @@ public InlineResponse20012 getReferralsWithoutTotalCount(Integer applicationId, * List all referrals of the specified campaign. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param code Filter results performing case-insensitive matching against the referral code. Both the code and the query are folded to remove all non-alpha-numeric characters. (optional) @@ -14805,7 +14805,7 @@ public InlineResponse20012 getReferralsWithoutTotalCount(Integer applicationId, 200 OK - */ - public ApiResponse getReferralsWithoutTotalCountWithHttpInfo(Integer applicationId, Integer campaignId, Integer pageSize, Integer skip, String sort, String code, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, String advocate) throws ApiException { + public ApiResponse getReferralsWithoutTotalCountWithHttpInfo(Long applicationId, Long campaignId, Long pageSize, Long skip, String sort, String code, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, String advocate) throws ApiException { okhttp3.Call localVarCall = getReferralsWithoutTotalCountValidateBeforeCall(applicationId, campaignId, pageSize, skip, sort, code, createdBefore, createdAfter, valid, usable, advocate, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -14816,7 +14816,7 @@ public ApiResponse getReferralsWithoutTotalCountWithHttpInf * List all referrals of the specified campaign. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param code Filter results performing case-insensitive matching against the referral code. Both the code and the query are folded to remove all non-alpha-numeric characters. (optional) @@ -14834,7 +14834,7 @@ public ApiResponse getReferralsWithoutTotalCountWithHttpInf 200 OK - */ - public okhttp3.Call getReferralsWithoutTotalCountAsync(Integer applicationId, Integer campaignId, Integer pageSize, Integer skip, String sort, String code, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, String advocate, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getReferralsWithoutTotalCountAsync(Long applicationId, Long campaignId, Long pageSize, Long skip, String sort, String code, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, String advocate, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getReferralsWithoutTotalCountValidateBeforeCall(applicationId, campaignId, pageSize, skip, sort, code, createdBefore, createdAfter, valid, usable, advocate, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -14853,7 +14853,7 @@ public okhttp3.Call getReferralsWithoutTotalCountAsync(Integer applicationId, In 200 OK - */ - public okhttp3.Call getRoleV2Call(Integer roleId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getRoleV2Call(Long roleId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -14884,7 +14884,7 @@ public okhttp3.Call getRoleV2Call(Integer roleId, final ApiCallback _callback) t } @SuppressWarnings("rawtypes") - private okhttp3.Call getRoleV2ValidateBeforeCall(Integer roleId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getRoleV2ValidateBeforeCall(Long roleId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'roleId' is set if (roleId == null) { @@ -14909,7 +14909,7 @@ private okhttp3.Call getRoleV2ValidateBeforeCall(Integer roleId, final ApiCallba 200 OK - */ - public RoleV2 getRoleV2(Integer roleId) throws ApiException { + public RoleV2 getRoleV2(Long roleId) throws ApiException { ApiResponse localVarResp = getRoleV2WithHttpInfo(roleId); return localVarResp.getData(); } @@ -14926,7 +14926,7 @@ public RoleV2 getRoleV2(Integer roleId) throws ApiException { 200 OK - */ - public ApiResponse getRoleV2WithHttpInfo(Integer roleId) throws ApiException { + public ApiResponse getRoleV2WithHttpInfo(Long roleId) throws ApiException { okhttp3.Call localVarCall = getRoleV2ValidateBeforeCall(roleId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -14945,7 +14945,7 @@ public ApiResponse getRoleV2WithHttpInfo(Integer roleId) throws ApiExcep 200 OK - */ - public okhttp3.Call getRoleV2Async(Integer roleId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getRoleV2Async(Long roleId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getRoleV2ValidateBeforeCall(roleId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -14966,7 +14966,7 @@ public okhttp3.Call getRoleV2Async(Integer roleId, final ApiCallback _ca 200 OK - */ - public okhttp3.Call getRulesetCall(Integer applicationId, Integer campaignId, Integer rulesetId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getRulesetCall(Long applicationId, Long campaignId, Long rulesetId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -14999,7 +14999,7 @@ public okhttp3.Call getRulesetCall(Integer applicationId, Integer campaignId, In } @SuppressWarnings("rawtypes") - private okhttp3.Call getRulesetValidateBeforeCall(Integer applicationId, Integer campaignId, Integer rulesetId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getRulesetValidateBeforeCall(Long applicationId, Long campaignId, Long rulesetId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -15036,7 +15036,7 @@ private okhttp3.Call getRulesetValidateBeforeCall(Integer applicationId, Integer 200 OK - */ - public Ruleset getRuleset(Integer applicationId, Integer campaignId, Integer rulesetId) throws ApiException { + public Ruleset getRuleset(Long applicationId, Long campaignId, Long rulesetId) throws ApiException { ApiResponse localVarResp = getRulesetWithHttpInfo(applicationId, campaignId, rulesetId); return localVarResp.getData(); } @@ -15055,7 +15055,7 @@ public Ruleset getRuleset(Integer applicationId, Integer campaignId, Integer rul 200 OK - */ - public ApiResponse getRulesetWithHttpInfo(Integer applicationId, Integer campaignId, Integer rulesetId) throws ApiException { + public ApiResponse getRulesetWithHttpInfo(Long applicationId, Long campaignId, Long rulesetId) throws ApiException { okhttp3.Call localVarCall = getRulesetValidateBeforeCall(applicationId, campaignId, rulesetId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -15076,7 +15076,7 @@ public ApiResponse getRulesetWithHttpInfo(Integer applicationId, Intege 200 OK - */ - public okhttp3.Call getRulesetAsync(Integer applicationId, Integer campaignId, Integer rulesetId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getRulesetAsync(Long applicationId, Long campaignId, Long rulesetId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getRulesetValidateBeforeCall(applicationId, campaignId, rulesetId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -15087,7 +15087,7 @@ public okhttp3.Call getRulesetAsync(Integer applicationId, Integer campaignId, I * Build call for getRulesets * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param _callback Callback for upload/download progress @@ -15099,7 +15099,7 @@ public okhttp3.Call getRulesetAsync(Integer applicationId, Integer campaignId, I 200 OK - */ - public okhttp3.Call getRulesetsCall(Integer applicationId, Integer campaignId, Integer pageSize, Integer skip, String sort, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getRulesetsCall(Long applicationId, Long campaignId, Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -15143,7 +15143,7 @@ public okhttp3.Call getRulesetsCall(Integer applicationId, Integer campaignId, I } @SuppressWarnings("rawtypes") - private okhttp3.Call getRulesetsValidateBeforeCall(Integer applicationId, Integer campaignId, Integer pageSize, Integer skip, String sort, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getRulesetsValidateBeforeCall(Long applicationId, Long campaignId, Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -15166,7 +15166,7 @@ private okhttp3.Call getRulesetsValidateBeforeCall(Integer applicationId, Intege * List all rulesets of this campaign. A ruleset is a revision of the rules of a campaign. **Important:** The response also includes deleted rules. You should only consider the latest revision of the returned rulesets. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @return InlineResponse2009 @@ -15177,7 +15177,7 @@ private okhttp3.Call getRulesetsValidateBeforeCall(Integer applicationId, Intege 200 OK - */ - public InlineResponse2009 getRulesets(Integer applicationId, Integer campaignId, Integer pageSize, Integer skip, String sort) throws ApiException { + public InlineResponse2009 getRulesets(Long applicationId, Long campaignId, Long pageSize, Long skip, String sort) throws ApiException { ApiResponse localVarResp = getRulesetsWithHttpInfo(applicationId, campaignId, pageSize, skip, sort); return localVarResp.getData(); } @@ -15187,7 +15187,7 @@ public InlineResponse2009 getRulesets(Integer applicationId, Integer campaignId, * List all rulesets of this campaign. A ruleset is a revision of the rules of a campaign. **Important:** The response also includes deleted rules. You should only consider the latest revision of the returned rulesets. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @return ApiResponse<InlineResponse2009> @@ -15198,7 +15198,7 @@ public InlineResponse2009 getRulesets(Integer applicationId, Integer campaignId, 200 OK - */ - public ApiResponse getRulesetsWithHttpInfo(Integer applicationId, Integer campaignId, Integer pageSize, Integer skip, String sort) throws ApiException { + public ApiResponse getRulesetsWithHttpInfo(Long applicationId, Long campaignId, Long pageSize, Long skip, String sort) throws ApiException { okhttp3.Call localVarCall = getRulesetsValidateBeforeCall(applicationId, campaignId, pageSize, skip, sort, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -15209,7 +15209,7 @@ public ApiResponse getRulesetsWithHttpInfo(Integer applicati * List all rulesets of this campaign. A ruleset is a revision of the rules of a campaign. **Important:** The response also includes deleted rules. You should only consider the latest revision of the returned rulesets. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param _callback The callback to be executed when the API call finishes @@ -15221,7 +15221,7 @@ public ApiResponse getRulesetsWithHttpInfo(Integer applicati 200 OK - */ - public okhttp3.Call getRulesetsAsync(Integer applicationId, Integer campaignId, Integer pageSize, Integer skip, String sort, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getRulesetsAsync(Long applicationId, Long campaignId, Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getRulesetsValidateBeforeCall(applicationId, campaignId, pageSize, skip, sort, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -15242,7 +15242,7 @@ public okhttp3.Call getRulesetsAsync(Integer applicationId, Integer campaignId, 404 Not found - */ - public okhttp3.Call getStoreCall(Integer applicationId, String storeId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getStoreCall(Long applicationId, String storeId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -15274,7 +15274,7 @@ public okhttp3.Call getStoreCall(Integer applicationId, String storeId, final Ap } @SuppressWarnings("rawtypes") - private okhttp3.Call getStoreValidateBeforeCall(Integer applicationId, String storeId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getStoreValidateBeforeCall(Long applicationId, String storeId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -15306,7 +15306,7 @@ private okhttp3.Call getStoreValidateBeforeCall(Integer applicationId, String st 404 Not found - */ - public Store getStore(Integer applicationId, String storeId) throws ApiException { + public Store getStore(Long applicationId, String storeId) throws ApiException { ApiResponse localVarResp = getStoreWithHttpInfo(applicationId, storeId); return localVarResp.getData(); } @@ -15325,7 +15325,7 @@ public Store getStore(Integer applicationId, String storeId) throws ApiException 404 Not found - */ - public ApiResponse getStoreWithHttpInfo(Integer applicationId, String storeId) throws ApiException { + public ApiResponse getStoreWithHttpInfo(Long applicationId, String storeId) throws ApiException { okhttp3.Call localVarCall = getStoreValidateBeforeCall(applicationId, storeId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -15346,7 +15346,7 @@ public ApiResponse getStoreWithHttpInfo(Integer applicationId, String sto 404 Not found - */ - public okhttp3.Call getStoreAsync(Integer applicationId, String storeId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getStoreAsync(Long applicationId, String storeId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getStoreValidateBeforeCall(applicationId, storeId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -15365,7 +15365,7 @@ public okhttp3.Call getStoreAsync(Integer applicationId, String storeId, final A 200 OK - */ - public okhttp3.Call getUserCall(Integer userId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getUserCall(Long userId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -15396,7 +15396,7 @@ public okhttp3.Call getUserCall(Integer userId, final ApiCallback _callback) thr } @SuppressWarnings("rawtypes") - private okhttp3.Call getUserValidateBeforeCall(Integer userId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getUserValidateBeforeCall(Long userId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'userId' is set if (userId == null) { @@ -15421,7 +15421,7 @@ private okhttp3.Call getUserValidateBeforeCall(Integer userId, final ApiCallback 200 OK - */ - public User getUser(Integer userId) throws ApiException { + public User getUser(Long userId) throws ApiException { ApiResponse localVarResp = getUserWithHttpInfo(userId); return localVarResp.getData(); } @@ -15438,7 +15438,7 @@ public User getUser(Integer userId) throws ApiException { 200 OK - */ - public ApiResponse getUserWithHttpInfo(Integer userId) throws ApiException { + public ApiResponse getUserWithHttpInfo(Long userId) throws ApiException { okhttp3.Call localVarCall = getUserValidateBeforeCall(userId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -15457,7 +15457,7 @@ public ApiResponse getUserWithHttpInfo(Integer userId) throws ApiException 200 OK - */ - public okhttp3.Call getUserAsync(Integer userId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getUserAsync(Long userId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getUserValidateBeforeCall(userId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -15466,7 +15466,7 @@ public okhttp3.Call getUserAsync(Integer userId, final ApiCallback _callba } /** * Build call for getUsers - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param _callback Callback for upload/download progress @@ -15478,7 +15478,7 @@ public okhttp3.Call getUserAsync(Integer userId, final ApiCallback _callba 200 OK - */ - public okhttp3.Call getUsersCall(Integer pageSize, Integer skip, String sort, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getUsersCall(Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -15520,7 +15520,7 @@ public okhttp3.Call getUsersCall(Integer pageSize, Integer skip, String sort, fi } @SuppressWarnings("rawtypes") - private okhttp3.Call getUsersValidateBeforeCall(Integer pageSize, Integer skip, String sort, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getUsersValidateBeforeCall(Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getUsersCall(pageSize, skip, sort, _callback); @@ -15531,7 +15531,7 @@ private okhttp3.Call getUsersValidateBeforeCall(Integer pageSize, Integer skip, /** * List users in account * Retrieve all users in your account. - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @return InlineResponse20043 @@ -15542,7 +15542,7 @@ private okhttp3.Call getUsersValidateBeforeCall(Integer pageSize, Integer skip, 200 OK - */ - public InlineResponse20043 getUsers(Integer pageSize, Integer skip, String sort) throws ApiException { + public InlineResponse20043 getUsers(Long pageSize, Long skip, String sort) throws ApiException { ApiResponse localVarResp = getUsersWithHttpInfo(pageSize, skip, sort); return localVarResp.getData(); } @@ -15550,7 +15550,7 @@ public InlineResponse20043 getUsers(Integer pageSize, Integer skip, String sort) /** * List users in account * Retrieve all users in your account. - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @return ApiResponse<InlineResponse20043> @@ -15561,7 +15561,7 @@ public InlineResponse20043 getUsers(Integer pageSize, Integer skip, String sort) 200 OK - */ - public ApiResponse getUsersWithHttpInfo(Integer pageSize, Integer skip, String sort) throws ApiException { + public ApiResponse getUsersWithHttpInfo(Long pageSize, Long skip, String sort) throws ApiException { okhttp3.Call localVarCall = getUsersValidateBeforeCall(pageSize, skip, sort, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -15570,7 +15570,7 @@ public ApiResponse getUsersWithHttpInfo(Integer pageSize, I /** * List users in account (asynchronously) * Retrieve all users in your account. - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param _callback The callback to be executed when the API call finishes @@ -15582,7 +15582,7 @@ public ApiResponse getUsersWithHttpInfo(Integer pageSize, I 200 OK - */ - public okhttp3.Call getUsersAsync(Integer pageSize, Integer skip, String sort, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getUsersAsync(Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getUsersValidateBeforeCall(pageSize, skip, sort, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -15601,7 +15601,7 @@ public okhttp3.Call getUsersAsync(Integer pageSize, Integer skip, String sort, f 200 OK - */ - public okhttp3.Call getWebhookCall(Integer webhookId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getWebhookCall(Long webhookId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -15632,7 +15632,7 @@ public okhttp3.Call getWebhookCall(Integer webhookId, final ApiCallback _callbac } @SuppressWarnings("rawtypes") - private okhttp3.Call getWebhookValidateBeforeCall(Integer webhookId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getWebhookValidateBeforeCall(Long webhookId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'webhookId' is set if (webhookId == null) { @@ -15657,7 +15657,7 @@ private okhttp3.Call getWebhookValidateBeforeCall(Integer webhookId, final ApiCa 200 OK - */ - public Webhook getWebhook(Integer webhookId) throws ApiException { + public Webhook getWebhook(Long webhookId) throws ApiException { ApiResponse localVarResp = getWebhookWithHttpInfo(webhookId); return localVarResp.getData(); } @@ -15674,7 +15674,7 @@ public Webhook getWebhook(Integer webhookId) throws ApiException { 200 OK - */ - public ApiResponse getWebhookWithHttpInfo(Integer webhookId) throws ApiException { + public ApiResponse getWebhookWithHttpInfo(Long webhookId) throws ApiException { okhttp3.Call localVarCall = getWebhookValidateBeforeCall(webhookId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -15693,7 +15693,7 @@ public ApiResponse getWebhookWithHttpInfo(Integer webhookId) throws Api 200 OK - */ - public okhttp3.Call getWebhookAsync(Integer webhookId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getWebhookAsync(Long webhookId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getWebhookValidateBeforeCall(webhookId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -15702,7 +15702,7 @@ public okhttp3.Call getWebhookAsync(Integer webhookId, final ApiCallback 200 OK - */ - public okhttp3.Call getWebhookActivationLogsCall(Integer pageSize, Integer skip, String sort, String integrationRequestUuid, BigDecimal webhookId, BigDecimal applicationId, BigDecimal campaignId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getWebhookActivationLogsCall(Long pageSize, Long skip, String sort, String integrationRequestUuid, BigDecimal webhookId, BigDecimal applicationId, BigDecimal campaignId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -15786,7 +15786,7 @@ public okhttp3.Call getWebhookActivationLogsCall(Integer pageSize, Integer skip, } @SuppressWarnings("rawtypes") - private okhttp3.Call getWebhookActivationLogsValidateBeforeCall(Integer pageSize, Integer skip, String sort, String integrationRequestUuid, BigDecimal webhookId, BigDecimal applicationId, BigDecimal campaignId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getWebhookActivationLogsValidateBeforeCall(Long pageSize, Long skip, String sort, String integrationRequestUuid, BigDecimal webhookId, BigDecimal applicationId, BigDecimal campaignId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getWebhookActivationLogsCall(pageSize, skip, sort, integrationRequestUuid, webhookId, applicationId, campaignId, createdBefore, createdAfter, _callback); @@ -15797,7 +15797,7 @@ private okhttp3.Call getWebhookActivationLogsValidateBeforeCall(Integer pageSize /** * List webhook activation log entries * Webhook activation log entries are created as soon as an integration request triggers a webhook effect. See the [docs](https://docs.talon.one/docs/dev/getting-started/webhooks). - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param integrationRequestUuid Filter results by integration request UUID. (optional) @@ -15814,7 +15814,7 @@ private okhttp3.Call getWebhookActivationLogsValidateBeforeCall(Integer pageSize 200 OK - */ - public InlineResponse20040 getWebhookActivationLogs(Integer pageSize, Integer skip, String sort, String integrationRequestUuid, BigDecimal webhookId, BigDecimal applicationId, BigDecimal campaignId, OffsetDateTime createdBefore, OffsetDateTime createdAfter) throws ApiException { + public InlineResponse20040 getWebhookActivationLogs(Long pageSize, Long skip, String sort, String integrationRequestUuid, BigDecimal webhookId, BigDecimal applicationId, BigDecimal campaignId, OffsetDateTime createdBefore, OffsetDateTime createdAfter) throws ApiException { ApiResponse localVarResp = getWebhookActivationLogsWithHttpInfo(pageSize, skip, sort, integrationRequestUuid, webhookId, applicationId, campaignId, createdBefore, createdAfter); return localVarResp.getData(); } @@ -15822,7 +15822,7 @@ public InlineResponse20040 getWebhookActivationLogs(Integer pageSize, Integer sk /** * List webhook activation log entries * Webhook activation log entries are created as soon as an integration request triggers a webhook effect. See the [docs](https://docs.talon.one/docs/dev/getting-started/webhooks). - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param integrationRequestUuid Filter results by integration request UUID. (optional) @@ -15839,7 +15839,7 @@ public InlineResponse20040 getWebhookActivationLogs(Integer pageSize, Integer sk 200 OK - */ - public ApiResponse getWebhookActivationLogsWithHttpInfo(Integer pageSize, Integer skip, String sort, String integrationRequestUuid, BigDecimal webhookId, BigDecimal applicationId, BigDecimal campaignId, OffsetDateTime createdBefore, OffsetDateTime createdAfter) throws ApiException { + public ApiResponse getWebhookActivationLogsWithHttpInfo(Long pageSize, Long skip, String sort, String integrationRequestUuid, BigDecimal webhookId, BigDecimal applicationId, BigDecimal campaignId, OffsetDateTime createdBefore, OffsetDateTime createdAfter) throws ApiException { okhttp3.Call localVarCall = getWebhookActivationLogsValidateBeforeCall(pageSize, skip, sort, integrationRequestUuid, webhookId, applicationId, campaignId, createdBefore, createdAfter, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -15848,7 +15848,7 @@ public ApiResponse getWebhookActivationLogsWithHttpInfo(Int /** * List webhook activation log entries (asynchronously) * Webhook activation log entries are created as soon as an integration request triggers a webhook effect. See the [docs](https://docs.talon.one/docs/dev/getting-started/webhooks). - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param integrationRequestUuid Filter results by integration request UUID. (optional) @@ -15866,7 +15866,7 @@ public ApiResponse getWebhookActivationLogsWithHttpInfo(Int 200 OK - */ - public okhttp3.Call getWebhookActivationLogsAsync(Integer pageSize, Integer skip, String sort, String integrationRequestUuid, BigDecimal webhookId, BigDecimal applicationId, BigDecimal campaignId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getWebhookActivationLogsAsync(Long pageSize, Long skip, String sort, String integrationRequestUuid, BigDecimal webhookId, BigDecimal applicationId, BigDecimal campaignId, OffsetDateTime createdBefore, OffsetDateTime createdAfter, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getWebhookActivationLogsValidateBeforeCall(pageSize, skip, sort, integrationRequestUuid, webhookId, applicationId, campaignId, createdBefore, createdAfter, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -15875,7 +15875,7 @@ public okhttp3.Call getWebhookActivationLogsAsync(Integer pageSize, Integer skip } /** * Build call for getWebhookLogs - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param status Filter results by HTTP status codes. (optional) @@ -15894,7 +15894,7 @@ public okhttp3.Call getWebhookActivationLogsAsync(Integer pageSize, Integer skip 200 OK - */ - public okhttp3.Call getWebhookLogsCall(Integer pageSize, Integer skip, String sort, String status, BigDecimal webhookId, BigDecimal applicationId, BigDecimal campaignId, String requestUuid, OffsetDateTime createdBefore, OffsetDateTime createdAfter, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getWebhookLogsCall(Long pageSize, Long skip, String sort, String status, BigDecimal webhookId, BigDecimal applicationId, BigDecimal campaignId, String requestUuid, OffsetDateTime createdBefore, OffsetDateTime createdAfter, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -15964,7 +15964,7 @@ public okhttp3.Call getWebhookLogsCall(Integer pageSize, Integer skip, String so } @SuppressWarnings("rawtypes") - private okhttp3.Call getWebhookLogsValidateBeforeCall(Integer pageSize, Integer skip, String sort, String status, BigDecimal webhookId, BigDecimal applicationId, BigDecimal campaignId, String requestUuid, OffsetDateTime createdBefore, OffsetDateTime createdAfter, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getWebhookLogsValidateBeforeCall(Long pageSize, Long skip, String sort, String status, BigDecimal webhookId, BigDecimal applicationId, BigDecimal campaignId, String requestUuid, OffsetDateTime createdBefore, OffsetDateTime createdAfter, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getWebhookLogsCall(pageSize, skip, sort, status, webhookId, applicationId, campaignId, requestUuid, createdBefore, createdAfter, _callback); @@ -15975,7 +15975,7 @@ private okhttp3.Call getWebhookLogsValidateBeforeCall(Integer pageSize, Integer /** * List webhook log entries * Retrieve all webhook log entries. - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param status Filter results by HTTP status codes. (optional) @@ -15993,7 +15993,7 @@ private okhttp3.Call getWebhookLogsValidateBeforeCall(Integer pageSize, Integer 200 OK - */ - public InlineResponse20041 getWebhookLogs(Integer pageSize, Integer skip, String sort, String status, BigDecimal webhookId, BigDecimal applicationId, BigDecimal campaignId, String requestUuid, OffsetDateTime createdBefore, OffsetDateTime createdAfter) throws ApiException { + public InlineResponse20041 getWebhookLogs(Long pageSize, Long skip, String sort, String status, BigDecimal webhookId, BigDecimal applicationId, BigDecimal campaignId, String requestUuid, OffsetDateTime createdBefore, OffsetDateTime createdAfter) throws ApiException { ApiResponse localVarResp = getWebhookLogsWithHttpInfo(pageSize, skip, sort, status, webhookId, applicationId, campaignId, requestUuid, createdBefore, createdAfter); return localVarResp.getData(); } @@ -16001,7 +16001,7 @@ public InlineResponse20041 getWebhookLogs(Integer pageSize, Integer skip, String /** * List webhook log entries * Retrieve all webhook log entries. - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param status Filter results by HTTP status codes. (optional) @@ -16019,7 +16019,7 @@ public InlineResponse20041 getWebhookLogs(Integer pageSize, Integer skip, String 200 OK - */ - public ApiResponse getWebhookLogsWithHttpInfo(Integer pageSize, Integer skip, String sort, String status, BigDecimal webhookId, BigDecimal applicationId, BigDecimal campaignId, String requestUuid, OffsetDateTime createdBefore, OffsetDateTime createdAfter) throws ApiException { + public ApiResponse getWebhookLogsWithHttpInfo(Long pageSize, Long skip, String sort, String status, BigDecimal webhookId, BigDecimal applicationId, BigDecimal campaignId, String requestUuid, OffsetDateTime createdBefore, OffsetDateTime createdAfter) throws ApiException { okhttp3.Call localVarCall = getWebhookLogsValidateBeforeCall(pageSize, skip, sort, status, webhookId, applicationId, campaignId, requestUuid, createdBefore, createdAfter, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -16028,7 +16028,7 @@ public ApiResponse getWebhookLogsWithHttpInfo(Integer pageS /** * List webhook log entries (asynchronously) * Retrieve all webhook log entries. - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param status Filter results by HTTP status codes. (optional) @@ -16047,7 +16047,7 @@ public ApiResponse getWebhookLogsWithHttpInfo(Integer pageS 200 OK - */ - public okhttp3.Call getWebhookLogsAsync(Integer pageSize, Integer skip, String sort, String status, BigDecimal webhookId, BigDecimal applicationId, BigDecimal campaignId, String requestUuid, OffsetDateTime createdBefore, OffsetDateTime createdAfter, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getWebhookLogsAsync(Long pageSize, Long skip, String sort, String status, BigDecimal webhookId, BigDecimal applicationId, BigDecimal campaignId, String requestUuid, OffsetDateTime createdBefore, OffsetDateTime createdAfter, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getWebhookLogsValidateBeforeCall(pageSize, skip, sort, status, webhookId, applicationId, campaignId, requestUuid, createdBefore, createdAfter, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -16058,7 +16058,7 @@ public okhttp3.Call getWebhookLogsAsync(Integer pageSize, Integer skip, String s * Build call for getWebhooks * @param applicationIds Checks if the given catalog or its attributes are referenced in the specified Application ID. **Note**: If no Application ID is provided, we check for all connected Applications. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param creationType Filter results by creation type. (optional) * @param visibility Filter results by visibility. (optional) @@ -16073,7 +16073,7 @@ public okhttp3.Call getWebhookLogsAsync(Integer pageSize, Integer skip, String s 200 OK - */ - public okhttp3.Call getWebhooksCall(String applicationIds, String sort, Integer pageSize, Integer skip, String creationType, String visibility, Integer outgoingIntegrationsTypeId, String title, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getWebhooksCall(String applicationIds, String sort, Long pageSize, Long skip, String creationType, String visibility, Long outgoingIntegrationsTypeId, String title, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -16135,7 +16135,7 @@ public okhttp3.Call getWebhooksCall(String applicationIds, String sort, Integer } @SuppressWarnings("rawtypes") - private okhttp3.Call getWebhooksValidateBeforeCall(String applicationIds, String sort, Integer pageSize, Integer skip, String creationType, String visibility, Integer outgoingIntegrationsTypeId, String title, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getWebhooksValidateBeforeCall(String applicationIds, String sort, Long pageSize, Long skip, String creationType, String visibility, Long outgoingIntegrationsTypeId, String title, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getWebhooksCall(applicationIds, sort, pageSize, skip, creationType, visibility, outgoingIntegrationsTypeId, title, _callback); @@ -16148,7 +16148,7 @@ private okhttp3.Call getWebhooksValidateBeforeCall(String applicationIds, String * List all webhooks. * @param applicationIds Checks if the given catalog or its attributes are referenced in the specified Application ID. **Note**: If no Application ID is provided, we check for all connected Applications. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param creationType Filter results by creation type. (optional) * @param visibility Filter results by visibility. (optional) @@ -16162,7 +16162,7 @@ private okhttp3.Call getWebhooksValidateBeforeCall(String applicationIds, String 200 OK - */ - public InlineResponse20039 getWebhooks(String applicationIds, String sort, Integer pageSize, Integer skip, String creationType, String visibility, Integer outgoingIntegrationsTypeId, String title) throws ApiException { + public InlineResponse20039 getWebhooks(String applicationIds, String sort, Long pageSize, Long skip, String creationType, String visibility, Long outgoingIntegrationsTypeId, String title) throws ApiException { ApiResponse localVarResp = getWebhooksWithHttpInfo(applicationIds, sort, pageSize, skip, creationType, visibility, outgoingIntegrationsTypeId, title); return localVarResp.getData(); } @@ -16172,7 +16172,7 @@ public InlineResponse20039 getWebhooks(String applicationIds, String sort, Integ * List all webhooks. * @param applicationIds Checks if the given catalog or its attributes are referenced in the specified Application ID. **Note**: If no Application ID is provided, we check for all connected Applications. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param creationType Filter results by creation type. (optional) * @param visibility Filter results by visibility. (optional) @@ -16186,7 +16186,7 @@ public InlineResponse20039 getWebhooks(String applicationIds, String sort, Integ 200 OK - */ - public ApiResponse getWebhooksWithHttpInfo(String applicationIds, String sort, Integer pageSize, Integer skip, String creationType, String visibility, Integer outgoingIntegrationsTypeId, String title) throws ApiException { + public ApiResponse getWebhooksWithHttpInfo(String applicationIds, String sort, Long pageSize, Long skip, String creationType, String visibility, Long outgoingIntegrationsTypeId, String title) throws ApiException { okhttp3.Call localVarCall = getWebhooksValidateBeforeCall(applicationIds, sort, pageSize, skip, creationType, visibility, outgoingIntegrationsTypeId, title, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -16197,7 +16197,7 @@ public ApiResponse getWebhooksWithHttpInfo(String applicati * List all webhooks. * @param applicationIds Checks if the given catalog or its attributes are referenced in the specified Application ID. **Note**: If no Application ID is provided, we check for all connected Applications. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param creationType Filter results by creation type. (optional) * @param visibility Filter results by visibility. (optional) @@ -16212,7 +16212,7 @@ public ApiResponse getWebhooksWithHttpInfo(String applicati 200 OK - */ - public okhttp3.Call getWebhooksAsync(String applicationIds, String sort, Integer pageSize, Integer skip, String creationType, String visibility, Integer outgoingIntegrationsTypeId, String title, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getWebhooksAsync(String applicationIds, String sort, Long pageSize, Long skip, String creationType, String visibility, Long outgoingIntegrationsTypeId, String title, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getWebhooksValidateBeforeCall(applicationIds, sort, pageSize, skip, creationType, visibility, outgoingIntegrationsTypeId, title, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -16234,7 +16234,7 @@ public okhttp3.Call getWebhooksAsync(String applicationIds, String sort, Integer 401 Unauthorized - */ - public okhttp3.Call importAccountCollectionCall(Integer collectionId, String upFile, final ApiCallback _callback) throws ApiException { + public okhttp3.Call importAccountCollectionCall(Long collectionId, String upFile, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -16269,7 +16269,7 @@ public okhttp3.Call importAccountCollectionCall(Integer collectionId, String upF } @SuppressWarnings("rawtypes") - private okhttp3.Call importAccountCollectionValidateBeforeCall(Integer collectionId, String upFile, final ApiCallback _callback) throws ApiException { + private okhttp3.Call importAccountCollectionValidateBeforeCall(Long collectionId, String upFile, final ApiCallback _callback) throws ApiException { // verify the required parameter 'collectionId' is set if (collectionId == null) { @@ -16297,7 +16297,7 @@ private okhttp3.Call importAccountCollectionValidateBeforeCall(Integer collectio 401 Unauthorized - */ - public ModelImport importAccountCollection(Integer collectionId, String upFile) throws ApiException { + public ModelImport importAccountCollection(Long collectionId, String upFile) throws ApiException { ApiResponse localVarResp = importAccountCollectionWithHttpInfo(collectionId, upFile); return localVarResp.getData(); } @@ -16317,7 +16317,7 @@ public ModelImport importAccountCollection(Integer collectionId, String upFile) 401 Unauthorized - */ - public ApiResponse importAccountCollectionWithHttpInfo(Integer collectionId, String upFile) throws ApiException { + public ApiResponse importAccountCollectionWithHttpInfo(Long collectionId, String upFile) throws ApiException { okhttp3.Call localVarCall = importAccountCollectionValidateBeforeCall(collectionId, upFile, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -16339,7 +16339,7 @@ public ApiResponse importAccountCollectionWithHttpInfo(Integer coll 401 Unauthorized - */ - public okhttp3.Call importAccountCollectionAsync(Integer collectionId, String upFile, final ApiCallback _callback) throws ApiException { + public okhttp3.Call importAccountCollectionAsync(Long collectionId, String upFile, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = importAccountCollectionValidateBeforeCall(collectionId, upFile, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -16362,7 +16362,7 @@ public okhttp3.Call importAccountCollectionAsync(Integer collectionId, String up 404 Not found - */ - public okhttp3.Call importAllowedListCall(Integer attributeId, String upFile, final ApiCallback _callback) throws ApiException { + public okhttp3.Call importAllowedListCall(Long attributeId, String upFile, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -16397,7 +16397,7 @@ public okhttp3.Call importAllowedListCall(Integer attributeId, String upFile, fi } @SuppressWarnings("rawtypes") - private okhttp3.Call importAllowedListValidateBeforeCall(Integer attributeId, String upFile, final ApiCallback _callback) throws ApiException { + private okhttp3.Call importAllowedListValidateBeforeCall(Long attributeId, String upFile, final ApiCallback _callback) throws ApiException { // verify the required parameter 'attributeId' is set if (attributeId == null) { @@ -16426,7 +16426,7 @@ private okhttp3.Call importAllowedListValidateBeforeCall(Integer attributeId, St 404 Not found - */ - public ModelImport importAllowedList(Integer attributeId, String upFile) throws ApiException { + public ModelImport importAllowedList(Long attributeId, String upFile) throws ApiException { ApiResponse localVarResp = importAllowedListWithHttpInfo(attributeId, upFile); return localVarResp.getData(); } @@ -16447,7 +16447,7 @@ public ModelImport importAllowedList(Integer attributeId, String upFile) throws 404 Not found - */ - public ApiResponse importAllowedListWithHttpInfo(Integer attributeId, String upFile) throws ApiException { + public ApiResponse importAllowedListWithHttpInfo(Long attributeId, String upFile) throws ApiException { okhttp3.Call localVarCall = importAllowedListValidateBeforeCall(attributeId, upFile, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -16470,7 +16470,7 @@ public ApiResponse importAllowedListWithHttpInfo(Integer attributeI 404 Not found - */ - public okhttp3.Call importAllowedListAsync(Integer attributeId, String upFile, final ApiCallback _callback) throws ApiException { + public okhttp3.Call importAllowedListAsync(Long attributeId, String upFile, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = importAllowedListValidateBeforeCall(attributeId, upFile, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -16493,7 +16493,7 @@ public okhttp3.Call importAllowedListAsync(Integer attributeId, String upFile, f 404 Not found - */ - public okhttp3.Call importAudiencesMembershipsCall(Integer audienceId, String upFile, final ApiCallback _callback) throws ApiException { + public okhttp3.Call importAudiencesMembershipsCall(Long audienceId, String upFile, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -16528,7 +16528,7 @@ public okhttp3.Call importAudiencesMembershipsCall(Integer audienceId, String up } @SuppressWarnings("rawtypes") - private okhttp3.Call importAudiencesMembershipsValidateBeforeCall(Integer audienceId, String upFile, final ApiCallback _callback) throws ApiException { + private okhttp3.Call importAudiencesMembershipsValidateBeforeCall(Long audienceId, String upFile, final ApiCallback _callback) throws ApiException { // verify the required parameter 'audienceId' is set if (audienceId == null) { @@ -16557,7 +16557,7 @@ private okhttp3.Call importAudiencesMembershipsValidateBeforeCall(Integer audien 404 Not found - */ - public ModelImport importAudiencesMemberships(Integer audienceId, String upFile) throws ApiException { + public ModelImport importAudiencesMemberships(Long audienceId, String upFile) throws ApiException { ApiResponse localVarResp = importAudiencesMembershipsWithHttpInfo(audienceId, upFile); return localVarResp.getData(); } @@ -16578,7 +16578,7 @@ public ModelImport importAudiencesMemberships(Integer audienceId, String upFile) 404 Not found - */ - public ApiResponse importAudiencesMembershipsWithHttpInfo(Integer audienceId, String upFile) throws ApiException { + public ApiResponse importAudiencesMembershipsWithHttpInfo(Long audienceId, String upFile) throws ApiException { okhttp3.Call localVarCall = importAudiencesMembershipsValidateBeforeCall(audienceId, upFile, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -16601,7 +16601,7 @@ public ApiResponse importAudiencesMembershipsWithHttpInfo(Integer a 404 Not found - */ - public okhttp3.Call importAudiencesMembershipsAsync(Integer audienceId, String upFile, final ApiCallback _callback) throws ApiException { + public okhttp3.Call importAudiencesMembershipsAsync(Long audienceId, String upFile, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = importAudiencesMembershipsValidateBeforeCall(audienceId, upFile, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -16625,7 +16625,7 @@ public okhttp3.Call importAudiencesMembershipsAsync(Integer audienceId, String u 404 Not found - */ - public okhttp3.Call importCampaignStoresCall(Integer applicationId, Integer campaignId, String upFile, final ApiCallback _callback) throws ApiException { + public okhttp3.Call importCampaignStoresCall(Long applicationId, Long campaignId, String upFile, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -16661,7 +16661,7 @@ public okhttp3.Call importCampaignStoresCall(Integer applicationId, Integer camp } @SuppressWarnings("rawtypes") - private okhttp3.Call importCampaignStoresValidateBeforeCall(Integer applicationId, Integer campaignId, String upFile, final ApiCallback _callback) throws ApiException { + private okhttp3.Call importCampaignStoresValidateBeforeCall(Long applicationId, Long campaignId, String upFile, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -16696,7 +16696,7 @@ private okhttp3.Call importCampaignStoresValidateBeforeCall(Integer applicationI 404 Not found - */ - public ModelImport importCampaignStores(Integer applicationId, Integer campaignId, String upFile) throws ApiException { + public ModelImport importCampaignStores(Long applicationId, Long campaignId, String upFile) throws ApiException { ApiResponse localVarResp = importCampaignStoresWithHttpInfo(applicationId, campaignId, upFile); return localVarResp.getData(); } @@ -16718,7 +16718,7 @@ public ModelImport importCampaignStores(Integer applicationId, Integer campaignI 404 Not found - */ - public ApiResponse importCampaignStoresWithHttpInfo(Integer applicationId, Integer campaignId, String upFile) throws ApiException { + public ApiResponse importCampaignStoresWithHttpInfo(Long applicationId, Long campaignId, String upFile) throws ApiException { okhttp3.Call localVarCall = importCampaignStoresValidateBeforeCall(applicationId, campaignId, upFile, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -16742,7 +16742,7 @@ public ApiResponse importCampaignStoresWithHttpInfo(Integer applica 404 Not found - */ - public okhttp3.Call importCampaignStoresAsync(Integer applicationId, Integer campaignId, String upFile, final ApiCallback _callback) throws ApiException { + public okhttp3.Call importCampaignStoresAsync(Long applicationId, Long campaignId, String upFile, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = importCampaignStoresValidateBeforeCall(applicationId, campaignId, upFile, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -16765,7 +16765,7 @@ public okhttp3.Call importCampaignStoresAsync(Integer applicationId, Integer cam 401 Unauthorized - */ - public okhttp3.Call importCollectionCall(Integer applicationId, Integer campaignId, Integer collectionId, String upFile, final ApiCallback _callback) throws ApiException { + public okhttp3.Call importCollectionCall(Long applicationId, Long campaignId, Long collectionId, String upFile, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -16802,7 +16802,7 @@ public okhttp3.Call importCollectionCall(Integer applicationId, Integer campaign } @SuppressWarnings("rawtypes") - private okhttp3.Call importCollectionValidateBeforeCall(Integer applicationId, Integer campaignId, Integer collectionId, String upFile, final ApiCallback _callback) throws ApiException { + private okhttp3.Call importCollectionValidateBeforeCall(Long applicationId, Long campaignId, Long collectionId, String upFile, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -16841,7 +16841,7 @@ private okhttp3.Call importCollectionValidateBeforeCall(Integer applicationId, I 401 Unauthorized - */ - public ModelImport importCollection(Integer applicationId, Integer campaignId, Integer collectionId, String upFile) throws ApiException { + public ModelImport importCollection(Long applicationId, Long campaignId, Long collectionId, String upFile) throws ApiException { ApiResponse localVarResp = importCollectionWithHttpInfo(applicationId, campaignId, collectionId, upFile); return localVarResp.getData(); } @@ -16862,7 +16862,7 @@ public ModelImport importCollection(Integer applicationId, Integer campaignId, I 401 Unauthorized - */ - public ApiResponse importCollectionWithHttpInfo(Integer applicationId, Integer campaignId, Integer collectionId, String upFile) throws ApiException { + public ApiResponse importCollectionWithHttpInfo(Long applicationId, Long campaignId, Long collectionId, String upFile) throws ApiException { okhttp3.Call localVarCall = importCollectionValidateBeforeCall(applicationId, campaignId, collectionId, upFile, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -16885,7 +16885,7 @@ public ApiResponse importCollectionWithHttpInfo(Integer application 401 Unauthorized - */ - public okhttp3.Call importCollectionAsync(Integer applicationId, Integer campaignId, Integer collectionId, String upFile, final ApiCallback _callback) throws ApiException { + public okhttp3.Call importCollectionAsync(Long applicationId, Long campaignId, Long collectionId, String upFile, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = importCollectionValidateBeforeCall(applicationId, campaignId, collectionId, upFile, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -16907,7 +16907,7 @@ public okhttp3.Call importCollectionAsync(Integer applicationId, Integer campaig 200 OK - */ - public okhttp3.Call importCouponsCall(Integer applicationId, Integer campaignId, Boolean skipDuplicates, String upFile, final ApiCallback _callback) throws ApiException { + public okhttp3.Call importCouponsCall(Long applicationId, Long campaignId, Boolean skipDuplicates, String upFile, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -16947,7 +16947,7 @@ public okhttp3.Call importCouponsCall(Integer applicationId, Integer campaignId, } @SuppressWarnings("rawtypes") - private okhttp3.Call importCouponsValidateBeforeCall(Integer applicationId, Integer campaignId, Boolean skipDuplicates, String upFile, final ApiCallback _callback) throws ApiException { + private okhttp3.Call importCouponsValidateBeforeCall(Long applicationId, Long campaignId, Boolean skipDuplicates, String upFile, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -16980,7 +16980,7 @@ private okhttp3.Call importCouponsValidateBeforeCall(Integer applicationId, Inte 200 OK - */ - public ModelImport importCoupons(Integer applicationId, Integer campaignId, Boolean skipDuplicates, String upFile) throws ApiException { + public ModelImport importCoupons(Long applicationId, Long campaignId, Boolean skipDuplicates, String upFile) throws ApiException { ApiResponse localVarResp = importCouponsWithHttpInfo(applicationId, campaignId, skipDuplicates, upFile); return localVarResp.getData(); } @@ -17000,7 +17000,7 @@ public ModelImport importCoupons(Integer applicationId, Integer campaignId, Bool 200 OK - */ - public ApiResponse importCouponsWithHttpInfo(Integer applicationId, Integer campaignId, Boolean skipDuplicates, String upFile) throws ApiException { + public ApiResponse importCouponsWithHttpInfo(Long applicationId, Long campaignId, Boolean skipDuplicates, String upFile) throws ApiException { okhttp3.Call localVarCall = importCouponsValidateBeforeCall(applicationId, campaignId, skipDuplicates, upFile, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -17022,7 +17022,7 @@ public ApiResponse importCouponsWithHttpInfo(Integer applicationId, 200 OK - */ - public okhttp3.Call importCouponsAsync(Integer applicationId, Integer campaignId, Boolean skipDuplicates, String upFile, final ApiCallback _callback) throws ApiException { + public okhttp3.Call importCouponsAsync(Long applicationId, Long campaignId, Boolean skipDuplicates, String upFile, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = importCouponsValidateBeforeCall(applicationId, campaignId, skipDuplicates, upFile, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -17044,7 +17044,7 @@ public okhttp3.Call importCouponsAsync(Integer applicationId, Integer campaignId 404 Not found - */ - public okhttp3.Call importLoyaltyCardsCall(Integer loyaltyProgramId, String upFile, final ApiCallback _callback) throws ApiException { + public okhttp3.Call importLoyaltyCardsCall(Long loyaltyProgramId, String upFile, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -17079,7 +17079,7 @@ public okhttp3.Call importLoyaltyCardsCall(Integer loyaltyProgramId, String upFi } @SuppressWarnings("rawtypes") - private okhttp3.Call importLoyaltyCardsValidateBeforeCall(Integer loyaltyProgramId, String upFile, final ApiCallback _callback) throws ApiException { + private okhttp3.Call importLoyaltyCardsValidateBeforeCall(Long loyaltyProgramId, String upFile, final ApiCallback _callback) throws ApiException { // verify the required parameter 'loyaltyProgramId' is set if (loyaltyProgramId == null) { @@ -17107,7 +17107,7 @@ private okhttp3.Call importLoyaltyCardsValidateBeforeCall(Integer loyaltyProgram 404 Not found - */ - public ModelImport importLoyaltyCards(Integer loyaltyProgramId, String upFile) throws ApiException { + public ModelImport importLoyaltyCards(Long loyaltyProgramId, String upFile) throws ApiException { ApiResponse localVarResp = importLoyaltyCardsWithHttpInfo(loyaltyProgramId, upFile); return localVarResp.getData(); } @@ -17127,7 +17127,7 @@ public ModelImport importLoyaltyCards(Integer loyaltyProgramId, String upFile) t 404 Not found - */ - public ApiResponse importLoyaltyCardsWithHttpInfo(Integer loyaltyProgramId, String upFile) throws ApiException { + public ApiResponse importLoyaltyCardsWithHttpInfo(Long loyaltyProgramId, String upFile) throws ApiException { okhttp3.Call localVarCall = importLoyaltyCardsValidateBeforeCall(loyaltyProgramId, upFile, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -17149,7 +17149,7 @@ public ApiResponse importLoyaltyCardsWithHttpInfo(Integer loyaltyPr 404 Not found - */ - public okhttp3.Call importLoyaltyCardsAsync(Integer loyaltyProgramId, String upFile, final ApiCallback _callback) throws ApiException { + public okhttp3.Call importLoyaltyCardsAsync(Long loyaltyProgramId, String upFile, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = importLoyaltyCardsValidateBeforeCall(loyaltyProgramId, upFile, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -17172,7 +17172,7 @@ public okhttp3.Call importLoyaltyCardsAsync(Integer loyaltyProgramId, String upF 404 Not found - */ - public okhttp3.Call importLoyaltyCustomersTiersCall(Integer loyaltyProgramId, String upFile, final ApiCallback _callback) throws ApiException { + public okhttp3.Call importLoyaltyCustomersTiersCall(Long loyaltyProgramId, String upFile, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -17207,7 +17207,7 @@ public okhttp3.Call importLoyaltyCustomersTiersCall(Integer loyaltyProgramId, St } @SuppressWarnings("rawtypes") - private okhttp3.Call importLoyaltyCustomersTiersValidateBeforeCall(Integer loyaltyProgramId, String upFile, final ApiCallback _callback) throws ApiException { + private okhttp3.Call importLoyaltyCustomersTiersValidateBeforeCall(Long loyaltyProgramId, String upFile, final ApiCallback _callback) throws ApiException { // verify the required parameter 'loyaltyProgramId' is set if (loyaltyProgramId == null) { @@ -17236,7 +17236,7 @@ private okhttp3.Call importLoyaltyCustomersTiersValidateBeforeCall(Integer loyal 404 Not found - */ - public ModelImport importLoyaltyCustomersTiers(Integer loyaltyProgramId, String upFile) throws ApiException { + public ModelImport importLoyaltyCustomersTiers(Long loyaltyProgramId, String upFile) throws ApiException { ApiResponse localVarResp = importLoyaltyCustomersTiersWithHttpInfo(loyaltyProgramId, upFile); return localVarResp.getData(); } @@ -17257,7 +17257,7 @@ public ModelImport importLoyaltyCustomersTiers(Integer loyaltyProgramId, String 404 Not found - */ - public ApiResponse importLoyaltyCustomersTiersWithHttpInfo(Integer loyaltyProgramId, String upFile) throws ApiException { + public ApiResponse importLoyaltyCustomersTiersWithHttpInfo(Long loyaltyProgramId, String upFile) throws ApiException { okhttp3.Call localVarCall = importLoyaltyCustomersTiersValidateBeforeCall(loyaltyProgramId, upFile, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -17280,7 +17280,7 @@ public ApiResponse importLoyaltyCustomersTiersWithHttpInfo(Integer 404 Not found - */ - public okhttp3.Call importLoyaltyCustomersTiersAsync(Integer loyaltyProgramId, String upFile, final ApiCallback _callback) throws ApiException { + public okhttp3.Call importLoyaltyCustomersTiersAsync(Long loyaltyProgramId, String upFile, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = importLoyaltyCustomersTiersValidateBeforeCall(loyaltyProgramId, upFile, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -17300,7 +17300,7 @@ public okhttp3.Call importLoyaltyCustomersTiersAsync(Integer loyaltyProgramId, S 200 OK - */ - public okhttp3.Call importLoyaltyPointsCall(Integer loyaltyProgramId, String upFile, final ApiCallback _callback) throws ApiException { + public okhttp3.Call importLoyaltyPointsCall(Long loyaltyProgramId, String upFile, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -17335,7 +17335,7 @@ public okhttp3.Call importLoyaltyPointsCall(Integer loyaltyProgramId, String upF } @SuppressWarnings("rawtypes") - private okhttp3.Call importLoyaltyPointsValidateBeforeCall(Integer loyaltyProgramId, String upFile, final ApiCallback _callback) throws ApiException { + private okhttp3.Call importLoyaltyPointsValidateBeforeCall(Long loyaltyProgramId, String upFile, final ApiCallback _callback) throws ApiException { // verify the required parameter 'loyaltyProgramId' is set if (loyaltyProgramId == null) { @@ -17361,7 +17361,7 @@ private okhttp3.Call importLoyaltyPointsValidateBeforeCall(Integer loyaltyProgra 200 OK - */ - public ModelImport importLoyaltyPoints(Integer loyaltyProgramId, String upFile) throws ApiException { + public ModelImport importLoyaltyPoints(Long loyaltyProgramId, String upFile) throws ApiException { ApiResponse localVarResp = importLoyaltyPointsWithHttpInfo(loyaltyProgramId, upFile); return localVarResp.getData(); } @@ -17379,7 +17379,7 @@ public ModelImport importLoyaltyPoints(Integer loyaltyProgramId, String upFile) 200 OK - */ - public ApiResponse importLoyaltyPointsWithHttpInfo(Integer loyaltyProgramId, String upFile) throws ApiException { + public ApiResponse importLoyaltyPointsWithHttpInfo(Long loyaltyProgramId, String upFile) throws ApiException { okhttp3.Call localVarCall = importLoyaltyPointsValidateBeforeCall(loyaltyProgramId, upFile, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -17399,7 +17399,7 @@ public ApiResponse importLoyaltyPointsWithHttpInfo(Integer loyaltyP 200 OK - */ - public okhttp3.Call importLoyaltyPointsAsync(Integer loyaltyProgramId, String upFile, final ApiCallback _callback) throws ApiException { + public okhttp3.Call importLoyaltyPointsAsync(Long loyaltyProgramId, String upFile, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = importLoyaltyPointsValidateBeforeCall(loyaltyProgramId, upFile, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -17419,7 +17419,7 @@ public okhttp3.Call importLoyaltyPointsAsync(Integer loyaltyProgramId, String up 200 OK - */ - public okhttp3.Call importPoolGiveawaysCall(Integer poolId, String upFile, final ApiCallback _callback) throws ApiException { + public okhttp3.Call importPoolGiveawaysCall(Long poolId, String upFile, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -17454,7 +17454,7 @@ public okhttp3.Call importPoolGiveawaysCall(Integer poolId, String upFile, final } @SuppressWarnings("rawtypes") - private okhttp3.Call importPoolGiveawaysValidateBeforeCall(Integer poolId, String upFile, final ApiCallback _callback) throws ApiException { + private okhttp3.Call importPoolGiveawaysValidateBeforeCall(Long poolId, String upFile, final ApiCallback _callback) throws ApiException { // verify the required parameter 'poolId' is set if (poolId == null) { @@ -17480,7 +17480,7 @@ private okhttp3.Call importPoolGiveawaysValidateBeforeCall(Integer poolId, Strin 200 OK - */ - public ModelImport importPoolGiveaways(Integer poolId, String upFile) throws ApiException { + public ModelImport importPoolGiveaways(Long poolId, String upFile) throws ApiException { ApiResponse localVarResp = importPoolGiveawaysWithHttpInfo(poolId, upFile); return localVarResp.getData(); } @@ -17498,7 +17498,7 @@ public ModelImport importPoolGiveaways(Integer poolId, String upFile) throws Api 200 OK - */ - public ApiResponse importPoolGiveawaysWithHttpInfo(Integer poolId, String upFile) throws ApiException { + public ApiResponse importPoolGiveawaysWithHttpInfo(Long poolId, String upFile) throws ApiException { okhttp3.Call localVarCall = importPoolGiveawaysValidateBeforeCall(poolId, upFile, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -17518,7 +17518,7 @@ public ApiResponse importPoolGiveawaysWithHttpInfo(Integer poolId, 200 OK - */ - public okhttp3.Call importPoolGiveawaysAsync(Integer poolId, String upFile, final ApiCallback _callback) throws ApiException { + public okhttp3.Call importPoolGiveawaysAsync(Long poolId, String upFile, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = importPoolGiveawaysValidateBeforeCall(poolId, upFile, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -17539,7 +17539,7 @@ public okhttp3.Call importPoolGiveawaysAsync(Integer poolId, String upFile, fina 200 OK - */ - public okhttp3.Call importReferralsCall(Integer applicationId, Integer campaignId, String upFile, final ApiCallback _callback) throws ApiException { + public okhttp3.Call importReferralsCall(Long applicationId, Long campaignId, String upFile, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -17575,7 +17575,7 @@ public okhttp3.Call importReferralsCall(Integer applicationId, Integer campaignI } @SuppressWarnings("rawtypes") - private okhttp3.Call importReferralsValidateBeforeCall(Integer applicationId, Integer campaignId, String upFile, final ApiCallback _callback) throws ApiException { + private okhttp3.Call importReferralsValidateBeforeCall(Long applicationId, Long campaignId, String upFile, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -17607,7 +17607,7 @@ private okhttp3.Call importReferralsValidateBeforeCall(Integer applicationId, In 200 OK - */ - public ModelImport importReferrals(Integer applicationId, Integer campaignId, String upFile) throws ApiException { + public ModelImport importReferrals(Long applicationId, Long campaignId, String upFile) throws ApiException { ApiResponse localVarResp = importReferralsWithHttpInfo(applicationId, campaignId, upFile); return localVarResp.getData(); } @@ -17626,7 +17626,7 @@ public ModelImport importReferrals(Integer applicationId, Integer campaignId, St 200 OK - */ - public ApiResponse importReferralsWithHttpInfo(Integer applicationId, Integer campaignId, String upFile) throws ApiException { + public ApiResponse importReferralsWithHttpInfo(Long applicationId, Long campaignId, String upFile) throws ApiException { okhttp3.Call localVarCall = importReferralsValidateBeforeCall(applicationId, campaignId, upFile, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -17647,7 +17647,7 @@ public ApiResponse importReferralsWithHttpInfo(Integer applicationI 200 OK - */ - public okhttp3.Call importReferralsAsync(Integer applicationId, Integer campaignId, String upFile, final ApiCallback _callback) throws ApiException { + public okhttp3.Call importReferralsAsync(Long applicationId, Long campaignId, String upFile, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = importReferralsValidateBeforeCall(applicationId, campaignId, upFile, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -17762,7 +17762,7 @@ public okhttp3.Call inviteUserExternalAsync(NewExternalInvitation body, final Ap } /** * Build call for listAccountCollections - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param withTotalResultSize When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. (optional) @@ -17779,7 +17779,7 @@ public okhttp3.Call inviteUserExternalAsync(NewExternalInvitation body, final Ap 404 Not found - */ - public okhttp3.Call listAccountCollectionsCall(Integer pageSize, Integer skip, String sort, Boolean withTotalResultSize, String name, final ApiCallback _callback) throws ApiException { + public okhttp3.Call listAccountCollectionsCall(Long pageSize, Long skip, String sort, Boolean withTotalResultSize, String name, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -17829,7 +17829,7 @@ public okhttp3.Call listAccountCollectionsCall(Integer pageSize, Integer skip, S } @SuppressWarnings("rawtypes") - private okhttp3.Call listAccountCollectionsValidateBeforeCall(Integer pageSize, Integer skip, String sort, Boolean withTotalResultSize, String name, final ApiCallback _callback) throws ApiException { + private okhttp3.Call listAccountCollectionsValidateBeforeCall(Long pageSize, Long skip, String sort, Boolean withTotalResultSize, String name, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = listAccountCollectionsCall(pageSize, skip, sort, withTotalResultSize, name, _callback); @@ -17840,7 +17840,7 @@ private okhttp3.Call listAccountCollectionsValidateBeforeCall(Integer pageSize, /** * List collections in account * List account-level collections in the account. - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param withTotalResultSize When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. (optional) @@ -17856,7 +17856,7 @@ private okhttp3.Call listAccountCollectionsValidateBeforeCall(Integer pageSize, 404 Not found - */ - public InlineResponse20020 listAccountCollections(Integer pageSize, Integer skip, String sort, Boolean withTotalResultSize, String name) throws ApiException { + public InlineResponse20020 listAccountCollections(Long pageSize, Long skip, String sort, Boolean withTotalResultSize, String name) throws ApiException { ApiResponse localVarResp = listAccountCollectionsWithHttpInfo(pageSize, skip, sort, withTotalResultSize, name); return localVarResp.getData(); } @@ -17864,7 +17864,7 @@ public InlineResponse20020 listAccountCollections(Integer pageSize, Integer skip /** * List collections in account * List account-level collections in the account. - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param withTotalResultSize When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. (optional) @@ -17880,7 +17880,7 @@ public InlineResponse20020 listAccountCollections(Integer pageSize, Integer skip 404 Not found - */ - public ApiResponse listAccountCollectionsWithHttpInfo(Integer pageSize, Integer skip, String sort, Boolean withTotalResultSize, String name) throws ApiException { + public ApiResponse listAccountCollectionsWithHttpInfo(Long pageSize, Long skip, String sort, Boolean withTotalResultSize, String name) throws ApiException { okhttp3.Call localVarCall = listAccountCollectionsValidateBeforeCall(pageSize, skip, sort, withTotalResultSize, name, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -17889,7 +17889,7 @@ public ApiResponse listAccountCollectionsWithHttpInfo(Integ /** * List collections in account (asynchronously) * List account-level collections in the account. - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param withTotalResultSize When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. (optional) @@ -17906,7 +17906,7 @@ public ApiResponse listAccountCollectionsWithHttpInfo(Integ 404 Not found - */ - public okhttp3.Call listAccountCollectionsAsync(Integer pageSize, Integer skip, String sort, Boolean withTotalResultSize, String name, final ApiCallback _callback) throws ApiException { + public okhttp3.Call listAccountCollectionsAsync(Long pageSize, Long skip, String sort, Boolean withTotalResultSize, String name, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = listAccountCollectionsValidateBeforeCall(pageSize, skip, sort, withTotalResultSize, name, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -17917,7 +17917,7 @@ public okhttp3.Call listAccountCollectionsAsync(Integer pageSize, Integer skip, * Build call for listAchievements * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 50) + * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param title Filter by the display name for the achievement in the campaign manager. **Note**: If no `title` is provided, all the achievements from the campaign are returned. (optional) * @param _callback Callback for upload/download progress @@ -17929,7 +17929,7 @@ public okhttp3.Call listAccountCollectionsAsync(Integer pageSize, Integer skip, 200 OK - */ - public okhttp3.Call listAchievementsCall(Integer applicationId, Integer campaignId, Integer pageSize, Integer skip, String title, final ApiCallback _callback) throws ApiException { + public okhttp3.Call listAchievementsCall(Long applicationId, Long campaignId, Long pageSize, Long skip, String title, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -17973,7 +17973,7 @@ public okhttp3.Call listAchievementsCall(Integer applicationId, Integer campaign } @SuppressWarnings("rawtypes") - private okhttp3.Call listAchievementsValidateBeforeCall(Integer applicationId, Integer campaignId, Integer pageSize, Integer skip, String title, final ApiCallback _callback) throws ApiException { + private okhttp3.Call listAchievementsValidateBeforeCall(Long applicationId, Long campaignId, Long pageSize, Long skip, String title, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -17996,7 +17996,7 @@ private okhttp3.Call listAchievementsValidateBeforeCall(Integer applicationId, I * List all the achievements for a specific campaign. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 50) + * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param title Filter by the display name for the achievement in the campaign manager. **Note**: If no `title` is provided, all the achievements from the campaign are returned. (optional) * @return InlineResponse20048 @@ -18007,7 +18007,7 @@ private okhttp3.Call listAchievementsValidateBeforeCall(Integer applicationId, I 200 OK - */ - public InlineResponse20048 listAchievements(Integer applicationId, Integer campaignId, Integer pageSize, Integer skip, String title) throws ApiException { + public InlineResponse20048 listAchievements(Long applicationId, Long campaignId, Long pageSize, Long skip, String title) throws ApiException { ApiResponse localVarResp = listAchievementsWithHttpInfo(applicationId, campaignId, pageSize, skip, title); return localVarResp.getData(); } @@ -18017,7 +18017,7 @@ public InlineResponse20048 listAchievements(Integer applicationId, Integer campa * List all the achievements for a specific campaign. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 50) + * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param title Filter by the display name for the achievement in the campaign manager. **Note**: If no `title` is provided, all the achievements from the campaign are returned. (optional) * @return ApiResponse<InlineResponse20048> @@ -18028,7 +18028,7 @@ public InlineResponse20048 listAchievements(Integer applicationId, Integer campa 200 OK - */ - public ApiResponse listAchievementsWithHttpInfo(Integer applicationId, Integer campaignId, Integer pageSize, Integer skip, String title) throws ApiException { + public ApiResponse listAchievementsWithHttpInfo(Long applicationId, Long campaignId, Long pageSize, Long skip, String title) throws ApiException { okhttp3.Call localVarCall = listAchievementsValidateBeforeCall(applicationId, campaignId, pageSize, skip, title, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -18039,7 +18039,7 @@ public ApiResponse listAchievementsWithHttpInfo(Integer app * List all the achievements for a specific campaign. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 50) + * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param title Filter by the display name for the achievement in the campaign manager. **Note**: If no `title` is provided, all the achievements from the campaign are returned. (optional) * @param _callback The callback to be executed when the API call finishes @@ -18051,7 +18051,7 @@ public ApiResponse listAchievementsWithHttpInfo(Integer app 200 OK - */ - public okhttp3.Call listAchievementsAsync(Integer applicationId, Integer campaignId, Integer pageSize, Integer skip, String title, final ApiCallback _callback) throws ApiException { + public okhttp3.Call listAchievementsAsync(Long applicationId, Long campaignId, Long pageSize, Long skip, String title, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = listAchievementsValidateBeforeCall(applicationId, campaignId, pageSize, skip, title, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -18162,7 +18162,7 @@ public okhttp3.Call listAllRolesV2Async(final ApiCallback _ /** * Build call for listCatalogItems * @param catalogId The ID of the catalog. You can find the ID in the Campaign Manager in **Account** > **Tools** > **Cart item catalogs**. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param withTotalResultSize When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. (optional) * @param sku Filter results by one or more SKUs. Must be exact match. (optional) @@ -18176,7 +18176,7 @@ public okhttp3.Call listAllRolesV2Async(final ApiCallback _ 200 OK - */ - public okhttp3.Call listCatalogItemsCall(Integer catalogId, Integer pageSize, Integer skip, Boolean withTotalResultSize, List sku, List productNames, final ApiCallback _callback) throws ApiException { + public okhttp3.Call listCatalogItemsCall(Long catalogId, Long pageSize, Long skip, Boolean withTotalResultSize, List sku, List productNames, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -18227,7 +18227,7 @@ public okhttp3.Call listCatalogItemsCall(Integer catalogId, Integer pageSize, In } @SuppressWarnings("rawtypes") - private okhttp3.Call listCatalogItemsValidateBeforeCall(Integer catalogId, Integer pageSize, Integer skip, Boolean withTotalResultSize, List sku, List productNames, final ApiCallback _callback) throws ApiException { + private okhttp3.Call listCatalogItemsValidateBeforeCall(Long catalogId, Long pageSize, Long skip, Boolean withTotalResultSize, List sku, List productNames, final ApiCallback _callback) throws ApiException { // verify the required parameter 'catalogId' is set if (catalogId == null) { @@ -18244,7 +18244,7 @@ private okhttp3.Call listCatalogItemsValidateBeforeCall(Integer catalogId, Integ * List items in a catalog * Return a paginated list of cart items in the given catalog. * @param catalogId The ID of the catalog. You can find the ID in the Campaign Manager in **Account** > **Tools** > **Cart item catalogs**. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param withTotalResultSize When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. (optional) * @param sku Filter results by one or more SKUs. Must be exact match. (optional) @@ -18257,7 +18257,7 @@ private okhttp3.Call listCatalogItemsValidateBeforeCall(Integer catalogId, Integ 200 OK - */ - public InlineResponse20037 listCatalogItems(Integer catalogId, Integer pageSize, Integer skip, Boolean withTotalResultSize, List sku, List productNames) throws ApiException { + public InlineResponse20037 listCatalogItems(Long catalogId, Long pageSize, Long skip, Boolean withTotalResultSize, List sku, List productNames) throws ApiException { ApiResponse localVarResp = listCatalogItemsWithHttpInfo(catalogId, pageSize, skip, withTotalResultSize, sku, productNames); return localVarResp.getData(); } @@ -18266,7 +18266,7 @@ public InlineResponse20037 listCatalogItems(Integer catalogId, Integer pageSize, * List items in a catalog * Return a paginated list of cart items in the given catalog. * @param catalogId The ID of the catalog. You can find the ID in the Campaign Manager in **Account** > **Tools** > **Cart item catalogs**. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param withTotalResultSize When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. (optional) * @param sku Filter results by one or more SKUs. Must be exact match. (optional) @@ -18279,7 +18279,7 @@ public InlineResponse20037 listCatalogItems(Integer catalogId, Integer pageSize, 200 OK - */ - public ApiResponse listCatalogItemsWithHttpInfo(Integer catalogId, Integer pageSize, Integer skip, Boolean withTotalResultSize, List sku, List productNames) throws ApiException { + public ApiResponse listCatalogItemsWithHttpInfo(Long catalogId, Long pageSize, Long skip, Boolean withTotalResultSize, List sku, List productNames) throws ApiException { okhttp3.Call localVarCall = listCatalogItemsValidateBeforeCall(catalogId, pageSize, skip, withTotalResultSize, sku, productNames, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -18289,7 +18289,7 @@ public ApiResponse listCatalogItemsWithHttpInfo(Integer cat * List items in a catalog (asynchronously) * Return a paginated list of cart items in the given catalog. * @param catalogId The ID of the catalog. You can find the ID in the Campaign Manager in **Account** > **Tools** > **Cart item catalogs**. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param withTotalResultSize When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. (optional) * @param sku Filter results by one or more SKUs. Must be exact match. (optional) @@ -18303,7 +18303,7 @@ public ApiResponse listCatalogItemsWithHttpInfo(Integer cat 200 OK - */ - public okhttp3.Call listCatalogItemsAsync(Integer catalogId, Integer pageSize, Integer skip, Boolean withTotalResultSize, List sku, List productNames, final ApiCallback _callback) throws ApiException { + public okhttp3.Call listCatalogItemsAsync(Long catalogId, Long pageSize, Long skip, Boolean withTotalResultSize, List sku, List productNames, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = listCatalogItemsValidateBeforeCall(catalogId, pageSize, skip, withTotalResultSize, sku, productNames, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -18314,7 +18314,7 @@ public okhttp3.Call listCatalogItemsAsync(Integer catalogId, Integer pageSize, I * Build call for listCollections * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param withTotalResultSize When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. (optional) @@ -18329,7 +18329,7 @@ public okhttp3.Call listCatalogItemsAsync(Integer catalogId, Integer pageSize, I 404 Not found - */ - public okhttp3.Call listCollectionsCall(Integer applicationId, Integer campaignId, Integer pageSize, Integer skip, String sort, Boolean withTotalResultSize, String name, final ApiCallback _callback) throws ApiException { + public okhttp3.Call listCollectionsCall(Long applicationId, Long campaignId, Long pageSize, Long skip, String sort, Boolean withTotalResultSize, String name, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -18381,7 +18381,7 @@ public okhttp3.Call listCollectionsCall(Integer applicationId, Integer campaignI } @SuppressWarnings("rawtypes") - private okhttp3.Call listCollectionsValidateBeforeCall(Integer applicationId, Integer campaignId, Integer pageSize, Integer skip, String sort, Boolean withTotalResultSize, String name, final ApiCallback _callback) throws ApiException { + private okhttp3.Call listCollectionsValidateBeforeCall(Long applicationId, Long campaignId, Long pageSize, Long skip, String sort, Boolean withTotalResultSize, String name, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -18404,7 +18404,7 @@ private okhttp3.Call listCollectionsValidateBeforeCall(Integer applicationId, In * List collections in a given campaign. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param withTotalResultSize When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. (optional) @@ -18418,7 +18418,7 @@ private okhttp3.Call listCollectionsValidateBeforeCall(Integer applicationId, In 404 Not found - */ - public InlineResponse20020 listCollections(Integer applicationId, Integer campaignId, Integer pageSize, Integer skip, String sort, Boolean withTotalResultSize, String name) throws ApiException { + public InlineResponse20020 listCollections(Long applicationId, Long campaignId, Long pageSize, Long skip, String sort, Boolean withTotalResultSize, String name) throws ApiException { ApiResponse localVarResp = listCollectionsWithHttpInfo(applicationId, campaignId, pageSize, skip, sort, withTotalResultSize, name); return localVarResp.getData(); } @@ -18428,7 +18428,7 @@ public InlineResponse20020 listCollections(Integer applicationId, Integer campai * List collections in a given campaign. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param withTotalResultSize When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. (optional) @@ -18442,7 +18442,7 @@ public InlineResponse20020 listCollections(Integer applicationId, Integer campai 404 Not found - */ - public ApiResponse listCollectionsWithHttpInfo(Integer applicationId, Integer campaignId, Integer pageSize, Integer skip, String sort, Boolean withTotalResultSize, String name) throws ApiException { + public ApiResponse listCollectionsWithHttpInfo(Long applicationId, Long campaignId, Long pageSize, Long skip, String sort, Boolean withTotalResultSize, String name) throws ApiException { okhttp3.Call localVarCall = listCollectionsValidateBeforeCall(applicationId, campaignId, pageSize, skip, sort, withTotalResultSize, name, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -18453,7 +18453,7 @@ public ApiResponse listCollectionsWithHttpInfo(Integer appl * List collections in a given campaign. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param withTotalResultSize When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. (optional) @@ -18468,7 +18468,7 @@ public ApiResponse listCollectionsWithHttpInfo(Integer appl 404 Not found - */ - public okhttp3.Call listCollectionsAsync(Integer applicationId, Integer campaignId, Integer pageSize, Integer skip, String sort, Boolean withTotalResultSize, String name, final ApiCallback _callback) throws ApiException { + public okhttp3.Call listCollectionsAsync(Long applicationId, Long campaignId, Long pageSize, Long skip, String sort, Boolean withTotalResultSize, String name, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = listCollectionsValidateBeforeCall(applicationId, campaignId, pageSize, skip, sort, withTotalResultSize, name, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -18478,7 +18478,7 @@ public okhttp3.Call listCollectionsAsync(Integer applicationId, Integer campaign /** * Build call for listCollectionsInApplication * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param withTotalResultSize When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. (optional) @@ -18493,7 +18493,7 @@ public okhttp3.Call listCollectionsAsync(Integer applicationId, Integer campaign 404 Not found - */ - public okhttp3.Call listCollectionsInApplicationCall(Integer applicationId, Integer pageSize, Integer skip, String sort, Boolean withTotalResultSize, String name, final ApiCallback _callback) throws ApiException { + public okhttp3.Call listCollectionsInApplicationCall(Long applicationId, Long pageSize, Long skip, String sort, Boolean withTotalResultSize, String name, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -18544,7 +18544,7 @@ public okhttp3.Call listCollectionsInApplicationCall(Integer applicationId, Inte } @SuppressWarnings("rawtypes") - private okhttp3.Call listCollectionsInApplicationValidateBeforeCall(Integer applicationId, Integer pageSize, Integer skip, String sort, Boolean withTotalResultSize, String name, final ApiCallback _callback) throws ApiException { + private okhttp3.Call listCollectionsInApplicationValidateBeforeCall(Long applicationId, Long pageSize, Long skip, String sort, Boolean withTotalResultSize, String name, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -18561,7 +18561,7 @@ private okhttp3.Call listCollectionsInApplicationValidateBeforeCall(Integer appl * List collections in Application * List campaign-level collections from all campaigns in a given Application. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param withTotalResultSize When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. (optional) @@ -18575,7 +18575,7 @@ private okhttp3.Call listCollectionsInApplicationValidateBeforeCall(Integer appl 404 Not found - */ - public InlineResponse20020 listCollectionsInApplication(Integer applicationId, Integer pageSize, Integer skip, String sort, Boolean withTotalResultSize, String name) throws ApiException { + public InlineResponse20020 listCollectionsInApplication(Long applicationId, Long pageSize, Long skip, String sort, Boolean withTotalResultSize, String name) throws ApiException { ApiResponse localVarResp = listCollectionsInApplicationWithHttpInfo(applicationId, pageSize, skip, sort, withTotalResultSize, name); return localVarResp.getData(); } @@ -18584,7 +18584,7 @@ public InlineResponse20020 listCollectionsInApplication(Integer applicationId, I * List collections in Application * List campaign-level collections from all campaigns in a given Application. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param withTotalResultSize When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. (optional) @@ -18598,7 +18598,7 @@ public InlineResponse20020 listCollectionsInApplication(Integer applicationId, I 404 Not found - */ - public ApiResponse listCollectionsInApplicationWithHttpInfo(Integer applicationId, Integer pageSize, Integer skip, String sort, Boolean withTotalResultSize, String name) throws ApiException { + public ApiResponse listCollectionsInApplicationWithHttpInfo(Long applicationId, Long pageSize, Long skip, String sort, Boolean withTotalResultSize, String name) throws ApiException { okhttp3.Call localVarCall = listCollectionsInApplicationValidateBeforeCall(applicationId, pageSize, skip, sort, withTotalResultSize, name, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -18608,7 +18608,7 @@ public ApiResponse listCollectionsInApplicationWithHttpInfo * List collections in Application (asynchronously) * List campaign-level collections from all campaigns in a given Application. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param withTotalResultSize When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. (optional) @@ -18623,7 +18623,7 @@ public ApiResponse listCollectionsInApplicationWithHttpInfo 404 Not found - */ - public okhttp3.Call listCollectionsInApplicationAsync(Integer applicationId, Integer pageSize, Integer skip, String sort, Boolean withTotalResultSize, String name, final ApiCallback _callback) throws ApiException { + public okhttp3.Call listCollectionsInApplicationAsync(Long applicationId, Long pageSize, Long skip, String sort, Boolean withTotalResultSize, String name, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = listCollectionsInApplicationValidateBeforeCall(applicationId, pageSize, skip, sort, withTotalResultSize, name, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -18633,7 +18633,7 @@ public okhttp3.Call listCollectionsInApplicationAsync(Integer applicationId, Int /** * Build call for listStores * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param withTotalResultSize When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. (optional) @@ -18650,7 +18650,7 @@ public okhttp3.Call listCollectionsInApplicationAsync(Integer applicationId, Int 200 OK - */ - public okhttp3.Call listStoresCall(Integer applicationId, Integer pageSize, Integer skip, String sort, Boolean withTotalResultSize, BigDecimal campaignId, String name, String integrationId, String query, final ApiCallback _callback) throws ApiException { + public okhttp3.Call listStoresCall(Long applicationId, Long pageSize, Long skip, String sort, Boolean withTotalResultSize, BigDecimal campaignId, String name, String integrationId, String query, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -18713,7 +18713,7 @@ public okhttp3.Call listStoresCall(Integer applicationId, Integer pageSize, Inte } @SuppressWarnings("rawtypes") - private okhttp3.Call listStoresValidateBeforeCall(Integer applicationId, Integer pageSize, Integer skip, String sort, Boolean withTotalResultSize, BigDecimal campaignId, String name, String integrationId, String query, final ApiCallback _callback) throws ApiException { + private okhttp3.Call listStoresValidateBeforeCall(Long applicationId, Long pageSize, Long skip, String sort, Boolean withTotalResultSize, BigDecimal campaignId, String name, String integrationId, String query, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -18730,7 +18730,7 @@ private okhttp3.Call listStoresValidateBeforeCall(Integer applicationId, Integer * List stores * List all stores for a specific Application. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param withTotalResultSize When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. (optional) @@ -18746,7 +18746,7 @@ private okhttp3.Call listStoresValidateBeforeCall(Integer applicationId, Integer 200 OK - */ - public InlineResponse20047 listStores(Integer applicationId, Integer pageSize, Integer skip, String sort, Boolean withTotalResultSize, BigDecimal campaignId, String name, String integrationId, String query) throws ApiException { + public InlineResponse20047 listStores(Long applicationId, Long pageSize, Long skip, String sort, Boolean withTotalResultSize, BigDecimal campaignId, String name, String integrationId, String query) throws ApiException { ApiResponse localVarResp = listStoresWithHttpInfo(applicationId, pageSize, skip, sort, withTotalResultSize, campaignId, name, integrationId, query); return localVarResp.getData(); } @@ -18755,7 +18755,7 @@ public InlineResponse20047 listStores(Integer applicationId, Integer pageSize, I * List stores * List all stores for a specific Application. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param withTotalResultSize When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. (optional) @@ -18771,7 +18771,7 @@ public InlineResponse20047 listStores(Integer applicationId, Integer pageSize, I 200 OK - */ - public ApiResponse listStoresWithHttpInfo(Integer applicationId, Integer pageSize, Integer skip, String sort, Boolean withTotalResultSize, BigDecimal campaignId, String name, String integrationId, String query) throws ApiException { + public ApiResponse listStoresWithHttpInfo(Long applicationId, Long pageSize, Long skip, String sort, Boolean withTotalResultSize, BigDecimal campaignId, String name, String integrationId, String query) throws ApiException { okhttp3.Call localVarCall = listStoresValidateBeforeCall(applicationId, pageSize, skip, sort, withTotalResultSize, campaignId, name, integrationId, query, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -18781,7 +18781,7 @@ public ApiResponse listStoresWithHttpInfo(Integer applicati * List stores (asynchronously) * List all stores for a specific Application. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param withTotalResultSize When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. (optional) @@ -18798,7 +18798,7 @@ public ApiResponse listStoresWithHttpInfo(Integer applicati 200 OK - */ - public okhttp3.Call listStoresAsync(Integer applicationId, Integer pageSize, Integer skip, String sort, Boolean withTotalResultSize, BigDecimal campaignId, String name, String integrationId, String query, final ApiCallback _callback) throws ApiException { + public okhttp3.Call listStoresAsync(Long applicationId, Long pageSize, Long skip, String sort, Boolean withTotalResultSize, BigDecimal campaignId, String name, String integrationId, String query, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = listStoresValidateBeforeCall(applicationId, pageSize, skip, sort, withTotalResultSize, campaignId, name, integrationId, query, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -19272,7 +19272,7 @@ public okhttp3.Call scimCreateUserAsync(ScimNewUser body, final ApiCallback 204 No Content - */ - public okhttp3.Call scimDeleteUserCall(Integer userId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call scimDeleteUserCall(Long userId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -19303,7 +19303,7 @@ public okhttp3.Call scimDeleteUserCall(Integer userId, final ApiCallback _callba } @SuppressWarnings("rawtypes") - private okhttp3.Call scimDeleteUserValidateBeforeCall(Integer userId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call scimDeleteUserValidateBeforeCall(Long userId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'userId' is set if (userId == null) { @@ -19327,7 +19327,7 @@ private okhttp3.Call scimDeleteUserValidateBeforeCall(Integer userId, final ApiC 204 No Content - */ - public void scimDeleteUser(Integer userId) throws ApiException { + public void scimDeleteUser(Long userId) throws ApiException { scimDeleteUserWithHttpInfo(userId); } @@ -19343,7 +19343,7 @@ public void scimDeleteUser(Integer userId) throws ApiException { 204 No Content - */ - public ApiResponse scimDeleteUserWithHttpInfo(Integer userId) throws ApiException { + public ApiResponse scimDeleteUserWithHttpInfo(Long userId) throws ApiException { okhttp3.Call localVarCall = scimDeleteUserValidateBeforeCall(userId, null); return localVarApiClient.execute(localVarCall); } @@ -19361,7 +19361,7 @@ public ApiResponse scimDeleteUserWithHttpInfo(Integer userId) throws ApiEx 204 No Content - */ - public okhttp3.Call scimDeleteUserAsync(Integer userId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call scimDeleteUserAsync(Long userId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = scimDeleteUserValidateBeforeCall(userId, _callback); localVarApiClient.executeAsync(localVarCall, _callback); @@ -19682,7 +19682,7 @@ public okhttp3.Call scimGetServiceProviderConfigAsync(final ApiCallback 200 User details - */ - public okhttp3.Call scimGetUserCall(Integer userId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call scimGetUserCall(Long userId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -19713,7 +19713,7 @@ public okhttp3.Call scimGetUserCall(Integer userId, final ApiCallback _callback) } @SuppressWarnings("rawtypes") - private okhttp3.Call scimGetUserValidateBeforeCall(Integer userId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call scimGetUserValidateBeforeCall(Long userId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'userId' is set if (userId == null) { @@ -19738,7 +19738,7 @@ private okhttp3.Call scimGetUserValidateBeforeCall(Integer userId, final ApiCall 200 User details - */ - public ScimUser scimGetUser(Integer userId) throws ApiException { + public ScimUser scimGetUser(Long userId) throws ApiException { ApiResponse localVarResp = scimGetUserWithHttpInfo(userId); return localVarResp.getData(); } @@ -19755,7 +19755,7 @@ public ScimUser scimGetUser(Integer userId) throws ApiException { 200 User details - */ - public ApiResponse scimGetUserWithHttpInfo(Integer userId) throws ApiException { + public ApiResponse scimGetUserWithHttpInfo(Long userId) throws ApiException { okhttp3.Call localVarCall = scimGetUserValidateBeforeCall(userId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -19774,7 +19774,7 @@ public ApiResponse scimGetUserWithHttpInfo(Integer userId) throws ApiE 200 User details - */ - public okhttp3.Call scimGetUserAsync(Integer userId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call scimGetUserAsync(Long userId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = scimGetUserValidateBeforeCall(userId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -19895,7 +19895,7 @@ public okhttp3.Call scimGetUsersAsync(final ApiCallback _ 200 User details - */ - public okhttp3.Call scimPatchUserCall(Integer userId, ScimPatchRequest body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call scimPatchUserCall(Long userId, ScimPatchRequest body, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -19926,7 +19926,7 @@ public okhttp3.Call scimPatchUserCall(Integer userId, ScimPatchRequest body, fin } @SuppressWarnings("rawtypes") - private okhttp3.Call scimPatchUserValidateBeforeCall(Integer userId, ScimPatchRequest body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call scimPatchUserValidateBeforeCall(Long userId, ScimPatchRequest body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'userId' is set if (userId == null) { @@ -19957,7 +19957,7 @@ private okhttp3.Call scimPatchUserValidateBeforeCall(Integer userId, ScimPatchRe 200 User details - */ - public ScimUser scimPatchUser(Integer userId, ScimPatchRequest body) throws ApiException { + public ScimUser scimPatchUser(Long userId, ScimPatchRequest body) throws ApiException { ApiResponse localVarResp = scimPatchUserWithHttpInfo(userId, body); return localVarResp.getData(); } @@ -19975,7 +19975,7 @@ public ScimUser scimPatchUser(Integer userId, ScimPatchRequest body) throws ApiE 200 User details - */ - public ApiResponse scimPatchUserWithHttpInfo(Integer userId, ScimPatchRequest body) throws ApiException { + public ApiResponse scimPatchUserWithHttpInfo(Long userId, ScimPatchRequest body) throws ApiException { okhttp3.Call localVarCall = scimPatchUserValidateBeforeCall(userId, body, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -19995,7 +19995,7 @@ public ApiResponse scimPatchUserWithHttpInfo(Integer userId, ScimPatch 200 User details - */ - public okhttp3.Call scimPatchUserAsync(Integer userId, ScimPatchRequest body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call scimPatchUserAsync(Long userId, ScimPatchRequest body, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = scimPatchUserValidateBeforeCall(userId, body, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -20015,7 +20015,7 @@ public okhttp3.Call scimPatchUserAsync(Integer userId, ScimPatchRequest body, fi 200 User details - */ - public okhttp3.Call scimReplaceUserAttributesCall(Integer userId, ScimNewUser body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call scimReplaceUserAttributesCall(Long userId, ScimNewUser body, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -20046,7 +20046,7 @@ public okhttp3.Call scimReplaceUserAttributesCall(Integer userId, ScimNewUser bo } @SuppressWarnings("rawtypes") - private okhttp3.Call scimReplaceUserAttributesValidateBeforeCall(Integer userId, ScimNewUser body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call scimReplaceUserAttributesValidateBeforeCall(Long userId, ScimNewUser body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'userId' is set if (userId == null) { @@ -20077,7 +20077,7 @@ private okhttp3.Call scimReplaceUserAttributesValidateBeforeCall(Integer userId, 200 User details - */ - public ScimUser scimReplaceUserAttributes(Integer userId, ScimNewUser body) throws ApiException { + public ScimUser scimReplaceUserAttributes(Long userId, ScimNewUser body) throws ApiException { ApiResponse localVarResp = scimReplaceUserAttributesWithHttpInfo(userId, body); return localVarResp.getData(); } @@ -20095,7 +20095,7 @@ public ScimUser scimReplaceUserAttributes(Integer userId, ScimNewUser body) thro 200 User details - */ - public ApiResponse scimReplaceUserAttributesWithHttpInfo(Integer userId, ScimNewUser body) throws ApiException { + public ApiResponse scimReplaceUserAttributesWithHttpInfo(Long userId, ScimNewUser body) throws ApiException { okhttp3.Call localVarCall = scimReplaceUserAttributesValidateBeforeCall(userId, body, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -20115,7 +20115,7 @@ public ApiResponse scimReplaceUserAttributesWithHttpInfo(Integer userI 200 User details - */ - public okhttp3.Call scimReplaceUserAttributesAsync(Integer userId, ScimNewUser body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call scimReplaceUserAttributesAsync(Long userId, ScimNewUser body, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = scimReplaceUserAttributesValidateBeforeCall(userId, body, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -20126,7 +20126,7 @@ public okhttp3.Call scimReplaceUserAttributesAsync(Integer userId, ScimNewUser b * Build call for searchCouponsAdvancedApplicationWideWithoutTotalCount * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param body body (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param value Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters. (optional) @@ -20148,7 +20148,7 @@ public okhttp3.Call scimReplaceUserAttributesAsync(Integer userId, ScimNewUser b 200 OK - */ - public okhttp3.Call searchCouponsAdvancedApplicationWideWithoutTotalCountCall(Integer applicationId, Object body, Integer pageSize, Integer skip, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, Integer referralId, String recipientIntegrationId, String batchId, Boolean exactMatch, String campaignState, final ApiCallback _callback) throws ApiException { + public okhttp3.Call searchCouponsAdvancedApplicationWideWithoutTotalCountCall(Long applicationId, Object body, Long pageSize, Long skip, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, Long referralId, String recipientIntegrationId, String batchId, Boolean exactMatch, String campaignState, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -20231,7 +20231,7 @@ public okhttp3.Call searchCouponsAdvancedApplicationWideWithoutTotalCountCall(In } @SuppressWarnings("rawtypes") - private okhttp3.Call searchCouponsAdvancedApplicationWideWithoutTotalCountValidateBeforeCall(Integer applicationId, Object body, Integer pageSize, Integer skip, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, Integer referralId, String recipientIntegrationId, String batchId, Boolean exactMatch, String campaignState, final ApiCallback _callback) throws ApiException { + private okhttp3.Call searchCouponsAdvancedApplicationWideWithoutTotalCountValidateBeforeCall(Long applicationId, Object body, Long pageSize, Long skip, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, Long referralId, String recipientIntegrationId, String batchId, Boolean exactMatch, String campaignState, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -20254,7 +20254,7 @@ private okhttp3.Call searchCouponsAdvancedApplicationWideWithoutTotalCountValida * List the coupons whose attributes match the query criteria in all the campaigns of the given Application. The match is successful if all the attributes of the request are found in a coupon, even if the coupon has more attributes that are not present on the request. **Note:** The total count is not included in the response. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param body body (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param value Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters. (optional) @@ -20275,7 +20275,7 @@ private okhttp3.Call searchCouponsAdvancedApplicationWideWithoutTotalCountValida 200 OK - */ - public InlineResponse20011 searchCouponsAdvancedApplicationWideWithoutTotalCount(Integer applicationId, Object body, Integer pageSize, Integer skip, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, Integer referralId, String recipientIntegrationId, String batchId, Boolean exactMatch, String campaignState) throws ApiException { + public InlineResponse20011 searchCouponsAdvancedApplicationWideWithoutTotalCount(Long applicationId, Object body, Long pageSize, Long skip, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, Long referralId, String recipientIntegrationId, String batchId, Boolean exactMatch, String campaignState) throws ApiException { ApiResponse localVarResp = searchCouponsAdvancedApplicationWideWithoutTotalCountWithHttpInfo(applicationId, body, pageSize, skip, sort, value, createdBefore, createdAfter, valid, usable, referralId, recipientIntegrationId, batchId, exactMatch, campaignState); return localVarResp.getData(); } @@ -20285,7 +20285,7 @@ public InlineResponse20011 searchCouponsAdvancedApplicationWideWithoutTotalCount * List the coupons whose attributes match the query criteria in all the campaigns of the given Application. The match is successful if all the attributes of the request are found in a coupon, even if the coupon has more attributes that are not present on the request. **Note:** The total count is not included in the response. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param body body (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param value Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters. (optional) @@ -20306,7 +20306,7 @@ public InlineResponse20011 searchCouponsAdvancedApplicationWideWithoutTotalCount 200 OK - */ - public ApiResponse searchCouponsAdvancedApplicationWideWithoutTotalCountWithHttpInfo(Integer applicationId, Object body, Integer pageSize, Integer skip, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, Integer referralId, String recipientIntegrationId, String batchId, Boolean exactMatch, String campaignState) throws ApiException { + public ApiResponse searchCouponsAdvancedApplicationWideWithoutTotalCountWithHttpInfo(Long applicationId, Object body, Long pageSize, Long skip, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, Long referralId, String recipientIntegrationId, String batchId, Boolean exactMatch, String campaignState) throws ApiException { okhttp3.Call localVarCall = searchCouponsAdvancedApplicationWideWithoutTotalCountValidateBeforeCall(applicationId, body, pageSize, skip, sort, value, createdBefore, createdAfter, valid, usable, referralId, recipientIntegrationId, batchId, exactMatch, campaignState, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -20317,7 +20317,7 @@ public ApiResponse searchCouponsAdvancedApplicationWideWith * List the coupons whose attributes match the query criteria in all the campaigns of the given Application. The match is successful if all the attributes of the request are found in a coupon, even if the coupon has more attributes that are not present on the request. **Note:** The total count is not included in the response. * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param body body (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param value Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters. (optional) @@ -20339,7 +20339,7 @@ public ApiResponse searchCouponsAdvancedApplicationWideWith 200 OK - */ - public okhttp3.Call searchCouponsAdvancedApplicationWideWithoutTotalCountAsync(Integer applicationId, Object body, Integer pageSize, Integer skip, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, Integer referralId, String recipientIntegrationId, String batchId, Boolean exactMatch, String campaignState, final ApiCallback _callback) throws ApiException { + public okhttp3.Call searchCouponsAdvancedApplicationWideWithoutTotalCountAsync(Long applicationId, Object body, Long pageSize, Long skip, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, Long referralId, String recipientIntegrationId, String batchId, Boolean exactMatch, String campaignState, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = searchCouponsAdvancedApplicationWideWithoutTotalCountValidateBeforeCall(applicationId, body, pageSize, skip, sort, value, createdBefore, createdAfter, valid, usable, referralId, recipientIntegrationId, batchId, exactMatch, campaignState, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -20351,7 +20351,7 @@ public okhttp3.Call searchCouponsAdvancedApplicationWideWithoutTotalCountAsync(I * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. (required) * @param body body (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param value Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters. (optional) @@ -20372,7 +20372,7 @@ public okhttp3.Call searchCouponsAdvancedApplicationWideWithoutTotalCountAsync(I 200 OK - */ - public okhttp3.Call searchCouponsAdvancedWithoutTotalCountCall(Integer applicationId, Integer campaignId, Object body, Integer pageSize, Integer skip, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, Integer referralId, String recipientIntegrationId, Boolean exactMatch, String batchId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call searchCouponsAdvancedWithoutTotalCountCall(Long applicationId, Long campaignId, Object body, Long pageSize, Long skip, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, Long referralId, String recipientIntegrationId, Boolean exactMatch, String batchId, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -20452,7 +20452,7 @@ public okhttp3.Call searchCouponsAdvancedWithoutTotalCountCall(Integer applicati } @SuppressWarnings("rawtypes") - private okhttp3.Call searchCouponsAdvancedWithoutTotalCountValidateBeforeCall(Integer applicationId, Integer campaignId, Object body, Integer pageSize, Integer skip, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, Integer referralId, String recipientIntegrationId, Boolean exactMatch, String batchId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call searchCouponsAdvancedWithoutTotalCountValidateBeforeCall(Long applicationId, Long campaignId, Object body, Long pageSize, Long skip, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, Long referralId, String recipientIntegrationId, Boolean exactMatch, String batchId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -20481,7 +20481,7 @@ private okhttp3.Call searchCouponsAdvancedWithoutTotalCountValidateBeforeCall(In * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. (required) * @param body body (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param value Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters. (optional) @@ -20501,7 +20501,7 @@ private okhttp3.Call searchCouponsAdvancedWithoutTotalCountValidateBeforeCall(In 200 OK - */ - public InlineResponse20011 searchCouponsAdvancedWithoutTotalCount(Integer applicationId, Integer campaignId, Object body, Integer pageSize, Integer skip, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, Integer referralId, String recipientIntegrationId, Boolean exactMatch, String batchId) throws ApiException { + public InlineResponse20011 searchCouponsAdvancedWithoutTotalCount(Long applicationId, Long campaignId, Object body, Long pageSize, Long skip, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, Long referralId, String recipientIntegrationId, Boolean exactMatch, String batchId) throws ApiException { ApiResponse localVarResp = searchCouponsAdvancedWithoutTotalCountWithHttpInfo(applicationId, campaignId, body, pageSize, skip, sort, value, createdBefore, createdAfter, valid, usable, referralId, recipientIntegrationId, exactMatch, batchId); return localVarResp.getData(); } @@ -20512,7 +20512,7 @@ public InlineResponse20011 searchCouponsAdvancedWithoutTotalCount(Integer applic * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. (required) * @param body body (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param value Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters. (optional) @@ -20532,7 +20532,7 @@ public InlineResponse20011 searchCouponsAdvancedWithoutTotalCount(Integer applic 200 OK - */ - public ApiResponse searchCouponsAdvancedWithoutTotalCountWithHttpInfo(Integer applicationId, Integer campaignId, Object body, Integer pageSize, Integer skip, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, Integer referralId, String recipientIntegrationId, Boolean exactMatch, String batchId) throws ApiException { + public ApiResponse searchCouponsAdvancedWithoutTotalCountWithHttpInfo(Long applicationId, Long campaignId, Object body, Long pageSize, Long skip, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, Long referralId, String recipientIntegrationId, Boolean exactMatch, String batchId) throws ApiException { okhttp3.Call localVarCall = searchCouponsAdvancedWithoutTotalCountValidateBeforeCall(applicationId, campaignId, body, pageSize, skip, sort, value, createdBefore, createdAfter, valid, usable, referralId, recipientIntegrationId, exactMatch, batchId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -20544,7 +20544,7 @@ public ApiResponse searchCouponsAdvancedWithoutTotalCountWi * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. (required) * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. (required) * @param body body (required) - * @param pageSize The number of items in the response. (optional, default to 1000) + * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. (optional) * @param value Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters. (optional) @@ -20565,7 +20565,7 @@ public ApiResponse searchCouponsAdvancedWithoutTotalCountWi 200 OK - */ - public okhttp3.Call searchCouponsAdvancedWithoutTotalCountAsync(Integer applicationId, Integer campaignId, Object body, Integer pageSize, Integer skip, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, Integer referralId, String recipientIntegrationId, Boolean exactMatch, String batchId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call searchCouponsAdvancedWithoutTotalCountAsync(Long applicationId, Long campaignId, Object body, Long pageSize, Long skip, String sort, String value, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String valid, String usable, Long referralId, String recipientIntegrationId, Boolean exactMatch, String batchId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = searchCouponsAdvancedWithoutTotalCountValidateBeforeCall(applicationId, campaignId, body, pageSize, skip, sort, value, createdBefore, createdAfter, valid, usable, referralId, recipientIntegrationId, exactMatch, batchId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -20589,7 +20589,7 @@ public okhttp3.Call searchCouponsAdvancedWithoutTotalCountAsync(Integer applicat 404 Not found - */ - public okhttp3.Call transferLoyaltyCardCall(Integer loyaltyProgramId, String loyaltyCardId, TransferLoyaltyCard body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call transferLoyaltyCardCall(Long loyaltyProgramId, String loyaltyCardId, TransferLoyaltyCard body, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -20621,7 +20621,7 @@ public okhttp3.Call transferLoyaltyCardCall(Integer loyaltyProgramId, String loy } @SuppressWarnings("rawtypes") - private okhttp3.Call transferLoyaltyCardValidateBeforeCall(Integer loyaltyProgramId, String loyaltyCardId, TransferLoyaltyCard body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call transferLoyaltyCardValidateBeforeCall(Long loyaltyProgramId, String loyaltyCardId, TransferLoyaltyCard body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'loyaltyProgramId' is set if (loyaltyProgramId == null) { @@ -20660,7 +20660,7 @@ private okhttp3.Call transferLoyaltyCardValidateBeforeCall(Integer loyaltyProgra 404 Not found - */ - public void transferLoyaltyCard(Integer loyaltyProgramId, String loyaltyCardId, TransferLoyaltyCard body) throws ApiException { + public void transferLoyaltyCard(Long loyaltyProgramId, String loyaltyCardId, TransferLoyaltyCard body) throws ApiException { transferLoyaltyCardWithHttpInfo(loyaltyProgramId, loyaltyCardId, body); } @@ -20681,7 +20681,7 @@ public void transferLoyaltyCard(Integer loyaltyProgramId, String loyaltyCardId, 404 Not found - */ - public ApiResponse transferLoyaltyCardWithHttpInfo(Integer loyaltyProgramId, String loyaltyCardId, TransferLoyaltyCard body) throws ApiException { + public ApiResponse transferLoyaltyCardWithHttpInfo(Long loyaltyProgramId, String loyaltyCardId, TransferLoyaltyCard body) throws ApiException { okhttp3.Call localVarCall = transferLoyaltyCardValidateBeforeCall(loyaltyProgramId, loyaltyCardId, body, null); return localVarApiClient.execute(localVarCall); } @@ -20704,7 +20704,7 @@ public ApiResponse transferLoyaltyCardWithHttpInfo(Integer loyaltyProgramI 404 Not found - */ - public okhttp3.Call transferLoyaltyCardAsync(Integer loyaltyProgramId, String loyaltyCardId, TransferLoyaltyCard body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call transferLoyaltyCardAsync(Long loyaltyProgramId, String loyaltyCardId, TransferLoyaltyCard body, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = transferLoyaltyCardValidateBeforeCall(loyaltyProgramId, loyaltyCardId, body, _callback); localVarApiClient.executeAsync(localVarCall, _callback); @@ -20726,7 +20726,7 @@ public okhttp3.Call transferLoyaltyCardAsync(Integer loyaltyProgramId, String lo 409 Conflict. A collection with this name already exists. - */ - public okhttp3.Call updateAccountCollectionCall(Integer collectionId, UpdateCollection body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateAccountCollectionCall(Long collectionId, UpdateCollection body, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -20757,7 +20757,7 @@ public okhttp3.Call updateAccountCollectionCall(Integer collectionId, UpdateColl } @SuppressWarnings("rawtypes") - private okhttp3.Call updateAccountCollectionValidateBeforeCall(Integer collectionId, UpdateCollection body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call updateAccountCollectionValidateBeforeCall(Long collectionId, UpdateCollection body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'collectionId' is set if (collectionId == null) { @@ -20791,7 +20791,7 @@ private okhttp3.Call updateAccountCollectionValidateBeforeCall(Integer collectio 409 Conflict. A collection with this name already exists. - */ - public Collection updateAccountCollection(Integer collectionId, UpdateCollection body) throws ApiException { + public Collection updateAccountCollection(Long collectionId, UpdateCollection body) throws ApiException { ApiResponse localVarResp = updateAccountCollectionWithHttpInfo(collectionId, body); return localVarResp.getData(); } @@ -20812,7 +20812,7 @@ public Collection updateAccountCollection(Integer collectionId, UpdateCollection 409 Conflict. A collection with this name already exists. - */ - public ApiResponse updateAccountCollectionWithHttpInfo(Integer collectionId, UpdateCollection body) throws ApiException { + public ApiResponse updateAccountCollectionWithHttpInfo(Long collectionId, UpdateCollection body) throws ApiException { okhttp3.Call localVarCall = updateAccountCollectionValidateBeforeCall(collectionId, body, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -20835,7 +20835,7 @@ public ApiResponse updateAccountCollectionWithHttpInfo(Integer colle 409 Conflict. A collection with this name already exists. - */ - public okhttp3.Call updateAccountCollectionAsync(Integer collectionId, UpdateCollection body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateAccountCollectionAsync(Long collectionId, UpdateCollection body, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = updateAccountCollectionValidateBeforeCall(collectionId, body, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -20860,7 +20860,7 @@ public okhttp3.Call updateAccountCollectionAsync(Integer collectionId, UpdateCol 404 Not found - */ - public okhttp3.Call updateAchievementCall(Integer applicationId, Integer campaignId, Integer achievementId, UpdateAchievement body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateAchievementCall(Long applicationId, Long campaignId, Long achievementId, UpdateAchievement body, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -20893,7 +20893,7 @@ public okhttp3.Call updateAchievementCall(Integer applicationId, Integer campaig } @SuppressWarnings("rawtypes") - private okhttp3.Call updateAchievementValidateBeforeCall(Integer applicationId, Integer campaignId, Integer achievementId, UpdateAchievement body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call updateAchievementValidateBeforeCall(Long applicationId, Long campaignId, Long achievementId, UpdateAchievement body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -20939,7 +20939,7 @@ private okhttp3.Call updateAchievementValidateBeforeCall(Integer applicationId, 404 Not found - */ - public Achievement updateAchievement(Integer applicationId, Integer campaignId, Integer achievementId, UpdateAchievement body) throws ApiException { + public Achievement updateAchievement(Long applicationId, Long campaignId, Long achievementId, UpdateAchievement body) throws ApiException { ApiResponse localVarResp = updateAchievementWithHttpInfo(applicationId, campaignId, achievementId, body); return localVarResp.getData(); } @@ -20962,7 +20962,7 @@ public Achievement updateAchievement(Integer applicationId, Integer campaignId, 404 Not found - */ - public ApiResponse updateAchievementWithHttpInfo(Integer applicationId, Integer campaignId, Integer achievementId, UpdateAchievement body) throws ApiException { + public ApiResponse updateAchievementWithHttpInfo(Long applicationId, Long campaignId, Long achievementId, UpdateAchievement body) throws ApiException { okhttp3.Call localVarCall = updateAchievementValidateBeforeCall(applicationId, campaignId, achievementId, body, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -20987,7 +20987,7 @@ public ApiResponse updateAchievementWithHttpInfo(Integer applicatio 404 Not found - */ - public okhttp3.Call updateAchievementAsync(Integer applicationId, Integer campaignId, Integer achievementId, UpdateAchievement body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateAchievementAsync(Long applicationId, Long campaignId, Long achievementId, UpdateAchievement body, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = updateAchievementValidateBeforeCall(applicationId, campaignId, achievementId, body, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -21007,7 +21007,7 @@ public okhttp3.Call updateAchievementAsync(Integer applicationId, Integer campai 200 OK - */ - public okhttp3.Call updateAdditionalCostCall(Integer additionalCostId, NewAdditionalCost body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateAdditionalCostCall(Long additionalCostId, NewAdditionalCost body, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -21038,7 +21038,7 @@ public okhttp3.Call updateAdditionalCostCall(Integer additionalCostId, NewAdditi } @SuppressWarnings("rawtypes") - private okhttp3.Call updateAdditionalCostValidateBeforeCall(Integer additionalCostId, NewAdditionalCost body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call updateAdditionalCostValidateBeforeCall(Long additionalCostId, NewAdditionalCost body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'additionalCostId' is set if (additionalCostId == null) { @@ -21069,7 +21069,7 @@ private okhttp3.Call updateAdditionalCostValidateBeforeCall(Integer additionalCo 200 OK - */ - public AccountAdditionalCost updateAdditionalCost(Integer additionalCostId, NewAdditionalCost body) throws ApiException { + public AccountAdditionalCost updateAdditionalCost(Long additionalCostId, NewAdditionalCost body) throws ApiException { ApiResponse localVarResp = updateAdditionalCostWithHttpInfo(additionalCostId, body); return localVarResp.getData(); } @@ -21087,7 +21087,7 @@ public AccountAdditionalCost updateAdditionalCost(Integer additionalCostId, NewA 200 OK - */ - public ApiResponse updateAdditionalCostWithHttpInfo(Integer additionalCostId, NewAdditionalCost body) throws ApiException { + public ApiResponse updateAdditionalCostWithHttpInfo(Long additionalCostId, NewAdditionalCost body) throws ApiException { okhttp3.Call localVarCall = updateAdditionalCostValidateBeforeCall(additionalCostId, body, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -21107,7 +21107,7 @@ public ApiResponse updateAdditionalCostWithHttpInfo(Integ 200 OK - */ - public okhttp3.Call updateAdditionalCostAsync(Integer additionalCostId, NewAdditionalCost body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateAdditionalCostAsync(Long additionalCostId, NewAdditionalCost body, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = updateAdditionalCostValidateBeforeCall(additionalCostId, body, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -21127,7 +21127,7 @@ public okhttp3.Call updateAdditionalCostAsync(Integer additionalCostId, NewAddit 200 OK - */ - public okhttp3.Call updateAttributeCall(Integer attributeId, NewAttribute body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateAttributeCall(Long attributeId, NewAttribute body, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -21158,7 +21158,7 @@ public okhttp3.Call updateAttributeCall(Integer attributeId, NewAttribute body, } @SuppressWarnings("rawtypes") - private okhttp3.Call updateAttributeValidateBeforeCall(Integer attributeId, NewAttribute body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call updateAttributeValidateBeforeCall(Long attributeId, NewAttribute body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'attributeId' is set if (attributeId == null) { @@ -21189,7 +21189,7 @@ private okhttp3.Call updateAttributeValidateBeforeCall(Integer attributeId, NewA 200 OK - */ - public Attribute updateAttribute(Integer attributeId, NewAttribute body) throws ApiException { + public Attribute updateAttribute(Long attributeId, NewAttribute body) throws ApiException { ApiResponse localVarResp = updateAttributeWithHttpInfo(attributeId, body); return localVarResp.getData(); } @@ -21207,7 +21207,7 @@ public Attribute updateAttribute(Integer attributeId, NewAttribute body) throws 200 OK - */ - public ApiResponse updateAttributeWithHttpInfo(Integer attributeId, NewAttribute body) throws ApiException { + public ApiResponse updateAttributeWithHttpInfo(Long attributeId, NewAttribute body) throws ApiException { okhttp3.Call localVarCall = updateAttributeValidateBeforeCall(attributeId, body, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -21227,7 +21227,7 @@ public ApiResponse updateAttributeWithHttpInfo(Integer attributeId, N 200 OK - */ - public okhttp3.Call updateAttributeAsync(Integer attributeId, NewAttribute body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateAttributeAsync(Long attributeId, NewAttribute body, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = updateAttributeValidateBeforeCall(attributeId, body, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -21248,7 +21248,7 @@ public okhttp3.Call updateAttributeAsync(Integer attributeId, NewAttribute body, 200 OK - */ - public okhttp3.Call updateCampaignCall(Integer applicationId, Integer campaignId, UpdateCampaign body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateCampaignCall(Long applicationId, Long campaignId, UpdateCampaign body, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -21280,7 +21280,7 @@ public okhttp3.Call updateCampaignCall(Integer applicationId, Integer campaignId } @SuppressWarnings("rawtypes") - private okhttp3.Call updateCampaignValidateBeforeCall(Integer applicationId, Integer campaignId, UpdateCampaign body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call updateCampaignValidateBeforeCall(Long applicationId, Long campaignId, UpdateCampaign body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -21317,7 +21317,7 @@ private okhttp3.Call updateCampaignValidateBeforeCall(Integer applicationId, Int 200 OK - */ - public Campaign updateCampaign(Integer applicationId, Integer campaignId, UpdateCampaign body) throws ApiException { + public Campaign updateCampaign(Long applicationId, Long campaignId, UpdateCampaign body) throws ApiException { ApiResponse localVarResp = updateCampaignWithHttpInfo(applicationId, campaignId, body); return localVarResp.getData(); } @@ -21336,7 +21336,7 @@ public Campaign updateCampaign(Integer applicationId, Integer campaignId, Update 200 OK - */ - public ApiResponse updateCampaignWithHttpInfo(Integer applicationId, Integer campaignId, UpdateCampaign body) throws ApiException { + public ApiResponse updateCampaignWithHttpInfo(Long applicationId, Long campaignId, UpdateCampaign body) throws ApiException { okhttp3.Call localVarCall = updateCampaignValidateBeforeCall(applicationId, campaignId, body, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -21357,7 +21357,7 @@ public ApiResponse updateCampaignWithHttpInfo(Integer applicationId, I 200 OK - */ - public okhttp3.Call updateCampaignAsync(Integer applicationId, Integer campaignId, UpdateCampaign body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateCampaignAsync(Long applicationId, Long campaignId, UpdateCampaign body, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = updateCampaignValidateBeforeCall(applicationId, campaignId, body, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -21380,7 +21380,7 @@ public okhttp3.Call updateCampaignAsync(Integer applicationId, Integer campaignI 401 Unauthorized - */ - public okhttp3.Call updateCollectionCall(Integer applicationId, Integer campaignId, Integer collectionId, UpdateCampaignCollection body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateCollectionCall(Long applicationId, Long campaignId, Long collectionId, UpdateCampaignCollection body, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -21413,7 +21413,7 @@ public okhttp3.Call updateCollectionCall(Integer applicationId, Integer campaign } @SuppressWarnings("rawtypes") - private okhttp3.Call updateCollectionValidateBeforeCall(Integer applicationId, Integer campaignId, Integer collectionId, UpdateCampaignCollection body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call updateCollectionValidateBeforeCall(Long applicationId, Long campaignId, Long collectionId, UpdateCampaignCollection body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -21457,7 +21457,7 @@ private okhttp3.Call updateCollectionValidateBeforeCall(Integer applicationId, I 401 Unauthorized - */ - public Collection updateCollection(Integer applicationId, Integer campaignId, Integer collectionId, UpdateCampaignCollection body) throws ApiException { + public Collection updateCollection(Long applicationId, Long campaignId, Long collectionId, UpdateCampaignCollection body) throws ApiException { ApiResponse localVarResp = updateCollectionWithHttpInfo(applicationId, campaignId, collectionId, body); return localVarResp.getData(); } @@ -21478,7 +21478,7 @@ public Collection updateCollection(Integer applicationId, Integer campaignId, In 401 Unauthorized - */ - public ApiResponse updateCollectionWithHttpInfo(Integer applicationId, Integer campaignId, Integer collectionId, UpdateCampaignCollection body) throws ApiException { + public ApiResponse updateCollectionWithHttpInfo(Long applicationId, Long campaignId, Long collectionId, UpdateCampaignCollection body) throws ApiException { okhttp3.Call localVarCall = updateCollectionValidateBeforeCall(applicationId, campaignId, collectionId, body, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -21501,7 +21501,7 @@ public ApiResponse updateCollectionWithHttpInfo(Integer applicationI 401 Unauthorized - */ - public okhttp3.Call updateCollectionAsync(Integer applicationId, Integer campaignId, Integer collectionId, UpdateCampaignCollection body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateCollectionAsync(Long applicationId, Long campaignId, Long collectionId, UpdateCampaignCollection body, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = updateCollectionValidateBeforeCall(applicationId, campaignId, collectionId, body, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -21523,7 +21523,7 @@ public okhttp3.Call updateCollectionAsync(Integer applicationId, Integer campaig 200 OK - */ - public okhttp3.Call updateCouponCall(Integer applicationId, Integer campaignId, String couponId, UpdateCoupon body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateCouponCall(Long applicationId, Long campaignId, String couponId, UpdateCoupon body, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -21556,7 +21556,7 @@ public okhttp3.Call updateCouponCall(Integer applicationId, Integer campaignId, } @SuppressWarnings("rawtypes") - private okhttp3.Call updateCouponValidateBeforeCall(Integer applicationId, Integer campaignId, String couponId, UpdateCoupon body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call updateCouponValidateBeforeCall(Long applicationId, Long campaignId, String couponId, UpdateCoupon body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -21599,7 +21599,7 @@ private okhttp3.Call updateCouponValidateBeforeCall(Integer applicationId, Integ 200 OK - */ - public Coupon updateCoupon(Integer applicationId, Integer campaignId, String couponId, UpdateCoupon body) throws ApiException { + public Coupon updateCoupon(Long applicationId, Long campaignId, String couponId, UpdateCoupon body) throws ApiException { ApiResponse localVarResp = updateCouponWithHttpInfo(applicationId, campaignId, couponId, body); return localVarResp.getData(); } @@ -21619,7 +21619,7 @@ public Coupon updateCoupon(Integer applicationId, Integer campaignId, String cou 200 OK - */ - public ApiResponse updateCouponWithHttpInfo(Integer applicationId, Integer campaignId, String couponId, UpdateCoupon body) throws ApiException { + public ApiResponse updateCouponWithHttpInfo(Long applicationId, Long campaignId, String couponId, UpdateCoupon body) throws ApiException { okhttp3.Call localVarCall = updateCouponValidateBeforeCall(applicationId, campaignId, couponId, body, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -21641,7 +21641,7 @@ public ApiResponse updateCouponWithHttpInfo(Integer applicationId, Integ 200 OK - */ - public okhttp3.Call updateCouponAsync(Integer applicationId, Integer campaignId, String couponId, UpdateCoupon body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateCouponAsync(Long applicationId, Long campaignId, String couponId, UpdateCoupon body, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = updateCouponValidateBeforeCall(applicationId, campaignId, couponId, body, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -21662,7 +21662,7 @@ public okhttp3.Call updateCouponAsync(Integer applicationId, Integer campaignId, 204 No Content - */ - public okhttp3.Call updateCouponBatchCall(Integer applicationId, Integer campaignId, UpdateCouponBatch body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateCouponBatchCall(Long applicationId, Long campaignId, UpdateCouponBatch body, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -21694,7 +21694,7 @@ public okhttp3.Call updateCouponBatchCall(Integer applicationId, Integer campaig } @SuppressWarnings("rawtypes") - private okhttp3.Call updateCouponBatchValidateBeforeCall(Integer applicationId, Integer campaignId, UpdateCouponBatch body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call updateCouponBatchValidateBeforeCall(Long applicationId, Long campaignId, UpdateCouponBatch body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -21730,7 +21730,7 @@ private okhttp3.Call updateCouponBatchValidateBeforeCall(Integer applicationId, 204 No Content - */ - public void updateCouponBatch(Integer applicationId, Integer campaignId, UpdateCouponBatch body) throws ApiException { + public void updateCouponBatch(Long applicationId, Long campaignId, UpdateCouponBatch body) throws ApiException { updateCouponBatchWithHttpInfo(applicationId, campaignId, body); } @@ -21748,7 +21748,7 @@ public void updateCouponBatch(Integer applicationId, Integer campaignId, UpdateC 204 No Content - */ - public ApiResponse updateCouponBatchWithHttpInfo(Integer applicationId, Integer campaignId, UpdateCouponBatch body) throws ApiException { + public ApiResponse updateCouponBatchWithHttpInfo(Long applicationId, Long campaignId, UpdateCouponBatch body) throws ApiException { okhttp3.Call localVarCall = updateCouponBatchValidateBeforeCall(applicationId, campaignId, body, null); return localVarApiClient.execute(localVarCall); } @@ -21768,7 +21768,7 @@ public ApiResponse updateCouponBatchWithHttpInfo(Integer applicationId, In 204 No Content - */ - public okhttp3.Call updateCouponBatchAsync(Integer applicationId, Integer campaignId, UpdateCouponBatch body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateCouponBatchAsync(Long applicationId, Long campaignId, UpdateCouponBatch body, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = updateCouponBatchValidateBeforeCall(applicationId, campaignId, body, _callback); localVarApiClient.executeAsync(localVarCall, _callback); @@ -21791,7 +21791,7 @@ public okhttp3.Call updateCouponBatchAsync(Integer applicationId, Integer campai 404 Not found - */ - public okhttp3.Call updateLoyaltyCardCall(Integer loyaltyProgramId, String loyaltyCardId, UpdateLoyaltyCard body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateLoyaltyCardCall(Long loyaltyProgramId, String loyaltyCardId, UpdateLoyaltyCard body, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -21823,7 +21823,7 @@ public okhttp3.Call updateLoyaltyCardCall(Integer loyaltyProgramId, String loyal } @SuppressWarnings("rawtypes") - private okhttp3.Call updateLoyaltyCardValidateBeforeCall(Integer loyaltyProgramId, String loyaltyCardId, UpdateLoyaltyCard body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call updateLoyaltyCardValidateBeforeCall(Long loyaltyProgramId, String loyaltyCardId, UpdateLoyaltyCard body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'loyaltyProgramId' is set if (loyaltyProgramId == null) { @@ -21863,7 +21863,7 @@ private okhttp3.Call updateLoyaltyCardValidateBeforeCall(Integer loyaltyProgramI 404 Not found - */ - public LoyaltyCard updateLoyaltyCard(Integer loyaltyProgramId, String loyaltyCardId, UpdateLoyaltyCard body) throws ApiException { + public LoyaltyCard updateLoyaltyCard(Long loyaltyProgramId, String loyaltyCardId, UpdateLoyaltyCard body) throws ApiException { ApiResponse localVarResp = updateLoyaltyCardWithHttpInfo(loyaltyProgramId, loyaltyCardId, body); return localVarResp.getData(); } @@ -21885,7 +21885,7 @@ public LoyaltyCard updateLoyaltyCard(Integer loyaltyProgramId, String loyaltyCar 404 Not found - */ - public ApiResponse updateLoyaltyCardWithHttpInfo(Integer loyaltyProgramId, String loyaltyCardId, UpdateLoyaltyCard body) throws ApiException { + public ApiResponse updateLoyaltyCardWithHttpInfo(Long loyaltyProgramId, String loyaltyCardId, UpdateLoyaltyCard body) throws ApiException { okhttp3.Call localVarCall = updateLoyaltyCardValidateBeforeCall(loyaltyProgramId, loyaltyCardId, body, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -21909,7 +21909,7 @@ public ApiResponse updateLoyaltyCardWithHttpInfo(Integer loyaltyPro 404 Not found - */ - public okhttp3.Call updateLoyaltyCardAsync(Integer loyaltyProgramId, String loyaltyCardId, UpdateLoyaltyCard body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateLoyaltyCardAsync(Long loyaltyProgramId, String loyaltyCardId, UpdateLoyaltyCard body, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = updateLoyaltyCardValidateBeforeCall(loyaltyProgramId, loyaltyCardId, body, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -21931,7 +21931,7 @@ public okhttp3.Call updateLoyaltyCardAsync(Integer loyaltyProgramId, String loya 200 OK - */ - public okhttp3.Call updateReferralCall(Integer applicationId, Integer campaignId, String referralId, UpdateReferral body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateReferralCall(Long applicationId, Long campaignId, String referralId, UpdateReferral body, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -21964,7 +21964,7 @@ public okhttp3.Call updateReferralCall(Integer applicationId, Integer campaignId } @SuppressWarnings("rawtypes") - private okhttp3.Call updateReferralValidateBeforeCall(Integer applicationId, Integer campaignId, String referralId, UpdateReferral body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call updateReferralValidateBeforeCall(Long applicationId, Long campaignId, String referralId, UpdateReferral body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -22007,7 +22007,7 @@ private okhttp3.Call updateReferralValidateBeforeCall(Integer applicationId, Int 200 OK - */ - public Referral updateReferral(Integer applicationId, Integer campaignId, String referralId, UpdateReferral body) throws ApiException { + public Referral updateReferral(Long applicationId, Long campaignId, String referralId, UpdateReferral body) throws ApiException { ApiResponse localVarResp = updateReferralWithHttpInfo(applicationId, campaignId, referralId, body); return localVarResp.getData(); } @@ -22027,7 +22027,7 @@ public Referral updateReferral(Integer applicationId, Integer campaignId, String 200 OK - */ - public ApiResponse updateReferralWithHttpInfo(Integer applicationId, Integer campaignId, String referralId, UpdateReferral body) throws ApiException { + public ApiResponse updateReferralWithHttpInfo(Long applicationId, Long campaignId, String referralId, UpdateReferral body) throws ApiException { okhttp3.Call localVarCall = updateReferralValidateBeforeCall(applicationId, campaignId, referralId, body, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -22049,7 +22049,7 @@ public ApiResponse updateReferralWithHttpInfo(Integer applicationId, I 200 OK - */ - public okhttp3.Call updateReferralAsync(Integer applicationId, Integer campaignId, String referralId, UpdateReferral body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateReferralAsync(Long applicationId, Long campaignId, String referralId, UpdateReferral body, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = updateReferralValidateBeforeCall(applicationId, campaignId, referralId, body, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -22069,7 +22069,7 @@ public okhttp3.Call updateReferralAsync(Integer applicationId, Integer campaignI 200 OK - */ - public okhttp3.Call updateRoleV2Call(Integer roleId, RoleV2Base body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateRoleV2Call(Long roleId, RoleV2Base body, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -22100,7 +22100,7 @@ public okhttp3.Call updateRoleV2Call(Integer roleId, RoleV2Base body, final ApiC } @SuppressWarnings("rawtypes") - private okhttp3.Call updateRoleV2ValidateBeforeCall(Integer roleId, RoleV2Base body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call updateRoleV2ValidateBeforeCall(Long roleId, RoleV2Base body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'roleId' is set if (roleId == null) { @@ -22131,7 +22131,7 @@ private okhttp3.Call updateRoleV2ValidateBeforeCall(Integer roleId, RoleV2Base b 200 OK - */ - public RoleV2 updateRoleV2(Integer roleId, RoleV2Base body) throws ApiException { + public RoleV2 updateRoleV2(Long roleId, RoleV2Base body) throws ApiException { ApiResponse localVarResp = updateRoleV2WithHttpInfo(roleId, body); return localVarResp.getData(); } @@ -22149,7 +22149,7 @@ public RoleV2 updateRoleV2(Integer roleId, RoleV2Base body) throws ApiException 200 OK - */ - public ApiResponse updateRoleV2WithHttpInfo(Integer roleId, RoleV2Base body) throws ApiException { + public ApiResponse updateRoleV2WithHttpInfo(Long roleId, RoleV2Base body) throws ApiException { okhttp3.Call localVarCall = updateRoleV2ValidateBeforeCall(roleId, body, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -22169,7 +22169,7 @@ public ApiResponse updateRoleV2WithHttpInfo(Integer roleId, RoleV2Base b 200 OK - */ - public okhttp3.Call updateRoleV2Async(Integer roleId, RoleV2Base body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateRoleV2Async(Long roleId, RoleV2Base body, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = updateRoleV2ValidateBeforeCall(roleId, body, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -22192,7 +22192,7 @@ public okhttp3.Call updateRoleV2Async(Integer roleId, RoleV2Base body, final Api 404 Not found - */ - public okhttp3.Call updateStoreCall(Integer applicationId, String storeId, NewStore body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateStoreCall(Long applicationId, String storeId, NewStore body, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -22224,7 +22224,7 @@ public okhttp3.Call updateStoreCall(Integer applicationId, String storeId, NewSt } @SuppressWarnings("rawtypes") - private okhttp3.Call updateStoreValidateBeforeCall(Integer applicationId, String storeId, NewStore body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call updateStoreValidateBeforeCall(Long applicationId, String storeId, NewStore body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -22263,7 +22263,7 @@ private okhttp3.Call updateStoreValidateBeforeCall(Integer applicationId, String 404 Not found - */ - public Store updateStore(Integer applicationId, String storeId, NewStore body) throws ApiException { + public Store updateStore(Long applicationId, String storeId, NewStore body) throws ApiException { ApiResponse localVarResp = updateStoreWithHttpInfo(applicationId, storeId, body); return localVarResp.getData(); } @@ -22284,7 +22284,7 @@ public Store updateStore(Integer applicationId, String storeId, NewStore body) t 404 Not found - */ - public ApiResponse updateStoreWithHttpInfo(Integer applicationId, String storeId, NewStore body) throws ApiException { + public ApiResponse updateStoreWithHttpInfo(Long applicationId, String storeId, NewStore body) throws ApiException { okhttp3.Call localVarCall = updateStoreValidateBeforeCall(applicationId, storeId, body, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -22307,7 +22307,7 @@ public ApiResponse updateStoreWithHttpInfo(Integer applicationId, String 404 Not found - */ - public okhttp3.Call updateStoreAsync(Integer applicationId, String storeId, NewStore body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateStoreAsync(Long applicationId, String storeId, NewStore body, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = updateStoreValidateBeforeCall(applicationId, storeId, body, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -22327,7 +22327,7 @@ public okhttp3.Call updateStoreAsync(Integer applicationId, String storeId, NewS 200 OK - */ - public okhttp3.Call updateUserCall(Integer userId, UpdateUser body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateUserCall(Long userId, UpdateUser body, final ApiCallback _callback) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -22358,7 +22358,7 @@ public okhttp3.Call updateUserCall(Integer userId, UpdateUser body, final ApiCal } @SuppressWarnings("rawtypes") - private okhttp3.Call updateUserValidateBeforeCall(Integer userId, UpdateUser body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call updateUserValidateBeforeCall(Long userId, UpdateUser body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'userId' is set if (userId == null) { @@ -22389,7 +22389,7 @@ private okhttp3.Call updateUserValidateBeforeCall(Integer userId, UpdateUser bod 200 OK - */ - public User updateUser(Integer userId, UpdateUser body) throws ApiException { + public User updateUser(Long userId, UpdateUser body) throws ApiException { ApiResponse localVarResp = updateUserWithHttpInfo(userId, body); return localVarResp.getData(); } @@ -22407,7 +22407,7 @@ public User updateUser(Integer userId, UpdateUser body) throws ApiException { 200 OK - */ - public ApiResponse updateUserWithHttpInfo(Integer userId, UpdateUser body) throws ApiException { + public ApiResponse updateUserWithHttpInfo(Long userId, UpdateUser body) throws ApiException { okhttp3.Call localVarCall = updateUserValidateBeforeCall(userId, body, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -22427,7 +22427,7 @@ public ApiResponse updateUserWithHttpInfo(Integer userId, UpdateUser body) 200 OK - */ - public okhttp3.Call updateUserAsync(Integer userId, UpdateUser body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateUserAsync(Long userId, UpdateUser body, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = updateUserValidateBeforeCall(userId, body, _callback); Type localVarReturnType = new TypeToken(){}.getType(); diff --git a/src/main/java/one/talon/model/AccessLogEntry.java b/src/main/java/one/talon/model/AccessLogEntry.java index a7c94238..dc8b0e0c 100644 --- a/src/main/java/one/talon/model/AccessLogEntry.java +++ b/src/main/java/one/talon/model/AccessLogEntry.java @@ -37,7 +37,7 @@ public class AccessLogEntry { public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - private Integer status; + private Long status; public static final String SERIALIZED_NAME_METHOD = "method"; @SerializedName(SERIALIZED_NAME_METHOD) @@ -82,7 +82,7 @@ public void setUuid(String uuid) { } - public AccessLogEntry status(Integer status) { + public AccessLogEntry status(Long status) { this.status = status; return this; @@ -94,12 +94,12 @@ public AccessLogEntry status(Integer status) { **/ @ApiModelProperty(example = "200", required = true, value = "HTTP status code of response.") - public Integer getStatus() { + public Long getStatus() { return status; } - public void setStatus(Integer status) { + public void setStatus(Long status) { this.status = status; } diff --git a/src/main/java/one/talon/model/Account.java b/src/main/java/one/talon/model/Account.java index 324dbcb4..338dc33d 100644 --- a/src/main/java/one/talon/model/Account.java +++ b/src/main/java/one/talon/model/Account.java @@ -32,7 +32,7 @@ public class Account { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -115,42 +115,42 @@ public StateEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_APPLICATION_LIMIT = "applicationLimit"; @SerializedName(SERIALIZED_NAME_APPLICATION_LIMIT) - private Integer applicationLimit; + private Long applicationLimit; public static final String SERIALIZED_NAME_USER_LIMIT = "userLimit"; @SerializedName(SERIALIZED_NAME_USER_LIMIT) - private Integer userLimit; + private Long userLimit; public static final String SERIALIZED_NAME_CAMPAIGN_LIMIT = "campaignLimit"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_LIMIT) - private Integer campaignLimit; + private Long campaignLimit; public static final String SERIALIZED_NAME_API_LIMIT = "apiLimit"; @SerializedName(SERIALIZED_NAME_API_LIMIT) - private Integer apiLimit; + private Long apiLimit; public static final String SERIALIZED_NAME_APPLICATION_COUNT = "applicationCount"; @SerializedName(SERIALIZED_NAME_APPLICATION_COUNT) - private Integer applicationCount; + private Long applicationCount; public static final String SERIALIZED_NAME_USER_COUNT = "userCount"; @SerializedName(SERIALIZED_NAME_USER_COUNT) - private Integer userCount; + private Long userCount; public static final String SERIALIZED_NAME_CAMPAIGNS_ACTIVE_COUNT = "campaignsActiveCount"; @SerializedName(SERIALIZED_NAME_CAMPAIGNS_ACTIVE_COUNT) - private Integer campaignsActiveCount; + private Long campaignsActiveCount; public static final String SERIALIZED_NAME_CAMPAIGNS_INACTIVE_COUNT = "campaignsInactiveCount"; @SerializedName(SERIALIZED_NAME_CAMPAIGNS_INACTIVE_COUNT) - private Integer campaignsInactiveCount; + private Long campaignsInactiveCount; public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; @SerializedName(SERIALIZED_NAME_ATTRIBUTES) private Object attributes; - public Account id(Integer id) { + public Account id(Long id) { this.id = id; return this; @@ -162,12 +162,12 @@ public Account id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -350,7 +350,7 @@ public void setPlanExpires(OffsetDateTime planExpires) { } - public Account applicationLimit(Integer applicationLimit) { + public Account applicationLimit(Long applicationLimit) { this.applicationLimit = applicationLimit; return this; @@ -363,17 +363,17 @@ public Account applicationLimit(Integer applicationLimit) { @javax.annotation.Nullable @ApiModelProperty(value = "The maximum number of Applications covered by your plan.") - public Integer getApplicationLimit() { + public Long getApplicationLimit() { return applicationLimit; } - public void setApplicationLimit(Integer applicationLimit) { + public void setApplicationLimit(Long applicationLimit) { this.applicationLimit = applicationLimit; } - public Account userLimit(Integer userLimit) { + public Account userLimit(Long userLimit) { this.userLimit = userLimit; return this; @@ -386,17 +386,17 @@ public Account userLimit(Integer userLimit) { @javax.annotation.Nullable @ApiModelProperty(value = "The maximum number of Campaign Manager Users covered by your plan.") - public Integer getUserLimit() { + public Long getUserLimit() { return userLimit; } - public void setUserLimit(Integer userLimit) { + public void setUserLimit(Long userLimit) { this.userLimit = userLimit; } - public Account campaignLimit(Integer campaignLimit) { + public Account campaignLimit(Long campaignLimit) { this.campaignLimit = campaignLimit; return this; @@ -409,17 +409,17 @@ public Account campaignLimit(Integer campaignLimit) { @javax.annotation.Nullable @ApiModelProperty(value = "The maximum number of Campaigns covered by your plan.") - public Integer getCampaignLimit() { + public Long getCampaignLimit() { return campaignLimit; } - public void setCampaignLimit(Integer campaignLimit) { + public void setCampaignLimit(Long campaignLimit) { this.campaignLimit = campaignLimit; } - public Account apiLimit(Integer apiLimit) { + public Account apiLimit(Long apiLimit) { this.apiLimit = apiLimit; return this; @@ -432,17 +432,17 @@ public Account apiLimit(Integer apiLimit) { @javax.annotation.Nullable @ApiModelProperty(value = "The maximum number of Integration API calls covered by your plan per billing period.") - public Integer getApiLimit() { + public Long getApiLimit() { return apiLimit; } - public void setApiLimit(Integer apiLimit) { + public void setApiLimit(Long apiLimit) { this.apiLimit = apiLimit; } - public Account applicationCount(Integer applicationCount) { + public Account applicationCount(Long applicationCount) { this.applicationCount = applicationCount; return this; @@ -454,17 +454,17 @@ public Account applicationCount(Integer applicationCount) { **/ @ApiModelProperty(required = true, value = "The current number of Applications in your account.") - public Integer getApplicationCount() { + public Long getApplicationCount() { return applicationCount; } - public void setApplicationCount(Integer applicationCount) { + public void setApplicationCount(Long applicationCount) { this.applicationCount = applicationCount; } - public Account userCount(Integer userCount) { + public Account userCount(Long userCount) { this.userCount = userCount; return this; @@ -476,17 +476,17 @@ public Account userCount(Integer userCount) { **/ @ApiModelProperty(required = true, value = "The current number of Campaign Manager Users in your account.") - public Integer getUserCount() { + public Long getUserCount() { return userCount; } - public void setUserCount(Integer userCount) { + public void setUserCount(Long userCount) { this.userCount = userCount; } - public Account campaignsActiveCount(Integer campaignsActiveCount) { + public Account campaignsActiveCount(Long campaignsActiveCount) { this.campaignsActiveCount = campaignsActiveCount; return this; @@ -498,17 +498,17 @@ public Account campaignsActiveCount(Integer campaignsActiveCount) { **/ @ApiModelProperty(required = true, value = "The current number of active Campaigns in your account.") - public Integer getCampaignsActiveCount() { + public Long getCampaignsActiveCount() { return campaignsActiveCount; } - public void setCampaignsActiveCount(Integer campaignsActiveCount) { + public void setCampaignsActiveCount(Long campaignsActiveCount) { this.campaignsActiveCount = campaignsActiveCount; } - public Account campaignsInactiveCount(Integer campaignsInactiveCount) { + public Account campaignsInactiveCount(Long campaignsInactiveCount) { this.campaignsInactiveCount = campaignsInactiveCount; return this; @@ -520,12 +520,12 @@ public Account campaignsInactiveCount(Integer campaignsInactiveCount) { **/ @ApiModelProperty(required = true, value = "The current number of inactive Campaigns in your account.") - public Integer getCampaignsInactiveCount() { + public Long getCampaignsInactiveCount() { return campaignsInactiveCount; } - public void setCampaignsInactiveCount(Integer campaignsInactiveCount) { + public void setCampaignsInactiveCount(Long campaignsInactiveCount) { this.campaignsInactiveCount = campaignsInactiveCount; } diff --git a/src/main/java/one/talon/model/AccountAdditionalCost.java b/src/main/java/one/talon/model/AccountAdditionalCost.java index e486aa98..8a28bcaa 100644 --- a/src/main/java/one/talon/model/AccountAdditionalCost.java +++ b/src/main/java/one/talon/model/AccountAdditionalCost.java @@ -34,7 +34,7 @@ public class AccountAdditionalCost { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -42,7 +42,7 @@ public class AccountAdditionalCost { public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private Integer accountId; + private Long accountId; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -58,7 +58,7 @@ public class AccountAdditionalCost { public static final String SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS_IDS = "subscribedApplicationsIds"; @SerializedName(SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS_IDS) - private List subscribedApplicationsIds = null; + private List subscribedApplicationsIds = null; /** * The type of additional cost. Possible value: - `session`: Additional cost will be added per session. - `item`: Additional cost will be added per item. - `both`: Additional cost will be added per item and session. @@ -114,7 +114,7 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { private TypeEnum type = TypeEnum.SESSION; - public AccountAdditionalCost id(Integer id) { + public AccountAdditionalCost id(Long id) { this.id = id; return this; @@ -126,12 +126,12 @@ public AccountAdditionalCost id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -158,7 +158,7 @@ public void setCreated(OffsetDateTime created) { } - public AccountAdditionalCost accountId(Integer accountId) { + public AccountAdditionalCost accountId(Long accountId) { this.accountId = accountId; return this; @@ -170,12 +170,12 @@ public AccountAdditionalCost accountId(Integer accountId) { **/ @ApiModelProperty(example = "3886", required = true, value = "The ID of the account that owns this entity.") - public Integer getAccountId() { + public Long getAccountId() { return accountId; } - public void setAccountId(Integer accountId) { + public void setAccountId(Long accountId) { this.accountId = accountId; } @@ -246,15 +246,15 @@ public void setDescription(String description) { } - public AccountAdditionalCost subscribedApplicationsIds(List subscribedApplicationsIds) { + public AccountAdditionalCost subscribedApplicationsIds(List subscribedApplicationsIds) { this.subscribedApplicationsIds = subscribedApplicationsIds; return this; } - public AccountAdditionalCost addSubscribedApplicationsIdsItem(Integer subscribedApplicationsIdsItem) { + public AccountAdditionalCost addSubscribedApplicationsIdsItem(Long subscribedApplicationsIdsItem) { if (this.subscribedApplicationsIds == null) { - this.subscribedApplicationsIds = new ArrayList(); + this.subscribedApplicationsIds = new ArrayList(); } this.subscribedApplicationsIds.add(subscribedApplicationsIdsItem); return this; @@ -267,12 +267,12 @@ public AccountAdditionalCost addSubscribedApplicationsIdsItem(Integer subscribed @javax.annotation.Nullable @ApiModelProperty(example = "[3, 13]", value = "A list of the IDs of the applications that are subscribed to this additional cost.") - public List getSubscribedApplicationsIds() { + public List getSubscribedApplicationsIds() { return subscribedApplicationsIds; } - public void setSubscribedApplicationsIds(List subscribedApplicationsIds) { + public void setSubscribedApplicationsIds(List subscribedApplicationsIds) { this.subscribedApplicationsIds = subscribedApplicationsIds; } diff --git a/src/main/java/one/talon/model/AccountAnalytics.java b/src/main/java/one/talon/model/AccountAnalytics.java index 88c7ee6d..111a5b0b 100644 --- a/src/main/java/one/talon/model/AccountAnalytics.java +++ b/src/main/java/one/talon/model/AccountAnalytics.java @@ -32,86 +32,86 @@ public class AccountAnalytics { public static final String SERIALIZED_NAME_APPLICATIONS = "applications"; @SerializedName(SERIALIZED_NAME_APPLICATIONS) - private Integer applications; + private Long applications; public static final String SERIALIZED_NAME_LIVE_APPLICATIONS = "liveApplications"; @SerializedName(SERIALIZED_NAME_LIVE_APPLICATIONS) - private Integer liveApplications; + private Long liveApplications; public static final String SERIALIZED_NAME_SANDBOX_APPLICATIONS = "sandboxApplications"; @SerializedName(SERIALIZED_NAME_SANDBOX_APPLICATIONS) - private Integer sandboxApplications; + private Long sandboxApplications; public static final String SERIALIZED_NAME_CAMPAIGNS = "campaigns"; @SerializedName(SERIALIZED_NAME_CAMPAIGNS) - private Integer campaigns; + private Long campaigns; public static final String SERIALIZED_NAME_ACTIVE_CAMPAIGNS = "activeCampaigns"; @SerializedName(SERIALIZED_NAME_ACTIVE_CAMPAIGNS) - private Integer activeCampaigns; + private Long activeCampaigns; public static final String SERIALIZED_NAME_LIVE_ACTIVE_CAMPAIGNS = "liveActiveCampaigns"; @SerializedName(SERIALIZED_NAME_LIVE_ACTIVE_CAMPAIGNS) - private Integer liveActiveCampaigns; + private Long liveActiveCampaigns; public static final String SERIALIZED_NAME_COUPONS = "coupons"; @SerializedName(SERIALIZED_NAME_COUPONS) - private Integer coupons; + private Long coupons; public static final String SERIALIZED_NAME_ACTIVE_COUPONS = "activeCoupons"; @SerializedName(SERIALIZED_NAME_ACTIVE_COUPONS) - private Integer activeCoupons; + private Long activeCoupons; public static final String SERIALIZED_NAME_EXPIRED_COUPONS = "expiredCoupons"; @SerializedName(SERIALIZED_NAME_EXPIRED_COUPONS) - private Integer expiredCoupons; + private Long expiredCoupons; public static final String SERIALIZED_NAME_REFERRAL_CODES = "referralCodes"; @SerializedName(SERIALIZED_NAME_REFERRAL_CODES) - private Integer referralCodes; + private Long referralCodes; public static final String SERIALIZED_NAME_ACTIVE_REFERRAL_CODES = "activeReferralCodes"; @SerializedName(SERIALIZED_NAME_ACTIVE_REFERRAL_CODES) - private Integer activeReferralCodes; + private Long activeReferralCodes; public static final String SERIALIZED_NAME_EXPIRED_REFERRAL_CODES = "expiredReferralCodes"; @SerializedName(SERIALIZED_NAME_EXPIRED_REFERRAL_CODES) - private Integer expiredReferralCodes; + private Long expiredReferralCodes; public static final String SERIALIZED_NAME_ACTIVE_RULES = "activeRules"; @SerializedName(SERIALIZED_NAME_ACTIVE_RULES) - private Integer activeRules; + private Long activeRules; public static final String SERIALIZED_NAME_USERS = "users"; @SerializedName(SERIALIZED_NAME_USERS) - private Integer users; + private Long users; public static final String SERIALIZED_NAME_ROLES = "roles"; @SerializedName(SERIALIZED_NAME_ROLES) - private Integer roles; + private Long roles; public static final String SERIALIZED_NAME_CUSTOM_ATTRIBUTES = "customAttributes"; @SerializedName(SERIALIZED_NAME_CUSTOM_ATTRIBUTES) - private Integer customAttributes; + private Long customAttributes; public static final String SERIALIZED_NAME_WEBHOOKS = "webhooks"; @SerializedName(SERIALIZED_NAME_WEBHOOKS) - private Integer webhooks; + private Long webhooks; public static final String SERIALIZED_NAME_LOYALTY_PROGRAMS = "loyaltyPrograms"; @SerializedName(SERIALIZED_NAME_LOYALTY_PROGRAMS) - private Integer loyaltyPrograms; + private Long loyaltyPrograms; public static final String SERIALIZED_NAME_LIVE_LOYALTY_PROGRAMS = "liveLoyaltyPrograms"; @SerializedName(SERIALIZED_NAME_LIVE_LOYALTY_PROGRAMS) - private Integer liveLoyaltyPrograms; + private Long liveLoyaltyPrograms; public static final String SERIALIZED_NAME_LAST_UPDATED_AT = "lastUpdatedAt"; @SerializedName(SERIALIZED_NAME_LAST_UPDATED_AT) private OffsetDateTime lastUpdatedAt; - public AccountAnalytics applications(Integer applications) { + public AccountAnalytics applications(Long applications) { this.applications = applications; return this; @@ -123,17 +123,17 @@ public AccountAnalytics applications(Integer applications) { **/ @ApiModelProperty(example = "11", required = true, value = "Total number of applications in the account.") - public Integer getApplications() { + public Long getApplications() { return applications; } - public void setApplications(Integer applications) { + public void setApplications(Long applications) { this.applications = applications; } - public AccountAnalytics liveApplications(Integer liveApplications) { + public AccountAnalytics liveApplications(Long liveApplications) { this.liveApplications = liveApplications; return this; @@ -145,17 +145,17 @@ public AccountAnalytics liveApplications(Integer liveApplications) { **/ @ApiModelProperty(example = "6", required = true, value = "Total number of live applications in the account.") - public Integer getLiveApplications() { + public Long getLiveApplications() { return liveApplications; } - public void setLiveApplications(Integer liveApplications) { + public void setLiveApplications(Long liveApplications) { this.liveApplications = liveApplications; } - public AccountAnalytics sandboxApplications(Integer sandboxApplications) { + public AccountAnalytics sandboxApplications(Long sandboxApplications) { this.sandboxApplications = sandboxApplications; return this; @@ -167,17 +167,17 @@ public AccountAnalytics sandboxApplications(Integer sandboxApplications) { **/ @ApiModelProperty(example = "2", required = true, value = "Total number of sandbox applications in the account.") - public Integer getSandboxApplications() { + public Long getSandboxApplications() { return sandboxApplications; } - public void setSandboxApplications(Integer sandboxApplications) { + public void setSandboxApplications(Long sandboxApplications) { this.sandboxApplications = sandboxApplications; } - public AccountAnalytics campaigns(Integer campaigns) { + public AccountAnalytics campaigns(Long campaigns) { this.campaigns = campaigns; return this; @@ -189,17 +189,17 @@ public AccountAnalytics campaigns(Integer campaigns) { **/ @ApiModelProperty(example = "35", required = true, value = "Total number of campaigns in the account.") - public Integer getCampaigns() { + public Long getCampaigns() { return campaigns; } - public void setCampaigns(Integer campaigns) { + public void setCampaigns(Long campaigns) { this.campaigns = campaigns; } - public AccountAnalytics activeCampaigns(Integer activeCampaigns) { + public AccountAnalytics activeCampaigns(Long activeCampaigns) { this.activeCampaigns = activeCampaigns; return this; @@ -211,17 +211,17 @@ public AccountAnalytics activeCampaigns(Integer activeCampaigns) { **/ @ApiModelProperty(example = "15", required = true, value = "Total number of active campaigns in the account.") - public Integer getActiveCampaigns() { + public Long getActiveCampaigns() { return activeCampaigns; } - public void setActiveCampaigns(Integer activeCampaigns) { + public void setActiveCampaigns(Long activeCampaigns) { this.activeCampaigns = activeCampaigns; } - public AccountAnalytics liveActiveCampaigns(Integer liveActiveCampaigns) { + public AccountAnalytics liveActiveCampaigns(Long liveActiveCampaigns) { this.liveActiveCampaigns = liveActiveCampaigns; return this; @@ -233,17 +233,17 @@ public AccountAnalytics liveActiveCampaigns(Integer liveActiveCampaigns) { **/ @ApiModelProperty(example = "10", required = true, value = "Total number of active campaigns in live applications in the account.") - public Integer getLiveActiveCampaigns() { + public Long getLiveActiveCampaigns() { return liveActiveCampaigns; } - public void setLiveActiveCampaigns(Integer liveActiveCampaigns) { + public void setLiveActiveCampaigns(Long liveActiveCampaigns) { this.liveActiveCampaigns = liveActiveCampaigns; } - public AccountAnalytics coupons(Integer coupons) { + public AccountAnalytics coupons(Long coupons) { this.coupons = coupons; return this; @@ -255,17 +255,17 @@ public AccountAnalytics coupons(Integer coupons) { **/ @ApiModelProperty(example = "850", required = true, value = "Total number of coupons in the account.") - public Integer getCoupons() { + public Long getCoupons() { return coupons; } - public void setCoupons(Integer coupons) { + public void setCoupons(Long coupons) { this.coupons = coupons; } - public AccountAnalytics activeCoupons(Integer activeCoupons) { + public AccountAnalytics activeCoupons(Long activeCoupons) { this.activeCoupons = activeCoupons; return this; @@ -277,17 +277,17 @@ public AccountAnalytics activeCoupons(Integer activeCoupons) { **/ @ApiModelProperty(example = "650", required = true, value = "Total number of active coupons in the account.") - public Integer getActiveCoupons() { + public Long getActiveCoupons() { return activeCoupons; } - public void setActiveCoupons(Integer activeCoupons) { + public void setActiveCoupons(Long activeCoupons) { this.activeCoupons = activeCoupons; } - public AccountAnalytics expiredCoupons(Integer expiredCoupons) { + public AccountAnalytics expiredCoupons(Long expiredCoupons) { this.expiredCoupons = expiredCoupons; return this; @@ -299,17 +299,17 @@ public AccountAnalytics expiredCoupons(Integer expiredCoupons) { **/ @ApiModelProperty(example = "200", required = true, value = "Total number of expired coupons in the account.") - public Integer getExpiredCoupons() { + public Long getExpiredCoupons() { return expiredCoupons; } - public void setExpiredCoupons(Integer expiredCoupons) { + public void setExpiredCoupons(Long expiredCoupons) { this.expiredCoupons = expiredCoupons; } - public AccountAnalytics referralCodes(Integer referralCodes) { + public AccountAnalytics referralCodes(Long referralCodes) { this.referralCodes = referralCodes; return this; @@ -321,17 +321,17 @@ public AccountAnalytics referralCodes(Integer referralCodes) { **/ @ApiModelProperty(example = "500", required = true, value = "Total number of referral codes in the account.") - public Integer getReferralCodes() { + public Long getReferralCodes() { return referralCodes; } - public void setReferralCodes(Integer referralCodes) { + public void setReferralCodes(Long referralCodes) { this.referralCodes = referralCodes; } - public AccountAnalytics activeReferralCodes(Integer activeReferralCodes) { + public AccountAnalytics activeReferralCodes(Long activeReferralCodes) { this.activeReferralCodes = activeReferralCodes; return this; @@ -343,17 +343,17 @@ public AccountAnalytics activeReferralCodes(Integer activeReferralCodes) { **/ @ApiModelProperty(example = "100", required = true, value = "Total number of active referral codes in the account.") - public Integer getActiveReferralCodes() { + public Long getActiveReferralCodes() { return activeReferralCodes; } - public void setActiveReferralCodes(Integer activeReferralCodes) { + public void setActiveReferralCodes(Long activeReferralCodes) { this.activeReferralCodes = activeReferralCodes; } - public AccountAnalytics expiredReferralCodes(Integer expiredReferralCodes) { + public AccountAnalytics expiredReferralCodes(Long expiredReferralCodes) { this.expiredReferralCodes = expiredReferralCodes; return this; @@ -365,17 +365,17 @@ public AccountAnalytics expiredReferralCodes(Integer expiredReferralCodes) { **/ @ApiModelProperty(example = "400", required = true, value = "Total number of expired referral codes in the account.") - public Integer getExpiredReferralCodes() { + public Long getExpiredReferralCodes() { return expiredReferralCodes; } - public void setExpiredReferralCodes(Integer expiredReferralCodes) { + public void setExpiredReferralCodes(Long expiredReferralCodes) { this.expiredReferralCodes = expiredReferralCodes; } - public AccountAnalytics activeRules(Integer activeRules) { + public AccountAnalytics activeRules(Long activeRules) { this.activeRules = activeRules; return this; @@ -387,17 +387,17 @@ public AccountAnalytics activeRules(Integer activeRules) { **/ @ApiModelProperty(example = "35", required = true, value = "Total number of active rules in the account.") - public Integer getActiveRules() { + public Long getActiveRules() { return activeRules; } - public void setActiveRules(Integer activeRules) { + public void setActiveRules(Long activeRules) { this.activeRules = activeRules; } - public AccountAnalytics users(Integer users) { + public AccountAnalytics users(Long users) { this.users = users; return this; @@ -409,17 +409,17 @@ public AccountAnalytics users(Integer users) { **/ @ApiModelProperty(required = true, value = "Total number of users in the account.") - public Integer getUsers() { + public Long getUsers() { return users; } - public void setUsers(Integer users) { + public void setUsers(Long users) { this.users = users; } - public AccountAnalytics roles(Integer roles) { + public AccountAnalytics roles(Long roles) { this.roles = roles; return this; @@ -431,17 +431,17 @@ public AccountAnalytics roles(Integer roles) { **/ @ApiModelProperty(example = "10", required = true, value = "Total number of roles in the account.") - public Integer getRoles() { + public Long getRoles() { return roles; } - public void setRoles(Integer roles) { + public void setRoles(Long roles) { this.roles = roles; } - public AccountAnalytics customAttributes(Integer customAttributes) { + public AccountAnalytics customAttributes(Long customAttributes) { this.customAttributes = customAttributes; return this; @@ -453,17 +453,17 @@ public AccountAnalytics customAttributes(Integer customAttributes) { **/ @ApiModelProperty(example = "18", required = true, value = "Total number of custom attributes in the account.") - public Integer getCustomAttributes() { + public Long getCustomAttributes() { return customAttributes; } - public void setCustomAttributes(Integer customAttributes) { + public void setCustomAttributes(Long customAttributes) { this.customAttributes = customAttributes; } - public AccountAnalytics webhooks(Integer webhooks) { + public AccountAnalytics webhooks(Long webhooks) { this.webhooks = webhooks; return this; @@ -475,17 +475,17 @@ public AccountAnalytics webhooks(Integer webhooks) { **/ @ApiModelProperty(example = "2", required = true, value = "Total number of webhooks in the account.") - public Integer getWebhooks() { + public Long getWebhooks() { return webhooks; } - public void setWebhooks(Integer webhooks) { + public void setWebhooks(Long webhooks) { this.webhooks = webhooks; } - public AccountAnalytics loyaltyPrograms(Integer loyaltyPrograms) { + public AccountAnalytics loyaltyPrograms(Long loyaltyPrograms) { this.loyaltyPrograms = loyaltyPrograms; return this; @@ -497,17 +497,17 @@ public AccountAnalytics loyaltyPrograms(Integer loyaltyPrograms) { **/ @ApiModelProperty(example = "5", required = true, value = "Total number of all loyalty programs in the account.") - public Integer getLoyaltyPrograms() { + public Long getLoyaltyPrograms() { return loyaltyPrograms; } - public void setLoyaltyPrograms(Integer loyaltyPrograms) { + public void setLoyaltyPrograms(Long loyaltyPrograms) { this.loyaltyPrograms = loyaltyPrograms; } - public AccountAnalytics liveLoyaltyPrograms(Integer liveLoyaltyPrograms) { + public AccountAnalytics liveLoyaltyPrograms(Long liveLoyaltyPrograms) { this.liveLoyaltyPrograms = liveLoyaltyPrograms; return this; @@ -519,12 +519,12 @@ public AccountAnalytics liveLoyaltyPrograms(Integer liveLoyaltyPrograms) { **/ @ApiModelProperty(example = "5", required = true, value = "Total number of live loyalty programs in the account.") - public Integer getLiveLoyaltyPrograms() { + public Long getLiveLoyaltyPrograms() { return liveLoyaltyPrograms; } - public void setLiveLoyaltyPrograms(Integer liveLoyaltyPrograms) { + public void setLiveLoyaltyPrograms(Long liveLoyaltyPrograms) { this.liveLoyaltyPrograms = liveLoyaltyPrograms; } diff --git a/src/main/java/one/talon/model/AccountDashboardStatisticCampaigns.java b/src/main/java/one/talon/model/AccountDashboardStatisticCampaigns.java index 7e779046..b640c079 100644 --- a/src/main/java/one/talon/model/AccountDashboardStatisticCampaigns.java +++ b/src/main/java/one/talon/model/AccountDashboardStatisticCampaigns.java @@ -31,18 +31,18 @@ public class AccountDashboardStatisticCampaigns { public static final String SERIALIZED_NAME_LIVE = "live"; @SerializedName(SERIALIZED_NAME_LIVE) - private Integer live; + private Long live; public static final String SERIALIZED_NAME_ENDING_SOON = "endingSoon"; @SerializedName(SERIALIZED_NAME_ENDING_SOON) - private Integer endingSoon; + private Long endingSoon; public static final String SERIALIZED_NAME_LOW_ON_BUDGET = "lowOnBudget"; @SerializedName(SERIALIZED_NAME_LOW_ON_BUDGET) - private Integer lowOnBudget; + private Long lowOnBudget; - public AccountDashboardStatisticCampaigns live(Integer live) { + public AccountDashboardStatisticCampaigns live(Long live) { this.live = live; return this; @@ -54,17 +54,17 @@ public AccountDashboardStatisticCampaigns live(Integer live) { **/ @ApiModelProperty(required = true, value = "Number of campaigns that are active and live (across all Applications).") - public Integer getLive() { + public Long getLive() { return live; } - public void setLive(Integer live) { + public void setLive(Long live) { this.live = live; } - public AccountDashboardStatisticCampaigns endingSoon(Integer endingSoon) { + public AccountDashboardStatisticCampaigns endingSoon(Long endingSoon) { this.endingSoon = endingSoon; return this; @@ -76,17 +76,17 @@ public AccountDashboardStatisticCampaigns endingSoon(Integer endingSoon) { **/ @ApiModelProperty(required = true, value = "Campaigns scheduled to expire sometime in the next 7 days.") - public Integer getEndingSoon() { + public Long getEndingSoon() { return endingSoon; } - public void setEndingSoon(Integer endingSoon) { + public void setEndingSoon(Long endingSoon) { this.endingSoon = endingSoon; } - public AccountDashboardStatisticCampaigns lowOnBudget(Integer lowOnBudget) { + public AccountDashboardStatisticCampaigns lowOnBudget(Long lowOnBudget) { this.lowOnBudget = lowOnBudget; return this; @@ -98,12 +98,12 @@ public AccountDashboardStatisticCampaigns lowOnBudget(Integer lowOnBudget) { **/ @ApiModelProperty(required = true, value = "Campaigns with less than 10% of budget left.") - public Integer getLowOnBudget() { + public Long getLowOnBudget() { return lowOnBudget; } - public void setLowOnBudget(Integer lowOnBudget) { + public void setLowOnBudget(Long lowOnBudget) { this.lowOnBudget = lowOnBudget; } diff --git a/src/main/java/one/talon/model/AccountEntity.java b/src/main/java/one/talon/model/AccountEntity.java index a4b8809d..16875cb1 100644 --- a/src/main/java/one/talon/model/AccountEntity.java +++ b/src/main/java/one/talon/model/AccountEntity.java @@ -31,10 +31,10 @@ public class AccountEntity { public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private Integer accountId; + private Long accountId; - public AccountEntity accountId(Integer accountId) { + public AccountEntity accountId(Long accountId) { this.accountId = accountId; return this; @@ -46,12 +46,12 @@ public AccountEntity accountId(Integer accountId) { **/ @ApiModelProperty(example = "3886", required = true, value = "The ID of the account that owns this entity.") - public Integer getAccountId() { + public Long getAccountId() { return accountId; } - public void setAccountId(Integer accountId) { + public void setAccountId(Long accountId) { this.accountId = accountId; } diff --git a/src/main/java/one/talon/model/AccountLimits.java b/src/main/java/one/talon/model/AccountLimits.java index f9f93aef..d33ac94e 100644 --- a/src/main/java/one/talon/model/AccountLimits.java +++ b/src/main/java/one/talon/model/AccountLimits.java @@ -33,54 +33,54 @@ public class AccountLimits { public static final String SERIALIZED_NAME_LIVE_APPLICATIONS = "liveApplications"; @SerializedName(SERIALIZED_NAME_LIVE_APPLICATIONS) - private Integer liveApplications; + private Long liveApplications; public static final String SERIALIZED_NAME_SANDBOX_APPLICATIONS = "sandboxApplications"; @SerializedName(SERIALIZED_NAME_SANDBOX_APPLICATIONS) - private Integer sandboxApplications; + private Long sandboxApplications; public static final String SERIALIZED_NAME_ACTIVE_CAMPAIGNS = "activeCampaigns"; @SerializedName(SERIALIZED_NAME_ACTIVE_CAMPAIGNS) - private Integer activeCampaigns; + private Long activeCampaigns; public static final String SERIALIZED_NAME_COUPONS = "coupons"; @SerializedName(SERIALIZED_NAME_COUPONS) - private Integer coupons; + private Long coupons; public static final String SERIALIZED_NAME_REFERRAL_CODES = "referralCodes"; @SerializedName(SERIALIZED_NAME_REFERRAL_CODES) - private Integer referralCodes; + private Long referralCodes; public static final String SERIALIZED_NAME_ACTIVE_RULES = "activeRules"; @SerializedName(SERIALIZED_NAME_ACTIVE_RULES) - private Integer activeRules; + private Long activeRules; public static final String SERIALIZED_NAME_LIVE_LOYALTY_PROGRAMS = "liveLoyaltyPrograms"; @SerializedName(SERIALIZED_NAME_LIVE_LOYALTY_PROGRAMS) - private Integer liveLoyaltyPrograms; + private Long liveLoyaltyPrograms; public static final String SERIALIZED_NAME_SANDBOX_LOYALTY_PROGRAMS = "sandboxLoyaltyPrograms"; @SerializedName(SERIALIZED_NAME_SANDBOX_LOYALTY_PROGRAMS) - private Integer sandboxLoyaltyPrograms; + private Long sandboxLoyaltyPrograms; public static final String SERIALIZED_NAME_WEBHOOKS = "webhooks"; @SerializedName(SERIALIZED_NAME_WEBHOOKS) - private Integer webhooks; + private Long webhooks; public static final String SERIALIZED_NAME_USERS = "users"; @SerializedName(SERIALIZED_NAME_USERS) - private Integer users; + private Long users; public static final String SERIALIZED_NAME_API_VOLUME = "apiVolume"; @SerializedName(SERIALIZED_NAME_API_VOLUME) - private Integer apiVolume; + private Long apiVolume; public static final String SERIALIZED_NAME_PROMOTION_TYPES = "promotionTypes"; @SerializedName(SERIALIZED_NAME_PROMOTION_TYPES) private List promotionTypes = new ArrayList(); - public AccountLimits liveApplications(Integer liveApplications) { + public AccountLimits liveApplications(Long liveApplications) { this.liveApplications = liveApplications; return this; @@ -92,17 +92,17 @@ public AccountLimits liveApplications(Integer liveApplications) { **/ @ApiModelProperty(required = true, value = "Total number of allowed live applications in the account.") - public Integer getLiveApplications() { + public Long getLiveApplications() { return liveApplications; } - public void setLiveApplications(Integer liveApplications) { + public void setLiveApplications(Long liveApplications) { this.liveApplications = liveApplications; } - public AccountLimits sandboxApplications(Integer sandboxApplications) { + public AccountLimits sandboxApplications(Long sandboxApplications) { this.sandboxApplications = sandboxApplications; return this; @@ -114,17 +114,17 @@ public AccountLimits sandboxApplications(Integer sandboxApplications) { **/ @ApiModelProperty(required = true, value = "Total number of allowed sandbox applications in the account.") - public Integer getSandboxApplications() { + public Long getSandboxApplications() { return sandboxApplications; } - public void setSandboxApplications(Integer sandboxApplications) { + public void setSandboxApplications(Long sandboxApplications) { this.sandboxApplications = sandboxApplications; } - public AccountLimits activeCampaigns(Integer activeCampaigns) { + public AccountLimits activeCampaigns(Long activeCampaigns) { this.activeCampaigns = activeCampaigns; return this; @@ -136,17 +136,17 @@ public AccountLimits activeCampaigns(Integer activeCampaigns) { **/ @ApiModelProperty(required = true, value = "Total number of allowed active campaigns in live applications in the account.") - public Integer getActiveCampaigns() { + public Long getActiveCampaigns() { return activeCampaigns; } - public void setActiveCampaigns(Integer activeCampaigns) { + public void setActiveCampaigns(Long activeCampaigns) { this.activeCampaigns = activeCampaigns; } - public AccountLimits coupons(Integer coupons) { + public AccountLimits coupons(Long coupons) { this.coupons = coupons; return this; @@ -158,17 +158,17 @@ public AccountLimits coupons(Integer coupons) { **/ @ApiModelProperty(required = true, value = "Total number of allowed coupons in the account.") - public Integer getCoupons() { + public Long getCoupons() { return coupons; } - public void setCoupons(Integer coupons) { + public void setCoupons(Long coupons) { this.coupons = coupons; } - public AccountLimits referralCodes(Integer referralCodes) { + public AccountLimits referralCodes(Long referralCodes) { this.referralCodes = referralCodes; return this; @@ -180,17 +180,17 @@ public AccountLimits referralCodes(Integer referralCodes) { **/ @ApiModelProperty(required = true, value = "Total number of allowed referral codes in the account.") - public Integer getReferralCodes() { + public Long getReferralCodes() { return referralCodes; } - public void setReferralCodes(Integer referralCodes) { + public void setReferralCodes(Long referralCodes) { this.referralCodes = referralCodes; } - public AccountLimits activeRules(Integer activeRules) { + public AccountLimits activeRules(Long activeRules) { this.activeRules = activeRules; return this; @@ -202,17 +202,17 @@ public AccountLimits activeRules(Integer activeRules) { **/ @ApiModelProperty(required = true, value = "Total number of allowed active rulesets in the account.") - public Integer getActiveRules() { + public Long getActiveRules() { return activeRules; } - public void setActiveRules(Integer activeRules) { + public void setActiveRules(Long activeRules) { this.activeRules = activeRules; } - public AccountLimits liveLoyaltyPrograms(Integer liveLoyaltyPrograms) { + public AccountLimits liveLoyaltyPrograms(Long liveLoyaltyPrograms) { this.liveLoyaltyPrograms = liveLoyaltyPrograms; return this; @@ -224,17 +224,17 @@ public AccountLimits liveLoyaltyPrograms(Integer liveLoyaltyPrograms) { **/ @ApiModelProperty(required = true, value = "Total number of allowed live loyalty programs in the account.") - public Integer getLiveLoyaltyPrograms() { + public Long getLiveLoyaltyPrograms() { return liveLoyaltyPrograms; } - public void setLiveLoyaltyPrograms(Integer liveLoyaltyPrograms) { + public void setLiveLoyaltyPrograms(Long liveLoyaltyPrograms) { this.liveLoyaltyPrograms = liveLoyaltyPrograms; } - public AccountLimits sandboxLoyaltyPrograms(Integer sandboxLoyaltyPrograms) { + public AccountLimits sandboxLoyaltyPrograms(Long sandboxLoyaltyPrograms) { this.sandboxLoyaltyPrograms = sandboxLoyaltyPrograms; return this; @@ -246,17 +246,17 @@ public AccountLimits sandboxLoyaltyPrograms(Integer sandboxLoyaltyPrograms) { **/ @ApiModelProperty(required = true, value = "Total number of allowed sandbox loyalty programs in the account.") - public Integer getSandboxLoyaltyPrograms() { + public Long getSandboxLoyaltyPrograms() { return sandboxLoyaltyPrograms; } - public void setSandboxLoyaltyPrograms(Integer sandboxLoyaltyPrograms) { + public void setSandboxLoyaltyPrograms(Long sandboxLoyaltyPrograms) { this.sandboxLoyaltyPrograms = sandboxLoyaltyPrograms; } - public AccountLimits webhooks(Integer webhooks) { + public AccountLimits webhooks(Long webhooks) { this.webhooks = webhooks; return this; @@ -268,17 +268,17 @@ public AccountLimits webhooks(Integer webhooks) { **/ @ApiModelProperty(required = true, value = "Total number of allowed webhooks in the account.") - public Integer getWebhooks() { + public Long getWebhooks() { return webhooks; } - public void setWebhooks(Integer webhooks) { + public void setWebhooks(Long webhooks) { this.webhooks = webhooks; } - public AccountLimits users(Integer users) { + public AccountLimits users(Long users) { this.users = users; return this; @@ -290,17 +290,17 @@ public AccountLimits users(Integer users) { **/ @ApiModelProperty(required = true, value = "Total number of allowed users in the account.") - public Integer getUsers() { + public Long getUsers() { return users; } - public void setUsers(Integer users) { + public void setUsers(Long users) { this.users = users; } - public AccountLimits apiVolume(Integer apiVolume) { + public AccountLimits apiVolume(Long apiVolume) { this.apiVolume = apiVolume; return this; @@ -312,12 +312,12 @@ public AccountLimits apiVolume(Integer apiVolume) { **/ @ApiModelProperty(required = true, value = "Allowed volume of API requests to the account.") - public Integer getApiVolume() { + public Long getApiVolume() { return apiVolume; } - public void setApiVolume(Integer apiVolume) { + public void setApiVolume(Long apiVolume) { this.apiVolume = apiVolume; } diff --git a/src/main/java/one/talon/model/Achievement.java b/src/main/java/one/talon/model/Achievement.java index 22d4818a..3c153f85 100644 --- a/src/main/java/one/talon/model/Achievement.java +++ b/src/main/java/one/talon/model/Achievement.java @@ -34,7 +34,7 @@ public class Achievement { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -176,11 +176,11 @@ public ActivationPolicyEnum read(final JsonReader jsonReader) throws IOException public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) - private Integer campaignId; + private Long campaignId; public static final String SERIALIZED_NAME_USER_ID = "userId"; @SerializedName(SERIALIZED_NAME_USER_ID) - private Integer userId; + private Long userId; public static final String SERIALIZED_NAME_CREATED_BY = "createdBy"; @SerializedName(SERIALIZED_NAME_CREATED_BY) @@ -246,7 +246,7 @@ public StatusEnum read(final JsonReader jsonReader) throws IOException { private StatusEnum status; - public Achievement id(Integer id) { + public Achievement id(Long id) { this.id = id; return this; @@ -258,12 +258,12 @@ public Achievement id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -516,7 +516,7 @@ public void setEndDate(OffsetDateTime endDate) { } - public Achievement campaignId(Integer campaignId) { + public Achievement campaignId(Long campaignId) { this.campaignId = campaignId; return this; @@ -528,17 +528,17 @@ public Achievement campaignId(Integer campaignId) { **/ @ApiModelProperty(example = "1", required = true, value = "The ID of the campaign the achievement belongs to.") - public Integer getCampaignId() { + public Long getCampaignId() { return campaignId; } - public void setCampaignId(Integer campaignId) { + public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } - public Achievement userId(Integer userId) { + public Achievement userId(Long userId) { this.userId = userId; return this; @@ -550,12 +550,12 @@ public Achievement userId(Integer userId) { **/ @ApiModelProperty(example = "1234", required = true, value = "ID of the user that created this achievement.") - public Integer getUserId() { + public Long getUserId() { return userId; } - public void setUserId(Integer userId) { + public void setUserId(Long userId) { this.userId = userId; } diff --git a/src/main/java/one/talon/model/AchievementAdditionalProperties.java b/src/main/java/one/talon/model/AchievementAdditionalProperties.java index ba64d1d3..d0ba2d1c 100644 --- a/src/main/java/one/talon/model/AchievementAdditionalProperties.java +++ b/src/main/java/one/talon/model/AchievementAdditionalProperties.java @@ -31,11 +31,11 @@ public class AchievementAdditionalProperties { public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) - private Integer campaignId; + private Long campaignId; public static final String SERIALIZED_NAME_USER_ID = "userId"; @SerializedName(SERIALIZED_NAME_USER_ID) - private Integer userId; + private Long userId; public static final String SERIALIZED_NAME_CREATED_BY = "createdBy"; @SerializedName(SERIALIZED_NAME_CREATED_BY) @@ -101,7 +101,7 @@ public StatusEnum read(final JsonReader jsonReader) throws IOException { private StatusEnum status; - public AchievementAdditionalProperties campaignId(Integer campaignId) { + public AchievementAdditionalProperties campaignId(Long campaignId) { this.campaignId = campaignId; return this; @@ -113,17 +113,17 @@ public AchievementAdditionalProperties campaignId(Integer campaignId) { **/ @ApiModelProperty(example = "1", required = true, value = "The ID of the campaign the achievement belongs to.") - public Integer getCampaignId() { + public Long getCampaignId() { return campaignId; } - public void setCampaignId(Integer campaignId) { + public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } - public AchievementAdditionalProperties userId(Integer userId) { + public AchievementAdditionalProperties userId(Long userId) { this.userId = userId; return this; @@ -135,12 +135,12 @@ public AchievementAdditionalProperties userId(Integer userId) { **/ @ApiModelProperty(example = "1234", required = true, value = "ID of the user that created this achievement.") - public Integer getUserId() { + public Long getUserId() { return userId; } - public void setUserId(Integer userId) { + public void setUserId(Long userId) { this.userId = userId; } diff --git a/src/main/java/one/talon/model/AchievementProgressWithDefinition.java b/src/main/java/one/talon/model/AchievementProgressWithDefinition.java index 68147801..b3713098 100644 --- a/src/main/java/one/talon/model/AchievementProgressWithDefinition.java +++ b/src/main/java/one/talon/model/AchievementProgressWithDefinition.java @@ -105,7 +105,7 @@ public StatusEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_ACHIEVEMENT_ID = "achievementId"; @SerializedName(SERIALIZED_NAME_ACHIEVEMENT_ID) - private Integer achievementId; + private Long achievementId; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -121,7 +121,7 @@ public StatusEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) - private Integer campaignId; + private Long campaignId; public static final String SERIALIZED_NAME_TARGET = "target"; @SerializedName(SERIALIZED_NAME_TARGET) @@ -351,7 +351,7 @@ public void setEndDate(OffsetDateTime endDate) { } - public AchievementProgressWithDefinition achievementId(Integer achievementId) { + public AchievementProgressWithDefinition achievementId(Long achievementId) { this.achievementId = achievementId; return this; @@ -363,12 +363,12 @@ public AchievementProgressWithDefinition achievementId(Integer achievementId) { **/ @ApiModelProperty(example = "3", required = true, value = "The internal ID of the achievement.") - public Integer getAchievementId() { + public Long getAchievementId() { return achievementId; } - public void setAchievementId(Integer achievementId) { + public void setAchievementId(Long achievementId) { this.achievementId = achievementId; } @@ -439,7 +439,7 @@ public void setDescription(String description) { } - public AchievementProgressWithDefinition campaignId(Integer campaignId) { + public AchievementProgressWithDefinition campaignId(Long campaignId) { this.campaignId = campaignId; return this; @@ -451,12 +451,12 @@ public AchievementProgressWithDefinition campaignId(Integer campaignId) { **/ @ApiModelProperty(example = "3", required = true, value = "The ID of the campaign the achievement belongs to.") - public Integer getCampaignId() { + public Long getCampaignId() { return campaignId; } - public void setCampaignId(Integer campaignId) { + public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } diff --git a/src/main/java/one/talon/model/AchievementStatusEntry.java b/src/main/java/one/talon/model/AchievementStatusEntry.java index ebac586b..98b5f25d 100644 --- a/src/main/java/one/talon/model/AchievementStatusEntry.java +++ b/src/main/java/one/talon/model/AchievementStatusEntry.java @@ -35,7 +35,7 @@ public class AchievementStatusEntry { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -177,7 +177,7 @@ public ActivationPolicyEnum read(final JsonReader jsonReader) throws IOException public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) - private Integer campaignId; + private Long campaignId; /** * The status of the achievement. @@ -235,7 +235,7 @@ public StatusEnum read(final JsonReader jsonReader) throws IOException { private AchievementProgress currentProgress; - public AchievementStatusEntry id(Integer id) { + public AchievementStatusEntry id(Long id) { this.id = id; return this; @@ -247,12 +247,12 @@ public AchievementStatusEntry id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -505,7 +505,7 @@ public void setEndDate(OffsetDateTime endDate) { } - public AchievementStatusEntry campaignId(Integer campaignId) { + public AchievementStatusEntry campaignId(Long campaignId) { this.campaignId = campaignId; return this; @@ -518,12 +518,12 @@ public AchievementStatusEntry campaignId(Integer campaignId) { @javax.annotation.Nullable @ApiModelProperty(example = "1", value = "The ID of the campaign the achievement belongs to.") - public Integer getCampaignId() { + public Long getCampaignId() { return campaignId; } - public void setCampaignId(Integer campaignId) { + public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } diff --git a/src/main/java/one/talon/model/AddFreeItemEffectProps.java b/src/main/java/one/talon/model/AddFreeItemEffectProps.java index 3db7bc49..370fb9b3 100644 --- a/src/main/java/one/talon/model/AddFreeItemEffectProps.java +++ b/src/main/java/one/talon/model/AddFreeItemEffectProps.java @@ -40,7 +40,7 @@ public class AddFreeItemEffectProps { public static final String SERIALIZED_NAME_DESIRED_QUANTITY = "desiredQuantity"; @SerializedName(SERIALIZED_NAME_DESIRED_QUANTITY) - private Integer desiredQuantity; + private Long desiredQuantity; public AddFreeItemEffectProps sku(String sku) { @@ -87,7 +87,7 @@ public void setName(String name) { } - public AddFreeItemEffectProps desiredQuantity(Integer desiredQuantity) { + public AddFreeItemEffectProps desiredQuantity(Long desiredQuantity) { this.desiredQuantity = desiredQuantity; return this; @@ -100,12 +100,12 @@ public AddFreeItemEffectProps desiredQuantity(Integer desiredQuantity) { @javax.annotation.Nullable @ApiModelProperty(value = "The original quantity in case a partial reward was applied.") - public Integer getDesiredQuantity() { + public Long getDesiredQuantity() { return desiredQuantity; } - public void setDesiredQuantity(Integer desiredQuantity) { + public void setDesiredQuantity(Long desiredQuantity) { this.desiredQuantity = desiredQuantity; } diff --git a/src/main/java/one/talon/model/AddItemCatalogAction.java b/src/main/java/one/talon/model/AddItemCatalogAction.java index 3ebea9d5..2b4bbd70 100644 --- a/src/main/java/one/talon/model/AddItemCatalogAction.java +++ b/src/main/java/one/talon/model/AddItemCatalogAction.java @@ -25,14 +25,11 @@ import java.io.IOException; import java.math.BigDecimal; import one.talon.model.Product; -import one.talon.custom.JsonNullable; -import one.talon.custom.NullableAdapterFactory; /** * The specific properties of the \"ADD\" catalog sync action. */ @ApiModel(description = "The specific properties of the \"ADD\" catalog sync action. ") -@JsonAdapter(NullableAdapterFactory.class) public class AddItemCatalogAction { public static final String SERIALIZED_NAME_SKU = "sku"; @@ -45,8 +42,6 @@ public class AddItemCatalogAction { public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - /*allow Serializing null for this field */ - @JsonNullable private Object attributes; public static final String SERIALIZED_NAME_PRODUCT = "product"; diff --git a/src/main/java/one/talon/model/AddLoyaltyPoints.java b/src/main/java/one/talon/model/AddLoyaltyPoints.java index b5df785d..0b414ce6 100644 --- a/src/main/java/one/talon/model/AddLoyaltyPoints.java +++ b/src/main/java/one/talon/model/AddLoyaltyPoints.java @@ -62,7 +62,7 @@ public class AddLoyaltyPoints { public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - private Integer applicationId; + private Long applicationId; public AddLoyaltyPoints points(BigDecimal points) { @@ -227,7 +227,7 @@ public void setSubledgerId(String subledgerId) { } - public AddLoyaltyPoints applicationId(Integer applicationId) { + public AddLoyaltyPoints applicationId(Long applicationId) { this.applicationId = applicationId; return this; @@ -240,12 +240,12 @@ public AddLoyaltyPoints applicationId(Integer applicationId) { @javax.annotation.Nullable @ApiModelProperty(example = "322", value = "ID of the Application that is connected to the loyalty program. It is displayed in your Talon.One deployment URL.") - public Integer getApplicationId() { + public Long getApplicationId() { return applicationId; } - public void setApplicationId(Integer applicationId) { + public void setApplicationId(Long applicationId) { this.applicationId = applicationId; } diff --git a/src/main/java/one/talon/model/AddLoyaltyPointsEffectProps.java b/src/main/java/one/talon/model/AddLoyaltyPointsEffectProps.java index e2b4f387..3014a578 100644 --- a/src/main/java/one/talon/model/AddLoyaltyPointsEffectProps.java +++ b/src/main/java/one/talon/model/AddLoyaltyPointsEffectProps.java @@ -38,7 +38,7 @@ public class AddLoyaltyPointsEffectProps { public static final String SERIALIZED_NAME_PROGRAM_ID = "programId"; @SerializedName(SERIALIZED_NAME_PROGRAM_ID) - private Integer programId; + private Long programId; public static final String SERIALIZED_NAME_SUB_LEDGER_ID = "subLedgerId"; @SerializedName(SERIALIZED_NAME_SUB_LEDGER_ID) @@ -82,7 +82,7 @@ public class AddLoyaltyPointsEffectProps { public static final String SERIALIZED_NAME_BUNDLE_INDEX = "bundleIndex"; @SerializedName(SERIALIZED_NAME_BUNDLE_INDEX) - private Integer bundleIndex; + private Long bundleIndex; public static final String SERIALIZED_NAME_BUNDLE_NAME = "bundleName"; @SerializedName(SERIALIZED_NAME_BUNDLE_NAME) @@ -111,7 +111,7 @@ public void setName(String name) { } - public AddLoyaltyPointsEffectProps programId(Integer programId) { + public AddLoyaltyPointsEffectProps programId(Long programId) { this.programId = programId; return this; @@ -123,12 +123,12 @@ public AddLoyaltyPointsEffectProps programId(Integer programId) { **/ @ApiModelProperty(required = true, value = "The ID of the loyalty program where these points were added.") - public Integer getProgramId() { + public Long getProgramId() { return programId; } - public void setProgramId(Integer programId) { + public void setProgramId(Long programId) { this.programId = programId; } @@ -359,7 +359,7 @@ public void setCardIdentifier(String cardIdentifier) { } - public AddLoyaltyPointsEffectProps bundleIndex(Integer bundleIndex) { + public AddLoyaltyPointsEffectProps bundleIndex(Long bundleIndex) { this.bundleIndex = bundleIndex; return this; @@ -372,12 +372,12 @@ public AddLoyaltyPointsEffectProps bundleIndex(Integer bundleIndex) { @javax.annotation.Nullable @ApiModelProperty(value = "The position of the bundle in a list of item bundles created from the same bundle definition.") - public Integer getBundleIndex() { + public Long getBundleIndex() { return bundleIndex; } - public void setBundleIndex(Integer bundleIndex) { + public void setBundleIndex(Long bundleIndex) { this.bundleIndex = bundleIndex; } diff --git a/src/main/java/one/talon/model/AddToAudienceEffectProps.java b/src/main/java/one/talon/model/AddToAudienceEffectProps.java index 72f38fa8..71a166b1 100644 --- a/src/main/java/one/talon/model/AddToAudienceEffectProps.java +++ b/src/main/java/one/talon/model/AddToAudienceEffectProps.java @@ -32,7 +32,7 @@ public class AddToAudienceEffectProps { public static final String SERIALIZED_NAME_AUDIENCE_ID = "audienceId"; @SerializedName(SERIALIZED_NAME_AUDIENCE_ID) - private Integer audienceId; + private Long audienceId; public static final String SERIALIZED_NAME_AUDIENCE_NAME = "audienceName"; @SerializedName(SERIALIZED_NAME_AUDIENCE_NAME) @@ -44,10 +44,10 @@ public class AddToAudienceEffectProps { public static final String SERIALIZED_NAME_PROFILE_ID = "profileId"; @SerializedName(SERIALIZED_NAME_PROFILE_ID) - private Integer profileId; + private Long profileId; - public AddToAudienceEffectProps audienceId(Integer audienceId) { + public AddToAudienceEffectProps audienceId(Long audienceId) { this.audienceId = audienceId; return this; @@ -60,12 +60,12 @@ public AddToAudienceEffectProps audienceId(Integer audienceId) { @javax.annotation.Nullable @ApiModelProperty(example = "10", value = "The internal ID of the audience.") - public Integer getAudienceId() { + public Long getAudienceId() { return audienceId; } - public void setAudienceId(Integer audienceId) { + public void setAudienceId(Long audienceId) { this.audienceId = audienceId; } @@ -116,7 +116,7 @@ public void setProfileIntegrationId(String profileIntegrationId) { } - public AddToAudienceEffectProps profileId(Integer profileId) { + public AddToAudienceEffectProps profileId(Long profileId) { this.profileId = profileId; return this; @@ -129,12 +129,12 @@ public AddToAudienceEffectProps profileId(Integer profileId) { @javax.annotation.Nullable @ApiModelProperty(example = "150", value = "The internal ID of the customer profile.") - public Integer getProfileId() { + public Long getProfileId() { return profileId; } - public void setProfileId(Integer profileId) { + public void setProfileId(Long profileId) { this.profileId = profileId; } diff --git a/src/main/java/one/talon/model/AdditionalCampaignProperties.java b/src/main/java/one/talon/model/AdditionalCampaignProperties.java index 305e9364..f1f6f967 100644 --- a/src/main/java/one/talon/model/AdditionalCampaignProperties.java +++ b/src/main/java/one/talon/model/AdditionalCampaignProperties.java @@ -40,11 +40,11 @@ public class AdditionalCampaignProperties { public static final String SERIALIZED_NAME_COUPON_REDEMPTION_COUNT = "couponRedemptionCount"; @SerializedName(SERIALIZED_NAME_COUPON_REDEMPTION_COUNT) - private Integer couponRedemptionCount; + private Long couponRedemptionCount; public static final String SERIALIZED_NAME_REFERRAL_REDEMPTION_COUNT = "referralRedemptionCount"; @SerializedName(SERIALIZED_NAME_REFERRAL_REDEMPTION_COUNT) - private Integer referralRedemptionCount; + private Long referralRedemptionCount; public static final String SERIALIZED_NAME_DISCOUNT_COUNT = "discountCount"; @SerializedName(SERIALIZED_NAME_DISCOUNT_COUNT) @@ -52,27 +52,27 @@ public class AdditionalCampaignProperties { public static final String SERIALIZED_NAME_DISCOUNT_EFFECT_COUNT = "discountEffectCount"; @SerializedName(SERIALIZED_NAME_DISCOUNT_EFFECT_COUNT) - private Integer discountEffectCount; + private Long discountEffectCount; public static final String SERIALIZED_NAME_COUPON_CREATION_COUNT = "couponCreationCount"; @SerializedName(SERIALIZED_NAME_COUPON_CREATION_COUNT) - private Integer couponCreationCount; + private Long couponCreationCount; public static final String SERIALIZED_NAME_CUSTOM_EFFECT_COUNT = "customEffectCount"; @SerializedName(SERIALIZED_NAME_CUSTOM_EFFECT_COUNT) - private Integer customEffectCount; + private Long customEffectCount; public static final String SERIALIZED_NAME_REFERRAL_CREATION_COUNT = "referralCreationCount"; @SerializedName(SERIALIZED_NAME_REFERRAL_CREATION_COUNT) - private Integer referralCreationCount; + private Long referralCreationCount; public static final String SERIALIZED_NAME_ADD_FREE_ITEM_EFFECT_COUNT = "addFreeItemEffectCount"; @SerializedName(SERIALIZED_NAME_ADD_FREE_ITEM_EFFECT_COUNT) - private Integer addFreeItemEffectCount; + private Long addFreeItemEffectCount; public static final String SERIALIZED_NAME_AWARDED_GIVEAWAYS_COUNT = "awardedGiveawaysCount"; @SerializedName(SERIALIZED_NAME_AWARDED_GIVEAWAYS_COUNT) - private Integer awardedGiveawaysCount; + private Long awardedGiveawaysCount; public static final String SERIALIZED_NAME_CREATED_LOYALTY_POINTS_COUNT = "createdLoyaltyPointsCount"; @SerializedName(SERIALIZED_NAME_CREATED_LOYALTY_POINTS_COUNT) @@ -80,7 +80,7 @@ public class AdditionalCampaignProperties { public static final String SERIALIZED_NAME_CREATED_LOYALTY_POINTS_EFFECT_COUNT = "createdLoyaltyPointsEffectCount"; @SerializedName(SERIALIZED_NAME_CREATED_LOYALTY_POINTS_EFFECT_COUNT) - private Integer createdLoyaltyPointsEffectCount; + private Long createdLoyaltyPointsEffectCount; public static final String SERIALIZED_NAME_REDEEMED_LOYALTY_POINTS_COUNT = "redeemedLoyaltyPointsCount"; @SerializedName(SERIALIZED_NAME_REDEEMED_LOYALTY_POINTS_COUNT) @@ -88,15 +88,15 @@ public class AdditionalCampaignProperties { public static final String SERIALIZED_NAME_REDEEMED_LOYALTY_POINTS_EFFECT_COUNT = "redeemedLoyaltyPointsEffectCount"; @SerializedName(SERIALIZED_NAME_REDEEMED_LOYALTY_POINTS_EFFECT_COUNT) - private Integer redeemedLoyaltyPointsEffectCount; + private Long redeemedLoyaltyPointsEffectCount; public static final String SERIALIZED_NAME_CALL_API_EFFECT_COUNT = "callApiEffectCount"; @SerializedName(SERIALIZED_NAME_CALL_API_EFFECT_COUNT) - private Integer callApiEffectCount; + private Long callApiEffectCount; public static final String SERIALIZED_NAME_RESERVECOUPON_EFFECT_COUNT = "reservecouponEffectCount"; @SerializedName(SERIALIZED_NAME_RESERVECOUPON_EFFECT_COUNT) - private Integer reservecouponEffectCount; + private Long reservecouponEffectCount; public static final String SERIALIZED_NAME_LAST_ACTIVITY = "lastActivity"; @SerializedName(SERIALIZED_NAME_LAST_ACTIVITY) @@ -116,7 +116,7 @@ public class AdditionalCampaignProperties { public static final String SERIALIZED_NAME_TEMPLATE_ID = "templateId"; @SerializedName(SERIALIZED_NAME_TEMPLATE_ID) - private Integer templateId; + private Long templateId; /** * The campaign state displayed in the Campaign Manager. @@ -183,7 +183,7 @@ public FrontendStateEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_VALUE_MAPS_IDS = "valueMapsIds"; @SerializedName(SERIALIZED_NAME_VALUE_MAPS_IDS) - private List valueMapsIds = null; + private List valueMapsIds = null; public AdditionalCampaignProperties budgets(List budgets) { @@ -217,7 +217,7 @@ public void setBudgets(List budgets) { } - public AdditionalCampaignProperties couponRedemptionCount(Integer couponRedemptionCount) { + public AdditionalCampaignProperties couponRedemptionCount(Long couponRedemptionCount) { this.couponRedemptionCount = couponRedemptionCount; return this; @@ -230,17 +230,17 @@ public AdditionalCampaignProperties couponRedemptionCount(Integer couponRedempti @javax.annotation.Nullable @ApiModelProperty(example = "163", value = "This property is **deprecated**. The count should be available under *budgets* property. Number of coupons redeemed in the campaign. ") - public Integer getCouponRedemptionCount() { + public Long getCouponRedemptionCount() { return couponRedemptionCount; } - public void setCouponRedemptionCount(Integer couponRedemptionCount) { + public void setCouponRedemptionCount(Long couponRedemptionCount) { this.couponRedemptionCount = couponRedemptionCount; } - public AdditionalCampaignProperties referralRedemptionCount(Integer referralRedemptionCount) { + public AdditionalCampaignProperties referralRedemptionCount(Long referralRedemptionCount) { this.referralRedemptionCount = referralRedemptionCount; return this; @@ -253,12 +253,12 @@ public AdditionalCampaignProperties referralRedemptionCount(Integer referralRede @javax.annotation.Nullable @ApiModelProperty(example = "3", value = "This property is **deprecated**. The count should be available under *budgets* property. Number of referral codes redeemed in the campaign. ") - public Integer getReferralRedemptionCount() { + public Long getReferralRedemptionCount() { return referralRedemptionCount; } - public void setReferralRedemptionCount(Integer referralRedemptionCount) { + public void setReferralRedemptionCount(Long referralRedemptionCount) { this.referralRedemptionCount = referralRedemptionCount; } @@ -286,7 +286,7 @@ public void setDiscountCount(BigDecimal discountCount) { } - public AdditionalCampaignProperties discountEffectCount(Integer discountEffectCount) { + public AdditionalCampaignProperties discountEffectCount(Long discountEffectCount) { this.discountEffectCount = discountEffectCount; return this; @@ -299,17 +299,17 @@ public AdditionalCampaignProperties discountEffectCount(Integer discountEffectCo @javax.annotation.Nullable @ApiModelProperty(example = "343", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of times discounts were redeemed in this campaign. ") - public Integer getDiscountEffectCount() { + public Long getDiscountEffectCount() { return discountEffectCount; } - public void setDiscountEffectCount(Integer discountEffectCount) { + public void setDiscountEffectCount(Long discountEffectCount) { this.discountEffectCount = discountEffectCount; } - public AdditionalCampaignProperties couponCreationCount(Integer couponCreationCount) { + public AdditionalCampaignProperties couponCreationCount(Long couponCreationCount) { this.couponCreationCount = couponCreationCount; return this; @@ -322,17 +322,17 @@ public AdditionalCampaignProperties couponCreationCount(Integer couponCreationCo @javax.annotation.Nullable @ApiModelProperty(example = "16", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of coupons created by rules in this campaign. ") - public Integer getCouponCreationCount() { + public Long getCouponCreationCount() { return couponCreationCount; } - public void setCouponCreationCount(Integer couponCreationCount) { + public void setCouponCreationCount(Long couponCreationCount) { this.couponCreationCount = couponCreationCount; } - public AdditionalCampaignProperties customEffectCount(Integer customEffectCount) { + public AdditionalCampaignProperties customEffectCount(Long customEffectCount) { this.customEffectCount = customEffectCount; return this; @@ -345,17 +345,17 @@ public AdditionalCampaignProperties customEffectCount(Integer customEffectCount) @javax.annotation.Nullable @ApiModelProperty(example = "0", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of custom effects triggered by rules in this campaign. ") - public Integer getCustomEffectCount() { + public Long getCustomEffectCount() { return customEffectCount; } - public void setCustomEffectCount(Integer customEffectCount) { + public void setCustomEffectCount(Long customEffectCount) { this.customEffectCount = customEffectCount; } - public AdditionalCampaignProperties referralCreationCount(Integer referralCreationCount) { + public AdditionalCampaignProperties referralCreationCount(Long referralCreationCount) { this.referralCreationCount = referralCreationCount; return this; @@ -368,17 +368,17 @@ public AdditionalCampaignProperties referralCreationCount(Integer referralCreati @javax.annotation.Nullable @ApiModelProperty(example = "8", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of referrals created by rules in this campaign. ") - public Integer getReferralCreationCount() { + public Long getReferralCreationCount() { return referralCreationCount; } - public void setReferralCreationCount(Integer referralCreationCount) { + public void setReferralCreationCount(Long referralCreationCount) { this.referralCreationCount = referralCreationCount; } - public AdditionalCampaignProperties addFreeItemEffectCount(Integer addFreeItemEffectCount) { + public AdditionalCampaignProperties addFreeItemEffectCount(Long addFreeItemEffectCount) { this.addFreeItemEffectCount = addFreeItemEffectCount; return this; @@ -391,17 +391,17 @@ public AdditionalCampaignProperties addFreeItemEffectCount(Integer addFreeItemEf @javax.annotation.Nullable @ApiModelProperty(example = "0", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of times the [add free item effect](https://docs.talon.one/docs/dev/integration-api/api-effects#addfreeitem) can be triggered in this campaign. ") - public Integer getAddFreeItemEffectCount() { + public Long getAddFreeItemEffectCount() { return addFreeItemEffectCount; } - public void setAddFreeItemEffectCount(Integer addFreeItemEffectCount) { + public void setAddFreeItemEffectCount(Long addFreeItemEffectCount) { this.addFreeItemEffectCount = addFreeItemEffectCount; } - public AdditionalCampaignProperties awardedGiveawaysCount(Integer awardedGiveawaysCount) { + public AdditionalCampaignProperties awardedGiveawaysCount(Long awardedGiveawaysCount) { this.awardedGiveawaysCount = awardedGiveawaysCount; return this; @@ -414,12 +414,12 @@ public AdditionalCampaignProperties awardedGiveawaysCount(Integer awardedGiveawa @javax.annotation.Nullable @ApiModelProperty(example = "9", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of giveaways awarded by rules in this campaign. ") - public Integer getAwardedGiveawaysCount() { + public Long getAwardedGiveawaysCount() { return awardedGiveawaysCount; } - public void setAwardedGiveawaysCount(Integer awardedGiveawaysCount) { + public void setAwardedGiveawaysCount(Long awardedGiveawaysCount) { this.awardedGiveawaysCount = awardedGiveawaysCount; } @@ -447,7 +447,7 @@ public void setCreatedLoyaltyPointsCount(BigDecimal createdLoyaltyPointsCount) { } - public AdditionalCampaignProperties createdLoyaltyPointsEffectCount(Integer createdLoyaltyPointsEffectCount) { + public AdditionalCampaignProperties createdLoyaltyPointsEffectCount(Long createdLoyaltyPointsEffectCount) { this.createdLoyaltyPointsEffectCount = createdLoyaltyPointsEffectCount; return this; @@ -460,12 +460,12 @@ public AdditionalCampaignProperties createdLoyaltyPointsEffectCount(Integer crea @javax.annotation.Nullable @ApiModelProperty(example = "2", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty point creation effects triggered by rules in this campaign. ") - public Integer getCreatedLoyaltyPointsEffectCount() { + public Long getCreatedLoyaltyPointsEffectCount() { return createdLoyaltyPointsEffectCount; } - public void setCreatedLoyaltyPointsEffectCount(Integer createdLoyaltyPointsEffectCount) { + public void setCreatedLoyaltyPointsEffectCount(Long createdLoyaltyPointsEffectCount) { this.createdLoyaltyPointsEffectCount = createdLoyaltyPointsEffectCount; } @@ -493,7 +493,7 @@ public void setRedeemedLoyaltyPointsCount(BigDecimal redeemedLoyaltyPointsCount) } - public AdditionalCampaignProperties redeemedLoyaltyPointsEffectCount(Integer redeemedLoyaltyPointsEffectCount) { + public AdditionalCampaignProperties redeemedLoyaltyPointsEffectCount(Long redeemedLoyaltyPointsEffectCount) { this.redeemedLoyaltyPointsEffectCount = redeemedLoyaltyPointsEffectCount; return this; @@ -506,17 +506,17 @@ public AdditionalCampaignProperties redeemedLoyaltyPointsEffectCount(Integer red @javax.annotation.Nullable @ApiModelProperty(example = "9", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty point redemption effects triggered by rules in this campaign. ") - public Integer getRedeemedLoyaltyPointsEffectCount() { + public Long getRedeemedLoyaltyPointsEffectCount() { return redeemedLoyaltyPointsEffectCount; } - public void setRedeemedLoyaltyPointsEffectCount(Integer redeemedLoyaltyPointsEffectCount) { + public void setRedeemedLoyaltyPointsEffectCount(Long redeemedLoyaltyPointsEffectCount) { this.redeemedLoyaltyPointsEffectCount = redeemedLoyaltyPointsEffectCount; } - public AdditionalCampaignProperties callApiEffectCount(Integer callApiEffectCount) { + public AdditionalCampaignProperties callApiEffectCount(Long callApiEffectCount) { this.callApiEffectCount = callApiEffectCount; return this; @@ -529,17 +529,17 @@ public AdditionalCampaignProperties callApiEffectCount(Integer callApiEffectCoun @javax.annotation.Nullable @ApiModelProperty(example = "0", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of webhooks triggered by rules in this campaign. ") - public Integer getCallApiEffectCount() { + public Long getCallApiEffectCount() { return callApiEffectCount; } - public void setCallApiEffectCount(Integer callApiEffectCount) { + public void setCallApiEffectCount(Long callApiEffectCount) { this.callApiEffectCount = callApiEffectCount; } - public AdditionalCampaignProperties reservecouponEffectCount(Integer reservecouponEffectCount) { + public AdditionalCampaignProperties reservecouponEffectCount(Long reservecouponEffectCount) { this.reservecouponEffectCount = reservecouponEffectCount; return this; @@ -552,12 +552,12 @@ public AdditionalCampaignProperties reservecouponEffectCount(Integer reservecoup @javax.annotation.Nullable @ApiModelProperty(example = "9", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of reserve coupon effects triggered by rules in this campaign. ") - public Integer getReservecouponEffectCount() { + public Long getReservecouponEffectCount() { return reservecouponEffectCount; } - public void setReservecouponEffectCount(Integer reservecouponEffectCount) { + public void setReservecouponEffectCount(Long reservecouponEffectCount) { this.reservecouponEffectCount = reservecouponEffectCount; } @@ -654,7 +654,7 @@ public void setUpdatedBy(String updatedBy) { } - public AdditionalCampaignProperties templateId(Integer templateId) { + public AdditionalCampaignProperties templateId(Long templateId) { this.templateId = templateId; return this; @@ -667,12 +667,12 @@ public AdditionalCampaignProperties templateId(Integer templateId) { @javax.annotation.Nullable @ApiModelProperty(example = "3", value = "The ID of the Campaign Template this Campaign was created from.") - public Integer getTemplateId() { + public Long getTemplateId() { return templateId; } - public void setTemplateId(Integer templateId) { + public void setTemplateId(Long templateId) { this.templateId = templateId; } @@ -721,15 +721,15 @@ public void setStoresImported(Boolean storesImported) { } - public AdditionalCampaignProperties valueMapsIds(List valueMapsIds) { + public AdditionalCampaignProperties valueMapsIds(List valueMapsIds) { this.valueMapsIds = valueMapsIds; return this; } - public AdditionalCampaignProperties addValueMapsIdsItem(Integer valueMapsIdsItem) { + public AdditionalCampaignProperties addValueMapsIdsItem(Long valueMapsIdsItem) { if (this.valueMapsIds == null) { - this.valueMapsIds = new ArrayList(); + this.valueMapsIds = new ArrayList(); } this.valueMapsIds.add(valueMapsIdsItem); return this; @@ -742,12 +742,12 @@ public AdditionalCampaignProperties addValueMapsIdsItem(Integer valueMapsIdsItem @javax.annotation.Nullable @ApiModelProperty(example = "[100, 215]", value = "A list of value map IDs for the campaign.") - public List getValueMapsIds() { + public List getValueMapsIds() { return valueMapsIds; } - public void setValueMapsIds(List valueMapsIds) { + public void setValueMapsIds(List valueMapsIds) { this.valueMapsIds = valueMapsIds; } diff --git a/src/main/java/one/talon/model/AnalyticsProduct.java b/src/main/java/one/talon/model/AnalyticsProduct.java index 801aa953..f2f12fa9 100644 --- a/src/main/java/one/talon/model/AnalyticsProduct.java +++ b/src/main/java/one/talon/model/AnalyticsProduct.java @@ -32,7 +32,7 @@ public class AnalyticsProduct { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -40,14 +40,14 @@ public class AnalyticsProduct { public static final String SERIALIZED_NAME_CATALOG_ID = "catalogId"; @SerializedName(SERIALIZED_NAME_CATALOG_ID) - private Integer catalogId; + private Long catalogId; public static final String SERIALIZED_NAME_UNITS_SOLD = "unitsSold"; @SerializedName(SERIALIZED_NAME_UNITS_SOLD) private AnalyticsDataPointWithTrend unitsSold; - public AnalyticsProduct id(Integer id) { + public AnalyticsProduct id(Long id) { this.id = id; return this; @@ -59,12 +59,12 @@ public AnalyticsProduct id(Integer id) { **/ @ApiModelProperty(example = "1", required = true, value = "The ID of the product.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -91,7 +91,7 @@ public void setName(String name) { } - public AnalyticsProduct catalogId(Integer catalogId) { + public AnalyticsProduct catalogId(Long catalogId) { this.catalogId = catalogId; return this; @@ -103,12 +103,12 @@ public AnalyticsProduct catalogId(Integer catalogId) { **/ @ApiModelProperty(example = "1", required = true, value = "The ID of the catalog. You can find the ID in the Campaign Manager in **Account** > **Tools** > **Cart item catalogs**. ") - public Integer getCatalogId() { + public Long getCatalogId() { return catalogId; } - public void setCatalogId(Integer catalogId) { + public void setCatalogId(Long catalogId) { this.catalogId = catalogId; } diff --git a/src/main/java/one/talon/model/AnalyticsSKU.java b/src/main/java/one/talon/model/AnalyticsSKU.java index 1cdb7830..d60036bc 100644 --- a/src/main/java/one/talon/model/AnalyticsSKU.java +++ b/src/main/java/one/talon/model/AnalyticsSKU.java @@ -33,7 +33,7 @@ public class AnalyticsSKU { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_SKU = "sku"; @SerializedName(SERIALIZED_NAME_SKU) @@ -48,7 +48,7 @@ public class AnalyticsSKU { private AnalyticsDataPointWithTrend unitsSold; - public AnalyticsSKU id(Integer id) { + public AnalyticsSKU id(Long id) { this.id = id; return this; @@ -60,12 +60,12 @@ public AnalyticsSKU id(Integer id) { **/ @ApiModelProperty(example = "1", required = true, value = "The ID of the SKU linked to the application.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } diff --git a/src/main/java/one/talon/model/Application.java b/src/main/java/one/talon/model/Application.java index fb437030..e0d4c7dc 100644 --- a/src/main/java/one/talon/model/Application.java +++ b/src/main/java/one/talon/model/Application.java @@ -37,7 +37,7 @@ public class Application { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -49,7 +49,7 @@ public class Application { public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private Integer accountId; + private Long accountId; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -256,11 +256,11 @@ public DefaultDiscountAdditionalCostPerItemScopeEnum read(final JsonReader jsonR public static final String SERIALIZED_NAME_DEFAULT_EVALUATION_GROUP_ID = "defaultEvaluationGroupId"; @SerializedName(SERIALIZED_NAME_DEFAULT_EVALUATION_GROUP_ID) - private Integer defaultEvaluationGroupId; + private Long defaultEvaluationGroupId; public static final String SERIALIZED_NAME_DEFAULT_CART_ITEM_FILTER_ID = "defaultCartItemFilterId"; @SerializedName(SERIALIZED_NAME_DEFAULT_CART_ITEM_FILTER_ID) - private Integer defaultCartItemFilterId; + private Long defaultCartItemFilterId; public static final String SERIALIZED_NAME_ENABLE_CAMPAIGN_STATE_MANAGEMENT = "enableCampaignStateManagement"; @SerializedName(SERIALIZED_NAME_ENABLE_CAMPAIGN_STATE_MANAGEMENT) @@ -271,7 +271,7 @@ public DefaultDiscountAdditionalCostPerItemScopeEnum read(final JsonReader jsonR private List loyaltyPrograms = new ArrayList(); - public Application id(Integer id) { + public Application id(Long id) { this.id = id; return this; @@ -283,12 +283,12 @@ public Application id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -337,7 +337,7 @@ public void setModified(OffsetDateTime modified) { } - public Application accountId(Integer accountId) { + public Application accountId(Long accountId) { this.accountId = accountId; return this; @@ -349,12 +349,12 @@ public Application accountId(Integer accountId) { **/ @ApiModelProperty(example = "3886", required = true, value = "The ID of the account that owns this entity.") - public Integer getAccountId() { + public Long getAccountId() { return accountId; } - public void setAccountId(Integer accountId) { + public void setAccountId(Long accountId) { this.accountId = accountId; } @@ -686,7 +686,7 @@ public void setDefaultDiscountAdditionalCostPerItemScope(DefaultDiscountAddition } - public Application defaultEvaluationGroupId(Integer defaultEvaluationGroupId) { + public Application defaultEvaluationGroupId(Long defaultEvaluationGroupId) { this.defaultEvaluationGroupId = defaultEvaluationGroupId; return this; @@ -699,17 +699,17 @@ public Application defaultEvaluationGroupId(Integer defaultEvaluationGroupId) { @javax.annotation.Nullable @ApiModelProperty(example = "3", value = "The ID of the default campaign evaluation group to which new campaigns will be added unless a different group is selected when creating the campaign.") - public Integer getDefaultEvaluationGroupId() { + public Long getDefaultEvaluationGroupId() { return defaultEvaluationGroupId; } - public void setDefaultEvaluationGroupId(Integer defaultEvaluationGroupId) { + public void setDefaultEvaluationGroupId(Long defaultEvaluationGroupId) { this.defaultEvaluationGroupId = defaultEvaluationGroupId; } - public Application defaultCartItemFilterId(Integer defaultCartItemFilterId) { + public Application defaultCartItemFilterId(Long defaultCartItemFilterId) { this.defaultCartItemFilterId = defaultCartItemFilterId; return this; @@ -722,12 +722,12 @@ public Application defaultCartItemFilterId(Integer defaultCartItemFilterId) { @javax.annotation.Nullable @ApiModelProperty(example = "3", value = "The ID of the default Cart-Item-Filter for this application.") - public Integer getDefaultCartItemFilterId() { + public Long getDefaultCartItemFilterId() { return defaultCartItemFilterId; } - public void setDefaultCartItemFilterId(Integer defaultCartItemFilterId) { + public void setDefaultCartItemFilterId(Long defaultCartItemFilterId) { this.defaultCartItemFilterId = defaultCartItemFilterId; } diff --git a/src/main/java/one/talon/model/ApplicationAPIKey.java b/src/main/java/one/talon/model/ApplicationAPIKey.java index 301f6be6..2284edfa 100644 --- a/src/main/java/one/talon/model/ApplicationAPIKey.java +++ b/src/main/java/one/talon/model/ApplicationAPIKey.java @@ -156,23 +156,23 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_TIME_OFFSET = "timeOffset"; @SerializedName(SERIALIZED_NAME_TIME_OFFSET) - private Integer timeOffset; + private Long timeOffset; public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED_BY = "createdBy"; @SerializedName(SERIALIZED_NAME_CREATED_BY) - private Integer createdBy; + private Long createdBy; public static final String SERIALIZED_NAME_ACCOUNT_I_D = "accountID"; @SerializedName(SERIALIZED_NAME_ACCOUNT_I_D) - private Integer accountID; + private Long accountID; public static final String SERIALIZED_NAME_APPLICATION_I_D = "applicationID"; @SerializedName(SERIALIZED_NAME_APPLICATION_I_D) - private Integer applicationID; + private Long applicationID; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -269,7 +269,7 @@ public void setType(TypeEnum type) { } - public ApplicationAPIKey timeOffset(Integer timeOffset) { + public ApplicationAPIKey timeOffset(Long timeOffset) { this.timeOffset = timeOffset; return this; @@ -282,17 +282,17 @@ public ApplicationAPIKey timeOffset(Integer timeOffset) { @javax.annotation.Nullable @ApiModelProperty(example = "100000", value = "A time offset in nanoseconds associated with the API key. When making a request using the API key, rule evaluation is based on a date that is calculated by adding the offset to the current date. ") - public Integer getTimeOffset() { + public Long getTimeOffset() { return timeOffset; } - public void setTimeOffset(Integer timeOffset) { + public void setTimeOffset(Long timeOffset) { this.timeOffset = timeOffset; } - public ApplicationAPIKey id(Integer id) { + public ApplicationAPIKey id(Long id) { this.id = id; return this; @@ -304,17 +304,17 @@ public ApplicationAPIKey id(Integer id) { **/ @ApiModelProperty(example = "34", required = true, value = "ID of the API Key.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } - public ApplicationAPIKey createdBy(Integer createdBy) { + public ApplicationAPIKey createdBy(Long createdBy) { this.createdBy = createdBy; return this; @@ -326,17 +326,17 @@ public ApplicationAPIKey createdBy(Integer createdBy) { **/ @ApiModelProperty(example = "280", required = true, value = "ID of user who created.") - public Integer getCreatedBy() { + public Long getCreatedBy() { return createdBy; } - public void setCreatedBy(Integer createdBy) { + public void setCreatedBy(Long createdBy) { this.createdBy = createdBy; } - public ApplicationAPIKey accountID(Integer accountID) { + public ApplicationAPIKey accountID(Long accountID) { this.accountID = accountID; return this; @@ -348,17 +348,17 @@ public ApplicationAPIKey accountID(Integer accountID) { **/ @ApiModelProperty(example = "13", required = true, value = "ID of account the key is used for.") - public Integer getAccountID() { + public Long getAccountID() { return accountID; } - public void setAccountID(Integer accountID) { + public void setAccountID(Long accountID) { this.accountID = accountID; } - public ApplicationAPIKey applicationID(Integer applicationID) { + public ApplicationAPIKey applicationID(Long applicationID) { this.applicationID = applicationID; return this; @@ -370,12 +370,12 @@ public ApplicationAPIKey applicationID(Integer applicationID) { **/ @ApiModelProperty(example = "54", required = true, value = "ID of application the key is used for.") - public Integer getApplicationID() { + public Long getApplicationID() { return applicationID; } - public void setApplicationID(Integer applicationID) { + public void setApplicationID(Long applicationID) { this.applicationID = applicationID; } diff --git a/src/main/java/one/talon/model/ApplicationCIF.java b/src/main/java/one/talon/model/ApplicationCIF.java index 5b1ceab6..e8569415 100644 --- a/src/main/java/one/talon/model/ApplicationCIF.java +++ b/src/main/java/one/talon/model/ApplicationCIF.java @@ -32,7 +32,7 @@ public class ApplicationCIF { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -48,15 +48,15 @@ public class ApplicationCIF { public static final String SERIALIZED_NAME_ACTIVE_EXPRESSION_ID = "activeExpressionId"; @SerializedName(SERIALIZED_NAME_ACTIVE_EXPRESSION_ID) - private Integer activeExpressionId; + private Long activeExpressionId; public static final String SERIALIZED_NAME_MODIFIED_BY = "modifiedBy"; @SerializedName(SERIALIZED_NAME_MODIFIED_BY) - private Integer modifiedBy; + private Long modifiedBy; public static final String SERIALIZED_NAME_CREATED_BY = "createdBy"; @SerializedName(SERIALIZED_NAME_CREATED_BY) - private Integer createdBy; + private Long createdBy; public static final String SERIALIZED_NAME_MODIFIED = "modified"; @SerializedName(SERIALIZED_NAME_MODIFIED) @@ -64,10 +64,10 @@ public class ApplicationCIF { public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - private Integer applicationId; + private Long applicationId; - public ApplicationCIF id(Integer id) { + public ApplicationCIF id(Long id) { this.id = id; return this; @@ -79,12 +79,12 @@ public ApplicationCIF id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -156,7 +156,7 @@ public void setDescription(String description) { } - public ApplicationCIF activeExpressionId(Integer activeExpressionId) { + public ApplicationCIF activeExpressionId(Long activeExpressionId) { this.activeExpressionId = activeExpressionId; return this; @@ -169,17 +169,17 @@ public ApplicationCIF activeExpressionId(Integer activeExpressionId) { @javax.annotation.Nullable @ApiModelProperty(example = "1", value = "The ID of the expression that the Application cart item filter uses.") - public Integer getActiveExpressionId() { + public Long getActiveExpressionId() { return activeExpressionId; } - public void setActiveExpressionId(Integer activeExpressionId) { + public void setActiveExpressionId(Long activeExpressionId) { this.activeExpressionId = activeExpressionId; } - public ApplicationCIF modifiedBy(Integer modifiedBy) { + public ApplicationCIF modifiedBy(Long modifiedBy) { this.modifiedBy = modifiedBy; return this; @@ -192,17 +192,17 @@ public ApplicationCIF modifiedBy(Integer modifiedBy) { @javax.annotation.Nullable @ApiModelProperty(example = "334", value = "The ID of the user who last updated the Application cart item filter.") - public Integer getModifiedBy() { + public Long getModifiedBy() { return modifiedBy; } - public void setModifiedBy(Integer modifiedBy) { + public void setModifiedBy(Long modifiedBy) { this.modifiedBy = modifiedBy; } - public ApplicationCIF createdBy(Integer createdBy) { + public ApplicationCIF createdBy(Long createdBy) { this.createdBy = createdBy; return this; @@ -215,12 +215,12 @@ public ApplicationCIF createdBy(Integer createdBy) { @javax.annotation.Nullable @ApiModelProperty(example = "216", value = "The ID of the user who created the Application cart item filter.") - public Integer getCreatedBy() { + public Long getCreatedBy() { return createdBy; } - public void setCreatedBy(Integer createdBy) { + public void setCreatedBy(Long createdBy) { this.createdBy = createdBy; } @@ -248,7 +248,7 @@ public void setModified(OffsetDateTime modified) { } - public ApplicationCIF applicationId(Integer applicationId) { + public ApplicationCIF applicationId(Long applicationId) { this.applicationId = applicationId; return this; @@ -260,12 +260,12 @@ public ApplicationCIF applicationId(Integer applicationId) { **/ @ApiModelProperty(example = "322", required = true, value = "The ID of the Application that owns this entity.") - public Integer getApplicationId() { + public Long getApplicationId() { return applicationId; } - public void setApplicationId(Integer applicationId) { + public void setApplicationId(Long applicationId) { this.applicationId = applicationId; } diff --git a/src/main/java/one/talon/model/ApplicationCIFExpression.java b/src/main/java/one/talon/model/ApplicationCIFExpression.java index 7e0e6621..3a0cfff1 100644 --- a/src/main/java/one/talon/model/ApplicationCIFExpression.java +++ b/src/main/java/one/talon/model/ApplicationCIFExpression.java @@ -34,7 +34,7 @@ public class ApplicationCIFExpression { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -42,11 +42,11 @@ public class ApplicationCIFExpression { public static final String SERIALIZED_NAME_CART_ITEM_FILTER_ID = "cartItemFilterId"; @SerializedName(SERIALIZED_NAME_CART_ITEM_FILTER_ID) - private Integer cartItemFilterId; + private Long cartItemFilterId; public static final String SERIALIZED_NAME_CREATED_BY = "createdBy"; @SerializedName(SERIALIZED_NAME_CREATED_BY) - private Integer createdBy; + private Long createdBy; public static final String SERIALIZED_NAME_EXPRESSION = "expression"; @SerializedName(SERIALIZED_NAME_EXPRESSION) @@ -54,10 +54,10 @@ public class ApplicationCIFExpression { public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - private Integer applicationId; + private Long applicationId; - public ApplicationCIFExpression id(Integer id) { + public ApplicationCIFExpression id(Long id) { this.id = id; return this; @@ -69,12 +69,12 @@ public ApplicationCIFExpression id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -101,7 +101,7 @@ public void setCreated(OffsetDateTime created) { } - public ApplicationCIFExpression cartItemFilterId(Integer cartItemFilterId) { + public ApplicationCIFExpression cartItemFilterId(Long cartItemFilterId) { this.cartItemFilterId = cartItemFilterId; return this; @@ -114,17 +114,17 @@ public ApplicationCIFExpression cartItemFilterId(Integer cartItemFilterId) { @javax.annotation.Nullable @ApiModelProperty(example = "216", value = "The ID of the Application cart item filter.") - public Integer getCartItemFilterId() { + public Long getCartItemFilterId() { return cartItemFilterId; } - public void setCartItemFilterId(Integer cartItemFilterId) { + public void setCartItemFilterId(Long cartItemFilterId) { this.cartItemFilterId = cartItemFilterId; } - public ApplicationCIFExpression createdBy(Integer createdBy) { + public ApplicationCIFExpression createdBy(Long createdBy) { this.createdBy = createdBy; return this; @@ -137,12 +137,12 @@ public ApplicationCIFExpression createdBy(Integer createdBy) { @javax.annotation.Nullable @ApiModelProperty(example = "216", value = "The ID of the user who created the Application cart item filter.") - public Integer getCreatedBy() { + public Long getCreatedBy() { return createdBy; } - public void setCreatedBy(Integer createdBy) { + public void setCreatedBy(Long createdBy) { this.createdBy = createdBy; } @@ -178,7 +178,7 @@ public void setExpression(List expression) { } - public ApplicationCIFExpression applicationId(Integer applicationId) { + public ApplicationCIFExpression applicationId(Long applicationId) { this.applicationId = applicationId; return this; @@ -190,12 +190,12 @@ public ApplicationCIFExpression applicationId(Integer applicationId) { **/ @ApiModelProperty(example = "322", required = true, value = "The ID of the Application that owns this entity.") - public Integer getApplicationId() { + public Long getApplicationId() { return applicationId; } - public void setApplicationId(Integer applicationId) { + public void setApplicationId(Long applicationId) { this.applicationId = applicationId; } diff --git a/src/main/java/one/talon/model/ApplicationCIFReferences.java b/src/main/java/one/talon/model/ApplicationCIFReferences.java index a66b0a07..49f90bad 100644 --- a/src/main/java/one/talon/model/ApplicationCIFReferences.java +++ b/src/main/java/one/talon/model/ApplicationCIFReferences.java @@ -34,14 +34,14 @@ public class ApplicationCIFReferences { public static final String SERIALIZED_NAME_APPLICATION_CART_ITEM_FILTER_ID = "applicationCartItemFilterId"; @SerializedName(SERIALIZED_NAME_APPLICATION_CART_ITEM_FILTER_ID) - private Integer applicationCartItemFilterId; + private Long applicationCartItemFilterId; public static final String SERIALIZED_NAME_CAMPAIGNS = "campaigns"; @SerializedName(SERIALIZED_NAME_CAMPAIGNS) private List campaigns = null; - public ApplicationCIFReferences applicationCartItemFilterId(Integer applicationCartItemFilterId) { + public ApplicationCIFReferences applicationCartItemFilterId(Long applicationCartItemFilterId) { this.applicationCartItemFilterId = applicationCartItemFilterId; return this; @@ -54,12 +54,12 @@ public ApplicationCIFReferences applicationCartItemFilterId(Integer applicationC @javax.annotation.Nullable @ApiModelProperty(example = "322", value = "The ID of the Application Cart Item Filter that is referenced by a campaign.") - public Integer getApplicationCartItemFilterId() { + public Long getApplicationCartItemFilterId() { return applicationCartItemFilterId; } - public void setApplicationCartItemFilterId(Integer applicationCartItemFilterId) { + public void setApplicationCartItemFilterId(Long applicationCartItemFilterId) { this.applicationCartItemFilterId = applicationCartItemFilterId; } diff --git a/src/main/java/one/talon/model/ApplicationCampaignAnalytics.java b/src/main/java/one/talon/model/ApplicationCampaignAnalytics.java index ed5d019a..4cbc846a 100644 --- a/src/main/java/one/talon/model/ApplicationCampaignAnalytics.java +++ b/src/main/java/one/talon/model/ApplicationCampaignAnalytics.java @@ -45,7 +45,7 @@ public class ApplicationCampaignAnalytics { public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) - private Integer campaignId; + private Long campaignId; public static final String SERIALIZED_NAME_CAMPAIGN_NAME = "campaignName"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_NAME) @@ -183,7 +183,7 @@ public void setEndTime(OffsetDateTime endTime) { } - public ApplicationCampaignAnalytics campaignId(Integer campaignId) { + public ApplicationCampaignAnalytics campaignId(Long campaignId) { this.campaignId = campaignId; return this; @@ -195,12 +195,12 @@ public ApplicationCampaignAnalytics campaignId(Integer campaignId) { **/ @ApiModelProperty(example = "1", required = true, value = "The ID of the campaign.") - public Integer getCampaignId() { + public Long getCampaignId() { return campaignId; } - public void setCampaignId(Integer campaignId) { + public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } diff --git a/src/main/java/one/talon/model/ApplicationCampaignStats.java b/src/main/java/one/talon/model/ApplicationCampaignStats.java index 99f3fcde..bb8ff357 100644 --- a/src/main/java/one/talon/model/ApplicationCampaignStats.java +++ b/src/main/java/one/talon/model/ApplicationCampaignStats.java @@ -32,30 +32,30 @@ public class ApplicationCampaignStats { public static final String SERIALIZED_NAME_DISABLED = "disabled"; @SerializedName(SERIALIZED_NAME_DISABLED) - private Integer disabled; + private Long disabled; public static final String SERIALIZED_NAME_STAGED = "staged"; @SerializedName(SERIALIZED_NAME_STAGED) - private Integer staged; + private Long staged; public static final String SERIALIZED_NAME_SCHEDULED = "scheduled"; @SerializedName(SERIALIZED_NAME_SCHEDULED) - private Integer scheduled; + private Long scheduled; public static final String SERIALIZED_NAME_RUNNING = "running"; @SerializedName(SERIALIZED_NAME_RUNNING) - private Integer running; + private Long running; public static final String SERIALIZED_NAME_EXPIRED = "expired"; @SerializedName(SERIALIZED_NAME_EXPIRED) - private Integer expired; + private Long expired; public static final String SERIALIZED_NAME_ARCHIVED = "archived"; @SerializedName(SERIALIZED_NAME_ARCHIVED) - private Integer archived; + private Long archived; - public ApplicationCampaignStats disabled(Integer disabled) { + public ApplicationCampaignStats disabled(Long disabled) { this.disabled = disabled; return this; @@ -67,17 +67,17 @@ public ApplicationCampaignStats disabled(Integer disabled) { **/ @ApiModelProperty(required = true, value = "Number of disabled campaigns.") - public Integer getDisabled() { + public Long getDisabled() { return disabled; } - public void setDisabled(Integer disabled) { + public void setDisabled(Long disabled) { this.disabled = disabled; } - public ApplicationCampaignStats staged(Integer staged) { + public ApplicationCampaignStats staged(Long staged) { this.staged = staged; return this; @@ -89,17 +89,17 @@ public ApplicationCampaignStats staged(Integer staged) { **/ @ApiModelProperty(required = true, value = "Number of staged campaigns.") - public Integer getStaged() { + public Long getStaged() { return staged; } - public void setStaged(Integer staged) { + public void setStaged(Long staged) { this.staged = staged; } - public ApplicationCampaignStats scheduled(Integer scheduled) { + public ApplicationCampaignStats scheduled(Long scheduled) { this.scheduled = scheduled; return this; @@ -111,17 +111,17 @@ public ApplicationCampaignStats scheduled(Integer scheduled) { **/ @ApiModelProperty(required = true, value = "Number of scheduled campaigns.") - public Integer getScheduled() { + public Long getScheduled() { return scheduled; } - public void setScheduled(Integer scheduled) { + public void setScheduled(Long scheduled) { this.scheduled = scheduled; } - public ApplicationCampaignStats running(Integer running) { + public ApplicationCampaignStats running(Long running) { this.running = running; return this; @@ -133,17 +133,17 @@ public ApplicationCampaignStats running(Integer running) { **/ @ApiModelProperty(required = true, value = "Number of running campaigns.") - public Integer getRunning() { + public Long getRunning() { return running; } - public void setRunning(Integer running) { + public void setRunning(Long running) { this.running = running; } - public ApplicationCampaignStats expired(Integer expired) { + public ApplicationCampaignStats expired(Long expired) { this.expired = expired; return this; @@ -155,17 +155,17 @@ public ApplicationCampaignStats expired(Integer expired) { **/ @ApiModelProperty(required = true, value = "Number of expired campaigns.") - public Integer getExpired() { + public Long getExpired() { return expired; } - public void setExpired(Integer expired) { + public void setExpired(Long expired) { this.expired = expired; } - public ApplicationCampaignStats archived(Integer archived) { + public ApplicationCampaignStats archived(Long archived) { this.archived = archived; return this; @@ -177,12 +177,12 @@ public ApplicationCampaignStats archived(Integer archived) { **/ @ApiModelProperty(required = true, value = "Number of archived campaigns.") - public Integer getArchived() { + public Long getArchived() { return archived; } - public void setArchived(Integer archived) { + public void setArchived(Long archived) { this.archived = archived; } diff --git a/src/main/java/one/talon/model/ApplicationCustomer.java b/src/main/java/one/talon/model/ApplicationCustomer.java index 7c44e8a9..24404786 100644 --- a/src/main/java/one/talon/model/ApplicationCustomer.java +++ b/src/main/java/one/talon/model/ApplicationCustomer.java @@ -37,7 +37,7 @@ public class ApplicationCustomer { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -53,11 +53,11 @@ public class ApplicationCustomer { public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private Integer accountId; + private Long accountId; public static final String SERIALIZED_NAME_CLOSED_SESSIONS = "closedSessions"; @SerializedName(SERIALIZED_NAME_CLOSED_SESSIONS) - private Integer closedSessions; + private Long closedSessions; public static final String SERIALIZED_NAME_TOTAL_SALES = "totalSales"; @SerializedName(SERIALIZED_NAME_TOTAL_SALES) @@ -84,7 +84,7 @@ public class ApplicationCustomer { private String advocateIntegrationId; - public ApplicationCustomer id(Integer id) { + public ApplicationCustomer id(Long id) { this.id = id; return this; @@ -96,12 +96,12 @@ public ApplicationCustomer id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -172,7 +172,7 @@ public void setAttributes(Object attributes) { } - public ApplicationCustomer accountId(Integer accountId) { + public ApplicationCustomer accountId(Long accountId) { this.accountId = accountId; return this; @@ -184,17 +184,17 @@ public ApplicationCustomer accountId(Integer accountId) { **/ @ApiModelProperty(example = "31", required = true, value = "The ID of the Talon.One account that owns this profile.") - public Integer getAccountId() { + public Long getAccountId() { return accountId; } - public void setAccountId(Integer accountId) { + public void setAccountId(Long accountId) { this.accountId = accountId; } - public ApplicationCustomer closedSessions(Integer closedSessions) { + public ApplicationCustomer closedSessions(Long closedSessions) { this.closedSessions = closedSessions; return this; @@ -206,12 +206,12 @@ public ApplicationCustomer closedSessions(Integer closedSessions) { **/ @ApiModelProperty(example = "3", required = true, value = "The total amount of closed sessions by a customer. A closed session is a successful purchase.") - public Integer getClosedSessions() { + public Long getClosedSessions() { return closedSessions; } - public void setClosedSessions(Integer closedSessions) { + public void setClosedSessions(Long closedSessions) { this.closedSessions = closedSessions; } diff --git a/src/main/java/one/talon/model/ApplicationCustomerEntity.java b/src/main/java/one/talon/model/ApplicationCustomerEntity.java index 1796b8f2..6d899d2d 100644 --- a/src/main/java/one/talon/model/ApplicationCustomerEntity.java +++ b/src/main/java/one/talon/model/ApplicationCustomerEntity.java @@ -31,10 +31,10 @@ public class ApplicationCustomerEntity { public static final String SERIALIZED_NAME_PROFILE_ID = "profileId"; @SerializedName(SERIALIZED_NAME_PROFILE_ID) - private Integer profileId; + private Long profileId; - public ApplicationCustomerEntity profileId(Integer profileId) { + public ApplicationCustomerEntity profileId(Long profileId) { this.profileId = profileId; return this; @@ -47,12 +47,12 @@ public ApplicationCustomerEntity profileId(Integer profileId) { @javax.annotation.Nullable @ApiModelProperty(example = "138", value = "The globally unique Talon.One ID of the customer that created this entity.") - public Integer getProfileId() { + public Long getProfileId() { return profileId; } - public void setProfileId(Integer profileId) { + public void setProfileId(Long profileId) { this.profileId = profileId; } diff --git a/src/main/java/one/talon/model/ApplicationEntity.java b/src/main/java/one/talon/model/ApplicationEntity.java index d9b4b2e2..0d9cbb81 100644 --- a/src/main/java/one/talon/model/ApplicationEntity.java +++ b/src/main/java/one/talon/model/ApplicationEntity.java @@ -31,10 +31,10 @@ public class ApplicationEntity { public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - private Integer applicationId; + private Long applicationId; - public ApplicationEntity applicationId(Integer applicationId) { + public ApplicationEntity applicationId(Long applicationId) { this.applicationId = applicationId; return this; @@ -46,12 +46,12 @@ public ApplicationEntity applicationId(Integer applicationId) { **/ @ApiModelProperty(example = "322", required = true, value = "The ID of the Application that owns this entity.") - public Integer getApplicationId() { + public Long getApplicationId() { return applicationId; } - public void setApplicationId(Integer applicationId) { + public void setApplicationId(Long applicationId) { this.applicationId = applicationId; } diff --git a/src/main/java/one/talon/model/ApplicationEvent.java b/src/main/java/one/talon/model/ApplicationEvent.java index d38977bd..bb52d111 100644 --- a/src/main/java/one/talon/model/ApplicationEvent.java +++ b/src/main/java/one/talon/model/ApplicationEvent.java @@ -36,7 +36,7 @@ public class ApplicationEvent { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -44,15 +44,15 @@ public class ApplicationEvent { public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - private Integer applicationId; + private Long applicationId; public static final String SERIALIZED_NAME_PROFILE_ID = "profileId"; @SerializedName(SERIALIZED_NAME_PROFILE_ID) - private Integer profileId; + private Long profileId; public static final String SERIALIZED_NAME_STORE_ID = "storeId"; @SerializedName(SERIALIZED_NAME_STORE_ID) - private Integer storeId; + private Long storeId; public static final String SERIALIZED_NAME_STORE_INTEGRATION_ID = "storeIntegrationId"; @SerializedName(SERIALIZED_NAME_STORE_INTEGRATION_ID) @@ -60,7 +60,7 @@ public class ApplicationEvent { public static final String SERIALIZED_NAME_SESSION_ID = "sessionId"; @SerializedName(SERIALIZED_NAME_SESSION_ID) - private Integer sessionId; + private Long sessionId; public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) @@ -79,7 +79,7 @@ public class ApplicationEvent { private List ruleFailureReasons = null; - public ApplicationEvent id(Integer id) { + public ApplicationEvent id(Long id) { this.id = id; return this; @@ -91,12 +91,12 @@ public ApplicationEvent id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -123,7 +123,7 @@ public void setCreated(OffsetDateTime created) { } - public ApplicationEvent applicationId(Integer applicationId) { + public ApplicationEvent applicationId(Long applicationId) { this.applicationId = applicationId; return this; @@ -135,17 +135,17 @@ public ApplicationEvent applicationId(Integer applicationId) { **/ @ApiModelProperty(example = "322", required = true, value = "The ID of the Application that owns this entity.") - public Integer getApplicationId() { + public Long getApplicationId() { return applicationId; } - public void setApplicationId(Integer applicationId) { + public void setApplicationId(Long applicationId) { this.applicationId = applicationId; } - public ApplicationEvent profileId(Integer profileId) { + public ApplicationEvent profileId(Long profileId) { this.profileId = profileId; return this; @@ -158,17 +158,17 @@ public ApplicationEvent profileId(Integer profileId) { @javax.annotation.Nullable @ApiModelProperty(example = "138", value = "The globally unique Talon.One ID of the customer that created this entity.") - public Integer getProfileId() { + public Long getProfileId() { return profileId; } - public void setProfileId(Integer profileId) { + public void setProfileId(Long profileId) { this.profileId = profileId; } - public ApplicationEvent storeId(Integer storeId) { + public ApplicationEvent storeId(Long storeId) { this.storeId = storeId; return this; @@ -181,12 +181,12 @@ public ApplicationEvent storeId(Integer storeId) { @javax.annotation.Nullable @ApiModelProperty(value = "The ID of the store.") - public Integer getStoreId() { + public Long getStoreId() { return storeId; } - public void setStoreId(Integer storeId) { + public void setStoreId(Long storeId) { this.storeId = storeId; } @@ -214,7 +214,7 @@ public void setStoreIntegrationId(String storeIntegrationId) { } - public ApplicationEvent sessionId(Integer sessionId) { + public ApplicationEvent sessionId(Long sessionId) { this.sessionId = sessionId; return this; @@ -227,12 +227,12 @@ public ApplicationEvent sessionId(Integer sessionId) { @javax.annotation.Nullable @ApiModelProperty(value = "The globally unique Talon.One ID of the session that contains this event.") - public Integer getSessionId() { + public Long getSessionId() { return sessionId; } - public void setSessionId(Integer sessionId) { + public void setSessionId(Long sessionId) { this.sessionId = sessionId; } diff --git a/src/main/java/one/talon/model/ApplicationReferee.java b/src/main/java/one/talon/model/ApplicationReferee.java index 0f0d472e..6f682fee 100644 --- a/src/main/java/one/talon/model/ApplicationReferee.java +++ b/src/main/java/one/talon/model/ApplicationReferee.java @@ -32,7 +32,7 @@ public class ApplicationReferee { public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - private Integer applicationId; + private Long applicationId; public static final String SERIALIZED_NAME_SESSION_ID = "sessionId"; @SerializedName(SERIALIZED_NAME_SESSION_ID) @@ -55,7 +55,7 @@ public class ApplicationReferee { private OffsetDateTime created; - public ApplicationReferee applicationId(Integer applicationId) { + public ApplicationReferee applicationId(Long applicationId) { this.applicationId = applicationId; return this; @@ -67,12 +67,12 @@ public ApplicationReferee applicationId(Integer applicationId) { **/ @ApiModelProperty(example = "322", required = true, value = "The ID of the Application that owns this entity.") - public Integer getApplicationId() { + public Long getApplicationId() { return applicationId; } - public void setApplicationId(Integer applicationId) { + public void setApplicationId(Long applicationId) { this.applicationId = applicationId; } diff --git a/src/main/java/one/talon/model/ApplicationSession.java b/src/main/java/one/talon/model/ApplicationSession.java index 9d502a6c..85116a60 100644 --- a/src/main/java/one/talon/model/ApplicationSession.java +++ b/src/main/java/one/talon/model/ApplicationSession.java @@ -38,7 +38,7 @@ public class ApplicationSession { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -54,11 +54,11 @@ public class ApplicationSession { public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - private Integer applicationId; + private Long applicationId; public static final String SERIALIZED_NAME_PROFILE_ID = "profileId"; @SerializedName(SERIALIZED_NAME_PROFILE_ID) - private Integer profileId; + private Long profileId; public static final String SERIALIZED_NAME_PROFILEINTEGRATIONID = "profileintegrationid"; @SerializedName(SERIALIZED_NAME_PROFILEINTEGRATIONID) @@ -148,7 +148,7 @@ public StateEnum read(final JsonReader jsonReader) throws IOException { private Object attributes; - public ApplicationSession id(Integer id) { + public ApplicationSession id(Long id) { this.id = id; return this; @@ -160,12 +160,12 @@ public ApplicationSession id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -237,7 +237,7 @@ public void setStoreIntegrationId(String storeIntegrationId) { } - public ApplicationSession applicationId(Integer applicationId) { + public ApplicationSession applicationId(Long applicationId) { this.applicationId = applicationId; return this; @@ -249,17 +249,17 @@ public ApplicationSession applicationId(Integer applicationId) { **/ @ApiModelProperty(example = "322", required = true, value = "The ID of the Application that owns this entity.") - public Integer getApplicationId() { + public Long getApplicationId() { return applicationId; } - public void setApplicationId(Integer applicationId) { + public void setApplicationId(Long applicationId) { this.applicationId = applicationId; } - public ApplicationSession profileId(Integer profileId) { + public ApplicationSession profileId(Long profileId) { this.profileId = profileId; return this; @@ -272,12 +272,12 @@ public ApplicationSession profileId(Integer profileId) { @javax.annotation.Nullable @ApiModelProperty(example = "138", value = "The globally unique Talon.One ID of the customer that created this entity.") - public Integer getProfileId() { + public Long getProfileId() { return profileId; } - public void setProfileId(Integer profileId) { + public void setProfileId(Long profileId) { this.profileId = profileId; } diff --git a/src/main/java/one/talon/model/ApplicationSessionEntity.java b/src/main/java/one/talon/model/ApplicationSessionEntity.java index 68f0dd81..8c31f859 100644 --- a/src/main/java/one/talon/model/ApplicationSessionEntity.java +++ b/src/main/java/one/talon/model/ApplicationSessionEntity.java @@ -31,10 +31,10 @@ public class ApplicationSessionEntity { public static final String SERIALIZED_NAME_SESSION_ID = "sessionId"; @SerializedName(SERIALIZED_NAME_SESSION_ID) - private Integer sessionId; + private Long sessionId; - public ApplicationSessionEntity sessionId(Integer sessionId) { + public ApplicationSessionEntity sessionId(Long sessionId) { this.sessionId = sessionId; return this; @@ -46,12 +46,12 @@ public ApplicationSessionEntity sessionId(Integer sessionId) { **/ @ApiModelProperty(example = "2", required = true, value = "The globally unique Talon.One ID of the session where this entity was created.") - public Integer getSessionId() { + public Long getSessionId() { return sessionId; } - public void setSessionId(Integer sessionId) { + public void setSessionId(Long sessionId) { this.sessionId = sessionId; } diff --git a/src/main/java/one/talon/model/ApplicationStoreEntity.java b/src/main/java/one/talon/model/ApplicationStoreEntity.java index eeb2e37c..33cb8982 100644 --- a/src/main/java/one/talon/model/ApplicationStoreEntity.java +++ b/src/main/java/one/talon/model/ApplicationStoreEntity.java @@ -31,10 +31,10 @@ public class ApplicationStoreEntity { public static final String SERIALIZED_NAME_STORE_ID = "storeId"; @SerializedName(SERIALIZED_NAME_STORE_ID) - private Integer storeId; + private Long storeId; - public ApplicationStoreEntity storeId(Integer storeId) { + public ApplicationStoreEntity storeId(Long storeId) { this.storeId = storeId; return this; @@ -47,12 +47,12 @@ public ApplicationStoreEntity storeId(Integer storeId) { @javax.annotation.Nullable @ApiModelProperty(value = "The ID of the store.") - public Integer getStoreId() { + public Long getStoreId() { return storeId; } - public void setStoreId(Integer storeId) { + public void setStoreId(Long storeId) { this.storeId = storeId; } diff --git a/src/main/java/one/talon/model/AsyncCouponDeletionJobResponse.java b/src/main/java/one/talon/model/AsyncCouponDeletionJobResponse.java index 33712558..543c30a1 100644 --- a/src/main/java/one/talon/model/AsyncCouponDeletionJobResponse.java +++ b/src/main/java/one/talon/model/AsyncCouponDeletionJobResponse.java @@ -31,10 +31,10 @@ public class AsyncCouponDeletionJobResponse { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; - public AsyncCouponDeletionJobResponse id(Integer id) { + public AsyncCouponDeletionJobResponse id(Long id) { this.id = id; return this; @@ -46,12 +46,12 @@ public AsyncCouponDeletionJobResponse id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Unique ID for this entity. Not to be confused with the Integration ID, which is set by your integration layer and used in most endpoints.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } diff --git a/src/main/java/one/talon/model/Attribute.java b/src/main/java/one/talon/model/Attribute.java index 69a2a65e..01e71ef1 100644 --- a/src/main/java/one/talon/model/Attribute.java +++ b/src/main/java/one/talon/model/Attribute.java @@ -34,7 +34,7 @@ public class Attribute { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -42,7 +42,7 @@ public class Attribute { public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private Integer accountId; + private Long accountId; /** * The name of the entity that can have this attribute. When creating or updating the entities of a given type, you can include an `attributes` object with keys corresponding to the `name` of the custom attributes for that type. @@ -210,11 +210,11 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS_IDS = "subscribedApplicationsIds"; @SerializedName(SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS_IDS) - private List subscribedApplicationsIds = null; + private List subscribedApplicationsIds = null; public static final String SERIALIZED_NAME_SUBSCRIBED_CATALOGS_IDS = "subscribedCatalogsIds"; @SerializedName(SERIALIZED_NAME_SUBSCRIBED_CATALOGS_IDS) - private List subscribedCatalogsIds = null; + private List subscribedCatalogsIds = null; /** * Gets or Sets allowedSubscriptions @@ -269,10 +269,10 @@ public AllowedSubscriptionsEnum read(final JsonReader jsonReader) throws IOExcep public static final String SERIALIZED_NAME_EVENT_TYPE_ID = "eventTypeId"; @SerializedName(SERIALIZED_NAME_EVENT_TYPE_ID) - private Integer eventTypeId; + private Long eventTypeId; - public Attribute id(Integer id) { + public Attribute id(Long id) { this.id = id; return this; @@ -284,12 +284,12 @@ public Attribute id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -316,7 +316,7 @@ public void setCreated(OffsetDateTime created) { } - public Attribute accountId(Integer accountId) { + public Attribute accountId(Long accountId) { this.accountId = accountId; return this; @@ -328,12 +328,12 @@ public Attribute accountId(Integer accountId) { **/ @ApiModelProperty(example = "3886", required = true, value = "The ID of the account that owns this entity.") - public Integer getAccountId() { + public Long getAccountId() { return accountId; } - public void setAccountId(Integer accountId) { + public void setAccountId(Long accountId) { this.accountId = accountId; } @@ -566,15 +566,15 @@ public void setEditable(Boolean editable) { } - public Attribute subscribedApplicationsIds(List subscribedApplicationsIds) { + public Attribute subscribedApplicationsIds(List subscribedApplicationsIds) { this.subscribedApplicationsIds = subscribedApplicationsIds; return this; } - public Attribute addSubscribedApplicationsIdsItem(Integer subscribedApplicationsIdsItem) { + public Attribute addSubscribedApplicationsIdsItem(Long subscribedApplicationsIdsItem) { if (this.subscribedApplicationsIds == null) { - this.subscribedApplicationsIds = new ArrayList(); + this.subscribedApplicationsIds = new ArrayList(); } this.subscribedApplicationsIds.add(subscribedApplicationsIdsItem); return this; @@ -587,25 +587,25 @@ public Attribute addSubscribedApplicationsIdsItem(Integer subscribedApplications @javax.annotation.Nullable @ApiModelProperty(example = "[1, 4, 9]", value = "A list of the IDs of the applications where this attribute is available.") - public List getSubscribedApplicationsIds() { + public List getSubscribedApplicationsIds() { return subscribedApplicationsIds; } - public void setSubscribedApplicationsIds(List subscribedApplicationsIds) { + public void setSubscribedApplicationsIds(List subscribedApplicationsIds) { this.subscribedApplicationsIds = subscribedApplicationsIds; } - public Attribute subscribedCatalogsIds(List subscribedCatalogsIds) { + public Attribute subscribedCatalogsIds(List subscribedCatalogsIds) { this.subscribedCatalogsIds = subscribedCatalogsIds; return this; } - public Attribute addSubscribedCatalogsIdsItem(Integer subscribedCatalogsIdsItem) { + public Attribute addSubscribedCatalogsIdsItem(Long subscribedCatalogsIdsItem) { if (this.subscribedCatalogsIds == null) { - this.subscribedCatalogsIds = new ArrayList(); + this.subscribedCatalogsIds = new ArrayList(); } this.subscribedCatalogsIds.add(subscribedCatalogsIdsItem); return this; @@ -618,12 +618,12 @@ public Attribute addSubscribedCatalogsIdsItem(Integer subscribedCatalogsIdsItem) @javax.annotation.Nullable @ApiModelProperty(example = "[2, 5]", value = "A list of the IDs of the catalogs where this attribute is available.") - public List getSubscribedCatalogsIds() { + public List getSubscribedCatalogsIds() { return subscribedCatalogsIds; } - public void setSubscribedCatalogsIds(List subscribedCatalogsIds) { + public void setSubscribedCatalogsIds(List subscribedCatalogsIds) { this.subscribedCatalogsIds = subscribedCatalogsIds; } @@ -659,7 +659,7 @@ public void setAllowedSubscriptions(List allowedSubscr } - public Attribute eventTypeId(Integer eventTypeId) { + public Attribute eventTypeId(Long eventTypeId) { this.eventTypeId = eventTypeId; return this; @@ -672,12 +672,12 @@ public Attribute eventTypeId(Integer eventTypeId) { @javax.annotation.Nullable @ApiModelProperty(example = "22", value = "") - public Integer getEventTypeId() { + public Long getEventTypeId() { return eventTypeId; } - public void setEventTypeId(Integer eventTypeId) { + public void setEventTypeId(Long eventTypeId) { this.eventTypeId = eventTypeId; } diff --git a/src/main/java/one/talon/model/Audience.java b/src/main/java/one/talon/model/Audience.java index 52fde4a9..32214ce1 100644 --- a/src/main/java/one/talon/model/Audience.java +++ b/src/main/java/one/talon/model/Audience.java @@ -32,11 +32,11 @@ public class Audience { public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private Integer accountId; + private Long accountId; public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -71,7 +71,7 @@ public class Audience { private OffsetDateTime lastUpdate; - public Audience accountId(Integer accountId) { + public Audience accountId(Long accountId) { this.accountId = accountId; return this; @@ -83,17 +83,17 @@ public Audience accountId(Integer accountId) { **/ @ApiModelProperty(example = "3886", required = true, value = "The ID of the account that owns this entity.") - public Integer getAccountId() { + public Long getAccountId() { return accountId; } - public void setAccountId(Integer accountId) { + public void setAccountId(Long accountId) { this.accountId = accountId; } - public Audience id(Integer id) { + public Audience id(Long id) { this.id = id; return this; @@ -105,12 +105,12 @@ public Audience id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } diff --git a/src/main/java/one/talon/model/AudienceAnalytics.java b/src/main/java/one/talon/model/AudienceAnalytics.java index 14e7af6c..34e331ba 100644 --- a/src/main/java/one/talon/model/AudienceAnalytics.java +++ b/src/main/java/one/talon/model/AudienceAnalytics.java @@ -32,14 +32,14 @@ public class AudienceAnalytics { public static final String SERIALIZED_NAME_AUDIENCE_ID = "audienceId"; @SerializedName(SERIALIZED_NAME_AUDIENCE_ID) - private Integer audienceId; + private Long audienceId; public static final String SERIALIZED_NAME_MEMBERS_COUNT = "membersCount"; @SerializedName(SERIALIZED_NAME_MEMBERS_COUNT) - private Integer membersCount; + private Long membersCount; - public AudienceAnalytics audienceId(Integer audienceId) { + public AudienceAnalytics audienceId(Long audienceId) { this.audienceId = audienceId; return this; @@ -52,17 +52,17 @@ public AudienceAnalytics audienceId(Integer audienceId) { @javax.annotation.Nullable @ApiModelProperty(example = "1", value = "The ID of the audience.") - public Integer getAudienceId() { + public Long getAudienceId() { return audienceId; } - public void setAudienceId(Integer audienceId) { + public void setAudienceId(Long audienceId) { this.audienceId = audienceId; } - public AudienceAnalytics membersCount(Integer membersCount) { + public AudienceAnalytics membersCount(Long membersCount) { this.membersCount = membersCount; return this; @@ -75,12 +75,12 @@ public AudienceAnalytics membersCount(Integer membersCount) { @javax.annotation.Nullable @ApiModelProperty(example = "1234", value = "The member count of the audience.") - public Integer getMembersCount() { + public Long getMembersCount() { return membersCount; } - public void setMembersCount(Integer membersCount) { + public void setMembersCount(Long membersCount) { this.membersCount = membersCount; } diff --git a/src/main/java/one/talon/model/AudienceCustomer.java b/src/main/java/one/talon/model/AudienceCustomer.java index 6bcea89a..faba8c5c 100644 --- a/src/main/java/one/talon/model/AudienceCustomer.java +++ b/src/main/java/one/talon/model/AudienceCustomer.java @@ -37,7 +37,7 @@ public class AudienceCustomer { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -53,11 +53,11 @@ public class AudienceCustomer { public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private Integer accountId; + private Long accountId; public static final String SERIALIZED_NAME_CLOSED_SESSIONS = "closedSessions"; @SerializedName(SERIALIZED_NAME_CLOSED_SESSIONS) - private Integer closedSessions; + private Long closedSessions; public static final String SERIALIZED_NAME_TOTAL_SALES = "totalSales"; @SerializedName(SERIALIZED_NAME_TOTAL_SALES) @@ -81,14 +81,14 @@ public class AudienceCustomer { public static final String SERIALIZED_NAME_CONNECTED_APPLICATIONS_IDS = "connectedApplicationsIds"; @SerializedName(SERIALIZED_NAME_CONNECTED_APPLICATIONS_IDS) - private List connectedApplicationsIds = null; + private List connectedApplicationsIds = null; public static final String SERIALIZED_NAME_CONNECTED_AUDIENCES = "connectedAudiences"; @SerializedName(SERIALIZED_NAME_CONNECTED_AUDIENCES) - private List connectedAudiences = null; + private List connectedAudiences = null; - public AudienceCustomer id(Integer id) { + public AudienceCustomer id(Long id) { this.id = id; return this; @@ -100,12 +100,12 @@ public AudienceCustomer id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -176,7 +176,7 @@ public void setAttributes(Object attributes) { } - public AudienceCustomer accountId(Integer accountId) { + public AudienceCustomer accountId(Long accountId) { this.accountId = accountId; return this; @@ -188,17 +188,17 @@ public AudienceCustomer accountId(Integer accountId) { **/ @ApiModelProperty(example = "31", required = true, value = "The ID of the Talon.One account that owns this profile.") - public Integer getAccountId() { + public Long getAccountId() { return accountId; } - public void setAccountId(Integer accountId) { + public void setAccountId(Long accountId) { this.accountId = accountId; } - public AudienceCustomer closedSessions(Integer closedSessions) { + public AudienceCustomer closedSessions(Long closedSessions) { this.closedSessions = closedSessions; return this; @@ -210,12 +210,12 @@ public AudienceCustomer closedSessions(Integer closedSessions) { **/ @ApiModelProperty(example = "3", required = true, value = "The total amount of closed sessions by a customer. A closed session is a successful purchase.") - public Integer getClosedSessions() { + public Long getClosedSessions() { return closedSessions; } - public void setClosedSessions(Integer closedSessions) { + public void setClosedSessions(Long closedSessions) { this.closedSessions = closedSessions; } @@ -349,15 +349,15 @@ public void setSandbox(Boolean sandbox) { } - public AudienceCustomer connectedApplicationsIds(List connectedApplicationsIds) { + public AudienceCustomer connectedApplicationsIds(List connectedApplicationsIds) { this.connectedApplicationsIds = connectedApplicationsIds; return this; } - public AudienceCustomer addConnectedApplicationsIdsItem(Integer connectedApplicationsIdsItem) { + public AudienceCustomer addConnectedApplicationsIdsItem(Long connectedApplicationsIdsItem) { if (this.connectedApplicationsIds == null) { - this.connectedApplicationsIds = new ArrayList(); + this.connectedApplicationsIds = new ArrayList(); } this.connectedApplicationsIds.add(connectedApplicationsIdsItem); return this; @@ -370,25 +370,25 @@ public AudienceCustomer addConnectedApplicationsIdsItem(Integer connectedApplica @javax.annotation.Nullable @ApiModelProperty(example = "[1, 2, 3]", value = "A list of the IDs of the Applications that are connected to this customer profile.") - public List getConnectedApplicationsIds() { + public List getConnectedApplicationsIds() { return connectedApplicationsIds; } - public void setConnectedApplicationsIds(List connectedApplicationsIds) { + public void setConnectedApplicationsIds(List connectedApplicationsIds) { this.connectedApplicationsIds = connectedApplicationsIds; } - public AudienceCustomer connectedAudiences(List connectedAudiences) { + public AudienceCustomer connectedAudiences(List connectedAudiences) { this.connectedAudiences = connectedAudiences; return this; } - public AudienceCustomer addConnectedAudiencesItem(Integer connectedAudiencesItem) { + public AudienceCustomer addConnectedAudiencesItem(Long connectedAudiencesItem) { if (this.connectedAudiences == null) { - this.connectedAudiences = new ArrayList(); + this.connectedAudiences = new ArrayList(); } this.connectedAudiences.add(connectedAudiencesItem); return this; @@ -401,12 +401,12 @@ public AudienceCustomer addConnectedAudiencesItem(Integer connectedAudiencesItem @javax.annotation.Nullable @ApiModelProperty(example = "[1, 2, 3]", value = "A list of the IDs of the audiences that are connected to this customer profile.") - public List getConnectedAudiences() { + public List getConnectedAudiences() { return connectedAudiences; } - public void setConnectedAudiences(List connectedAudiences) { + public void setConnectedAudiences(List connectedAudiences) { this.connectedAudiences = connectedAudiences; } diff --git a/src/main/java/one/talon/model/AudienceMembership.java b/src/main/java/one/talon/model/AudienceMembership.java index a835a371..572e16a2 100644 --- a/src/main/java/one/talon/model/AudienceMembership.java +++ b/src/main/java/one/talon/model/AudienceMembership.java @@ -31,14 +31,14 @@ public class AudienceMembership { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) private String name; - public AudienceMembership id(Integer id) { + public AudienceMembership id(Long id) { this.id = id; return this; @@ -50,12 +50,12 @@ public AudienceMembership id(Integer id) { **/ @ApiModelProperty(example = "2", required = true, value = "The ID of the audience belonging to this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } diff --git a/src/main/java/one/talon/model/AwardGiveawayEffectProps.java b/src/main/java/one/talon/model/AwardGiveawayEffectProps.java index 0e970cb1..9218078a 100644 --- a/src/main/java/one/talon/model/AwardGiveawayEffectProps.java +++ b/src/main/java/one/talon/model/AwardGiveawayEffectProps.java @@ -32,7 +32,7 @@ public class AwardGiveawayEffectProps { public static final String SERIALIZED_NAME_POOL_ID = "poolId"; @SerializedName(SERIALIZED_NAME_POOL_ID) - private Integer poolId; + private Long poolId; public static final String SERIALIZED_NAME_POOL_NAME = "poolName"; @SerializedName(SERIALIZED_NAME_POOL_NAME) @@ -44,14 +44,14 @@ public class AwardGiveawayEffectProps { public static final String SERIALIZED_NAME_GIVEAWAY_ID = "giveawayId"; @SerializedName(SERIALIZED_NAME_GIVEAWAY_ID) - private Integer giveawayId; + private Long giveawayId; public static final String SERIALIZED_NAME_CODE = "code"; @SerializedName(SERIALIZED_NAME_CODE) private String code; - public AwardGiveawayEffectProps poolId(Integer poolId) { + public AwardGiveawayEffectProps poolId(Long poolId) { this.poolId = poolId; return this; @@ -63,12 +63,12 @@ public AwardGiveawayEffectProps poolId(Integer poolId) { **/ @ApiModelProperty(example = "2", required = true, value = "The ID of the giveaways pool the code was taken from.") - public Integer getPoolId() { + public Long getPoolId() { return poolId; } - public void setPoolId(Integer poolId) { + public void setPoolId(Long poolId) { this.poolId = poolId; } @@ -117,7 +117,7 @@ public void setRecipientIntegrationId(String recipientIntegrationId) { } - public AwardGiveawayEffectProps giveawayId(Integer giveawayId) { + public AwardGiveawayEffectProps giveawayId(Long giveawayId) { this.giveawayId = giveawayId; return this; @@ -129,12 +129,12 @@ public AwardGiveawayEffectProps giveawayId(Integer giveawayId) { **/ @ApiModelProperty(example = "5", required = true, value = "The internal ID for the giveaway that was awarded.") - public Integer getGiveawayId() { + public Long getGiveawayId() { return giveawayId; } - public void setGiveawayId(Integer giveawayId) { + public void setGiveawayId(Long giveawayId) { this.giveawayId = giveawayId; } diff --git a/src/main/java/one/talon/model/BaseCampaign.java b/src/main/java/one/talon/model/BaseCampaign.java index 4d5dfc1b..03cc34d8 100644 --- a/src/main/java/one/talon/model/BaseCampaign.java +++ b/src/main/java/one/talon/model/BaseCampaign.java @@ -109,7 +109,7 @@ public StateEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_ACTIVE_RULESET_ID = "activeRulesetId"; @SerializedName(SERIALIZED_NAME_ACTIVE_RULESET_ID) - private Integer activeRulesetId; + private Long activeRulesetId; public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) @@ -188,7 +188,7 @@ public FeaturesEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_CAMPAIGN_GROUPS = "campaignGroups"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_GROUPS) - private List campaignGroups = null; + private List campaignGroups = null; /** * The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items. @@ -243,7 +243,7 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_LINKED_STORE_IDS = "linkedStoreIds"; @SerializedName(SERIALIZED_NAME_LINKED_STORE_IDS) - private List linkedStoreIds = null; + private List linkedStoreIds = null; public BaseCampaign name(String name) { @@ -382,7 +382,7 @@ public void setState(StateEnum state) { } - public BaseCampaign activeRulesetId(Integer activeRulesetId) { + public BaseCampaign activeRulesetId(Long activeRulesetId) { this.activeRulesetId = activeRulesetId; return this; @@ -395,12 +395,12 @@ public BaseCampaign activeRulesetId(Integer activeRulesetId) { @javax.annotation.Nullable @ApiModelProperty(example = "6", value = "[ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this campaign applies on customer session evaluation. ") - public Integer getActiveRulesetId() { + public Long getActiveRulesetId() { return activeRulesetId; } - public void setActiveRulesetId(Integer activeRulesetId) { + public void setActiveRulesetId(Long activeRulesetId) { this.activeRulesetId = activeRulesetId; } @@ -532,15 +532,15 @@ public void setLimits(List limits) { } - public BaseCampaign campaignGroups(List campaignGroups) { + public BaseCampaign campaignGroups(List campaignGroups) { this.campaignGroups = campaignGroups; return this; } - public BaseCampaign addCampaignGroupsItem(Integer campaignGroupsItem) { + public BaseCampaign addCampaignGroupsItem(Long campaignGroupsItem) { if (this.campaignGroups == null) { - this.campaignGroups = new ArrayList(); + this.campaignGroups = new ArrayList(); } this.campaignGroups.add(campaignGroupsItem); return this; @@ -553,12 +553,12 @@ public BaseCampaign addCampaignGroupsItem(Integer campaignGroupsItem) { @javax.annotation.Nullable @ApiModelProperty(example = "[1, 3]", value = "The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/managing-campaign-groups) this campaign belongs to. ") - public List getCampaignGroups() { + public List getCampaignGroups() { return campaignGroups; } - public void setCampaignGroups(List campaignGroups) { + public void setCampaignGroups(List campaignGroups) { this.campaignGroups = campaignGroups; } @@ -586,15 +586,15 @@ public void setType(TypeEnum type) { } - public BaseCampaign linkedStoreIds(List linkedStoreIds) { + public BaseCampaign linkedStoreIds(List linkedStoreIds) { this.linkedStoreIds = linkedStoreIds; return this; } - public BaseCampaign addLinkedStoreIdsItem(Integer linkedStoreIdsItem) { + public BaseCampaign addLinkedStoreIdsItem(Long linkedStoreIdsItem) { if (this.linkedStoreIds == null) { - this.linkedStoreIds = new ArrayList(); + this.linkedStoreIds = new ArrayList(); } this.linkedStoreIds.add(linkedStoreIdsItem); return this; @@ -607,12 +607,12 @@ public BaseCampaign addLinkedStoreIdsItem(Integer linkedStoreIdsItem) { @javax.annotation.Nullable @ApiModelProperty(example = "[1, 2, 3]", value = "A list of store IDs that you want to link to the campaign. **Note:** Campaigns with linked store IDs will only be evaluated when there is a [customer session update](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) that references a linked store. ") - public List getLinkedStoreIds() { + public List getLinkedStoreIds() { return linkedStoreIds; } - public void setLinkedStoreIds(List linkedStoreIds) { + public void setLinkedStoreIds(List linkedStoreIds) { this.linkedStoreIds = linkedStoreIds; } diff --git a/src/main/java/one/talon/model/BaseLoyaltyProgram.java b/src/main/java/one/talon/model/BaseLoyaltyProgram.java index c5553170..1fadb224 100644 --- a/src/main/java/one/talon/model/BaseLoyaltyProgram.java +++ b/src/main/java/one/talon/model/BaseLoyaltyProgram.java @@ -43,7 +43,7 @@ public class BaseLoyaltyProgram { public static final String SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS = "subscribedApplications"; @SerializedName(SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS) - private List subscribedApplications = null; + private List subscribedApplications = null; public static final String SERIALIZED_NAME_DEFAULT_VALIDITY = "defaultValidity"; @SerializedName(SERIALIZED_NAME_DEFAULT_VALIDITY) @@ -59,7 +59,7 @@ public class BaseLoyaltyProgram { public static final String SERIALIZED_NAME_USERS_PER_CARD_LIMIT = "usersPerCardLimit"; @SerializedName(SERIALIZED_NAME_USERS_PER_CARD_LIMIT) - private Integer usersPerCardLimit; + private Long usersPerCardLimit; public static final String SERIALIZED_NAME_SANDBOX = "sandbox"; @SerializedName(SERIALIZED_NAME_SANDBOX) @@ -336,15 +336,15 @@ public void setDescription(String description) { } - public BaseLoyaltyProgram subscribedApplications(List subscribedApplications) { + public BaseLoyaltyProgram subscribedApplications(List subscribedApplications) { this.subscribedApplications = subscribedApplications; return this; } - public BaseLoyaltyProgram addSubscribedApplicationsItem(Integer subscribedApplicationsItem) { + public BaseLoyaltyProgram addSubscribedApplicationsItem(Long subscribedApplicationsItem) { if (this.subscribedApplications == null) { - this.subscribedApplications = new ArrayList(); + this.subscribedApplications = new ArrayList(); } this.subscribedApplications.add(subscribedApplicationsItem); return this; @@ -357,12 +357,12 @@ public BaseLoyaltyProgram addSubscribedApplicationsItem(Integer subscribedApplic @javax.annotation.Nullable @ApiModelProperty(example = "[132, 97]", value = "A list containing the IDs of all applications that are subscribed to this Loyalty Program.") - public List getSubscribedApplications() { + public List getSubscribedApplications() { return subscribedApplications; } - public void setSubscribedApplications(List subscribedApplications) { + public void setSubscribedApplications(List subscribedApplications) { this.subscribedApplications = subscribedApplications; } @@ -436,7 +436,7 @@ public void setAllowSubledger(Boolean allowSubledger) { } - public BaseLoyaltyProgram usersPerCardLimit(Integer usersPerCardLimit) { + public BaseLoyaltyProgram usersPerCardLimit(Long usersPerCardLimit) { this.usersPerCardLimit = usersPerCardLimit; return this; @@ -450,12 +450,12 @@ public BaseLoyaltyProgram usersPerCardLimit(Integer usersPerCardLimit) { @javax.annotation.Nullable @ApiModelProperty(example = "111", value = "The max amount of user profiles with whom a card can be shared. This can be set to 0 for no limit. This property is only used when `cardBased` is `true`. ") - public Integer getUsersPerCardLimit() { + public Long getUsersPerCardLimit() { return usersPerCardLimit; } - public void setUsersPerCardLimit(Integer usersPerCardLimit) { + public void setUsersPerCardLimit(Long usersPerCardLimit) { this.usersPerCardLimit = usersPerCardLimit; } diff --git a/src/main/java/one/talon/model/BaseNotification.java b/src/main/java/one/talon/model/BaseNotification.java index 15bf0038..71776451 100644 --- a/src/main/java/one/talon/model/BaseNotification.java +++ b/src/main/java/one/talon/model/BaseNotification.java @@ -44,7 +44,7 @@ public class BaseNotification { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; /** * The notification type. @@ -185,7 +185,7 @@ public void setWebhook(BaseNotificationWebhook webhook) { } - public BaseNotification id(Integer id) { + public BaseNotification id(Long id) { this.id = id; return this; @@ -198,12 +198,12 @@ public BaseNotification id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Unique ID for this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } diff --git a/src/main/java/one/talon/model/BaseNotificationWebhook.java b/src/main/java/one/talon/model/BaseNotificationWebhook.java index 1c1ef0c1..25ab6375 100644 --- a/src/main/java/one/talon/model/BaseNotificationWebhook.java +++ b/src/main/java/one/talon/model/BaseNotificationWebhook.java @@ -34,7 +34,7 @@ public class BaseNotificationWebhook { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -57,7 +57,7 @@ public class BaseNotificationWebhook { private Boolean enabled = true; - public BaseNotificationWebhook id(Integer id) { + public BaseNotificationWebhook id(Long id) { this.id = id; return this; @@ -69,12 +69,12 @@ public BaseNotificationWebhook id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } diff --git a/src/main/java/one/talon/model/BaseSamlConnection.java b/src/main/java/one/talon/model/BaseSamlConnection.java index c8d23fbe..647634ba 100644 --- a/src/main/java/one/talon/model/BaseSamlConnection.java +++ b/src/main/java/one/talon/model/BaseSamlConnection.java @@ -31,7 +31,7 @@ public class BaseSamlConnection { public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private Integer accountId; + private Long accountId; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -62,7 +62,7 @@ public class BaseSamlConnection { private String audienceURI; - public BaseSamlConnection accountId(Integer accountId) { + public BaseSamlConnection accountId(Long accountId) { this.accountId = accountId; return this; @@ -74,12 +74,12 @@ public BaseSamlConnection accountId(Integer accountId) { **/ @ApiModelProperty(example = "3885", required = true, value = "The ID of the account that owns this entity.") - public Integer getAccountId() { + public Long getAccountId() { return accountId; } - public void setAccountId(Integer accountId) { + public void setAccountId(Long accountId) { this.accountId = accountId; } diff --git a/src/main/java/one/talon/model/BulkApplicationNotification.java b/src/main/java/one/talon/model/BulkApplicationNotification.java index 9c8e90d1..73364011 100644 --- a/src/main/java/one/talon/model/BulkApplicationNotification.java +++ b/src/main/java/one/talon/model/BulkApplicationNotification.java @@ -34,14 +34,14 @@ public class BulkApplicationNotification { public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "totalResultSize"; @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) - private Integer totalResultSize; + private Long totalResultSize; public static final String SERIALIZED_NAME_DATA = "data"; @SerializedName(SERIALIZED_NAME_DATA) private List data = new ArrayList(); - public BulkApplicationNotification totalResultSize(Integer totalResultSize) { + public BulkApplicationNotification totalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; return this; @@ -53,12 +53,12 @@ public BulkApplicationNotification totalResultSize(Integer totalResultSize) { **/ @ApiModelProperty(example = "1", required = true, value = "") - public Integer getTotalResultSize() { + public Long getTotalResultSize() { return totalResultSize; } - public void setTotalResultSize(Integer totalResultSize) { + public void setTotalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; } diff --git a/src/main/java/one/talon/model/BulkCampaignNotification.java b/src/main/java/one/talon/model/BulkCampaignNotification.java index b037d504..7140bc90 100644 --- a/src/main/java/one/talon/model/BulkCampaignNotification.java +++ b/src/main/java/one/talon/model/BulkCampaignNotification.java @@ -34,14 +34,14 @@ public class BulkCampaignNotification { public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "totalResultSize"; @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) - private Integer totalResultSize; + private Long totalResultSize; public static final String SERIALIZED_NAME_DATA = "data"; @SerializedName(SERIALIZED_NAME_DATA) private List data = new ArrayList(); - public BulkCampaignNotification totalResultSize(Integer totalResultSize) { + public BulkCampaignNotification totalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; return this; @@ -53,12 +53,12 @@ public BulkCampaignNotification totalResultSize(Integer totalResultSize) { **/ @ApiModelProperty(example = "1", required = true, value = "") - public Integer getTotalResultSize() { + public Long getTotalResultSize() { return totalResultSize; } - public void setTotalResultSize(Integer totalResultSize) { + public void setTotalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; } diff --git a/src/main/java/one/talon/model/BulkOperationOnCampaigns.java b/src/main/java/one/talon/model/BulkOperationOnCampaigns.java index e30c830c..c3778244 100644 --- a/src/main/java/one/talon/model/BulkOperationOnCampaigns.java +++ b/src/main/java/one/talon/model/BulkOperationOnCampaigns.java @@ -87,7 +87,7 @@ public OperationEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_CAMPAIGN_IDS = "campaignIds"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_IDS) - private List campaignIds = new ArrayList(); + private List campaignIds = new ArrayList(); public static final String SERIALIZED_NAME_ACTIVATE_AT = "activateAt"; @SerializedName(SERIALIZED_NAME_ACTIVATE_AT) @@ -116,13 +116,13 @@ public void setOperation(OperationEnum operation) { } - public BulkOperationOnCampaigns campaignIds(List campaignIds) { + public BulkOperationOnCampaigns campaignIds(List campaignIds) { this.campaignIds = campaignIds; return this; } - public BulkOperationOnCampaigns addCampaignIdsItem(Integer campaignIdsItem) { + public BulkOperationOnCampaigns addCampaignIdsItem(Long campaignIdsItem) { this.campaignIds.add(campaignIdsItem); return this; } @@ -133,12 +133,12 @@ public BulkOperationOnCampaigns addCampaignIdsItem(Integer campaignIdsItem) { **/ @ApiModelProperty(example = "[1, 2, 3]", required = true, value = "The list of campaign IDs on which the operation will be performed.") - public List getCampaignIds() { + public List getCampaignIds() { return campaignIds; } - public void setCampaignIds(List campaignIds) { + public void setCampaignIds(List campaignIds) { this.campaignIds = campaignIds; } diff --git a/src/main/java/one/talon/model/Campaign.java b/src/main/java/one/talon/model/Campaign.java index 082f8e57..f8c2701c 100644 --- a/src/main/java/one/talon/model/Campaign.java +++ b/src/main/java/one/talon/model/Campaign.java @@ -38,7 +38,7 @@ public class Campaign { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -46,11 +46,11 @@ public class Campaign { public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - private Integer applicationId; + private Long applicationId; public static final String SERIALIZED_NAME_USER_ID = "userId"; @SerializedName(SERIALIZED_NAME_USER_ID) - private Integer userId; + private Long userId; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -127,7 +127,7 @@ public StateEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_ACTIVE_RULESET_ID = "activeRulesetId"; @SerializedName(SERIALIZED_NAME_ACTIVE_RULESET_ID) - private Integer activeRulesetId; + private Long activeRulesetId; public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) @@ -206,7 +206,7 @@ public FeaturesEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_CAMPAIGN_GROUPS = "campaignGroups"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_GROUPS) - private List campaignGroups = null; + private List campaignGroups = null; /** * The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items. @@ -261,7 +261,7 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_LINKED_STORE_IDS = "linkedStoreIds"; @SerializedName(SERIALIZED_NAME_LINKED_STORE_IDS) - private List linkedStoreIds = null; + private List linkedStoreIds = null; public static final String SERIALIZED_NAME_BUDGETS = "budgets"; @SerializedName(SERIALIZED_NAME_BUDGETS) @@ -269,11 +269,11 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_COUPON_REDEMPTION_COUNT = "couponRedemptionCount"; @SerializedName(SERIALIZED_NAME_COUPON_REDEMPTION_COUNT) - private Integer couponRedemptionCount; + private Long couponRedemptionCount; public static final String SERIALIZED_NAME_REFERRAL_REDEMPTION_COUNT = "referralRedemptionCount"; @SerializedName(SERIALIZED_NAME_REFERRAL_REDEMPTION_COUNT) - private Integer referralRedemptionCount; + private Long referralRedemptionCount; public static final String SERIALIZED_NAME_DISCOUNT_COUNT = "discountCount"; @SerializedName(SERIALIZED_NAME_DISCOUNT_COUNT) @@ -281,27 +281,27 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_DISCOUNT_EFFECT_COUNT = "discountEffectCount"; @SerializedName(SERIALIZED_NAME_DISCOUNT_EFFECT_COUNT) - private Integer discountEffectCount; + private Long discountEffectCount; public static final String SERIALIZED_NAME_COUPON_CREATION_COUNT = "couponCreationCount"; @SerializedName(SERIALIZED_NAME_COUPON_CREATION_COUNT) - private Integer couponCreationCount; + private Long couponCreationCount; public static final String SERIALIZED_NAME_CUSTOM_EFFECT_COUNT = "customEffectCount"; @SerializedName(SERIALIZED_NAME_CUSTOM_EFFECT_COUNT) - private Integer customEffectCount; + private Long customEffectCount; public static final String SERIALIZED_NAME_REFERRAL_CREATION_COUNT = "referralCreationCount"; @SerializedName(SERIALIZED_NAME_REFERRAL_CREATION_COUNT) - private Integer referralCreationCount; + private Long referralCreationCount; public static final String SERIALIZED_NAME_ADD_FREE_ITEM_EFFECT_COUNT = "addFreeItemEffectCount"; @SerializedName(SERIALIZED_NAME_ADD_FREE_ITEM_EFFECT_COUNT) - private Integer addFreeItemEffectCount; + private Long addFreeItemEffectCount; public static final String SERIALIZED_NAME_AWARDED_GIVEAWAYS_COUNT = "awardedGiveawaysCount"; @SerializedName(SERIALIZED_NAME_AWARDED_GIVEAWAYS_COUNT) - private Integer awardedGiveawaysCount; + private Long awardedGiveawaysCount; public static final String SERIALIZED_NAME_CREATED_LOYALTY_POINTS_COUNT = "createdLoyaltyPointsCount"; @SerializedName(SERIALIZED_NAME_CREATED_LOYALTY_POINTS_COUNT) @@ -309,7 +309,7 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_CREATED_LOYALTY_POINTS_EFFECT_COUNT = "createdLoyaltyPointsEffectCount"; @SerializedName(SERIALIZED_NAME_CREATED_LOYALTY_POINTS_EFFECT_COUNT) - private Integer createdLoyaltyPointsEffectCount; + private Long createdLoyaltyPointsEffectCount; public static final String SERIALIZED_NAME_REDEEMED_LOYALTY_POINTS_COUNT = "redeemedLoyaltyPointsCount"; @SerializedName(SERIALIZED_NAME_REDEEMED_LOYALTY_POINTS_COUNT) @@ -317,15 +317,15 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_REDEEMED_LOYALTY_POINTS_EFFECT_COUNT = "redeemedLoyaltyPointsEffectCount"; @SerializedName(SERIALIZED_NAME_REDEEMED_LOYALTY_POINTS_EFFECT_COUNT) - private Integer redeemedLoyaltyPointsEffectCount; + private Long redeemedLoyaltyPointsEffectCount; public static final String SERIALIZED_NAME_CALL_API_EFFECT_COUNT = "callApiEffectCount"; @SerializedName(SERIALIZED_NAME_CALL_API_EFFECT_COUNT) - private Integer callApiEffectCount; + private Long callApiEffectCount; public static final String SERIALIZED_NAME_RESERVECOUPON_EFFECT_COUNT = "reservecouponEffectCount"; @SerializedName(SERIALIZED_NAME_RESERVECOUPON_EFFECT_COUNT) - private Integer reservecouponEffectCount; + private Long reservecouponEffectCount; public static final String SERIALIZED_NAME_LAST_ACTIVITY = "lastActivity"; @SerializedName(SERIALIZED_NAME_LAST_ACTIVITY) @@ -345,7 +345,7 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_TEMPLATE_ID = "templateId"; @SerializedName(SERIALIZED_NAME_TEMPLATE_ID) - private Integer templateId; + private Long templateId; /** * The campaign state displayed in the Campaign Manager. @@ -412,7 +412,7 @@ public FrontendStateEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_VALUE_MAPS_IDS = "valueMapsIds"; @SerializedName(SERIALIZED_NAME_VALUE_MAPS_IDS) - private List valueMapsIds = null; + private List valueMapsIds = null; /** * The campaign revision state displayed in the Campaign Manager. @@ -467,30 +467,30 @@ public RevisionFrontendStateEnum read(final JsonReader jsonReader) throws IOExce public static final String SERIALIZED_NAME_ACTIVE_REVISION_ID = "activeRevisionId"; @SerializedName(SERIALIZED_NAME_ACTIVE_REVISION_ID) - private Integer activeRevisionId; + private Long activeRevisionId; public static final String SERIALIZED_NAME_ACTIVE_REVISION_VERSION_ID = "activeRevisionVersionId"; @SerializedName(SERIALIZED_NAME_ACTIVE_REVISION_VERSION_ID) - private Integer activeRevisionVersionId; + private Long activeRevisionVersionId; public static final String SERIALIZED_NAME_VERSION = "version"; @SerializedName(SERIALIZED_NAME_VERSION) - private Integer version; + private Long version; public static final String SERIALIZED_NAME_CURRENT_REVISION_ID = "currentRevisionId"; @SerializedName(SERIALIZED_NAME_CURRENT_REVISION_ID) - private Integer currentRevisionId; + private Long currentRevisionId; public static final String SERIALIZED_NAME_CURRENT_REVISION_VERSION_ID = "currentRevisionVersionId"; @SerializedName(SERIALIZED_NAME_CURRENT_REVISION_VERSION_ID) - private Integer currentRevisionVersionId; + private Long currentRevisionVersionId; public static final String SERIALIZED_NAME_STAGE_REVISION = "stageRevision"; @SerializedName(SERIALIZED_NAME_STAGE_REVISION) private Boolean stageRevision = false; - public Campaign id(Integer id) { + public Campaign id(Long id) { this.id = id; return this; @@ -502,12 +502,12 @@ public Campaign id(Integer id) { **/ @ApiModelProperty(example = "4", required = true, value = "Unique ID for this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -534,7 +534,7 @@ public void setCreated(OffsetDateTime created) { } - public Campaign applicationId(Integer applicationId) { + public Campaign applicationId(Long applicationId) { this.applicationId = applicationId; return this; @@ -546,17 +546,17 @@ public Campaign applicationId(Integer applicationId) { **/ @ApiModelProperty(example = "322", required = true, value = "The ID of the Application that owns this entity.") - public Integer getApplicationId() { + public Long getApplicationId() { return applicationId; } - public void setApplicationId(Integer applicationId) { + public void setApplicationId(Long applicationId) { this.applicationId = applicationId; } - public Campaign userId(Integer userId) { + public Campaign userId(Long userId) { this.userId = userId; return this; @@ -568,12 +568,12 @@ public Campaign userId(Integer userId) { **/ @ApiModelProperty(example = "388", required = true, value = "The ID of the user associated with this entity.") - public Integer getUserId() { + public Long getUserId() { return userId; } - public void setUserId(Integer userId) { + public void setUserId(Long userId) { this.userId = userId; } @@ -713,7 +713,7 @@ public void setState(StateEnum state) { } - public Campaign activeRulesetId(Integer activeRulesetId) { + public Campaign activeRulesetId(Long activeRulesetId) { this.activeRulesetId = activeRulesetId; return this; @@ -726,12 +726,12 @@ public Campaign activeRulesetId(Integer activeRulesetId) { @javax.annotation.Nullable @ApiModelProperty(example = "6", value = "[ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this campaign applies on customer session evaluation. ") - public Integer getActiveRulesetId() { + public Long getActiveRulesetId() { return activeRulesetId; } - public void setActiveRulesetId(Integer activeRulesetId) { + public void setActiveRulesetId(Long activeRulesetId) { this.activeRulesetId = activeRulesetId; } @@ -863,15 +863,15 @@ public void setLimits(List limits) { } - public Campaign campaignGroups(List campaignGroups) { + public Campaign campaignGroups(List campaignGroups) { this.campaignGroups = campaignGroups; return this; } - public Campaign addCampaignGroupsItem(Integer campaignGroupsItem) { + public Campaign addCampaignGroupsItem(Long campaignGroupsItem) { if (this.campaignGroups == null) { - this.campaignGroups = new ArrayList(); + this.campaignGroups = new ArrayList(); } this.campaignGroups.add(campaignGroupsItem); return this; @@ -884,12 +884,12 @@ public Campaign addCampaignGroupsItem(Integer campaignGroupsItem) { @javax.annotation.Nullable @ApiModelProperty(example = "[1, 3]", value = "The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/managing-campaign-groups) this campaign belongs to. ") - public List getCampaignGroups() { + public List getCampaignGroups() { return campaignGroups; } - public void setCampaignGroups(List campaignGroups) { + public void setCampaignGroups(List campaignGroups) { this.campaignGroups = campaignGroups; } @@ -916,15 +916,15 @@ public void setType(TypeEnum type) { } - public Campaign linkedStoreIds(List linkedStoreIds) { + public Campaign linkedStoreIds(List linkedStoreIds) { this.linkedStoreIds = linkedStoreIds; return this; } - public Campaign addLinkedStoreIdsItem(Integer linkedStoreIdsItem) { + public Campaign addLinkedStoreIdsItem(Long linkedStoreIdsItem) { if (this.linkedStoreIds == null) { - this.linkedStoreIds = new ArrayList(); + this.linkedStoreIds = new ArrayList(); } this.linkedStoreIds.add(linkedStoreIdsItem); return this; @@ -937,12 +937,12 @@ public Campaign addLinkedStoreIdsItem(Integer linkedStoreIdsItem) { @javax.annotation.Nullable @ApiModelProperty(example = "[1, 2, 3]", value = "A list of store IDs that you want to link to the campaign. **Note:** Campaigns with linked store IDs will only be evaluated when there is a [customer session update](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) that references a linked store. ") - public List getLinkedStoreIds() { + public List getLinkedStoreIds() { return linkedStoreIds; } - public void setLinkedStoreIds(List linkedStoreIds) { + public void setLinkedStoreIds(List linkedStoreIds) { this.linkedStoreIds = linkedStoreIds; } @@ -978,7 +978,7 @@ public void setBudgets(List budgets) { } - public Campaign couponRedemptionCount(Integer couponRedemptionCount) { + public Campaign couponRedemptionCount(Long couponRedemptionCount) { this.couponRedemptionCount = couponRedemptionCount; return this; @@ -991,17 +991,17 @@ public Campaign couponRedemptionCount(Integer couponRedemptionCount) { @javax.annotation.Nullable @ApiModelProperty(example = "163", value = "This property is **deprecated**. The count should be available under *budgets* property. Number of coupons redeemed in the campaign. ") - public Integer getCouponRedemptionCount() { + public Long getCouponRedemptionCount() { return couponRedemptionCount; } - public void setCouponRedemptionCount(Integer couponRedemptionCount) { + public void setCouponRedemptionCount(Long couponRedemptionCount) { this.couponRedemptionCount = couponRedemptionCount; } - public Campaign referralRedemptionCount(Integer referralRedemptionCount) { + public Campaign referralRedemptionCount(Long referralRedemptionCount) { this.referralRedemptionCount = referralRedemptionCount; return this; @@ -1014,12 +1014,12 @@ public Campaign referralRedemptionCount(Integer referralRedemptionCount) { @javax.annotation.Nullable @ApiModelProperty(example = "3", value = "This property is **deprecated**. The count should be available under *budgets* property. Number of referral codes redeemed in the campaign. ") - public Integer getReferralRedemptionCount() { + public Long getReferralRedemptionCount() { return referralRedemptionCount; } - public void setReferralRedemptionCount(Integer referralRedemptionCount) { + public void setReferralRedemptionCount(Long referralRedemptionCount) { this.referralRedemptionCount = referralRedemptionCount; } @@ -1047,7 +1047,7 @@ public void setDiscountCount(BigDecimal discountCount) { } - public Campaign discountEffectCount(Integer discountEffectCount) { + public Campaign discountEffectCount(Long discountEffectCount) { this.discountEffectCount = discountEffectCount; return this; @@ -1060,17 +1060,17 @@ public Campaign discountEffectCount(Integer discountEffectCount) { @javax.annotation.Nullable @ApiModelProperty(example = "343", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of times discounts were redeemed in this campaign. ") - public Integer getDiscountEffectCount() { + public Long getDiscountEffectCount() { return discountEffectCount; } - public void setDiscountEffectCount(Integer discountEffectCount) { + public void setDiscountEffectCount(Long discountEffectCount) { this.discountEffectCount = discountEffectCount; } - public Campaign couponCreationCount(Integer couponCreationCount) { + public Campaign couponCreationCount(Long couponCreationCount) { this.couponCreationCount = couponCreationCount; return this; @@ -1083,17 +1083,17 @@ public Campaign couponCreationCount(Integer couponCreationCount) { @javax.annotation.Nullable @ApiModelProperty(example = "16", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of coupons created by rules in this campaign. ") - public Integer getCouponCreationCount() { + public Long getCouponCreationCount() { return couponCreationCount; } - public void setCouponCreationCount(Integer couponCreationCount) { + public void setCouponCreationCount(Long couponCreationCount) { this.couponCreationCount = couponCreationCount; } - public Campaign customEffectCount(Integer customEffectCount) { + public Campaign customEffectCount(Long customEffectCount) { this.customEffectCount = customEffectCount; return this; @@ -1106,17 +1106,17 @@ public Campaign customEffectCount(Integer customEffectCount) { @javax.annotation.Nullable @ApiModelProperty(example = "0", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of custom effects triggered by rules in this campaign. ") - public Integer getCustomEffectCount() { + public Long getCustomEffectCount() { return customEffectCount; } - public void setCustomEffectCount(Integer customEffectCount) { + public void setCustomEffectCount(Long customEffectCount) { this.customEffectCount = customEffectCount; } - public Campaign referralCreationCount(Integer referralCreationCount) { + public Campaign referralCreationCount(Long referralCreationCount) { this.referralCreationCount = referralCreationCount; return this; @@ -1129,17 +1129,17 @@ public Campaign referralCreationCount(Integer referralCreationCount) { @javax.annotation.Nullable @ApiModelProperty(example = "8", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of referrals created by rules in this campaign. ") - public Integer getReferralCreationCount() { + public Long getReferralCreationCount() { return referralCreationCount; } - public void setReferralCreationCount(Integer referralCreationCount) { + public void setReferralCreationCount(Long referralCreationCount) { this.referralCreationCount = referralCreationCount; } - public Campaign addFreeItemEffectCount(Integer addFreeItemEffectCount) { + public Campaign addFreeItemEffectCount(Long addFreeItemEffectCount) { this.addFreeItemEffectCount = addFreeItemEffectCount; return this; @@ -1152,17 +1152,17 @@ public Campaign addFreeItemEffectCount(Integer addFreeItemEffectCount) { @javax.annotation.Nullable @ApiModelProperty(example = "0", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of times the [add free item effect](https://docs.talon.one/docs/dev/integration-api/api-effects#addfreeitem) can be triggered in this campaign. ") - public Integer getAddFreeItemEffectCount() { + public Long getAddFreeItemEffectCount() { return addFreeItemEffectCount; } - public void setAddFreeItemEffectCount(Integer addFreeItemEffectCount) { + public void setAddFreeItemEffectCount(Long addFreeItemEffectCount) { this.addFreeItemEffectCount = addFreeItemEffectCount; } - public Campaign awardedGiveawaysCount(Integer awardedGiveawaysCount) { + public Campaign awardedGiveawaysCount(Long awardedGiveawaysCount) { this.awardedGiveawaysCount = awardedGiveawaysCount; return this; @@ -1175,12 +1175,12 @@ public Campaign awardedGiveawaysCount(Integer awardedGiveawaysCount) { @javax.annotation.Nullable @ApiModelProperty(example = "9", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of giveaways awarded by rules in this campaign. ") - public Integer getAwardedGiveawaysCount() { + public Long getAwardedGiveawaysCount() { return awardedGiveawaysCount; } - public void setAwardedGiveawaysCount(Integer awardedGiveawaysCount) { + public void setAwardedGiveawaysCount(Long awardedGiveawaysCount) { this.awardedGiveawaysCount = awardedGiveawaysCount; } @@ -1208,7 +1208,7 @@ public void setCreatedLoyaltyPointsCount(BigDecimal createdLoyaltyPointsCount) { } - public Campaign createdLoyaltyPointsEffectCount(Integer createdLoyaltyPointsEffectCount) { + public Campaign createdLoyaltyPointsEffectCount(Long createdLoyaltyPointsEffectCount) { this.createdLoyaltyPointsEffectCount = createdLoyaltyPointsEffectCount; return this; @@ -1221,12 +1221,12 @@ public Campaign createdLoyaltyPointsEffectCount(Integer createdLoyaltyPointsEffe @javax.annotation.Nullable @ApiModelProperty(example = "2", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty point creation effects triggered by rules in this campaign. ") - public Integer getCreatedLoyaltyPointsEffectCount() { + public Long getCreatedLoyaltyPointsEffectCount() { return createdLoyaltyPointsEffectCount; } - public void setCreatedLoyaltyPointsEffectCount(Integer createdLoyaltyPointsEffectCount) { + public void setCreatedLoyaltyPointsEffectCount(Long createdLoyaltyPointsEffectCount) { this.createdLoyaltyPointsEffectCount = createdLoyaltyPointsEffectCount; } @@ -1254,7 +1254,7 @@ public void setRedeemedLoyaltyPointsCount(BigDecimal redeemedLoyaltyPointsCount) } - public Campaign redeemedLoyaltyPointsEffectCount(Integer redeemedLoyaltyPointsEffectCount) { + public Campaign redeemedLoyaltyPointsEffectCount(Long redeemedLoyaltyPointsEffectCount) { this.redeemedLoyaltyPointsEffectCount = redeemedLoyaltyPointsEffectCount; return this; @@ -1267,17 +1267,17 @@ public Campaign redeemedLoyaltyPointsEffectCount(Integer redeemedLoyaltyPointsEf @javax.annotation.Nullable @ApiModelProperty(example = "9", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty point redemption effects triggered by rules in this campaign. ") - public Integer getRedeemedLoyaltyPointsEffectCount() { + public Long getRedeemedLoyaltyPointsEffectCount() { return redeemedLoyaltyPointsEffectCount; } - public void setRedeemedLoyaltyPointsEffectCount(Integer redeemedLoyaltyPointsEffectCount) { + public void setRedeemedLoyaltyPointsEffectCount(Long redeemedLoyaltyPointsEffectCount) { this.redeemedLoyaltyPointsEffectCount = redeemedLoyaltyPointsEffectCount; } - public Campaign callApiEffectCount(Integer callApiEffectCount) { + public Campaign callApiEffectCount(Long callApiEffectCount) { this.callApiEffectCount = callApiEffectCount; return this; @@ -1290,17 +1290,17 @@ public Campaign callApiEffectCount(Integer callApiEffectCount) { @javax.annotation.Nullable @ApiModelProperty(example = "0", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of webhooks triggered by rules in this campaign. ") - public Integer getCallApiEffectCount() { + public Long getCallApiEffectCount() { return callApiEffectCount; } - public void setCallApiEffectCount(Integer callApiEffectCount) { + public void setCallApiEffectCount(Long callApiEffectCount) { this.callApiEffectCount = callApiEffectCount; } - public Campaign reservecouponEffectCount(Integer reservecouponEffectCount) { + public Campaign reservecouponEffectCount(Long reservecouponEffectCount) { this.reservecouponEffectCount = reservecouponEffectCount; return this; @@ -1313,12 +1313,12 @@ public Campaign reservecouponEffectCount(Integer reservecouponEffectCount) { @javax.annotation.Nullable @ApiModelProperty(example = "9", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of reserve coupon effects triggered by rules in this campaign. ") - public Integer getReservecouponEffectCount() { + public Long getReservecouponEffectCount() { return reservecouponEffectCount; } - public void setReservecouponEffectCount(Integer reservecouponEffectCount) { + public void setReservecouponEffectCount(Long reservecouponEffectCount) { this.reservecouponEffectCount = reservecouponEffectCount; } @@ -1415,7 +1415,7 @@ public void setUpdatedBy(String updatedBy) { } - public Campaign templateId(Integer templateId) { + public Campaign templateId(Long templateId) { this.templateId = templateId; return this; @@ -1428,12 +1428,12 @@ public Campaign templateId(Integer templateId) { @javax.annotation.Nullable @ApiModelProperty(example = "3", value = "The ID of the Campaign Template this Campaign was created from.") - public Integer getTemplateId() { + public Long getTemplateId() { return templateId; } - public void setTemplateId(Integer templateId) { + public void setTemplateId(Long templateId) { this.templateId = templateId; } @@ -1482,15 +1482,15 @@ public void setStoresImported(Boolean storesImported) { } - public Campaign valueMapsIds(List valueMapsIds) { + public Campaign valueMapsIds(List valueMapsIds) { this.valueMapsIds = valueMapsIds; return this; } - public Campaign addValueMapsIdsItem(Integer valueMapsIdsItem) { + public Campaign addValueMapsIdsItem(Long valueMapsIdsItem) { if (this.valueMapsIds == null) { - this.valueMapsIds = new ArrayList(); + this.valueMapsIds = new ArrayList(); } this.valueMapsIds.add(valueMapsIdsItem); return this; @@ -1503,12 +1503,12 @@ public Campaign addValueMapsIdsItem(Integer valueMapsIdsItem) { @javax.annotation.Nullable @ApiModelProperty(example = "[100, 215]", value = "A list of value map IDs for the campaign.") - public List getValueMapsIds() { + public List getValueMapsIds() { return valueMapsIds; } - public void setValueMapsIds(List valueMapsIds) { + public void setValueMapsIds(List valueMapsIds) { this.valueMapsIds = valueMapsIds; } @@ -1536,7 +1536,7 @@ public void setRevisionFrontendState(RevisionFrontendStateEnum revisionFrontendS } - public Campaign activeRevisionId(Integer activeRevisionId) { + public Campaign activeRevisionId(Long activeRevisionId) { this.activeRevisionId = activeRevisionId; return this; @@ -1549,17 +1549,17 @@ public Campaign activeRevisionId(Integer activeRevisionId) { @javax.annotation.Nullable @ApiModelProperty(example = "6", value = "ID of the revision that was last activated on this campaign. ") - public Integer getActiveRevisionId() { + public Long getActiveRevisionId() { return activeRevisionId; } - public void setActiveRevisionId(Integer activeRevisionId) { + public void setActiveRevisionId(Long activeRevisionId) { this.activeRevisionId = activeRevisionId; } - public Campaign activeRevisionVersionId(Integer activeRevisionVersionId) { + public Campaign activeRevisionVersionId(Long activeRevisionVersionId) { this.activeRevisionVersionId = activeRevisionVersionId; return this; @@ -1572,17 +1572,17 @@ public Campaign activeRevisionVersionId(Integer activeRevisionVersionId) { @javax.annotation.Nullable @ApiModelProperty(example = "6", value = "ID of the revision version that is active on the campaign. ") - public Integer getActiveRevisionVersionId() { + public Long getActiveRevisionVersionId() { return activeRevisionVersionId; } - public void setActiveRevisionVersionId(Integer activeRevisionVersionId) { + public void setActiveRevisionVersionId(Long activeRevisionVersionId) { this.activeRevisionVersionId = activeRevisionVersionId; } - public Campaign version(Integer version) { + public Campaign version(Long version) { this.version = version; return this; @@ -1595,17 +1595,17 @@ public Campaign version(Integer version) { @javax.annotation.Nullable @ApiModelProperty(example = "6", value = "Incrementing number representing how many revisions have been activated on this campaign, starts from 0 for a new campaign. ") - public Integer getVersion() { + public Long getVersion() { return version; } - public void setVersion(Integer version) { + public void setVersion(Long version) { this.version = version; } - public Campaign currentRevisionId(Integer currentRevisionId) { + public Campaign currentRevisionId(Long currentRevisionId) { this.currentRevisionId = currentRevisionId; return this; @@ -1618,17 +1618,17 @@ public Campaign currentRevisionId(Integer currentRevisionId) { @javax.annotation.Nullable @ApiModelProperty(example = "6", value = "ID of the revision currently being modified for the campaign. ") - public Integer getCurrentRevisionId() { + public Long getCurrentRevisionId() { return currentRevisionId; } - public void setCurrentRevisionId(Integer currentRevisionId) { + public void setCurrentRevisionId(Long currentRevisionId) { this.currentRevisionId = currentRevisionId; } - public Campaign currentRevisionVersionId(Integer currentRevisionVersionId) { + public Campaign currentRevisionVersionId(Long currentRevisionVersionId) { this.currentRevisionVersionId = currentRevisionVersionId; return this; @@ -1641,12 +1641,12 @@ public Campaign currentRevisionVersionId(Integer currentRevisionVersionId) { @javax.annotation.Nullable @ApiModelProperty(example = "6", value = "ID of the latest version applied on the current revision. ") - public Integer getCurrentRevisionVersionId() { + public Long getCurrentRevisionVersionId() { return currentRevisionVersionId; } - public void setCurrentRevisionVersionId(Integer currentRevisionVersionId) { + public void setCurrentRevisionVersionId(Long currentRevisionVersionId) { this.currentRevisionVersionId = currentRevisionVersionId; } diff --git a/src/main/java/one/talon/model/CampaignActivationRequest.java b/src/main/java/one/talon/model/CampaignActivationRequest.java index 3debc441..5967a311 100644 --- a/src/main/java/one/talon/model/CampaignActivationRequest.java +++ b/src/main/java/one/talon/model/CampaignActivationRequest.java @@ -33,16 +33,16 @@ public class CampaignActivationRequest { public static final String SERIALIZED_NAME_USER_IDS = "userIds"; @SerializedName(SERIALIZED_NAME_USER_IDS) - private List userIds = new ArrayList(); + private List userIds = new ArrayList(); - public CampaignActivationRequest userIds(List userIds) { + public CampaignActivationRequest userIds(List userIds) { this.userIds = userIds; return this; } - public CampaignActivationRequest addUserIdsItem(Integer userIdsItem) { + public CampaignActivationRequest addUserIdsItem(Long userIdsItem) { this.userIds.add(userIdsItem); return this; } @@ -53,12 +53,12 @@ public CampaignActivationRequest addUserIdsItem(Integer userIdsItem) { **/ @ApiModelProperty(example = "[1, 2, 3]", required = true, value = "The list of IDs of the users who will receive the activation request.") - public List getUserIds() { + public List getUserIds() { return userIds; } - public void setUserIds(List userIds) { + public void setUserIds(List userIds) { this.userIds = userIds; } diff --git a/src/main/java/one/talon/model/CampaignAnalytics.java b/src/main/java/one/talon/model/CampaignAnalytics.java index bce7f06f..9a9dda68 100644 --- a/src/main/java/one/talon/model/CampaignAnalytics.java +++ b/src/main/java/one/talon/model/CampaignAnalytics.java @@ -69,51 +69,51 @@ public class CampaignAnalytics { public static final String SERIALIZED_NAME_CAMPAIGN_FREE_ITEMS = "campaignFreeItems"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_FREE_ITEMS) - private Integer campaignFreeItems; + private Long campaignFreeItems; public static final String SERIALIZED_NAME_TOTAL_CAMPAIGN_FREE_ITEMS = "totalCampaignFreeItems"; @SerializedName(SERIALIZED_NAME_TOTAL_CAMPAIGN_FREE_ITEMS) - private Integer totalCampaignFreeItems; + private Long totalCampaignFreeItems; public static final String SERIALIZED_NAME_COUPON_REDEMPTIONS = "couponRedemptions"; @SerializedName(SERIALIZED_NAME_COUPON_REDEMPTIONS) - private Integer couponRedemptions; + private Long couponRedemptions; public static final String SERIALIZED_NAME_TOTAL_COUPON_REDEMPTIONS = "totalCouponRedemptions"; @SerializedName(SERIALIZED_NAME_TOTAL_COUPON_REDEMPTIONS) - private Integer totalCouponRedemptions; + private Long totalCouponRedemptions; public static final String SERIALIZED_NAME_COUPON_ROLLEDBACK_REDEMPTIONS = "couponRolledbackRedemptions"; @SerializedName(SERIALIZED_NAME_COUPON_ROLLEDBACK_REDEMPTIONS) - private Integer couponRolledbackRedemptions; + private Long couponRolledbackRedemptions; public static final String SERIALIZED_NAME_TOTAL_COUPON_ROLLEDBACK_REDEMPTIONS = "totalCouponRolledbackRedemptions"; @SerializedName(SERIALIZED_NAME_TOTAL_COUPON_ROLLEDBACK_REDEMPTIONS) - private Integer totalCouponRolledbackRedemptions; + private Long totalCouponRolledbackRedemptions; public static final String SERIALIZED_NAME_REFERRAL_REDEMPTIONS = "referralRedemptions"; @SerializedName(SERIALIZED_NAME_REFERRAL_REDEMPTIONS) - private Integer referralRedemptions; + private Long referralRedemptions; public static final String SERIALIZED_NAME_TOTAL_REFERRAL_REDEMPTIONS = "totalReferralRedemptions"; @SerializedName(SERIALIZED_NAME_TOTAL_REFERRAL_REDEMPTIONS) - private Integer totalReferralRedemptions; + private Long totalReferralRedemptions; public static final String SERIALIZED_NAME_COUPONS_CREATED = "couponsCreated"; @SerializedName(SERIALIZED_NAME_COUPONS_CREATED) - private Integer couponsCreated; + private Long couponsCreated; public static final String SERIALIZED_NAME_TOTAL_COUPONS_CREATED = "totalCouponsCreated"; @SerializedName(SERIALIZED_NAME_TOTAL_COUPONS_CREATED) - private Integer totalCouponsCreated; + private Long totalCouponsCreated; public static final String SERIALIZED_NAME_REFERRALS_CREATED = "referralsCreated"; @SerializedName(SERIALIZED_NAME_REFERRALS_CREATED) - private Integer referralsCreated; + private Long referralsCreated; public static final String SERIALIZED_NAME_TOTAL_REFERRALS_CREATED = "totalReferralsCreated"; @SerializedName(SERIALIZED_NAME_TOTAL_REFERRALS_CREATED) - private Integer totalReferralsCreated; + private Long totalReferralsCreated; public static final String SERIALIZED_NAME_ADDED_LOYALTY_POINTS = "addedLoyaltyPoints"; @SerializedName(SERIALIZED_NAME_ADDED_LOYALTY_POINTS) @@ -330,7 +330,7 @@ public void setTotalCampaignRefundedDiscounts(BigDecimal totalCampaignRefundedDi } - public CampaignAnalytics campaignFreeItems(Integer campaignFreeItems) { + public CampaignAnalytics campaignFreeItems(Long campaignFreeItems) { this.campaignFreeItems = campaignFreeItems; return this; @@ -342,17 +342,17 @@ public CampaignAnalytics campaignFreeItems(Integer campaignFreeItems) { **/ @ApiModelProperty(required = true, value = "Amount of free items given in the campaign.") - public Integer getCampaignFreeItems() { + public Long getCampaignFreeItems() { return campaignFreeItems; } - public void setCampaignFreeItems(Integer campaignFreeItems) { + public void setCampaignFreeItems(Long campaignFreeItems) { this.campaignFreeItems = campaignFreeItems; } - public CampaignAnalytics totalCampaignFreeItems(Integer totalCampaignFreeItems) { + public CampaignAnalytics totalCampaignFreeItems(Long totalCampaignFreeItems) { this.totalCampaignFreeItems = totalCampaignFreeItems; return this; @@ -364,17 +364,17 @@ public CampaignAnalytics totalCampaignFreeItems(Integer totalCampaignFreeItems) **/ @ApiModelProperty(example = "86", required = true, value = "Amount of free items given in the campaign since it began.") - public Integer getTotalCampaignFreeItems() { + public Long getTotalCampaignFreeItems() { return totalCampaignFreeItems; } - public void setTotalCampaignFreeItems(Integer totalCampaignFreeItems) { + public void setTotalCampaignFreeItems(Long totalCampaignFreeItems) { this.totalCampaignFreeItems = totalCampaignFreeItems; } - public CampaignAnalytics couponRedemptions(Integer couponRedemptions) { + public CampaignAnalytics couponRedemptions(Long couponRedemptions) { this.couponRedemptions = couponRedemptions; return this; @@ -386,17 +386,17 @@ public CampaignAnalytics couponRedemptions(Integer couponRedemptions) { **/ @ApiModelProperty(required = true, value = "Number of coupon redemptions in the campaign.") - public Integer getCouponRedemptions() { + public Long getCouponRedemptions() { return couponRedemptions; } - public void setCouponRedemptions(Integer couponRedemptions) { + public void setCouponRedemptions(Long couponRedemptions) { this.couponRedemptions = couponRedemptions; } - public CampaignAnalytics totalCouponRedemptions(Integer totalCouponRedemptions) { + public CampaignAnalytics totalCouponRedemptions(Long totalCouponRedemptions) { this.totalCouponRedemptions = totalCouponRedemptions; return this; @@ -408,17 +408,17 @@ public CampaignAnalytics totalCouponRedemptions(Integer totalCouponRedemptions) **/ @ApiModelProperty(required = true, value = "Number of coupon redemptions in the campaign since it began.") - public Integer getTotalCouponRedemptions() { + public Long getTotalCouponRedemptions() { return totalCouponRedemptions; } - public void setTotalCouponRedemptions(Integer totalCouponRedemptions) { + public void setTotalCouponRedemptions(Long totalCouponRedemptions) { this.totalCouponRedemptions = totalCouponRedemptions; } - public CampaignAnalytics couponRolledbackRedemptions(Integer couponRolledbackRedemptions) { + public CampaignAnalytics couponRolledbackRedemptions(Long couponRolledbackRedemptions) { this.couponRolledbackRedemptions = couponRolledbackRedemptions; return this; @@ -430,17 +430,17 @@ public CampaignAnalytics couponRolledbackRedemptions(Integer couponRolledbackRed **/ @ApiModelProperty(required = true, value = "Number of coupon redemptions that have been rolled back (due to canceling closed session) in the campaign.") - public Integer getCouponRolledbackRedemptions() { + public Long getCouponRolledbackRedemptions() { return couponRolledbackRedemptions; } - public void setCouponRolledbackRedemptions(Integer couponRolledbackRedemptions) { + public void setCouponRolledbackRedemptions(Long couponRolledbackRedemptions) { this.couponRolledbackRedemptions = couponRolledbackRedemptions; } - public CampaignAnalytics totalCouponRolledbackRedemptions(Integer totalCouponRolledbackRedemptions) { + public CampaignAnalytics totalCouponRolledbackRedemptions(Long totalCouponRolledbackRedemptions) { this.totalCouponRolledbackRedemptions = totalCouponRolledbackRedemptions; return this; @@ -452,17 +452,17 @@ public CampaignAnalytics totalCouponRolledbackRedemptions(Integer totalCouponRol **/ @ApiModelProperty(required = true, value = "Number of coupon redemptions that have been rolled back (due to canceling closed session) in the campaign since it began.") - public Integer getTotalCouponRolledbackRedemptions() { + public Long getTotalCouponRolledbackRedemptions() { return totalCouponRolledbackRedemptions; } - public void setTotalCouponRolledbackRedemptions(Integer totalCouponRolledbackRedemptions) { + public void setTotalCouponRolledbackRedemptions(Long totalCouponRolledbackRedemptions) { this.totalCouponRolledbackRedemptions = totalCouponRolledbackRedemptions; } - public CampaignAnalytics referralRedemptions(Integer referralRedemptions) { + public CampaignAnalytics referralRedemptions(Long referralRedemptions) { this.referralRedemptions = referralRedemptions; return this; @@ -474,17 +474,17 @@ public CampaignAnalytics referralRedemptions(Integer referralRedemptions) { **/ @ApiModelProperty(required = true, value = "Number of referral redemptions in the campaign.") - public Integer getReferralRedemptions() { + public Long getReferralRedemptions() { return referralRedemptions; } - public void setReferralRedemptions(Integer referralRedemptions) { + public void setReferralRedemptions(Long referralRedemptions) { this.referralRedemptions = referralRedemptions; } - public CampaignAnalytics totalReferralRedemptions(Integer totalReferralRedemptions) { + public CampaignAnalytics totalReferralRedemptions(Long totalReferralRedemptions) { this.totalReferralRedemptions = totalReferralRedemptions; return this; @@ -496,17 +496,17 @@ public CampaignAnalytics totalReferralRedemptions(Integer totalReferralRedemptio **/ @ApiModelProperty(required = true, value = "Number of referral redemptions in the campaign since it began.") - public Integer getTotalReferralRedemptions() { + public Long getTotalReferralRedemptions() { return totalReferralRedemptions; } - public void setTotalReferralRedemptions(Integer totalReferralRedemptions) { + public void setTotalReferralRedemptions(Long totalReferralRedemptions) { this.totalReferralRedemptions = totalReferralRedemptions; } - public CampaignAnalytics couponsCreated(Integer couponsCreated) { + public CampaignAnalytics couponsCreated(Long couponsCreated) { this.couponsCreated = couponsCreated; return this; @@ -518,17 +518,17 @@ public CampaignAnalytics couponsCreated(Integer couponsCreated) { **/ @ApiModelProperty(required = true, value = "Number of coupons created in the campaign by the rule engine.") - public Integer getCouponsCreated() { + public Long getCouponsCreated() { return couponsCreated; } - public void setCouponsCreated(Integer couponsCreated) { + public void setCouponsCreated(Long couponsCreated) { this.couponsCreated = couponsCreated; } - public CampaignAnalytics totalCouponsCreated(Integer totalCouponsCreated) { + public CampaignAnalytics totalCouponsCreated(Long totalCouponsCreated) { this.totalCouponsCreated = totalCouponsCreated; return this; @@ -540,17 +540,17 @@ public CampaignAnalytics totalCouponsCreated(Integer totalCouponsCreated) { **/ @ApiModelProperty(required = true, value = "Number of coupons created in the campaign by the rule engine since it began.") - public Integer getTotalCouponsCreated() { + public Long getTotalCouponsCreated() { return totalCouponsCreated; } - public void setTotalCouponsCreated(Integer totalCouponsCreated) { + public void setTotalCouponsCreated(Long totalCouponsCreated) { this.totalCouponsCreated = totalCouponsCreated; } - public CampaignAnalytics referralsCreated(Integer referralsCreated) { + public CampaignAnalytics referralsCreated(Long referralsCreated) { this.referralsCreated = referralsCreated; return this; @@ -562,17 +562,17 @@ public CampaignAnalytics referralsCreated(Integer referralsCreated) { **/ @ApiModelProperty(required = true, value = "Number of referrals created in the campaign by the rule engine.") - public Integer getReferralsCreated() { + public Long getReferralsCreated() { return referralsCreated; } - public void setReferralsCreated(Integer referralsCreated) { + public void setReferralsCreated(Long referralsCreated) { this.referralsCreated = referralsCreated; } - public CampaignAnalytics totalReferralsCreated(Integer totalReferralsCreated) { + public CampaignAnalytics totalReferralsCreated(Long totalReferralsCreated) { this.totalReferralsCreated = totalReferralsCreated; return this; @@ -584,12 +584,12 @@ public CampaignAnalytics totalReferralsCreated(Integer totalReferralsCreated) { **/ @ApiModelProperty(required = true, value = "Number of referrals created in the campaign by the rule engine since it began.") - public Integer getTotalReferralsCreated() { + public Long getTotalReferralsCreated() { return totalReferralsCreated; } - public void setTotalReferralsCreated(Integer totalReferralsCreated) { + public void setTotalReferralsCreated(Long totalReferralsCreated) { this.totalReferralsCreated = totalReferralsCreated; } diff --git a/src/main/java/one/talon/model/CampaignCollection.java b/src/main/java/one/talon/model/CampaignCollection.java index 80cdce71..f06493ea 100644 --- a/src/main/java/one/talon/model/CampaignCollection.java +++ b/src/main/java/one/talon/model/CampaignCollection.java @@ -34,7 +34,7 @@ public class CampaignCollection { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -42,7 +42,7 @@ public class CampaignCollection { public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private Integer accountId; + private Long accountId; public static final String SERIALIZED_NAME_MODIFIED = "modified"; @SerializedName(SERIALIZED_NAME_MODIFIED) @@ -58,26 +58,26 @@ public class CampaignCollection { public static final String SERIALIZED_NAME_MODIFIED_BY = "modifiedBy"; @SerializedName(SERIALIZED_NAME_MODIFIED_BY) - private Integer modifiedBy; + private Long modifiedBy; public static final String SERIALIZED_NAME_CREATED_BY = "createdBy"; @SerializedName(SERIALIZED_NAME_CREATED_BY) - private Integer createdBy; + private Long createdBy; public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - private Integer applicationId; + private Long applicationId; public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) - private Integer campaignId; + private Long campaignId; public static final String SERIALIZED_NAME_PAYLOAD = "payload"; @SerializedName(SERIALIZED_NAME_PAYLOAD) private List payload = null; - public CampaignCollection id(Integer id) { + public CampaignCollection id(Long id) { this.id = id; return this; @@ -89,12 +89,12 @@ public CampaignCollection id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -121,7 +121,7 @@ public void setCreated(OffsetDateTime created) { } - public CampaignCollection accountId(Integer accountId) { + public CampaignCollection accountId(Long accountId) { this.accountId = accountId; return this; @@ -133,12 +133,12 @@ public CampaignCollection accountId(Integer accountId) { **/ @ApiModelProperty(example = "3886", required = true, value = "The ID of the account that owns this entity.") - public Integer getAccountId() { + public Long getAccountId() { return accountId; } - public void setAccountId(Integer accountId) { + public void setAccountId(Long accountId) { this.accountId = accountId; } @@ -210,7 +210,7 @@ public void setName(String name) { } - public CampaignCollection modifiedBy(Integer modifiedBy) { + public CampaignCollection modifiedBy(Long modifiedBy) { this.modifiedBy = modifiedBy; return this; @@ -223,17 +223,17 @@ public CampaignCollection modifiedBy(Integer modifiedBy) { @javax.annotation.Nullable @ApiModelProperty(example = "48", value = "ID of the user who last updated this effect if available.") - public Integer getModifiedBy() { + public Long getModifiedBy() { return modifiedBy; } - public void setModifiedBy(Integer modifiedBy) { + public void setModifiedBy(Long modifiedBy) { this.modifiedBy = modifiedBy; } - public CampaignCollection createdBy(Integer createdBy) { + public CampaignCollection createdBy(Long createdBy) { this.createdBy = createdBy; return this; @@ -245,17 +245,17 @@ public CampaignCollection createdBy(Integer createdBy) { **/ @ApiModelProperty(example = "134", required = true, value = "ID of the user who created this effect.") - public Integer getCreatedBy() { + public Long getCreatedBy() { return createdBy; } - public void setCreatedBy(Integer createdBy) { + public void setCreatedBy(Long createdBy) { this.createdBy = createdBy; } - public CampaignCollection applicationId(Integer applicationId) { + public CampaignCollection applicationId(Long applicationId) { this.applicationId = applicationId; return this; @@ -268,17 +268,17 @@ public CampaignCollection applicationId(Integer applicationId) { @javax.annotation.Nullable @ApiModelProperty(example = "1", value = "The ID of the Application that owns this entity.") - public Integer getApplicationId() { + public Long getApplicationId() { return applicationId; } - public void setApplicationId(Integer applicationId) { + public void setApplicationId(Long applicationId) { this.applicationId = applicationId; } - public CampaignCollection campaignId(Integer campaignId) { + public CampaignCollection campaignId(Long campaignId) { this.campaignId = campaignId; return this; @@ -291,12 +291,12 @@ public CampaignCollection campaignId(Integer campaignId) { @javax.annotation.Nullable @ApiModelProperty(example = "7", value = "The ID of the campaign that owns this entity.") - public Integer getCampaignId() { + public Long getCampaignId() { return campaignId; } - public void setCampaignId(Integer campaignId) { + public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } diff --git a/src/main/java/one/talon/model/CampaignCollectionWithoutPayload.java b/src/main/java/one/talon/model/CampaignCollectionWithoutPayload.java index b27607c7..c484a4a8 100644 --- a/src/main/java/one/talon/model/CampaignCollectionWithoutPayload.java +++ b/src/main/java/one/talon/model/CampaignCollectionWithoutPayload.java @@ -32,7 +32,7 @@ public class CampaignCollectionWithoutPayload { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -40,7 +40,7 @@ public class CampaignCollectionWithoutPayload { public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private Integer accountId; + private Long accountId; public static final String SERIALIZED_NAME_MODIFIED = "modified"; @SerializedName(SERIALIZED_NAME_MODIFIED) @@ -56,22 +56,22 @@ public class CampaignCollectionWithoutPayload { public static final String SERIALIZED_NAME_MODIFIED_BY = "modifiedBy"; @SerializedName(SERIALIZED_NAME_MODIFIED_BY) - private Integer modifiedBy; + private Long modifiedBy; public static final String SERIALIZED_NAME_CREATED_BY = "createdBy"; @SerializedName(SERIALIZED_NAME_CREATED_BY) - private Integer createdBy; + private Long createdBy; public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - private Integer applicationId; + private Long applicationId; public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) - private Integer campaignId; + private Long campaignId; - public CampaignCollectionWithoutPayload id(Integer id) { + public CampaignCollectionWithoutPayload id(Long id) { this.id = id; return this; @@ -83,12 +83,12 @@ public CampaignCollectionWithoutPayload id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -115,7 +115,7 @@ public void setCreated(OffsetDateTime created) { } - public CampaignCollectionWithoutPayload accountId(Integer accountId) { + public CampaignCollectionWithoutPayload accountId(Long accountId) { this.accountId = accountId; return this; @@ -127,12 +127,12 @@ public CampaignCollectionWithoutPayload accountId(Integer accountId) { **/ @ApiModelProperty(example = "3886", required = true, value = "The ID of the account that owns this entity.") - public Integer getAccountId() { + public Long getAccountId() { return accountId; } - public void setAccountId(Integer accountId) { + public void setAccountId(Long accountId) { this.accountId = accountId; } @@ -204,7 +204,7 @@ public void setName(String name) { } - public CampaignCollectionWithoutPayload modifiedBy(Integer modifiedBy) { + public CampaignCollectionWithoutPayload modifiedBy(Long modifiedBy) { this.modifiedBy = modifiedBy; return this; @@ -217,17 +217,17 @@ public CampaignCollectionWithoutPayload modifiedBy(Integer modifiedBy) { @javax.annotation.Nullable @ApiModelProperty(example = "48", value = "ID of the user who last updated this effect if available.") - public Integer getModifiedBy() { + public Long getModifiedBy() { return modifiedBy; } - public void setModifiedBy(Integer modifiedBy) { + public void setModifiedBy(Long modifiedBy) { this.modifiedBy = modifiedBy; } - public CampaignCollectionWithoutPayload createdBy(Integer createdBy) { + public CampaignCollectionWithoutPayload createdBy(Long createdBy) { this.createdBy = createdBy; return this; @@ -239,17 +239,17 @@ public CampaignCollectionWithoutPayload createdBy(Integer createdBy) { **/ @ApiModelProperty(example = "134", required = true, value = "ID of the user who created this effect.") - public Integer getCreatedBy() { + public Long getCreatedBy() { return createdBy; } - public void setCreatedBy(Integer createdBy) { + public void setCreatedBy(Long createdBy) { this.createdBy = createdBy; } - public CampaignCollectionWithoutPayload applicationId(Integer applicationId) { + public CampaignCollectionWithoutPayload applicationId(Long applicationId) { this.applicationId = applicationId; return this; @@ -262,17 +262,17 @@ public CampaignCollectionWithoutPayload applicationId(Integer applicationId) { @javax.annotation.Nullable @ApiModelProperty(example = "1", value = "The ID of the Application that owns this entity.") - public Integer getApplicationId() { + public Long getApplicationId() { return applicationId; } - public void setApplicationId(Integer applicationId) { + public void setApplicationId(Long applicationId) { this.applicationId = applicationId; } - public CampaignCollectionWithoutPayload campaignId(Integer campaignId) { + public CampaignCollectionWithoutPayload campaignId(Long campaignId) { this.campaignId = campaignId; return this; @@ -285,12 +285,12 @@ public CampaignCollectionWithoutPayload campaignId(Integer campaignId) { @javax.annotation.Nullable @ApiModelProperty(example = "7", value = "The ID of the campaign that owns this entity.") - public Integer getCampaignId() { + public Long getCampaignId() { return campaignId; } - public void setCampaignId(Integer campaignId) { + public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } diff --git a/src/main/java/one/talon/model/CampaignCopy.java b/src/main/java/one/talon/model/CampaignCopy.java index 521c92cc..8e5f5cbb 100644 --- a/src/main/java/one/talon/model/CampaignCopy.java +++ b/src/main/java/one/talon/model/CampaignCopy.java @@ -38,7 +38,7 @@ public class CampaignCopy { public static final String SERIALIZED_NAME_APPLICATION_IDS = "applicationIds"; @SerializedName(SERIALIZED_NAME_APPLICATION_IDS) - private List applicationIds = new ArrayList(); + private List applicationIds = new ArrayList(); public static final String SERIALIZED_NAME_DESCRIPTION = "description"; @SerializedName(SERIALIZED_NAME_DESCRIPTION) @@ -58,7 +58,7 @@ public class CampaignCopy { public static final String SERIALIZED_NAME_EVALUATION_GROUP_ID = "evaluationGroupId"; @SerializedName(SERIALIZED_NAME_EVALUATION_GROUP_ID) - private Integer evaluationGroupId; + private Long evaluationGroupId; public CampaignCopy name(String name) { @@ -84,13 +84,13 @@ public void setName(String name) { } - public CampaignCopy applicationIds(List applicationIds) { + public CampaignCopy applicationIds(List applicationIds) { this.applicationIds = applicationIds; return this; } - public CampaignCopy addApplicationIdsItem(Integer applicationIdsItem) { + public CampaignCopy addApplicationIdsItem(Long applicationIdsItem) { this.applicationIds.add(applicationIdsItem); return this; } @@ -101,12 +101,12 @@ public CampaignCopy addApplicationIdsItem(Integer applicationIdsItem) { **/ @ApiModelProperty(example = "[1, 2, 3]", required = true, value = "Application IDs of the applications to which a campaign should be copied to.") - public List getApplicationIds() { + public List getApplicationIds() { return applicationIds; } - public void setApplicationIds(List applicationIds) { + public void setApplicationIds(List applicationIds) { this.applicationIds = applicationIds; } @@ -211,7 +211,7 @@ public void setTags(List tags) { } - public CampaignCopy evaluationGroupId(Integer evaluationGroupId) { + public CampaignCopy evaluationGroupId(Long evaluationGroupId) { this.evaluationGroupId = evaluationGroupId; return this; @@ -224,12 +224,12 @@ public CampaignCopy evaluationGroupId(Integer evaluationGroupId) { @javax.annotation.Nullable @ApiModelProperty(example = "2", value = "The ID of the campaign evaluation group the campaign belongs to.") - public Integer getEvaluationGroupId() { + public Long getEvaluationGroupId() { return evaluationGroupId; } - public void setEvaluationGroupId(Integer evaluationGroupId) { + public void setEvaluationGroupId(Long evaluationGroupId) { this.evaluationGroupId = evaluationGroupId; } diff --git a/src/main/java/one/talon/model/CampaignDetail.java b/src/main/java/one/talon/model/CampaignDetail.java index 54115c5f..a7f31bd3 100644 --- a/src/main/java/one/talon/model/CampaignDetail.java +++ b/src/main/java/one/talon/model/CampaignDetail.java @@ -31,14 +31,14 @@ public class CampaignDetail { public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) - private Integer campaignId; + private Long campaignId; public static final String SERIALIZED_NAME_CAMPAIGN_NAME = "campaignName"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_NAME) private String campaignName; - public CampaignDetail campaignId(Integer campaignId) { + public CampaignDetail campaignId(Long campaignId) { this.campaignId = campaignId; return this; @@ -51,12 +51,12 @@ public CampaignDetail campaignId(Integer campaignId) { @javax.annotation.Nullable @ApiModelProperty(example = "1", value = "The ID of the campaign that references the application cart item filter.") - public Integer getCampaignId() { + public Long getCampaignId() { return campaignId; } - public void setCampaignId(Integer campaignId) { + public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } diff --git a/src/main/java/one/talon/model/CampaignEntity.java b/src/main/java/one/talon/model/CampaignEntity.java index 59356755..b62db3b0 100644 --- a/src/main/java/one/talon/model/CampaignEntity.java +++ b/src/main/java/one/talon/model/CampaignEntity.java @@ -31,10 +31,10 @@ public class CampaignEntity { public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) - private Integer campaignId; + private Long campaignId; - public CampaignEntity campaignId(Integer campaignId) { + public CampaignEntity campaignId(Long campaignId) { this.campaignId = campaignId; return this; @@ -46,12 +46,12 @@ public CampaignEntity campaignId(Integer campaignId) { **/ @ApiModelProperty(example = "211", required = true, value = "The ID of the campaign that owns this entity.") - public Integer getCampaignId() { + public Long getCampaignId() { return campaignId; } - public void setCampaignId(Integer campaignId) { + public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } diff --git a/src/main/java/one/talon/model/CampaignEvaluationGroup.java b/src/main/java/one/talon/model/CampaignEvaluationGroup.java index 545d8569..accd837f 100644 --- a/src/main/java/one/talon/model/CampaignEvaluationGroup.java +++ b/src/main/java/one/talon/model/CampaignEvaluationGroup.java @@ -31,7 +31,7 @@ public class CampaignEvaluationGroup { public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - private Integer applicationId; + private Long applicationId; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -39,7 +39,7 @@ public class CampaignEvaluationGroup { public static final String SERIALIZED_NAME_PARENT_ID = "parentId"; @SerializedName(SERIALIZED_NAME_PARENT_ID) - private Integer parentId; + private Long parentId; public static final String SERIALIZED_NAME_DESCRIPTION = "description"; @SerializedName(SERIALIZED_NAME_DESCRIPTION) @@ -157,10 +157,10 @@ public EvaluationScopeEnum read(final JsonReader jsonReader) throws IOException public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; - public CampaignEvaluationGroup applicationId(Integer applicationId) { + public CampaignEvaluationGroup applicationId(Long applicationId) { this.applicationId = applicationId; return this; @@ -172,12 +172,12 @@ public CampaignEvaluationGroup applicationId(Integer applicationId) { **/ @ApiModelProperty(example = "322", required = true, value = "The ID of the Application that owns this entity.") - public Integer getApplicationId() { + public Long getApplicationId() { return applicationId; } - public void setApplicationId(Integer applicationId) { + public void setApplicationId(Long applicationId) { this.applicationId = applicationId; } @@ -204,7 +204,7 @@ public void setName(String name) { } - public CampaignEvaluationGroup parentId(Integer parentId) { + public CampaignEvaluationGroup parentId(Long parentId) { this.parentId = parentId; return this; @@ -217,12 +217,12 @@ public CampaignEvaluationGroup parentId(Integer parentId) { **/ @ApiModelProperty(example = "2", required = true, value = "The ID of the parent group that contains the campaign evaluation group.") - public Integer getParentId() { + public Long getParentId() { return parentId; } - public void setParentId(Integer parentId) { + public void setParentId(Long parentId) { this.parentId = parentId; } @@ -316,7 +316,7 @@ public void setLocked(Boolean locked) { } - public CampaignEvaluationGroup id(Integer id) { + public CampaignEvaluationGroup id(Long id) { this.id = id; return this; @@ -328,12 +328,12 @@ public CampaignEvaluationGroup id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Unique ID for this entity. Not to be confused with the Integration ID, which is set by your integration layer and used in most endpoints.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } diff --git a/src/main/java/one/talon/model/CampaignEvaluationPosition.java b/src/main/java/one/talon/model/CampaignEvaluationPosition.java index 5d3ca6c9..53d8b831 100644 --- a/src/main/java/one/talon/model/CampaignEvaluationPosition.java +++ b/src/main/java/one/talon/model/CampaignEvaluationPosition.java @@ -32,7 +32,7 @@ public class CampaignEvaluationPosition { public static final String SERIALIZED_NAME_GROUP_ID = "groupId"; @SerializedName(SERIALIZED_NAME_GROUP_ID) - private Integer groupId; + private Long groupId; public static final String SERIALIZED_NAME_GROUP_NAME = "groupName"; @SerializedName(SERIALIZED_NAME_GROUP_NAME) @@ -40,10 +40,10 @@ public class CampaignEvaluationPosition { public static final String SERIALIZED_NAME_POSITION = "position"; @SerializedName(SERIALIZED_NAME_POSITION) - private Integer position; + private Long position; - public CampaignEvaluationPosition groupId(Integer groupId) { + public CampaignEvaluationPosition groupId(Long groupId) { this.groupId = groupId; return this; @@ -55,12 +55,12 @@ public CampaignEvaluationPosition groupId(Integer groupId) { **/ @ApiModelProperty(example = "2", required = true, value = "The ID of the campaign evaluation group the campaign belongs to.") - public Integer getGroupId() { + public Long getGroupId() { return groupId; } - public void setGroupId(Integer groupId) { + public void setGroupId(Long groupId) { this.groupId = groupId; } @@ -87,7 +87,7 @@ public void setGroupName(String groupName) { } - public CampaignEvaluationPosition position(Integer position) { + public CampaignEvaluationPosition position(Long position) { this.position = position; return this; @@ -99,12 +99,12 @@ public CampaignEvaluationPosition position(Integer position) { **/ @ApiModelProperty(example = "2", required = true, value = "The position of the campaign node in its parent group.") - public Integer getPosition() { + public Long getPosition() { return position; } - public void setPosition(Integer position) { + public void setPosition(Long position) { this.position = position; } diff --git a/src/main/java/one/talon/model/CampaignEvaluationTreeChangedNotification.java b/src/main/java/one/talon/model/CampaignEvaluationTreeChangedNotification.java index eeac3faa..13bd42da 100644 --- a/src/main/java/one/talon/model/CampaignEvaluationTreeChangedNotification.java +++ b/src/main/java/one/talon/model/CampaignEvaluationTreeChangedNotification.java @@ -33,7 +33,7 @@ public class CampaignEvaluationTreeChangedNotification { public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - private Integer applicationId; + private Long applicationId; public static final String SERIALIZED_NAME_OLD_EVALUATION_TREE = "oldEvaluationTree"; @SerializedName(SERIALIZED_NAME_OLD_EVALUATION_TREE) @@ -44,7 +44,7 @@ public class CampaignEvaluationTreeChangedNotification { private CampaignSet evaluationTree; - public CampaignEvaluationTreeChangedNotification applicationId(Integer applicationId) { + public CampaignEvaluationTreeChangedNotification applicationId(Long applicationId) { this.applicationId = applicationId; return this; @@ -56,12 +56,12 @@ public CampaignEvaluationTreeChangedNotification applicationId(Integer applicati **/ @ApiModelProperty(example = "78", required = true, value = "The ID of the Application whose campaign evaluation tree changed.") - public Integer getApplicationId() { + public Long getApplicationId() { return applicationId; } - public void setApplicationId(Integer applicationId) { + public void setApplicationId(Long applicationId) { this.applicationId = applicationId; } diff --git a/src/main/java/one/talon/model/CampaignGroup.java b/src/main/java/one/talon/model/CampaignGroup.java index c0465148..9ce165f9 100644 --- a/src/main/java/one/talon/model/CampaignGroup.java +++ b/src/main/java/one/talon/model/CampaignGroup.java @@ -34,7 +34,7 @@ public class CampaignGroup { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -46,7 +46,7 @@ public class CampaignGroup { public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private Integer accountId; + private Long accountId; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -58,14 +58,14 @@ public class CampaignGroup { public static final String SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS_IDS = "subscribedApplicationsIds"; @SerializedName(SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS_IDS) - private List subscribedApplicationsIds = null; + private List subscribedApplicationsIds = null; public static final String SERIALIZED_NAME_CAMPAIGN_IDS = "campaignIds"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_IDS) - private List campaignIds = null; + private List campaignIds = null; - public CampaignGroup id(Integer id) { + public CampaignGroup id(Long id) { this.id = id; return this; @@ -77,12 +77,12 @@ public CampaignGroup id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -131,7 +131,7 @@ public void setModified(OffsetDateTime modified) { } - public CampaignGroup accountId(Integer accountId) { + public CampaignGroup accountId(Long accountId) { this.accountId = accountId; return this; @@ -143,12 +143,12 @@ public CampaignGroup accountId(Integer accountId) { **/ @ApiModelProperty(example = "3886", required = true, value = "The ID of the account that owns this entity.") - public Integer getAccountId() { + public Long getAccountId() { return accountId; } - public void setAccountId(Integer accountId) { + public void setAccountId(Long accountId) { this.accountId = accountId; } @@ -198,15 +198,15 @@ public void setDescription(String description) { } - public CampaignGroup subscribedApplicationsIds(List subscribedApplicationsIds) { + public CampaignGroup subscribedApplicationsIds(List subscribedApplicationsIds) { this.subscribedApplicationsIds = subscribedApplicationsIds; return this; } - public CampaignGroup addSubscribedApplicationsIdsItem(Integer subscribedApplicationsIdsItem) { + public CampaignGroup addSubscribedApplicationsIdsItem(Long subscribedApplicationsIdsItem) { if (this.subscribedApplicationsIds == null) { - this.subscribedApplicationsIds = new ArrayList(); + this.subscribedApplicationsIds = new ArrayList(); } this.subscribedApplicationsIds.add(subscribedApplicationsIdsItem); return this; @@ -219,25 +219,25 @@ public CampaignGroup addSubscribedApplicationsIdsItem(Integer subscribedApplicat @javax.annotation.Nullable @ApiModelProperty(example = "[1, 2, 3]", value = "A list of IDs of the Applications that this campaign access group is enabled for.") - public List getSubscribedApplicationsIds() { + public List getSubscribedApplicationsIds() { return subscribedApplicationsIds; } - public void setSubscribedApplicationsIds(List subscribedApplicationsIds) { + public void setSubscribedApplicationsIds(List subscribedApplicationsIds) { this.subscribedApplicationsIds = subscribedApplicationsIds; } - public CampaignGroup campaignIds(List campaignIds) { + public CampaignGroup campaignIds(List campaignIds) { this.campaignIds = campaignIds; return this; } - public CampaignGroup addCampaignIdsItem(Integer campaignIdsItem) { + public CampaignGroup addCampaignIdsItem(Long campaignIdsItem) { if (this.campaignIds == null) { - this.campaignIds = new ArrayList(); + this.campaignIds = new ArrayList(); } this.campaignIds.add(campaignIdsItem); return this; @@ -250,12 +250,12 @@ public CampaignGroup addCampaignIdsItem(Integer campaignIdsItem) { @javax.annotation.Nullable @ApiModelProperty(example = "[4, 6, 8]", value = "A list of IDs of the campaigns that are part of the campaign access group.") - public List getCampaignIds() { + public List getCampaignIds() { return campaignIds; } - public void setCampaignIds(List campaignIds) { + public void setCampaignIds(List campaignIds) { this.campaignIds = campaignIds; } diff --git a/src/main/java/one/talon/model/CampaignGroupEntity.java b/src/main/java/one/talon/model/CampaignGroupEntity.java index d4c78772..a9e38036 100644 --- a/src/main/java/one/talon/model/CampaignGroupEntity.java +++ b/src/main/java/one/talon/model/CampaignGroupEntity.java @@ -33,18 +33,18 @@ public class CampaignGroupEntity { public static final String SERIALIZED_NAME_CAMPAIGN_GROUPS = "campaignGroups"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_GROUPS) - private List campaignGroups = null; + private List campaignGroups = null; - public CampaignGroupEntity campaignGroups(List campaignGroups) { + public CampaignGroupEntity campaignGroups(List campaignGroups) { this.campaignGroups = campaignGroups; return this; } - public CampaignGroupEntity addCampaignGroupsItem(Integer campaignGroupsItem) { + public CampaignGroupEntity addCampaignGroupsItem(Long campaignGroupsItem) { if (this.campaignGroups == null) { - this.campaignGroups = new ArrayList(); + this.campaignGroups = new ArrayList(); } this.campaignGroups.add(campaignGroupsItem); return this; @@ -57,12 +57,12 @@ public CampaignGroupEntity addCampaignGroupsItem(Integer campaignGroupsItem) { @javax.annotation.Nullable @ApiModelProperty(value = "The IDs of the campaign groups that own this entity.") - public List getCampaignGroups() { + public List getCampaignGroups() { return campaignGroups; } - public void setCampaignGroups(List campaignGroups) { + public void setCampaignGroups(List campaignGroups) { this.campaignGroups = campaignGroups; } diff --git a/src/main/java/one/talon/model/CampaignNotificationPolicy.java b/src/main/java/one/talon/model/CampaignNotificationPolicy.java index fb30bfe5..6104059f 100644 --- a/src/main/java/one/talon/model/CampaignNotificationPolicy.java +++ b/src/main/java/one/talon/model/CampaignNotificationPolicy.java @@ -39,7 +39,7 @@ public class CampaignNotificationPolicy { public static final String SERIALIZED_NAME_BATCH_SIZE = "batchSize"; @SerializedName(SERIALIZED_NAME_BATCH_SIZE) - private Integer batchSize; + private Long batchSize = 5l; public CampaignNotificationPolicy name(String name) { @@ -87,7 +87,7 @@ public void setBatchingEnabled(Boolean batchingEnabled) { } - public CampaignNotificationPolicy batchSize(Integer batchSize) { + public CampaignNotificationPolicy batchSize(Long batchSize) { this.batchSize = batchSize; return this; @@ -100,12 +100,12 @@ public CampaignNotificationPolicy batchSize(Integer batchSize) { @javax.annotation.Nullable @ApiModelProperty(example = "5", value = "The required size of each batch of data. This value applies only when `batchingEnabled` is `true`.") - public Integer getBatchSize() { + public Long getBatchSize() { return batchSize; } - public void setBatchSize(Integer batchSize) { + public void setBatchSize(Long batchSize) { this.batchSize = batchSize; } diff --git a/src/main/java/one/talon/model/CampaignSet.java b/src/main/java/one/talon/model/CampaignSet.java index e8c018b2..99d60d5c 100644 --- a/src/main/java/one/talon/model/CampaignSet.java +++ b/src/main/java/one/talon/model/CampaignSet.java @@ -32,15 +32,15 @@ public class CampaignSet { public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - private Integer applicationId; + private Long applicationId; public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_VERSION = "version"; @SerializedName(SERIALIZED_NAME_VERSION) - private Integer version; + private Long version; public static final String SERIALIZED_NAME_SET = "set"; @SerializedName(SERIALIZED_NAME_SET) @@ -51,7 +51,7 @@ public class CampaignSet { private String updatedBy; - public CampaignSet applicationId(Integer applicationId) { + public CampaignSet applicationId(Long applicationId) { this.applicationId = applicationId; return this; @@ -63,17 +63,17 @@ public CampaignSet applicationId(Integer applicationId) { **/ @ApiModelProperty(example = "322", required = true, value = "The ID of the Application that owns this entity.") - public Integer getApplicationId() { + public Long getApplicationId() { return applicationId; } - public void setApplicationId(Integer applicationId) { + public void setApplicationId(Long applicationId) { this.applicationId = applicationId; } - public CampaignSet id(Integer id) { + public CampaignSet id(Long id) { this.id = id; return this; @@ -85,17 +85,17 @@ public CampaignSet id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } - public CampaignSet version(Integer version) { + public CampaignSet version(Long version) { this.version = version; return this; @@ -108,12 +108,12 @@ public CampaignSet version(Integer version) { **/ @ApiModelProperty(example = "3", required = true, value = "Version of the campaign set.") - public Integer getVersion() { + public Long getVersion() { return version; } - public void setVersion(Integer version) { + public void setVersion(Long version) { this.version = version; } diff --git a/src/main/java/one/talon/model/CampaignSetBranchNode.java b/src/main/java/one/talon/model/CampaignSetBranchNode.java index c15e86dd..59c7f5c2 100644 --- a/src/main/java/one/talon/model/CampaignSetBranchNode.java +++ b/src/main/java/one/talon/model/CampaignSetBranchNode.java @@ -142,7 +142,7 @@ public OperatorEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_GROUP_ID = "groupId"; @SerializedName(SERIALIZED_NAME_GROUP_ID) - private Integer groupId; + private Long groupId; public static final String SERIALIZED_NAME_LOCKED = "locked"; @SerializedName(SERIALIZED_NAME_LOCKED) @@ -352,7 +352,7 @@ public void setElements(List elements) { } - public CampaignSetBranchNode groupId(Integer groupId) { + public CampaignSetBranchNode groupId(Long groupId) { this.groupId = groupId; return this; @@ -364,12 +364,12 @@ public CampaignSetBranchNode groupId(Integer groupId) { **/ @ApiModelProperty(required = true, value = "The ID of the campaign set.") - public Integer getGroupId() { + public Long getGroupId() { return groupId; } - public void setGroupId(Integer groupId) { + public void setGroupId(Long groupId) { this.groupId = groupId; } diff --git a/src/main/java/one/talon/model/CampaignSetLeafNode.java b/src/main/java/one/talon/model/CampaignSetLeafNode.java index f928bf4c..2110b4b8 100644 --- a/src/main/java/one/talon/model/CampaignSetLeafNode.java +++ b/src/main/java/one/talon/model/CampaignSetLeafNode.java @@ -80,7 +80,7 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) - private Integer campaignId; + private Long campaignId; public CampaignSetLeafNode type(TypeEnum type) { @@ -105,7 +105,7 @@ public void setType(TypeEnum type) { } - public CampaignSetLeafNode campaignId(Integer campaignId) { + public CampaignSetLeafNode campaignId(Long campaignId) { this.campaignId = campaignId; return this; @@ -117,12 +117,12 @@ public CampaignSetLeafNode campaignId(Integer campaignId) { **/ @ApiModelProperty(required = true, value = "ID of the campaign") - public Integer getCampaignId() { + public Long getCampaignId() { return campaignId; } - public void setCampaignId(Integer campaignId) { + public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } diff --git a/src/main/java/one/talon/model/CampaignStoreBudget.java b/src/main/java/one/talon/model/CampaignStoreBudget.java index 2c494926..665c3165 100644 --- a/src/main/java/one/talon/model/CampaignStoreBudget.java +++ b/src/main/java/one/talon/model/CampaignStoreBudget.java @@ -35,7 +35,7 @@ public class CampaignStoreBudget { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -43,18 +43,18 @@ public class CampaignStoreBudget { public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) - private Integer campaignId; + private Long campaignId; public static final String SERIALIZED_NAME_STORE_ID = "storeId"; @SerializedName(SERIALIZED_NAME_STORE_ID) - private Integer storeId; + private Long storeId; public static final String SERIALIZED_NAME_LIMITS = "limits"; @SerializedName(SERIALIZED_NAME_LIMITS) private List limits = new ArrayList(); - public CampaignStoreBudget id(Integer id) { + public CampaignStoreBudget id(Long id) { this.id = id; return this; @@ -66,12 +66,12 @@ public CampaignStoreBudget id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -98,7 +98,7 @@ public void setCreated(OffsetDateTime created) { } - public CampaignStoreBudget campaignId(Integer campaignId) { + public CampaignStoreBudget campaignId(Long campaignId) { this.campaignId = campaignId; return this; @@ -110,17 +110,17 @@ public CampaignStoreBudget campaignId(Integer campaignId) { **/ @ApiModelProperty(example = "322", required = true, value = "The ID of the campaign that owns this entity.") - public Integer getCampaignId() { + public Long getCampaignId() { return campaignId; } - public void setCampaignId(Integer campaignId) { + public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } - public CampaignStoreBudget storeId(Integer storeId) { + public CampaignStoreBudget storeId(Long storeId) { this.storeId = storeId; return this; @@ -132,12 +132,12 @@ public CampaignStoreBudget storeId(Integer storeId) { **/ @ApiModelProperty(required = true, value = "The ID of the store.") - public Integer getStoreId() { + public Long getStoreId() { return storeId; } - public void setStoreId(Integer storeId) { + public void setStoreId(Long storeId) { this.storeId = storeId; } diff --git a/src/main/java/one/talon/model/CampaignTemplate.java b/src/main/java/one/talon/model/CampaignTemplate.java index 663da83b..93459473 100644 --- a/src/main/java/one/talon/model/CampaignTemplate.java +++ b/src/main/java/one/talon/model/CampaignTemplate.java @@ -39,7 +39,7 @@ public class CampaignTemplate { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -47,11 +47,11 @@ public class CampaignTemplate { public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private Integer accountId; + private Long accountId; public static final String SERIALIZED_NAME_USER_ID = "userId"; @SerializedName(SERIALIZED_NAME_USER_ID) - private Integer userId; + private Long userId; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -128,7 +128,7 @@ public StateEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_ACTIVE_RULESET_ID = "activeRulesetId"; @SerializedName(SERIALIZED_NAME_ACTIVE_RULESET_ID) - private Integer activeRulesetId; + private Long activeRulesetId; public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) @@ -215,7 +215,7 @@ public FeaturesEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_APPLICATIONS_IDS = "applicationsIds"; @SerializedName(SERIALIZED_NAME_APPLICATIONS_IDS) - private List applicationsIds = new ArrayList(); + private List applicationsIds = new ArrayList(); public static final String SERIALIZED_NAME_CAMPAIGN_COLLECTIONS = "campaignCollections"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_COLLECTIONS) @@ -223,7 +223,7 @@ public FeaturesEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_DEFAULT_CAMPAIGN_GROUP_ID = "defaultCampaignGroupId"; @SerializedName(SERIALIZED_NAME_DEFAULT_CAMPAIGN_GROUP_ID) - private Integer defaultCampaignGroupId; + private Long defaultCampaignGroupId; /** * The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items. @@ -286,14 +286,14 @@ public CampaignTypeEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_VALID_APPLICATION_IDS = "validApplicationIds"; @SerializedName(SERIALIZED_NAME_VALID_APPLICATION_IDS) - private List validApplicationIds = new ArrayList(); + private List validApplicationIds = new ArrayList(); public static final String SERIALIZED_NAME_IS_USER_FAVORITE = "isUserFavorite"; @SerializedName(SERIALIZED_NAME_IS_USER_FAVORITE) private Boolean isUserFavorite = false; - public CampaignTemplate id(Integer id) { + public CampaignTemplate id(Long id) { this.id = id; return this; @@ -305,12 +305,12 @@ public CampaignTemplate id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -337,7 +337,7 @@ public void setCreated(OffsetDateTime created) { } - public CampaignTemplate accountId(Integer accountId) { + public CampaignTemplate accountId(Long accountId) { this.accountId = accountId; return this; @@ -349,17 +349,17 @@ public CampaignTemplate accountId(Integer accountId) { **/ @ApiModelProperty(example = "3886", required = true, value = "The ID of the account that owns this entity.") - public Integer getAccountId() { + public Long getAccountId() { return accountId; } - public void setAccountId(Integer accountId) { + public void setAccountId(Long accountId) { this.accountId = accountId; } - public CampaignTemplate userId(Integer userId) { + public CampaignTemplate userId(Long userId) { this.userId = userId; return this; @@ -371,12 +371,12 @@ public CampaignTemplate userId(Integer userId) { **/ @ApiModelProperty(example = "388", required = true, value = "The ID of the user associated with this entity.") - public Integer getUserId() { + public Long getUserId() { return userId; } - public void setUserId(Integer userId) { + public void setUserId(Long userId) { this.userId = userId; } @@ -515,7 +515,7 @@ public void setState(StateEnum state) { } - public CampaignTemplate activeRulesetId(Integer activeRulesetId) { + public CampaignTemplate activeRulesetId(Long activeRulesetId) { this.activeRulesetId = activeRulesetId; return this; @@ -528,12 +528,12 @@ public CampaignTemplate activeRulesetId(Integer activeRulesetId) { @javax.annotation.Nullable @ApiModelProperty(example = "5", value = "The ID of the ruleset this campaign template will use.") - public Integer getActiveRulesetId() { + public Long getActiveRulesetId() { return activeRulesetId; } - public void setActiveRulesetId(Integer activeRulesetId) { + public void setActiveRulesetId(Long activeRulesetId) { this.activeRulesetId = activeRulesetId; } @@ -731,13 +731,13 @@ public void setTemplateParams(List templateParams) { } - public CampaignTemplate applicationsIds(List applicationsIds) { + public CampaignTemplate applicationsIds(List applicationsIds) { this.applicationsIds = applicationsIds; return this; } - public CampaignTemplate addApplicationsIdsItem(Integer applicationsIdsItem) { + public CampaignTemplate addApplicationsIdsItem(Long applicationsIdsItem) { this.applicationsIds.add(applicationsIdsItem); return this; } @@ -748,12 +748,12 @@ public CampaignTemplate addApplicationsIdsItem(Integer applicationsIdsItem) { **/ @ApiModelProperty(example = "[1, 2, 3, 1, 2, 3]", required = true, value = "A list of IDs of the Applications that are subscribed to this campaign template.") - public List getApplicationsIds() { + public List getApplicationsIds() { return applicationsIds; } - public void setApplicationsIds(List applicationsIds) { + public void setApplicationsIds(List applicationsIds) { this.applicationsIds = applicationsIds; } @@ -789,7 +789,7 @@ public void setCampaignCollections(List campaignColl } - public CampaignTemplate defaultCampaignGroupId(Integer defaultCampaignGroupId) { + public CampaignTemplate defaultCampaignGroupId(Long defaultCampaignGroupId) { this.defaultCampaignGroupId = defaultCampaignGroupId; return this; @@ -802,12 +802,12 @@ public CampaignTemplate defaultCampaignGroupId(Integer defaultCampaignGroupId) { @javax.annotation.Nullable @ApiModelProperty(example = "42", value = "The default campaign group ID.") - public Integer getDefaultCampaignGroupId() { + public Long getDefaultCampaignGroupId() { return defaultCampaignGroupId; } - public void setDefaultCampaignGroupId(Integer defaultCampaignGroupId) { + public void setDefaultCampaignGroupId(Long defaultCampaignGroupId) { this.defaultCampaignGroupId = defaultCampaignGroupId; } @@ -880,13 +880,13 @@ public void setUpdatedBy(String updatedBy) { } - public CampaignTemplate validApplicationIds(List validApplicationIds) { + public CampaignTemplate validApplicationIds(List validApplicationIds) { this.validApplicationIds = validApplicationIds; return this; } - public CampaignTemplate addValidApplicationIdsItem(Integer validApplicationIdsItem) { + public CampaignTemplate addValidApplicationIdsItem(Long validApplicationIdsItem) { this.validApplicationIds.add(validApplicationIdsItem); return this; } @@ -897,12 +897,12 @@ public CampaignTemplate addValidApplicationIdsItem(Integer validApplicationIdsIt **/ @ApiModelProperty(example = "[1, 2, 3]", required = true, value = "The IDs of the Applications that are related to this entity.") - public List getValidApplicationIds() { + public List getValidApplicationIds() { return validApplicationIds; } - public void setValidApplicationIds(List validApplicationIds) { + public void setValidApplicationIds(List validApplicationIds) { this.validApplicationIds = validApplicationIds; } diff --git a/src/main/java/one/talon/model/CampaignTemplateCouponReservationSettings.java b/src/main/java/one/talon/model/CampaignTemplateCouponReservationSettings.java index 3f1385d5..2fa8a087 100644 --- a/src/main/java/one/talon/model/CampaignTemplateCouponReservationSettings.java +++ b/src/main/java/one/talon/model/CampaignTemplateCouponReservationSettings.java @@ -31,14 +31,14 @@ public class CampaignTemplateCouponReservationSettings { public static final String SERIALIZED_NAME_RESERVATION_LIMIT = "reservationLimit"; @SerializedName(SERIALIZED_NAME_RESERVATION_LIMIT) - private Integer reservationLimit; + private Long reservationLimit; public static final String SERIALIZED_NAME_IS_RESERVATION_MANDATORY = "isReservationMandatory"; @SerializedName(SERIALIZED_NAME_IS_RESERVATION_MANDATORY) private Boolean isReservationMandatory = false; - public CampaignTemplateCouponReservationSettings reservationLimit(Integer reservationLimit) { + public CampaignTemplateCouponReservationSettings reservationLimit(Long reservationLimit) { this.reservationLimit = reservationLimit; return this; @@ -53,12 +53,12 @@ public CampaignTemplateCouponReservationSettings reservationLimit(Integer reserv @javax.annotation.Nullable @ApiModelProperty(example = "45", value = "The number of reservations that can be made with this coupon code. ") - public Integer getReservationLimit() { + public Long getReservationLimit() { return reservationLimit; } - public void setReservationLimit(Integer reservationLimit) { + public void setReservationLimit(Long reservationLimit) { this.reservationLimit = reservationLimit; } diff --git a/src/main/java/one/talon/model/CampaignTemplateParams.java b/src/main/java/one/talon/model/CampaignTemplateParams.java index df3bc4d2..6d83d4de 100644 --- a/src/main/java/one/talon/model/CampaignTemplateParams.java +++ b/src/main/java/one/talon/model/CampaignTemplateParams.java @@ -98,7 +98,7 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_ATTRIBUTE_ID = "attributeId"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_ID) - private Integer attributeId; + private Long attributeId; public CampaignTemplateParams name(String name) { @@ -167,7 +167,7 @@ public void setDescription(String description) { } - public CampaignTemplateParams attributeId(Integer attributeId) { + public CampaignTemplateParams attributeId(Long attributeId) { this.attributeId = attributeId; return this; @@ -180,12 +180,12 @@ public CampaignTemplateParams attributeId(Integer attributeId) { @javax.annotation.Nullable @ApiModelProperty(example = "42", value = "ID of the corresponding attribute.") - public Integer getAttributeId() { + public Long getAttributeId() { return attributeId; } - public void setAttributeId(Integer attributeId) { + public void setAttributeId(Long attributeId) { this.attributeId = attributeId; } diff --git a/src/main/java/one/talon/model/CampaignVersions.java b/src/main/java/one/talon/model/CampaignVersions.java index 72929d62..3ddf3971 100644 --- a/src/main/java/one/talon/model/CampaignVersions.java +++ b/src/main/java/one/talon/model/CampaignVersions.java @@ -82,23 +82,23 @@ public RevisionFrontendStateEnum read(final JsonReader jsonReader) throws IOExce public static final String SERIALIZED_NAME_ACTIVE_REVISION_ID = "activeRevisionId"; @SerializedName(SERIALIZED_NAME_ACTIVE_REVISION_ID) - private Integer activeRevisionId; + private Long activeRevisionId; public static final String SERIALIZED_NAME_ACTIVE_REVISION_VERSION_ID = "activeRevisionVersionId"; @SerializedName(SERIALIZED_NAME_ACTIVE_REVISION_VERSION_ID) - private Integer activeRevisionVersionId; + private Long activeRevisionVersionId; public static final String SERIALIZED_NAME_VERSION = "version"; @SerializedName(SERIALIZED_NAME_VERSION) - private Integer version; + private Long version; public static final String SERIALIZED_NAME_CURRENT_REVISION_ID = "currentRevisionId"; @SerializedName(SERIALIZED_NAME_CURRENT_REVISION_ID) - private Integer currentRevisionId; + private Long currentRevisionId; public static final String SERIALIZED_NAME_CURRENT_REVISION_VERSION_ID = "currentRevisionVersionId"; @SerializedName(SERIALIZED_NAME_CURRENT_REVISION_VERSION_ID) - private Integer currentRevisionVersionId; + private Long currentRevisionVersionId; public static final String SERIALIZED_NAME_STAGE_REVISION = "stageRevision"; @SerializedName(SERIALIZED_NAME_STAGE_REVISION) @@ -128,7 +128,7 @@ public void setRevisionFrontendState(RevisionFrontendStateEnum revisionFrontendS } - public CampaignVersions activeRevisionId(Integer activeRevisionId) { + public CampaignVersions activeRevisionId(Long activeRevisionId) { this.activeRevisionId = activeRevisionId; return this; @@ -141,17 +141,17 @@ public CampaignVersions activeRevisionId(Integer activeRevisionId) { @javax.annotation.Nullable @ApiModelProperty(example = "6", value = "ID of the revision that was last activated on this campaign. ") - public Integer getActiveRevisionId() { + public Long getActiveRevisionId() { return activeRevisionId; } - public void setActiveRevisionId(Integer activeRevisionId) { + public void setActiveRevisionId(Long activeRevisionId) { this.activeRevisionId = activeRevisionId; } - public CampaignVersions activeRevisionVersionId(Integer activeRevisionVersionId) { + public CampaignVersions activeRevisionVersionId(Long activeRevisionVersionId) { this.activeRevisionVersionId = activeRevisionVersionId; return this; @@ -164,17 +164,17 @@ public CampaignVersions activeRevisionVersionId(Integer activeRevisionVersionId) @javax.annotation.Nullable @ApiModelProperty(example = "6", value = "ID of the revision version that is active on the campaign. ") - public Integer getActiveRevisionVersionId() { + public Long getActiveRevisionVersionId() { return activeRevisionVersionId; } - public void setActiveRevisionVersionId(Integer activeRevisionVersionId) { + public void setActiveRevisionVersionId(Long activeRevisionVersionId) { this.activeRevisionVersionId = activeRevisionVersionId; } - public CampaignVersions version(Integer version) { + public CampaignVersions version(Long version) { this.version = version; return this; @@ -187,17 +187,17 @@ public CampaignVersions version(Integer version) { @javax.annotation.Nullable @ApiModelProperty(example = "6", value = "Incrementing number representing how many revisions have been activated on this campaign, starts from 0 for a new campaign. ") - public Integer getVersion() { + public Long getVersion() { return version; } - public void setVersion(Integer version) { + public void setVersion(Long version) { this.version = version; } - public CampaignVersions currentRevisionId(Integer currentRevisionId) { + public CampaignVersions currentRevisionId(Long currentRevisionId) { this.currentRevisionId = currentRevisionId; return this; @@ -210,17 +210,17 @@ public CampaignVersions currentRevisionId(Integer currentRevisionId) { @javax.annotation.Nullable @ApiModelProperty(example = "6", value = "ID of the revision currently being modified for the campaign. ") - public Integer getCurrentRevisionId() { + public Long getCurrentRevisionId() { return currentRevisionId; } - public void setCurrentRevisionId(Integer currentRevisionId) { + public void setCurrentRevisionId(Long currentRevisionId) { this.currentRevisionId = currentRevisionId; } - public CampaignVersions currentRevisionVersionId(Integer currentRevisionVersionId) { + public CampaignVersions currentRevisionVersionId(Long currentRevisionVersionId) { this.currentRevisionVersionId = currentRevisionVersionId; return this; @@ -233,12 +233,12 @@ public CampaignVersions currentRevisionVersionId(Integer currentRevisionVersionI @javax.annotation.Nullable @ApiModelProperty(example = "6", value = "ID of the latest version applied on the current revision. ") - public Integer getCurrentRevisionVersionId() { + public Long getCurrentRevisionVersionId() { return currentRevisionVersionId; } - public void setCurrentRevisionVersionId(Integer currentRevisionVersionId) { + public void setCurrentRevisionVersionId(Long currentRevisionVersionId) { this.currentRevisionVersionId = currentRevisionVersionId; } diff --git a/src/main/java/one/talon/model/CardExpiringPointsNotificationPolicy.java b/src/main/java/one/talon/model/CardExpiringPointsNotificationPolicy.java index cdf2669e..2059359d 100644 --- a/src/main/java/one/talon/model/CardExpiringPointsNotificationPolicy.java +++ b/src/main/java/one/talon/model/CardExpiringPointsNotificationPolicy.java @@ -46,7 +46,7 @@ public class CardExpiringPointsNotificationPolicy { public static final String SERIALIZED_NAME_BATCH_SIZE = "batchSize"; @SerializedName(SERIALIZED_NAME_BATCH_SIZE) - private Integer batchSize; + private Long batchSize = 1000l; public CardExpiringPointsNotificationPolicy name(String name) { @@ -121,7 +121,7 @@ public void setBatchingEnabled(Boolean batchingEnabled) { } - public CardExpiringPointsNotificationPolicy batchSize(Integer batchSize) { + public CardExpiringPointsNotificationPolicy batchSize(Long batchSize) { this.batchSize = batchSize; return this; @@ -134,12 +134,12 @@ public CardExpiringPointsNotificationPolicy batchSize(Integer batchSize) { @javax.annotation.Nullable @ApiModelProperty(example = "1000", value = "The required size of each batch of data. This value applies only when `batchingEnabled` is `true`.") - public Integer getBatchSize() { + public Long getBatchSize() { return batchSize; } - public void setBatchSize(Integer batchSize) { + public void setBatchSize(Long batchSize) { this.batchSize = batchSize; } diff --git a/src/main/java/one/talon/model/CardExpiringPointsNotificationTrigger.java b/src/main/java/one/talon/model/CardExpiringPointsNotificationTrigger.java index edfd1bf6..3c2fc97a 100644 --- a/src/main/java/one/talon/model/CardExpiringPointsNotificationTrigger.java +++ b/src/main/java/one/talon/model/CardExpiringPointsNotificationTrigger.java @@ -31,7 +31,7 @@ public class CardExpiringPointsNotificationTrigger { public static final String SERIALIZED_NAME_AMOUNT = "amount"; @SerializedName(SERIALIZED_NAME_AMOUNT) - private Integer amount; + private Long amount; /** * Notification period indicated by a letter; \"w\" means week, \"d\" means day. @@ -85,7 +85,7 @@ public PeriodEnum read(final JsonReader jsonReader) throws IOException { private PeriodEnum period; - public CardExpiringPointsNotificationTrigger amount(Integer amount) { + public CardExpiringPointsNotificationTrigger amount(Long amount) { this.amount = amount; return this; @@ -98,12 +98,12 @@ public CardExpiringPointsNotificationTrigger amount(Integer amount) { **/ @ApiModelProperty(required = true, value = "The amount of period.") - public Integer getAmount() { + public Long getAmount() { return amount; } - public void setAmount(Integer amount) { + public void setAmount(Long amount) { this.amount = amount; } diff --git a/src/main/java/one/talon/model/CardLedgerPointsEntryIntegrationAPI.java b/src/main/java/one/talon/model/CardLedgerPointsEntryIntegrationAPI.java index 0a3df33f..f108141c 100644 --- a/src/main/java/one/talon/model/CardLedgerPointsEntryIntegrationAPI.java +++ b/src/main/java/one/talon/model/CardLedgerPointsEntryIntegrationAPI.java @@ -34,7 +34,7 @@ public class CardLedgerPointsEntryIntegrationAPI { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -42,7 +42,7 @@ public class CardLedgerPointsEntryIntegrationAPI { public static final String SERIALIZED_NAME_PROGRAM_ID = "programId"; @SerializedName(SERIALIZED_NAME_PROGRAM_ID) - private Integer programId; + private Long programId; public static final String SERIALIZED_NAME_CUSTOMER_PROFILE_I_D = "customerProfileID"; @SerializedName(SERIALIZED_NAME_CUSTOMER_PROFILE_I_D) @@ -73,7 +73,7 @@ public class CardLedgerPointsEntryIntegrationAPI { private BigDecimal amount; - public CardLedgerPointsEntryIntegrationAPI id(Integer id) { + public CardLedgerPointsEntryIntegrationAPI id(Long id) { this.id = id; return this; @@ -85,12 +85,12 @@ public CardLedgerPointsEntryIntegrationAPI id(Integer id) { **/ @ApiModelProperty(example = "123", required = true, value = "ID of the transaction that adds loyalty points.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -117,7 +117,7 @@ public void setCreated(OffsetDateTime created) { } - public CardLedgerPointsEntryIntegrationAPI programId(Integer programId) { + public CardLedgerPointsEntryIntegrationAPI programId(Long programId) { this.programId = programId; return this; @@ -129,12 +129,12 @@ public CardLedgerPointsEntryIntegrationAPI programId(Integer programId) { **/ @ApiModelProperty(example = "324", required = true, value = "ID of the loyalty program.") - public Integer getProgramId() { + public Long getProgramId() { return programId; } - public void setProgramId(Integer programId) { + public void setProgramId(Long programId) { this.programId = programId; } diff --git a/src/main/java/one/talon/model/CardLedgerTransactionLogEntry.java b/src/main/java/one/talon/model/CardLedgerTransactionLogEntry.java index 10ff2326..61ad9d95 100644 --- a/src/main/java/one/talon/model/CardLedgerTransactionLogEntry.java +++ b/src/main/java/one/talon/model/CardLedgerTransactionLogEntry.java @@ -38,7 +38,7 @@ public class CardLedgerTransactionLogEntry { public static final String SERIALIZED_NAME_PROGRAM_ID = "programId"; @SerializedName(SERIALIZED_NAME_PROGRAM_ID) - private Integer programId; + private Long programId; public static final String SERIALIZED_NAME_CARD_IDENTIFIER = "cardIdentifier"; @SerializedName(SERIALIZED_NAME_CARD_IDENTIFIER) @@ -46,11 +46,11 @@ public class CardLedgerTransactionLogEntry { public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - private Integer applicationId; + private Long applicationId; public static final String SERIALIZED_NAME_SESSION_ID = "sessionId"; @SerializedName(SERIALIZED_NAME_SESSION_ID) - private Integer sessionId; + private Long sessionId; public static final String SERIALIZED_NAME_CUSTOMER_SESSION_ID = "customerSessionId"; @SerializedName(SERIALIZED_NAME_CUSTOMER_SESSION_ID) @@ -129,7 +129,7 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public CardLedgerTransactionLogEntry created(OffsetDateTime created) { @@ -154,7 +154,7 @@ public void setCreated(OffsetDateTime created) { } - public CardLedgerTransactionLogEntry programId(Integer programId) { + public CardLedgerTransactionLogEntry programId(Long programId) { this.programId = programId; return this; @@ -166,12 +166,12 @@ public CardLedgerTransactionLogEntry programId(Integer programId) { **/ @ApiModelProperty(example = "324", required = true, value = "ID of the loyalty program.") - public Integer getProgramId() { + public Long getProgramId() { return programId; } - public void setProgramId(Integer programId) { + public void setProgramId(Long programId) { this.programId = programId; } @@ -198,7 +198,7 @@ public void setCardIdentifier(String cardIdentifier) { } - public CardLedgerTransactionLogEntry applicationId(Integer applicationId) { + public CardLedgerTransactionLogEntry applicationId(Long applicationId) { this.applicationId = applicationId; return this; @@ -211,17 +211,17 @@ public CardLedgerTransactionLogEntry applicationId(Integer applicationId) { @javax.annotation.Nullable @ApiModelProperty(example = "322", value = "The ID of the Application that owns this entity.") - public Integer getApplicationId() { + public Long getApplicationId() { return applicationId; } - public void setApplicationId(Integer applicationId) { + public void setApplicationId(Long applicationId) { this.applicationId = applicationId; } - public CardLedgerTransactionLogEntry sessionId(Integer sessionId) { + public CardLedgerTransactionLogEntry sessionId(Long sessionId) { this.sessionId = sessionId; return this; @@ -234,12 +234,12 @@ public CardLedgerTransactionLogEntry sessionId(Integer sessionId) { @javax.annotation.Nullable @ApiModelProperty(example = "233", value = "The **internal** ID of the session. ") - public Integer getSessionId() { + public Long getSessionId() { return sessionId; } - public void setSessionId(Integer sessionId) { + public void setSessionId(Long sessionId) { this.sessionId = sessionId; } @@ -399,7 +399,7 @@ public void setAmount(BigDecimal amount) { } - public CardLedgerTransactionLogEntry id(Integer id) { + public CardLedgerTransactionLogEntry id(Long id) { this.id = id; return this; @@ -411,12 +411,12 @@ public CardLedgerTransactionLogEntry id(Integer id) { **/ @ApiModelProperty(example = "123", required = true, value = "ID of the loyalty ledger entry.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } diff --git a/src/main/java/one/talon/model/CardLedgerTransactionLogEntryIntegrationAPI.java b/src/main/java/one/talon/model/CardLedgerTransactionLogEntryIntegrationAPI.java index 18664982..68505a91 100644 --- a/src/main/java/one/talon/model/CardLedgerTransactionLogEntryIntegrationAPI.java +++ b/src/main/java/one/talon/model/CardLedgerTransactionLogEntryIntegrationAPI.java @@ -38,7 +38,7 @@ public class CardLedgerTransactionLogEntryIntegrationAPI { public static final String SERIALIZED_NAME_PROGRAM_ID = "programId"; @SerializedName(SERIALIZED_NAME_PROGRAM_ID) - private Integer programId; + private Long programId; public static final String SERIALIZED_NAME_CARD_IDENTIFIER = "cardIdentifier"; @SerializedName(SERIALIZED_NAME_CARD_IDENTIFIER) @@ -121,11 +121,11 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_RULESET_ID = "rulesetId"; @SerializedName(SERIALIZED_NAME_RULESET_ID) - private Integer rulesetId; + private Long rulesetId; public static final String SERIALIZED_NAME_RULE_NAME = "ruleName"; @SerializedName(SERIALIZED_NAME_RULE_NAME) @@ -154,7 +154,7 @@ public void setCreated(OffsetDateTime created) { } - public CardLedgerTransactionLogEntryIntegrationAPI programId(Integer programId) { + public CardLedgerTransactionLogEntryIntegrationAPI programId(Long programId) { this.programId = programId; return this; @@ -166,12 +166,12 @@ public CardLedgerTransactionLogEntryIntegrationAPI programId(Integer programId) **/ @ApiModelProperty(example = "324", required = true, value = "ID of the loyalty program.") - public Integer getProgramId() { + public Long getProgramId() { return programId; } - public void setProgramId(Integer programId) { + public void setProgramId(Long programId) { this.programId = programId; } @@ -353,7 +353,7 @@ public void setAmount(BigDecimal amount) { } - public CardLedgerTransactionLogEntryIntegrationAPI id(Integer id) { + public CardLedgerTransactionLogEntryIntegrationAPI id(Long id) { this.id = id; return this; @@ -365,17 +365,17 @@ public CardLedgerTransactionLogEntryIntegrationAPI id(Integer id) { **/ @ApiModelProperty(example = "123", required = true, value = "ID of the loyalty ledger transaction.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } - public CardLedgerTransactionLogEntryIntegrationAPI rulesetId(Integer rulesetId) { + public CardLedgerTransactionLogEntryIntegrationAPI rulesetId(Long rulesetId) { this.rulesetId = rulesetId; return this; @@ -388,12 +388,12 @@ public CardLedgerTransactionLogEntryIntegrationAPI rulesetId(Integer rulesetId) @javax.annotation.Nullable @ApiModelProperty(example = "11", value = "The ID of the ruleset containing the rule that triggered this effect.") - public Integer getRulesetId() { + public Long getRulesetId() { return rulesetId; } - public void setRulesetId(Integer rulesetId) { + public void setRulesetId(Long rulesetId) { this.rulesetId = rulesetId; } diff --git a/src/main/java/one/talon/model/CartItem.java b/src/main/java/one/talon/model/CartItem.java index 8258b6a4..63b87b0d 100644 --- a/src/main/java/one/talon/model/CartItem.java +++ b/src/main/java/one/talon/model/CartItem.java @@ -29,14 +29,11 @@ import java.util.Map; import one.talon.model.AdditionalCost; import one.talon.model.Product; -import one.talon.custom.JsonNullable; -import one.talon.custom.NullableAdapterFactory; /** * CartItem */ -@JsonAdapter(NullableAdapterFactory.class) public class CartItem { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -48,15 +45,15 @@ public class CartItem { public static final String SERIALIZED_NAME_QUANTITY = "quantity"; @SerializedName(SERIALIZED_NAME_QUANTITY) - private Integer quantity; + private Long quantity; public static final String SERIALIZED_NAME_RETURNED_QUANTITY = "returnedQuantity"; @SerializedName(SERIALIZED_NAME_RETURNED_QUANTITY) - private Integer returnedQuantity; + private Long returnedQuantity; public static final String SERIALIZED_NAME_REMAINING_QUANTITY = "remainingQuantity"; @SerializedName(SERIALIZED_NAME_REMAINING_QUANTITY) - private Integer remainingQuantity; + private Long remainingQuantity; public static final String SERIALIZED_NAME_PRICE = "price"; @SerializedName(SERIALIZED_NAME_PRICE) @@ -92,8 +89,6 @@ public class CartItem { public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - /*allow Serializing null for this field */ - @JsonNullable private Object attributes; public static final String SERIALIZED_NAME_ADDITIONAL_COSTS = "additionalCosts"; @@ -102,7 +97,7 @@ public class CartItem { public static final String SERIALIZED_NAME_CATALOG_ITEM_I_D = "catalogItemID"; @SerializedName(SERIALIZED_NAME_CATALOG_ITEM_I_D) - private Integer catalogItemID; + private Long catalogItemID; public CartItem name(String name) { @@ -150,7 +145,7 @@ public void setSku(String sku) { } - public CartItem quantity(Integer quantity) { + public CartItem quantity(Long quantity) { this.quantity = quantity; return this; @@ -163,17 +158,17 @@ public CartItem quantity(Integer quantity) { **/ @ApiModelProperty(example = "1", required = true, value = "Number of units of this item. Due to [cart item flattening](https://docs.talon.one/docs/product/rules/understanding-cart-item-flattening), if you provide a quantity greater than 1, the item will be split in as many items as the provided quantity. This will impact the number of **per-item** effects triggered from your campaigns. ") - public Integer getQuantity() { + public Long getQuantity() { return quantity; } - public void setQuantity(Integer quantity) { + public void setQuantity(Long quantity) { this.quantity = quantity; } - public CartItem returnedQuantity(Integer returnedQuantity) { + public CartItem returnedQuantity(Long returnedQuantity) { this.returnedQuantity = returnedQuantity; return this; @@ -186,17 +181,17 @@ public CartItem returnedQuantity(Integer returnedQuantity) { @javax.annotation.Nullable @ApiModelProperty(example = "1", value = "Number of returned items, calculated internally based on returns of this item.") - public Integer getReturnedQuantity() { + public Long getReturnedQuantity() { return returnedQuantity; } - public void setReturnedQuantity(Integer returnedQuantity) { + public void setReturnedQuantity(Long returnedQuantity) { this.returnedQuantity = returnedQuantity; } - public CartItem remainingQuantity(Integer remainingQuantity) { + public CartItem remainingQuantity(Long remainingQuantity) { this.remainingQuantity = remainingQuantity; return this; @@ -209,12 +204,12 @@ public CartItem remainingQuantity(Integer remainingQuantity) { @javax.annotation.Nullable @ApiModelProperty(example = "1", value = "Remaining quantity of the item, calculated internally based on returns of this item.") - public Integer getRemainingQuantity() { + public Long getRemainingQuantity() { return remainingQuantity; } - public void setRemainingQuantity(Integer remainingQuantity) { + public void setRemainingQuantity(Long remainingQuantity) { this.remainingQuantity = remainingQuantity; } @@ -457,7 +452,7 @@ public void setAdditionalCosts(Map additionalCosts) { } - public CartItem catalogItemID(Integer catalogItemID) { + public CartItem catalogItemID(Long catalogItemID) { this.catalogItemID = catalogItemID; return this; @@ -470,12 +465,12 @@ public CartItem catalogItemID(Integer catalogItemID) { @javax.annotation.Nullable @ApiModelProperty(value = "The [catalog item ID](https://docs.talon.one/docs/product/account/dev-tools/managing-cart-item-catalogs/#synchronizing-a-cart-item-catalog).") - public Integer getCatalogItemID() { + public Long getCatalogItemID() { return catalogItemID; } - public void setCatalogItemID(Integer catalogItemID) { + public void setCatalogItemID(Long catalogItemID) { this.catalogItemID = catalogItemID; } diff --git a/src/main/java/one/talon/model/Catalog.java b/src/main/java/one/talon/model/Catalog.java index 474e619d..5dcc539e 100644 --- a/src/main/java/one/talon/model/Catalog.java +++ b/src/main/java/one/talon/model/Catalog.java @@ -34,7 +34,7 @@ public class Catalog { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -42,7 +42,7 @@ public class Catalog { public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private Integer accountId; + private Long accountId; public static final String SERIALIZED_NAME_MODIFIED = "modified"; @SerializedName(SERIALIZED_NAME_MODIFIED) @@ -58,18 +58,18 @@ public class Catalog { public static final String SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS_IDS = "subscribedApplicationsIds"; @SerializedName(SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS_IDS) - private List subscribedApplicationsIds = null; + private List subscribedApplicationsIds = null; public static final String SERIALIZED_NAME_VERSION = "version"; @SerializedName(SERIALIZED_NAME_VERSION) - private Integer version; + private Long version; public static final String SERIALIZED_NAME_CREATED_BY = "createdBy"; @SerializedName(SERIALIZED_NAME_CREATED_BY) - private Integer createdBy; + private Long createdBy; - public Catalog id(Integer id) { + public Catalog id(Long id) { this.id = id; return this; @@ -81,12 +81,12 @@ public Catalog id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -113,7 +113,7 @@ public void setCreated(OffsetDateTime created) { } - public Catalog accountId(Integer accountId) { + public Catalog accountId(Long accountId) { this.accountId = accountId; return this; @@ -125,12 +125,12 @@ public Catalog accountId(Integer accountId) { **/ @ApiModelProperty(example = "3886", required = true, value = "The ID of the account that owns this entity.") - public Integer getAccountId() { + public Long getAccountId() { return accountId; } - public void setAccountId(Integer accountId) { + public void setAccountId(Long accountId) { this.accountId = accountId; } @@ -201,15 +201,15 @@ public void setDescription(String description) { } - public Catalog subscribedApplicationsIds(List subscribedApplicationsIds) { + public Catalog subscribedApplicationsIds(List subscribedApplicationsIds) { this.subscribedApplicationsIds = subscribedApplicationsIds; return this; } - public Catalog addSubscribedApplicationsIdsItem(Integer subscribedApplicationsIdsItem) { + public Catalog addSubscribedApplicationsIdsItem(Long subscribedApplicationsIdsItem) { if (this.subscribedApplicationsIds == null) { - this.subscribedApplicationsIds = new ArrayList(); + this.subscribedApplicationsIds = new ArrayList(); } this.subscribedApplicationsIds.add(subscribedApplicationsIdsItem); return this; @@ -222,17 +222,17 @@ public Catalog addSubscribedApplicationsIdsItem(Integer subscribedApplicationsId @javax.annotation.Nullable @ApiModelProperty(example = "[1, 2, 3]", value = "A list of the IDs of the applications that are subscribed to this catalog.") - public List getSubscribedApplicationsIds() { + public List getSubscribedApplicationsIds() { return subscribedApplicationsIds; } - public void setSubscribedApplicationsIds(List subscribedApplicationsIds) { + public void setSubscribedApplicationsIds(List subscribedApplicationsIds) { this.subscribedApplicationsIds = subscribedApplicationsIds; } - public Catalog version(Integer version) { + public Catalog version(Long version) { this.version = version; return this; @@ -244,17 +244,17 @@ public Catalog version(Integer version) { **/ @ApiModelProperty(example = "6", required = true, value = "The current version of this catalog.") - public Integer getVersion() { + public Long getVersion() { return version; } - public void setVersion(Integer version) { + public void setVersion(Long version) { this.version = version; } - public Catalog createdBy(Integer createdBy) { + public Catalog createdBy(Long createdBy) { this.createdBy = createdBy; return this; @@ -266,12 +266,12 @@ public Catalog createdBy(Integer createdBy) { **/ @ApiModelProperty(example = "6", required = true, value = "The ID of user who created this catalog.") - public Integer getCreatedBy() { + public Long getCreatedBy() { return createdBy; } - public void setCreatedBy(Integer createdBy) { + public void setCreatedBy(Long createdBy) { this.createdBy = createdBy; } diff --git a/src/main/java/one/talon/model/CatalogItem.java b/src/main/java/one/talon/model/CatalogItem.java index 9e069c3a..c9485f5b 100644 --- a/src/main/java/one/talon/model/CatalogItem.java +++ b/src/main/java/one/talon/model/CatalogItem.java @@ -37,7 +37,7 @@ public class CatalogItem { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -53,11 +53,11 @@ public class CatalogItem { public static final String SERIALIZED_NAME_CATALOGID = "catalogid"; @SerializedName(SERIALIZED_NAME_CATALOGID) - private Integer catalogid; + private Long catalogid; public static final String SERIALIZED_NAME_VERSION = "version"; @SerializedName(SERIALIZED_NAME_VERSION) - private Integer version; + private Long version; public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; @SerializedName(SERIALIZED_NAME_ATTRIBUTES) @@ -68,7 +68,7 @@ public class CatalogItem { private Product product; - public CatalogItem id(Integer id) { + public CatalogItem id(Long id) { this.id = id; return this; @@ -80,12 +80,12 @@ public CatalogItem id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -157,7 +157,7 @@ public void setPrice(BigDecimal price) { } - public CatalogItem catalogid(Integer catalogid) { + public CatalogItem catalogid(Long catalogid) { this.catalogid = catalogid; return this; @@ -169,17 +169,17 @@ public CatalogItem catalogid(Integer catalogid) { **/ @ApiModelProperty(example = "6", required = true, value = "The ID of the catalog the item belongs to.") - public Integer getCatalogid() { + public Long getCatalogid() { return catalogid; } - public void setCatalogid(Integer catalogid) { + public void setCatalogid(Long catalogid) { this.catalogid = catalogid; } - public CatalogItem version(Integer version) { + public CatalogItem version(Long version) { this.version = version; return this; @@ -192,12 +192,12 @@ public CatalogItem version(Integer version) { **/ @ApiModelProperty(example = "5", required = true, value = "The version of the catalog item.") - public Integer getVersion() { + public Long getVersion() { return version; } - public void setVersion(Integer version) { + public void setVersion(Long version) { this.version = version; } diff --git a/src/main/java/one/talon/model/CatalogSyncRequest.java b/src/main/java/one/talon/model/CatalogSyncRequest.java index 699f4c03..432764e0 100644 --- a/src/main/java/one/talon/model/CatalogSyncRequest.java +++ b/src/main/java/one/talon/model/CatalogSyncRequest.java @@ -38,7 +38,7 @@ public class CatalogSyncRequest { public static final String SERIALIZED_NAME_VERSION = "version"; @SerializedName(SERIALIZED_NAME_VERSION) - private Integer version; + private Long version; public CatalogSyncRequest actions(List actions) { @@ -68,7 +68,7 @@ public void setActions(List actions) { } - public CatalogSyncRequest version(Integer version) { + public CatalogSyncRequest version(Long version) { this.version = version; return this; @@ -82,12 +82,12 @@ public CatalogSyncRequest version(Integer version) { @javax.annotation.Nullable @ApiModelProperty(example = "244", value = "The version number of the catalog to apply the actions on.") - public Integer getVersion() { + public Long getVersion() { return version; } - public void setVersion(Integer version) { + public void setVersion(Long version) { this.version = version; } diff --git a/src/main/java/one/talon/model/CatalogsStrikethroughNotificationPolicy.java b/src/main/java/one/talon/model/CatalogsStrikethroughNotificationPolicy.java index 70d4540f..8dddde17 100644 --- a/src/main/java/one/talon/model/CatalogsStrikethroughNotificationPolicy.java +++ b/src/main/java/one/talon/model/CatalogsStrikethroughNotificationPolicy.java @@ -35,7 +35,7 @@ public class CatalogsStrikethroughNotificationPolicy { public static final String SERIALIZED_NAME_AHEAD_OF_DAYS_TRIGGER = "aheadOfDaysTrigger"; @SerializedName(SERIALIZED_NAME_AHEAD_OF_DAYS_TRIGGER) - private Integer aheadOfDaysTrigger; + private Long aheadOfDaysTrigger; public CatalogsStrikethroughNotificationPolicy name(String name) { @@ -60,7 +60,7 @@ public void setName(String name) { } - public CatalogsStrikethroughNotificationPolicy aheadOfDaysTrigger(Integer aheadOfDaysTrigger) { + public CatalogsStrikethroughNotificationPolicy aheadOfDaysTrigger(Long aheadOfDaysTrigger) { this.aheadOfDaysTrigger = aheadOfDaysTrigger; return this; @@ -75,12 +75,12 @@ public CatalogsStrikethroughNotificationPolicy aheadOfDaysTrigger(Integer aheadO @javax.annotation.Nullable @ApiModelProperty(value = "The number of days in advance that strikethrough pricing updates should be sent.") - public Integer getAheadOfDaysTrigger() { + public Long getAheadOfDaysTrigger() { return aheadOfDaysTrigger; } - public void setAheadOfDaysTrigger(Integer aheadOfDaysTrigger) { + public void setAheadOfDaysTrigger(Long aheadOfDaysTrigger) { this.aheadOfDaysTrigger = aheadOfDaysTrigger; } diff --git a/src/main/java/one/talon/model/Change.java b/src/main/java/one/talon/model/Change.java index f98ab0c7..cf4cf2fb 100644 --- a/src/main/java/one/talon/model/Change.java +++ b/src/main/java/one/talon/model/Change.java @@ -32,7 +32,7 @@ public class Change { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -40,11 +40,11 @@ public class Change { public static final String SERIALIZED_NAME_USER_ID = "userId"; @SerializedName(SERIALIZED_NAME_USER_ID) - private Integer userId; + private Long userId; public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - private Integer applicationId; + private Long applicationId; public static final String SERIALIZED_NAME_ENTITY = "entity"; @SerializedName(SERIALIZED_NAME_ENTITY) @@ -60,10 +60,10 @@ public class Change { public static final String SERIALIZED_NAME_MANAGEMENT_KEY_ID = "managementKeyId"; @SerializedName(SERIALIZED_NAME_MANAGEMENT_KEY_ID) - private Integer managementKeyId; + private Long managementKeyId; - public Change id(Integer id) { + public Change id(Long id) { this.id = id; return this; @@ -75,12 +75,12 @@ public Change id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -107,7 +107,7 @@ public void setCreated(OffsetDateTime created) { } - public Change userId(Integer userId) { + public Change userId(Long userId) { this.userId = userId; return this; @@ -119,17 +119,17 @@ public Change userId(Integer userId) { **/ @ApiModelProperty(example = "388", required = true, value = "The ID of the user associated with this entity.") - public Integer getUserId() { + public Long getUserId() { return userId; } - public void setUserId(Integer userId) { + public void setUserId(Long userId) { this.userId = userId; } - public Change applicationId(Integer applicationId) { + public Change applicationId(Long applicationId) { this.applicationId = applicationId; return this; @@ -142,12 +142,12 @@ public Change applicationId(Integer applicationId) { @javax.annotation.Nullable @ApiModelProperty(example = "359", value = "ID of application associated with change.") - public Integer getApplicationId() { + public Long getApplicationId() { return applicationId; } - public void setApplicationId(Integer applicationId) { + public void setApplicationId(Long applicationId) { this.applicationId = applicationId; } @@ -220,7 +220,7 @@ public void setNew(Object _new) { } - public Change managementKeyId(Integer managementKeyId) { + public Change managementKeyId(Long managementKeyId) { this.managementKeyId = managementKeyId; return this; @@ -233,12 +233,12 @@ public Change managementKeyId(Integer managementKeyId) { @javax.annotation.Nullable @ApiModelProperty(example = "3", value = "ID of management key used to perform changes.") - public Integer getManagementKeyId() { + public Long getManagementKeyId() { return managementKeyId; } - public void setManagementKeyId(Integer managementKeyId) { + public void setManagementKeyId(Long managementKeyId) { this.managementKeyId = managementKeyId; } diff --git a/src/main/java/one/talon/model/ChangeLoyaltyTierLevelEffectProps.java b/src/main/java/one/talon/model/ChangeLoyaltyTierLevelEffectProps.java index ac6bcf44..f92910f4 100644 --- a/src/main/java/one/talon/model/ChangeLoyaltyTierLevelEffectProps.java +++ b/src/main/java/one/talon/model/ChangeLoyaltyTierLevelEffectProps.java @@ -37,7 +37,7 @@ public class ChangeLoyaltyTierLevelEffectProps { public static final String SERIALIZED_NAME_PROGRAM_ID = "programId"; @SerializedName(SERIALIZED_NAME_PROGRAM_ID) - private Integer programId; + private Long programId; public static final String SERIALIZED_NAME_SUB_LEDGER_ID = "subLedgerId"; @SerializedName(SERIALIZED_NAME_SUB_LEDGER_ID) @@ -78,7 +78,7 @@ public void setRuleTitle(String ruleTitle) { } - public ChangeLoyaltyTierLevelEffectProps programId(Integer programId) { + public ChangeLoyaltyTierLevelEffectProps programId(Long programId) { this.programId = programId; return this; @@ -90,12 +90,12 @@ public ChangeLoyaltyTierLevelEffectProps programId(Integer programId) { **/ @ApiModelProperty(required = true, value = "The ID of the loyalty program where these points were added.") - public Integer getProgramId() { + public Long getProgramId() { return programId; } - public void setProgramId(Integer programId) { + public void setProgramId(Long programId) { this.programId = programId; } diff --git a/src/main/java/one/talon/model/Collection.java b/src/main/java/one/talon/model/Collection.java index 43ee20af..577c6c33 100644 --- a/src/main/java/one/talon/model/Collection.java +++ b/src/main/java/one/talon/model/Collection.java @@ -34,7 +34,7 @@ public class Collection { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -42,7 +42,7 @@ public class Collection { public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private Integer accountId; + private Long accountId; public static final String SERIALIZED_NAME_MODIFIED = "modified"; @SerializedName(SERIALIZED_NAME_MODIFIED) @@ -54,7 +54,7 @@ public class Collection { public static final String SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS_IDS = "subscribedApplicationsIds"; @SerializedName(SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS_IDS) - private List subscribedApplicationsIds = null; + private List subscribedApplicationsIds = null; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -62,26 +62,26 @@ public class Collection { public static final String SERIALIZED_NAME_MODIFIED_BY = "modifiedBy"; @SerializedName(SERIALIZED_NAME_MODIFIED_BY) - private Integer modifiedBy; + private Long modifiedBy; public static final String SERIALIZED_NAME_CREATED_BY = "createdBy"; @SerializedName(SERIALIZED_NAME_CREATED_BY) - private Integer createdBy; + private Long createdBy; public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - private Integer applicationId; + private Long applicationId; public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) - private Integer campaignId; + private Long campaignId; public static final String SERIALIZED_NAME_PAYLOAD = "payload"; @SerializedName(SERIALIZED_NAME_PAYLOAD) private List payload = null; - public Collection id(Integer id) { + public Collection id(Long id) { this.id = id; return this; @@ -93,12 +93,12 @@ public Collection id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -125,7 +125,7 @@ public void setCreated(OffsetDateTime created) { } - public Collection accountId(Integer accountId) { + public Collection accountId(Long accountId) { this.accountId = accountId; return this; @@ -137,12 +137,12 @@ public Collection accountId(Integer accountId) { **/ @ApiModelProperty(example = "3886", required = true, value = "The ID of the account that owns this entity.") - public Integer getAccountId() { + public Long getAccountId() { return accountId; } - public void setAccountId(Integer accountId) { + public void setAccountId(Long accountId) { this.accountId = accountId; } @@ -192,15 +192,15 @@ public void setDescription(String description) { } - public Collection subscribedApplicationsIds(List subscribedApplicationsIds) { + public Collection subscribedApplicationsIds(List subscribedApplicationsIds) { this.subscribedApplicationsIds = subscribedApplicationsIds; return this; } - public Collection addSubscribedApplicationsIdsItem(Integer subscribedApplicationsIdsItem) { + public Collection addSubscribedApplicationsIdsItem(Long subscribedApplicationsIdsItem) { if (this.subscribedApplicationsIds == null) { - this.subscribedApplicationsIds = new ArrayList(); + this.subscribedApplicationsIds = new ArrayList(); } this.subscribedApplicationsIds.add(subscribedApplicationsIdsItem); return this; @@ -213,12 +213,12 @@ public Collection addSubscribedApplicationsIdsItem(Integer subscribedApplication @javax.annotation.Nullable @ApiModelProperty(example = "[1, 2, 3]", value = "A list of the IDs of the Applications where this collection is enabled.") - public List getSubscribedApplicationsIds() { + public List getSubscribedApplicationsIds() { return subscribedApplicationsIds; } - public void setSubscribedApplicationsIds(List subscribedApplicationsIds) { + public void setSubscribedApplicationsIds(List subscribedApplicationsIds) { this.subscribedApplicationsIds = subscribedApplicationsIds; } @@ -245,7 +245,7 @@ public void setName(String name) { } - public Collection modifiedBy(Integer modifiedBy) { + public Collection modifiedBy(Long modifiedBy) { this.modifiedBy = modifiedBy; return this; @@ -258,17 +258,17 @@ public Collection modifiedBy(Integer modifiedBy) { @javax.annotation.Nullable @ApiModelProperty(example = "48", value = "ID of the user who last updated this effect if available.") - public Integer getModifiedBy() { + public Long getModifiedBy() { return modifiedBy; } - public void setModifiedBy(Integer modifiedBy) { + public void setModifiedBy(Long modifiedBy) { this.modifiedBy = modifiedBy; } - public Collection createdBy(Integer createdBy) { + public Collection createdBy(Long createdBy) { this.createdBy = createdBy; return this; @@ -280,17 +280,17 @@ public Collection createdBy(Integer createdBy) { **/ @ApiModelProperty(example = "134", required = true, value = "ID of the user who created this effect.") - public Integer getCreatedBy() { + public Long getCreatedBy() { return createdBy; } - public void setCreatedBy(Integer createdBy) { + public void setCreatedBy(Long createdBy) { this.createdBy = createdBy; } - public Collection applicationId(Integer applicationId) { + public Collection applicationId(Long applicationId) { this.applicationId = applicationId; return this; @@ -303,17 +303,17 @@ public Collection applicationId(Integer applicationId) { @javax.annotation.Nullable @ApiModelProperty(example = "1", value = "The ID of the Application that owns this entity.") - public Integer getApplicationId() { + public Long getApplicationId() { return applicationId; } - public void setApplicationId(Integer applicationId) { + public void setApplicationId(Long applicationId) { this.applicationId = applicationId; } - public Collection campaignId(Integer campaignId) { + public Collection campaignId(Long campaignId) { this.campaignId = campaignId; return this; @@ -326,12 +326,12 @@ public Collection campaignId(Integer campaignId) { @javax.annotation.Nullable @ApiModelProperty(example = "7", value = "The ID of the campaign that owns this entity.") - public Integer getCampaignId() { + public Long getCampaignId() { return campaignId; } - public void setCampaignId(Integer campaignId) { + public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } diff --git a/src/main/java/one/talon/model/CollectionWithoutPayload.java b/src/main/java/one/talon/model/CollectionWithoutPayload.java index dd6e4fe8..1c6bb135 100644 --- a/src/main/java/one/talon/model/CollectionWithoutPayload.java +++ b/src/main/java/one/talon/model/CollectionWithoutPayload.java @@ -34,7 +34,7 @@ public class CollectionWithoutPayload { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -42,7 +42,7 @@ public class CollectionWithoutPayload { public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private Integer accountId; + private Long accountId; public static final String SERIALIZED_NAME_MODIFIED = "modified"; @SerializedName(SERIALIZED_NAME_MODIFIED) @@ -54,7 +54,7 @@ public class CollectionWithoutPayload { public static final String SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS_IDS = "subscribedApplicationsIds"; @SerializedName(SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS_IDS) - private List subscribedApplicationsIds = null; + private List subscribedApplicationsIds = null; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -62,22 +62,22 @@ public class CollectionWithoutPayload { public static final String SERIALIZED_NAME_MODIFIED_BY = "modifiedBy"; @SerializedName(SERIALIZED_NAME_MODIFIED_BY) - private Integer modifiedBy; + private Long modifiedBy; public static final String SERIALIZED_NAME_CREATED_BY = "createdBy"; @SerializedName(SERIALIZED_NAME_CREATED_BY) - private Integer createdBy; + private Long createdBy; public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - private Integer applicationId; + private Long applicationId; public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) - private Integer campaignId; + private Long campaignId; - public CollectionWithoutPayload id(Integer id) { + public CollectionWithoutPayload id(Long id) { this.id = id; return this; @@ -89,12 +89,12 @@ public CollectionWithoutPayload id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -121,7 +121,7 @@ public void setCreated(OffsetDateTime created) { } - public CollectionWithoutPayload accountId(Integer accountId) { + public CollectionWithoutPayload accountId(Long accountId) { this.accountId = accountId; return this; @@ -133,12 +133,12 @@ public CollectionWithoutPayload accountId(Integer accountId) { **/ @ApiModelProperty(example = "3886", required = true, value = "The ID of the account that owns this entity.") - public Integer getAccountId() { + public Long getAccountId() { return accountId; } - public void setAccountId(Integer accountId) { + public void setAccountId(Long accountId) { this.accountId = accountId; } @@ -188,15 +188,15 @@ public void setDescription(String description) { } - public CollectionWithoutPayload subscribedApplicationsIds(List subscribedApplicationsIds) { + public CollectionWithoutPayload subscribedApplicationsIds(List subscribedApplicationsIds) { this.subscribedApplicationsIds = subscribedApplicationsIds; return this; } - public CollectionWithoutPayload addSubscribedApplicationsIdsItem(Integer subscribedApplicationsIdsItem) { + public CollectionWithoutPayload addSubscribedApplicationsIdsItem(Long subscribedApplicationsIdsItem) { if (this.subscribedApplicationsIds == null) { - this.subscribedApplicationsIds = new ArrayList(); + this.subscribedApplicationsIds = new ArrayList(); } this.subscribedApplicationsIds.add(subscribedApplicationsIdsItem); return this; @@ -209,12 +209,12 @@ public CollectionWithoutPayload addSubscribedApplicationsIdsItem(Integer subscri @javax.annotation.Nullable @ApiModelProperty(example = "[1, 2, 3]", value = "A list of the IDs of the Applications where this collection is enabled.") - public List getSubscribedApplicationsIds() { + public List getSubscribedApplicationsIds() { return subscribedApplicationsIds; } - public void setSubscribedApplicationsIds(List subscribedApplicationsIds) { + public void setSubscribedApplicationsIds(List subscribedApplicationsIds) { this.subscribedApplicationsIds = subscribedApplicationsIds; } @@ -241,7 +241,7 @@ public void setName(String name) { } - public CollectionWithoutPayload modifiedBy(Integer modifiedBy) { + public CollectionWithoutPayload modifiedBy(Long modifiedBy) { this.modifiedBy = modifiedBy; return this; @@ -254,17 +254,17 @@ public CollectionWithoutPayload modifiedBy(Integer modifiedBy) { @javax.annotation.Nullable @ApiModelProperty(example = "48", value = "ID of the user who last updated this effect if available.") - public Integer getModifiedBy() { + public Long getModifiedBy() { return modifiedBy; } - public void setModifiedBy(Integer modifiedBy) { + public void setModifiedBy(Long modifiedBy) { this.modifiedBy = modifiedBy; } - public CollectionWithoutPayload createdBy(Integer createdBy) { + public CollectionWithoutPayload createdBy(Long createdBy) { this.createdBy = createdBy; return this; @@ -276,17 +276,17 @@ public CollectionWithoutPayload createdBy(Integer createdBy) { **/ @ApiModelProperty(example = "134", required = true, value = "ID of the user who created this effect.") - public Integer getCreatedBy() { + public Long getCreatedBy() { return createdBy; } - public void setCreatedBy(Integer createdBy) { + public void setCreatedBy(Long createdBy) { this.createdBy = createdBy; } - public CollectionWithoutPayload applicationId(Integer applicationId) { + public CollectionWithoutPayload applicationId(Long applicationId) { this.applicationId = applicationId; return this; @@ -299,17 +299,17 @@ public CollectionWithoutPayload applicationId(Integer applicationId) { @javax.annotation.Nullable @ApiModelProperty(example = "1", value = "The ID of the Application that owns this entity.") - public Integer getApplicationId() { + public Long getApplicationId() { return applicationId; } - public void setApplicationId(Integer applicationId) { + public void setApplicationId(Long applicationId) { this.applicationId = applicationId; } - public CollectionWithoutPayload campaignId(Integer campaignId) { + public CollectionWithoutPayload campaignId(Long campaignId) { this.campaignId = campaignId; return this; @@ -322,12 +322,12 @@ public CollectionWithoutPayload campaignId(Integer campaignId) { @javax.annotation.Nullable @ApiModelProperty(example = "7", value = "The ID of the campaign that owns this entity.") - public Integer getCampaignId() { + public Long getCampaignId() { return campaignId; } - public void setCampaignId(Integer campaignId) { + public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } diff --git a/src/main/java/one/talon/model/Coupon.java b/src/main/java/one/talon/model/Coupon.java index ab4a482c..2e2cad82 100644 --- a/src/main/java/one/talon/model/Coupon.java +++ b/src/main/java/one/talon/model/Coupon.java @@ -36,7 +36,7 @@ public class Coupon { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -44,7 +44,7 @@ public class Coupon { public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) - private Integer campaignId; + private Long campaignId; public static final String SERIALIZED_NAME_VALUE = "value"; @SerializedName(SERIALIZED_NAME_VALUE) @@ -52,7 +52,7 @@ public class Coupon { public static final String SERIALIZED_NAME_USAGE_LIMIT = "usageLimit"; @SerializedName(SERIALIZED_NAME_USAGE_LIMIT) - private Integer usageLimit; + private Long usageLimit; public static final String SERIALIZED_NAME_DISCOUNT_LIMIT = "discountLimit"; @SerializedName(SERIALIZED_NAME_DISCOUNT_LIMIT) @@ -60,7 +60,7 @@ public class Coupon { public static final String SERIALIZED_NAME_RESERVATION_LIMIT = "reservationLimit"; @SerializedName(SERIALIZED_NAME_RESERVATION_LIMIT) - private Integer reservationLimit; + private Long reservationLimit; public static final String SERIALIZED_NAME_START_DATE = "startDate"; @SerializedName(SERIALIZED_NAME_START_DATE) @@ -76,7 +76,7 @@ public class Coupon { public static final String SERIALIZED_NAME_USAGE_COUNTER = "usageCounter"; @SerializedName(SERIALIZED_NAME_USAGE_COUNTER) - private Integer usageCounter; + private Long usageCounter; public static final String SERIALIZED_NAME_DISCOUNT_COUNTER = "discountCounter"; @SerializedName(SERIALIZED_NAME_DISCOUNT_COUNTER) @@ -96,7 +96,7 @@ public class Coupon { public static final String SERIALIZED_NAME_REFERRAL_ID = "referralId"; @SerializedName(SERIALIZED_NAME_REFERRAL_ID) - private Integer referralId; + private Long referralId; public static final String SERIALIZED_NAME_RECIPIENT_INTEGRATION_ID = "recipientIntegrationId"; @SerializedName(SERIALIZED_NAME_RECIPIENT_INTEGRATION_ID) @@ -104,7 +104,7 @@ public class Coupon { public static final String SERIALIZED_NAME_IMPORT_ID = "importId"; @SerializedName(SERIALIZED_NAME_IMPORT_ID) - private Integer importId; + private Long importId; public static final String SERIALIZED_NAME_RESERVATION = "reservation"; @SerializedName(SERIALIZED_NAME_RESERVATION) @@ -123,7 +123,7 @@ public class Coupon { private Boolean implicitlyReserved; - public Coupon id(Integer id) { + public Coupon id(Long id) { this.id = id; return this; @@ -135,12 +135,12 @@ public Coupon id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -167,7 +167,7 @@ public void setCreated(OffsetDateTime created) { } - public Coupon campaignId(Integer campaignId) { + public Coupon campaignId(Long campaignId) { this.campaignId = campaignId; return this; @@ -179,12 +179,12 @@ public Coupon campaignId(Integer campaignId) { **/ @ApiModelProperty(example = "211", required = true, value = "The ID of the campaign that owns this entity.") - public Integer getCampaignId() { + public Long getCampaignId() { return campaignId; } - public void setCampaignId(Integer campaignId) { + public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } @@ -211,7 +211,7 @@ public void setValue(String value) { } - public Coupon usageLimit(Integer usageLimit) { + public Coupon usageLimit(Long usageLimit) { this.usageLimit = usageLimit; return this; @@ -225,12 +225,12 @@ public Coupon usageLimit(Integer usageLimit) { **/ @ApiModelProperty(example = "100", required = true, value = "The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. ") - public Integer getUsageLimit() { + public Long getUsageLimit() { return usageLimit; } - public void setUsageLimit(Integer usageLimit) { + public void setUsageLimit(Long usageLimit) { this.usageLimit = usageLimit; } @@ -260,7 +260,7 @@ public void setDiscountLimit(BigDecimal discountLimit) { } - public Coupon reservationLimit(Integer reservationLimit) { + public Coupon reservationLimit(Long reservationLimit) { this.reservationLimit = reservationLimit; return this; @@ -275,12 +275,12 @@ public Coupon reservationLimit(Integer reservationLimit) { @javax.annotation.Nullable @ApiModelProperty(example = "45", value = "The number of reservations that can be made with this coupon code. ") - public Integer getReservationLimit() { + public Long getReservationLimit() { return reservationLimit; } - public void setReservationLimit(Integer reservationLimit) { + public void setReservationLimit(Long reservationLimit) { this.reservationLimit = reservationLimit; } @@ -362,7 +362,7 @@ public void setLimits(List limits) { } - public Coupon usageCounter(Integer usageCounter) { + public Coupon usageCounter(Long usageCounter) { this.usageCounter = usageCounter; return this; @@ -374,12 +374,12 @@ public Coupon usageCounter(Integer usageCounter) { **/ @ApiModelProperty(example = "10", required = true, value = "The number of times the coupon has been successfully redeemed.") - public Integer getUsageCounter() { + public Long getUsageCounter() { return usageCounter; } - public void setUsageCounter(Integer usageCounter) { + public void setUsageCounter(Long usageCounter) { this.usageCounter = usageCounter; } @@ -476,7 +476,7 @@ public void setAttributes(Object attributes) { } - public Coupon referralId(Integer referralId) { + public Coupon referralId(Long referralId) { this.referralId = referralId; return this; @@ -489,12 +489,12 @@ public Coupon referralId(Integer referralId) { @javax.annotation.Nullable @ApiModelProperty(example = "326632952", value = "The integration ID of the referring customer (if any) for whom this coupon was created as an effect.") - public Integer getReferralId() { + public Long getReferralId() { return referralId; } - public void setReferralId(Integer referralId) { + public void setReferralId(Long referralId) { this.referralId = referralId; } @@ -522,7 +522,7 @@ public void setRecipientIntegrationId(String recipientIntegrationId) { } - public Coupon importId(Integer importId) { + public Coupon importId(Long importId) { this.importId = importId; return this; @@ -535,12 +535,12 @@ public Coupon importId(Integer importId) { @javax.annotation.Nullable @ApiModelProperty(example = "4", value = "The ID of the Import which created this coupon.") - public Integer getImportId() { + public Long getImportId() { return importId; } - public void setImportId(Integer importId) { + public void setImportId(Long importId) { this.importId = importId; } diff --git a/src/main/java/one/talon/model/CouponConstraints.java b/src/main/java/one/talon/model/CouponConstraints.java index 99490af8..bfb9425b 100644 --- a/src/main/java/one/talon/model/CouponConstraints.java +++ b/src/main/java/one/talon/model/CouponConstraints.java @@ -33,7 +33,7 @@ public class CouponConstraints { public static final String SERIALIZED_NAME_USAGE_LIMIT = "usageLimit"; @SerializedName(SERIALIZED_NAME_USAGE_LIMIT) - private Integer usageLimit; + private Long usageLimit; public static final String SERIALIZED_NAME_DISCOUNT_LIMIT = "discountLimit"; @SerializedName(SERIALIZED_NAME_DISCOUNT_LIMIT) @@ -41,7 +41,7 @@ public class CouponConstraints { public static final String SERIALIZED_NAME_RESERVATION_LIMIT = "reservationLimit"; @SerializedName(SERIALIZED_NAME_RESERVATION_LIMIT) - private Integer reservationLimit; + private Long reservationLimit; public static final String SERIALIZED_NAME_START_DATE = "startDate"; @SerializedName(SERIALIZED_NAME_START_DATE) @@ -52,7 +52,7 @@ public class CouponConstraints { private OffsetDateTime expiryDate; - public CouponConstraints usageLimit(Integer usageLimit) { + public CouponConstraints usageLimit(Long usageLimit) { this.usageLimit = usageLimit; return this; @@ -67,12 +67,12 @@ public CouponConstraints usageLimit(Integer usageLimit) { @javax.annotation.Nullable @ApiModelProperty(example = "100", value = "The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. ") - public Integer getUsageLimit() { + public Long getUsageLimit() { return usageLimit; } - public void setUsageLimit(Integer usageLimit) { + public void setUsageLimit(Long usageLimit) { this.usageLimit = usageLimit; } @@ -102,7 +102,7 @@ public void setDiscountLimit(BigDecimal discountLimit) { } - public CouponConstraints reservationLimit(Integer reservationLimit) { + public CouponConstraints reservationLimit(Long reservationLimit) { this.reservationLimit = reservationLimit; return this; @@ -117,12 +117,12 @@ public CouponConstraints reservationLimit(Integer reservationLimit) { @javax.annotation.Nullable @ApiModelProperty(example = "45", value = "The number of reservations that can be made with this coupon code. ") - public Integer getReservationLimit() { + public Long getReservationLimit() { return reservationLimit; } - public void setReservationLimit(Integer reservationLimit) { + public void setReservationLimit(Long reservationLimit) { this.reservationLimit = reservationLimit; } diff --git a/src/main/java/one/talon/model/CouponCreationJob.java b/src/main/java/one/talon/model/CouponCreationJob.java index ca607a82..c4c069b7 100644 --- a/src/main/java/one/talon/model/CouponCreationJob.java +++ b/src/main/java/one/talon/model/CouponCreationJob.java @@ -36,7 +36,7 @@ public class CouponCreationJob { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -44,19 +44,19 @@ public class CouponCreationJob { public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) - private Integer campaignId; + private Long campaignId; public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - private Integer applicationId; + private Long applicationId; public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private Integer accountId; + private Long accountId; public static final String SERIALIZED_NAME_USAGE_LIMIT = "usageLimit"; @SerializedName(SERIALIZED_NAME_USAGE_LIMIT) - private Integer usageLimit; + private Long usageLimit; public static final String SERIALIZED_NAME_DISCOUNT_LIMIT = "discountLimit"; @SerializedName(SERIALIZED_NAME_DISCOUNT_LIMIT) @@ -64,7 +64,7 @@ public class CouponCreationJob { public static final String SERIALIZED_NAME_RESERVATION_LIMIT = "reservationLimit"; @SerializedName(SERIALIZED_NAME_RESERVATION_LIMIT) - private Integer reservationLimit; + private Long reservationLimit; public static final String SERIALIZED_NAME_START_DATE = "startDate"; @SerializedName(SERIALIZED_NAME_START_DATE) @@ -76,7 +76,7 @@ public class CouponCreationJob { public static final String SERIALIZED_NAME_NUMBER_OF_COUPONS = "numberOfCoupons"; @SerializedName(SERIALIZED_NAME_NUMBER_OF_COUPONS) - private Integer numberOfCoupons; + private Long numberOfCoupons; public static final String SERIALIZED_NAME_COUPON_SETTINGS = "couponSettings"; @SerializedName(SERIALIZED_NAME_COUPON_SETTINGS) @@ -96,11 +96,11 @@ public class CouponCreationJob { public static final String SERIALIZED_NAME_CREATED_AMOUNT = "createdAmount"; @SerializedName(SERIALIZED_NAME_CREATED_AMOUNT) - private Integer createdAmount; + private Long createdAmount; public static final String SERIALIZED_NAME_FAIL_COUNT = "failCount"; @SerializedName(SERIALIZED_NAME_FAIL_COUNT) - private Integer failCount; + private Long failCount; public static final String SERIALIZED_NAME_ERRORS = "errors"; @SerializedName(SERIALIZED_NAME_ERRORS) @@ -108,7 +108,7 @@ public class CouponCreationJob { public static final String SERIALIZED_NAME_CREATED_BY = "createdBy"; @SerializedName(SERIALIZED_NAME_CREATED_BY) - private Integer createdBy; + private Long createdBy; public static final String SERIALIZED_NAME_COMMUNICATED = "communicated"; @SerializedName(SERIALIZED_NAME_COMMUNICATED) @@ -116,14 +116,14 @@ public class CouponCreationJob { public static final String SERIALIZED_NAME_CHUNK_EXECUTION_COUNT = "chunkExecutionCount"; @SerializedName(SERIALIZED_NAME_CHUNK_EXECUTION_COUNT) - private Integer chunkExecutionCount; + private Long chunkExecutionCount; public static final String SERIALIZED_NAME_CHUNK_SIZE = "chunkSize"; @SerializedName(SERIALIZED_NAME_CHUNK_SIZE) - private Integer chunkSize; + private Long chunkSize; - public CouponCreationJob id(Integer id) { + public CouponCreationJob id(Long id) { this.id = id; return this; @@ -135,12 +135,12 @@ public CouponCreationJob id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -167,7 +167,7 @@ public void setCreated(OffsetDateTime created) { } - public CouponCreationJob campaignId(Integer campaignId) { + public CouponCreationJob campaignId(Long campaignId) { this.campaignId = campaignId; return this; @@ -179,17 +179,17 @@ public CouponCreationJob campaignId(Integer campaignId) { **/ @ApiModelProperty(example = "211", required = true, value = "The ID of the campaign that owns this entity.") - public Integer getCampaignId() { + public Long getCampaignId() { return campaignId; } - public void setCampaignId(Integer campaignId) { + public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } - public CouponCreationJob applicationId(Integer applicationId) { + public CouponCreationJob applicationId(Long applicationId) { this.applicationId = applicationId; return this; @@ -201,17 +201,17 @@ public CouponCreationJob applicationId(Integer applicationId) { **/ @ApiModelProperty(example = "322", required = true, value = "The ID of the Application that owns this entity.") - public Integer getApplicationId() { + public Long getApplicationId() { return applicationId; } - public void setApplicationId(Integer applicationId) { + public void setApplicationId(Long applicationId) { this.applicationId = applicationId; } - public CouponCreationJob accountId(Integer accountId) { + public CouponCreationJob accountId(Long accountId) { this.accountId = accountId; return this; @@ -223,17 +223,17 @@ public CouponCreationJob accountId(Integer accountId) { **/ @ApiModelProperty(example = "3886", required = true, value = "The ID of the account that owns this entity.") - public Integer getAccountId() { + public Long getAccountId() { return accountId; } - public void setAccountId(Integer accountId) { + public void setAccountId(Long accountId) { this.accountId = accountId; } - public CouponCreationJob usageLimit(Integer usageLimit) { + public CouponCreationJob usageLimit(Long usageLimit) { this.usageLimit = usageLimit; return this; @@ -247,12 +247,12 @@ public CouponCreationJob usageLimit(Integer usageLimit) { **/ @ApiModelProperty(example = "100", required = true, value = "The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. ") - public Integer getUsageLimit() { + public Long getUsageLimit() { return usageLimit; } - public void setUsageLimit(Integer usageLimit) { + public void setUsageLimit(Long usageLimit) { this.usageLimit = usageLimit; } @@ -282,7 +282,7 @@ public void setDiscountLimit(BigDecimal discountLimit) { } - public CouponCreationJob reservationLimit(Integer reservationLimit) { + public CouponCreationJob reservationLimit(Long reservationLimit) { this.reservationLimit = reservationLimit; return this; @@ -297,12 +297,12 @@ public CouponCreationJob reservationLimit(Integer reservationLimit) { @javax.annotation.Nullable @ApiModelProperty(example = "45", value = "The number of reservations that can be made with this coupon code. ") - public Integer getReservationLimit() { + public Long getReservationLimit() { return reservationLimit; } - public void setReservationLimit(Integer reservationLimit) { + public void setReservationLimit(Long reservationLimit) { this.reservationLimit = reservationLimit; } @@ -353,7 +353,7 @@ public void setExpiryDate(OffsetDateTime expiryDate) { } - public CouponCreationJob numberOfCoupons(Integer numberOfCoupons) { + public CouponCreationJob numberOfCoupons(Long numberOfCoupons) { this.numberOfCoupons = numberOfCoupons; return this; @@ -367,12 +367,12 @@ public CouponCreationJob numberOfCoupons(Integer numberOfCoupons) { **/ @ApiModelProperty(example = "200000", required = true, value = "The number of new coupon codes to generate for the campaign.") - public Integer getNumberOfCoupons() { + public Long getNumberOfCoupons() { return numberOfCoupons; } - public void setNumberOfCoupons(Integer numberOfCoupons) { + public void setNumberOfCoupons(Long numberOfCoupons) { this.numberOfCoupons = numberOfCoupons; } @@ -466,7 +466,7 @@ public void setStatus(String status) { } - public CouponCreationJob createdAmount(Integer createdAmount) { + public CouponCreationJob createdAmount(Long createdAmount) { this.createdAmount = createdAmount; return this; @@ -478,17 +478,17 @@ public CouponCreationJob createdAmount(Integer createdAmount) { **/ @ApiModelProperty(example = "1000000", required = true, value = "The number of coupon codes that were already created for this request.") - public Integer getCreatedAmount() { + public Long getCreatedAmount() { return createdAmount; } - public void setCreatedAmount(Integer createdAmount) { + public void setCreatedAmount(Long createdAmount) { this.createdAmount = createdAmount; } - public CouponCreationJob failCount(Integer failCount) { + public CouponCreationJob failCount(Long failCount) { this.failCount = failCount; return this; @@ -500,12 +500,12 @@ public CouponCreationJob failCount(Integer failCount) { **/ @ApiModelProperty(example = "10", required = true, value = "The number of times this job failed.") - public Integer getFailCount() { + public Long getFailCount() { return failCount; } - public void setFailCount(Integer failCount) { + public void setFailCount(Long failCount) { this.failCount = failCount; } @@ -537,7 +537,7 @@ public void setErrors(List errors) { } - public CouponCreationJob createdBy(Integer createdBy) { + public CouponCreationJob createdBy(Long createdBy) { this.createdBy = createdBy; return this; @@ -549,12 +549,12 @@ public CouponCreationJob createdBy(Integer createdBy) { **/ @ApiModelProperty(example = "1", required = true, value = "ID of the user who created this effect.") - public Integer getCreatedBy() { + public Long getCreatedBy() { return createdBy; } - public void setCreatedBy(Integer createdBy) { + public void setCreatedBy(Long createdBy) { this.createdBy = createdBy; } @@ -581,7 +581,7 @@ public void setCommunicated(Boolean communicated) { } - public CouponCreationJob chunkExecutionCount(Integer chunkExecutionCount) { + public CouponCreationJob chunkExecutionCount(Long chunkExecutionCount) { this.chunkExecutionCount = chunkExecutionCount; return this; @@ -593,17 +593,17 @@ public CouponCreationJob chunkExecutionCount(Integer chunkExecutionCount) { **/ @ApiModelProperty(example = "0", required = true, value = "The number of times an attempt to create a chunk of coupons was made during the processing of the job.") - public Integer getChunkExecutionCount() { + public Long getChunkExecutionCount() { return chunkExecutionCount; } - public void setChunkExecutionCount(Integer chunkExecutionCount) { + public void setChunkExecutionCount(Long chunkExecutionCount) { this.chunkExecutionCount = chunkExecutionCount; } - public CouponCreationJob chunkSize(Integer chunkSize) { + public CouponCreationJob chunkSize(Long chunkSize) { this.chunkSize = chunkSize; return this; @@ -616,12 +616,12 @@ public CouponCreationJob chunkSize(Integer chunkSize) { @javax.annotation.Nullable @ApiModelProperty(example = "20000", value = "The number of coupons that will be created in a single transactions. Coupons will be created in chunks until arriving at the requested amount.") - public Integer getChunkSize() { + public Long getChunkSize() { return chunkSize; } - public void setChunkSize(Integer chunkSize) { + public void setChunkSize(Long chunkSize) { this.chunkSize = chunkSize; } diff --git a/src/main/java/one/talon/model/CouponDeletionFilters.java b/src/main/java/one/talon/model/CouponDeletionFilters.java index bc016897..2e00eb24 100644 --- a/src/main/java/one/talon/model/CouponDeletionFilters.java +++ b/src/main/java/one/talon/model/CouponDeletionFilters.java @@ -125,7 +125,7 @@ public ValidEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_REFERRAL_ID = "referralId"; @SerializedName(SERIALIZED_NAME_REFERRAL_ID) - private Integer referralId; + private Long referralId; public static final String SERIALIZED_NAME_EXPIRES_AFTER = "expiresAfter"; @SerializedName(SERIALIZED_NAME_EXPIRES_AFTER) @@ -389,7 +389,7 @@ public void setBatchId(String batchId) { } - public CouponDeletionFilters referralId(Integer referralId) { + public CouponDeletionFilters referralId(Long referralId) { this.referralId = referralId; return this; @@ -402,12 +402,12 @@ public CouponDeletionFilters referralId(Integer referralId) { @javax.annotation.Nullable @ApiModelProperty(value = "Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code.") - public Integer getReferralId() { + public Long getReferralId() { return referralId; } - public void setReferralId(Integer referralId) { + public void setReferralId(Long referralId) { this.referralId = referralId; } diff --git a/src/main/java/one/talon/model/CouponDeletionJob.java b/src/main/java/one/talon/model/CouponDeletionJob.java index 6cdb9efb..d0805dfc 100644 --- a/src/main/java/one/talon/model/CouponDeletionJob.java +++ b/src/main/java/one/talon/model/CouponDeletionJob.java @@ -35,7 +35,7 @@ public class CouponDeletionJob { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -43,11 +43,11 @@ public class CouponDeletionJob { public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - private Integer applicationId; + private Long applicationId; public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private Integer accountId; + private Long accountId; public static final String SERIALIZED_NAME_FILTERS = "filters"; @SerializedName(SERIALIZED_NAME_FILTERS) @@ -59,11 +59,11 @@ public class CouponDeletionJob { public static final String SERIALIZED_NAME_DELETED_AMOUNT = "deletedAmount"; @SerializedName(SERIALIZED_NAME_DELETED_AMOUNT) - private Integer deletedAmount; + private Long deletedAmount; public static final String SERIALIZED_NAME_FAIL_COUNT = "failCount"; @SerializedName(SERIALIZED_NAME_FAIL_COUNT) - private Integer failCount; + private Long failCount; public static final String SERIALIZED_NAME_ERRORS = "errors"; @SerializedName(SERIALIZED_NAME_ERRORS) @@ -71,7 +71,7 @@ public class CouponDeletionJob { public static final String SERIALIZED_NAME_CREATED_BY = "createdBy"; @SerializedName(SERIALIZED_NAME_CREATED_BY) - private Integer createdBy; + private Long createdBy; public static final String SERIALIZED_NAME_COMMUNICATED = "communicated"; @SerializedName(SERIALIZED_NAME_COMMUNICATED) @@ -79,10 +79,10 @@ public class CouponDeletionJob { public static final String SERIALIZED_NAME_CAMPAIGN_I_DS = "campaignIDs"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_I_DS) - private List campaignIDs = null; + private List campaignIDs = null; - public CouponDeletionJob id(Integer id) { + public CouponDeletionJob id(Long id) { this.id = id; return this; @@ -94,12 +94,12 @@ public CouponDeletionJob id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -126,7 +126,7 @@ public void setCreated(OffsetDateTime created) { } - public CouponDeletionJob applicationId(Integer applicationId) { + public CouponDeletionJob applicationId(Long applicationId) { this.applicationId = applicationId; return this; @@ -138,17 +138,17 @@ public CouponDeletionJob applicationId(Integer applicationId) { **/ @ApiModelProperty(example = "322", required = true, value = "The ID of the Application that owns this entity.") - public Integer getApplicationId() { + public Long getApplicationId() { return applicationId; } - public void setApplicationId(Integer applicationId) { + public void setApplicationId(Long applicationId) { this.applicationId = applicationId; } - public CouponDeletionJob accountId(Integer accountId) { + public CouponDeletionJob accountId(Long accountId) { this.accountId = accountId; return this; @@ -160,12 +160,12 @@ public CouponDeletionJob accountId(Integer accountId) { **/ @ApiModelProperty(example = "3886", required = true, value = "The ID of the account that owns this entity.") - public Integer getAccountId() { + public Long getAccountId() { return accountId; } - public void setAccountId(Integer accountId) { + public void setAccountId(Long accountId) { this.accountId = accountId; } @@ -214,7 +214,7 @@ public void setStatus(String status) { } - public CouponDeletionJob deletedAmount(Integer deletedAmount) { + public CouponDeletionJob deletedAmount(Long deletedAmount) { this.deletedAmount = deletedAmount; return this; @@ -227,17 +227,17 @@ public CouponDeletionJob deletedAmount(Integer deletedAmount) { @javax.annotation.Nullable @ApiModelProperty(example = "1000000", value = "The number of coupon codes that were already deleted for this request.") - public Integer getDeletedAmount() { + public Long getDeletedAmount() { return deletedAmount; } - public void setDeletedAmount(Integer deletedAmount) { + public void setDeletedAmount(Long deletedAmount) { this.deletedAmount = deletedAmount; } - public CouponDeletionJob failCount(Integer failCount) { + public CouponDeletionJob failCount(Long failCount) { this.failCount = failCount; return this; @@ -249,12 +249,12 @@ public CouponDeletionJob failCount(Integer failCount) { **/ @ApiModelProperty(example = "10", required = true, value = "The number of times this job failed.") - public Integer getFailCount() { + public Long getFailCount() { return failCount; } - public void setFailCount(Integer failCount) { + public void setFailCount(Long failCount) { this.failCount = failCount; } @@ -286,7 +286,7 @@ public void setErrors(List errors) { } - public CouponDeletionJob createdBy(Integer createdBy) { + public CouponDeletionJob createdBy(Long createdBy) { this.createdBy = createdBy; return this; @@ -298,12 +298,12 @@ public CouponDeletionJob createdBy(Integer createdBy) { **/ @ApiModelProperty(example = "1", required = true, value = "ID of the user who created this effect.") - public Integer getCreatedBy() { + public Long getCreatedBy() { return createdBy; } - public void setCreatedBy(Integer createdBy) { + public void setCreatedBy(Long createdBy) { this.createdBy = createdBy; } @@ -330,15 +330,15 @@ public void setCommunicated(Boolean communicated) { } - public CouponDeletionJob campaignIDs(List campaignIDs) { + public CouponDeletionJob campaignIDs(List campaignIDs) { this.campaignIDs = campaignIDs; return this; } - public CouponDeletionJob addCampaignIDsItem(Integer campaignIDsItem) { + public CouponDeletionJob addCampaignIDsItem(Long campaignIDsItem) { if (this.campaignIDs == null) { - this.campaignIDs = new ArrayList(); + this.campaignIDs = new ArrayList(); } this.campaignIDs.add(campaignIDsItem); return this; @@ -351,12 +351,12 @@ public CouponDeletionJob addCampaignIDsItem(Integer campaignIDsItem) { @javax.annotation.Nullable @ApiModelProperty(value = "") - public List getCampaignIDs() { + public List getCampaignIDs() { return campaignIDs; } - public void setCampaignIDs(List campaignIDs) { + public void setCampaignIDs(List campaignIDs) { this.campaignIDs = campaignIDs; } diff --git a/src/main/java/one/talon/model/CouponRejectionReason.java b/src/main/java/one/talon/model/CouponRejectionReason.java index 528ba6d6..cdfc7046 100644 --- a/src/main/java/one/talon/model/CouponRejectionReason.java +++ b/src/main/java/one/talon/model/CouponRejectionReason.java @@ -32,11 +32,11 @@ public class CouponRejectionReason { public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) - private Integer campaignId; + private Long campaignId; public static final String SERIALIZED_NAME_COUPON_ID = "couponId"; @SerializedName(SERIALIZED_NAME_COUPON_ID) - private Integer couponId; + private Long couponId; /** * Gets or Sets reason @@ -110,7 +110,7 @@ public ReasonEnum read(final JsonReader jsonReader) throws IOException { private ReasonEnum reason; - public CouponRejectionReason campaignId(Integer campaignId) { + public CouponRejectionReason campaignId(Long campaignId) { this.campaignId = campaignId; return this; @@ -122,17 +122,17 @@ public CouponRejectionReason campaignId(Integer campaignId) { **/ @ApiModelProperty(example = "244", required = true, value = "") - public Integer getCampaignId() { + public Long getCampaignId() { return campaignId; } - public void setCampaignId(Integer campaignId) { + public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } - public CouponRejectionReason couponId(Integer couponId) { + public CouponRejectionReason couponId(Long couponId) { this.couponId = couponId; return this; @@ -144,12 +144,12 @@ public CouponRejectionReason couponId(Integer couponId) { **/ @ApiModelProperty(example = "4928", required = true, value = "") - public Integer getCouponId() { + public Long getCouponId() { return couponId; } - public void setCouponId(Integer couponId) { + public void setCouponId(Long couponId) { this.couponId = couponId; } diff --git a/src/main/java/one/talon/model/CouponsNotificationPolicy.java b/src/main/java/one/talon/model/CouponsNotificationPolicy.java index 37dcbf4f..ded53716 100644 --- a/src/main/java/one/talon/model/CouponsNotificationPolicy.java +++ b/src/main/java/one/talon/model/CouponsNotificationPolicy.java @@ -100,7 +100,7 @@ public ScopesEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_BATCH_SIZE = "batchSize"; @SerializedName(SERIALIZED_NAME_BATCH_SIZE) - private Integer batchSize; + private Long batchSize = 1000l; public CouponsNotificationPolicy name(String name) { @@ -198,7 +198,7 @@ public void setIncludeData(Boolean includeData) { } - public CouponsNotificationPolicy batchSize(Integer batchSize) { + public CouponsNotificationPolicy batchSize(Long batchSize) { this.batchSize = batchSize; return this; @@ -211,12 +211,12 @@ public CouponsNotificationPolicy batchSize(Integer batchSize) { @javax.annotation.Nullable @ApiModelProperty(example = "1000", value = "The required size of each batch of data. This value applies only when `batchingEnabled` is `true`.") - public Integer getBatchSize() { + public Long getBatchSize() { return batchSize; } - public void setBatchSize(Integer batchSize) { + public void setBatchSize(Long batchSize) { this.batchSize = batchSize; } diff --git a/src/main/java/one/talon/model/CreateApplicationAPIKey.java b/src/main/java/one/talon/model/CreateApplicationAPIKey.java index b5869e1c..53413123 100644 --- a/src/main/java/one/talon/model/CreateApplicationAPIKey.java +++ b/src/main/java/one/talon/model/CreateApplicationAPIKey.java @@ -156,7 +156,7 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_TIME_OFFSET = "timeOffset"; @SerializedName(SERIALIZED_NAME_TIME_OFFSET) - private Integer timeOffset; + private Long timeOffset; public CreateApplicationAPIKey title(String title) { @@ -249,7 +249,7 @@ public void setType(TypeEnum type) { } - public CreateApplicationAPIKey timeOffset(Integer timeOffset) { + public CreateApplicationAPIKey timeOffset(Long timeOffset) { this.timeOffset = timeOffset; return this; @@ -262,12 +262,12 @@ public CreateApplicationAPIKey timeOffset(Integer timeOffset) { @javax.annotation.Nullable @ApiModelProperty(example = "100000", value = "A time offset in nanoseconds associated with the API key. When making a request using the API key, rule evaluation is based on a date that is calculated by adding the offset to the current date. ") - public Integer getTimeOffset() { + public Long getTimeOffset() { return timeOffset; } - public void setTimeOffset(Integer timeOffset) { + public void setTimeOffset(Long timeOffset) { this.timeOffset = timeOffset; } diff --git a/src/main/java/one/talon/model/CreateManagementKey.java b/src/main/java/one/talon/model/CreateManagementKey.java index e79ad375..72dbb982 100644 --- a/src/main/java/one/talon/model/CreateManagementKey.java +++ b/src/main/java/one/talon/model/CreateManagementKey.java @@ -47,7 +47,7 @@ public class CreateManagementKey { public static final String SERIALIZED_NAME_ALLOWED_APPLICATION_IDS = "allowedApplicationIds"; @SerializedName(SERIALIZED_NAME_ALLOWED_APPLICATION_IDS) - private List allowedApplicationIds = null; + private List allowedApplicationIds = null; public CreateManagementKey name(String name) { @@ -121,15 +121,15 @@ public void setEndpoints(List endpoints) { } - public CreateManagementKey allowedApplicationIds(List allowedApplicationIds) { + public CreateManagementKey allowedApplicationIds(List allowedApplicationIds) { this.allowedApplicationIds = allowedApplicationIds; return this; } - public CreateManagementKey addAllowedApplicationIdsItem(Integer allowedApplicationIdsItem) { + public CreateManagementKey addAllowedApplicationIdsItem(Long allowedApplicationIdsItem) { if (this.allowedApplicationIds == null) { - this.allowedApplicationIds = new ArrayList(); + this.allowedApplicationIds = new ArrayList(); } this.allowedApplicationIds.add(allowedApplicationIdsItem); return this; @@ -142,12 +142,12 @@ public CreateManagementKey addAllowedApplicationIdsItem(Integer allowedApplicati @javax.annotation.Nullable @ApiModelProperty(example = "[1, 2, 3]", value = "A list of Application IDs that you can access with the management key. An empty or missing list means the management key can be used for all Applications in the account. ") - public List getAllowedApplicationIds() { + public List getAllowedApplicationIds() { return allowedApplicationIds; } - public void setAllowedApplicationIds(List allowedApplicationIds) { + public void setAllowedApplicationIds(List allowedApplicationIds) { this.allowedApplicationIds = allowedApplicationIds; } diff --git a/src/main/java/one/talon/model/CreateTemplateCampaign.java b/src/main/java/one/talon/model/CreateTemplateCampaign.java index 0096fcb3..c656e7aa 100644 --- a/src/main/java/one/talon/model/CreateTemplateCampaign.java +++ b/src/main/java/one/talon/model/CreateTemplateCampaign.java @@ -43,7 +43,7 @@ public class CreateTemplateCampaign { public static final String SERIALIZED_NAME_TEMPLATE_ID = "templateId"; @SerializedName(SERIALIZED_NAME_TEMPLATE_ID) - private Integer templateId; + private Long templateId; public static final String SERIALIZED_NAME_CAMPAIGN_ATTRIBUTES_OVERRIDES = "campaignAttributesOverrides"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ATTRIBUTES_OVERRIDES) @@ -59,7 +59,7 @@ public class CreateTemplateCampaign { public static final String SERIALIZED_NAME_CAMPAIGN_GROUPS = "campaignGroups"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_GROUPS) - private List campaignGroups = null; + private List campaignGroups = null; public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) @@ -67,11 +67,11 @@ public class CreateTemplateCampaign { public static final String SERIALIZED_NAME_EVALUATION_GROUP_ID = "evaluationGroupId"; @SerializedName(SERIALIZED_NAME_EVALUATION_GROUP_ID) - private Integer evaluationGroupId; + private Long evaluationGroupId; public static final String SERIALIZED_NAME_LINKED_STORE_IDS = "linkedStoreIds"; @SerializedName(SERIALIZED_NAME_LINKED_STORE_IDS) - private List linkedStoreIds = null; + private List linkedStoreIds = null; public CreateTemplateCampaign name(String name) { @@ -119,7 +119,7 @@ public void setDescription(String description) { } - public CreateTemplateCampaign templateId(Integer templateId) { + public CreateTemplateCampaign templateId(Long templateId) { this.templateId = templateId; return this; @@ -131,12 +131,12 @@ public CreateTemplateCampaign templateId(Integer templateId) { **/ @ApiModelProperty(example = "4", required = true, value = "The ID of the Campaign Template which will be used in order to create the Campaign.") - public Integer getTemplateId() { + public Long getTemplateId() { return templateId; } - public void setTemplateId(Integer templateId) { + public void setTemplateId(Long templateId) { this.templateId = templateId; } @@ -226,15 +226,15 @@ public void setLimitOverrides(List limitOverrides) { } - public CreateTemplateCampaign campaignGroups(List campaignGroups) { + public CreateTemplateCampaign campaignGroups(List campaignGroups) { this.campaignGroups = campaignGroups; return this; } - public CreateTemplateCampaign addCampaignGroupsItem(Integer campaignGroupsItem) { + public CreateTemplateCampaign addCampaignGroupsItem(Long campaignGroupsItem) { if (this.campaignGroups == null) { - this.campaignGroups = new ArrayList(); + this.campaignGroups = new ArrayList(); } this.campaignGroups.add(campaignGroupsItem); return this; @@ -247,12 +247,12 @@ public CreateTemplateCampaign addCampaignGroupsItem(Integer campaignGroupsItem) @javax.annotation.Nullable @ApiModelProperty(example = "[1, 3]", value = "The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/account-settings/managing-campaign-groups) this campaign belongs to. ") - public List getCampaignGroups() { + public List getCampaignGroups() { return campaignGroups; } - public void setCampaignGroups(List campaignGroups) { + public void setCampaignGroups(List campaignGroups) { this.campaignGroups = campaignGroups; } @@ -288,7 +288,7 @@ public void setTags(List tags) { } - public CreateTemplateCampaign evaluationGroupId(Integer evaluationGroupId) { + public CreateTemplateCampaign evaluationGroupId(Long evaluationGroupId) { this.evaluationGroupId = evaluationGroupId; return this; @@ -301,25 +301,25 @@ public CreateTemplateCampaign evaluationGroupId(Integer evaluationGroupId) { @javax.annotation.Nullable @ApiModelProperty(example = "2", value = "The ID of the campaign evaluation group the campaign belongs to.") - public Integer getEvaluationGroupId() { + public Long getEvaluationGroupId() { return evaluationGroupId; } - public void setEvaluationGroupId(Integer evaluationGroupId) { + public void setEvaluationGroupId(Long evaluationGroupId) { this.evaluationGroupId = evaluationGroupId; } - public CreateTemplateCampaign linkedStoreIds(List linkedStoreIds) { + public CreateTemplateCampaign linkedStoreIds(List linkedStoreIds) { this.linkedStoreIds = linkedStoreIds; return this; } - public CreateTemplateCampaign addLinkedStoreIdsItem(Integer linkedStoreIdsItem) { + public CreateTemplateCampaign addLinkedStoreIdsItem(Long linkedStoreIdsItem) { if (this.linkedStoreIds == null) { - this.linkedStoreIds = new ArrayList(); + this.linkedStoreIds = new ArrayList(); } this.linkedStoreIds.add(linkedStoreIdsItem); return this; @@ -332,12 +332,12 @@ public CreateTemplateCampaign addLinkedStoreIdsItem(Integer linkedStoreIdsItem) @javax.annotation.Nullable @ApiModelProperty(example = "[1, 2, 3]", value = "A list of store IDs that are linked to the campaign. **Note:** Campaigns with linked store IDs will only be evaluated when there is a [customer session update](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) that references a linked store. ") - public List getLinkedStoreIds() { + public List getLinkedStoreIds() { return linkedStoreIds; } - public void setLinkedStoreIds(List linkedStoreIds) { + public void setLinkedStoreIds(List linkedStoreIds) { this.linkedStoreIds = linkedStoreIds; } diff --git a/src/main/java/one/talon/model/CustomEffect.java b/src/main/java/one/talon/model/CustomEffect.java index c125f2ae..6ad94d4e 100644 --- a/src/main/java/one/talon/model/CustomEffect.java +++ b/src/main/java/one/talon/model/CustomEffect.java @@ -35,7 +35,7 @@ public class CustomEffect { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -43,7 +43,7 @@ public class CustomEffect { public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private Integer accountId; + private Long accountId; public static final String SERIALIZED_NAME_MODIFIED = "modified"; @SerializedName(SERIALIZED_NAME_MODIFIED) @@ -51,7 +51,7 @@ public class CustomEffect { public static final String SERIALIZED_NAME_APPLICATION_IDS = "applicationIds"; @SerializedName(SERIALIZED_NAME_APPLICATION_IDS) - private List applicationIds = new ArrayList(); + private List applicationIds = new ArrayList(); public static final String SERIALIZED_NAME_IS_PER_ITEM = "isPerItem"; @SerializedName(SERIALIZED_NAME_IS_PER_ITEM) @@ -83,14 +83,14 @@ public class CustomEffect { public static final String SERIALIZED_NAME_MODIFIED_BY = "modifiedBy"; @SerializedName(SERIALIZED_NAME_MODIFIED_BY) - private Integer modifiedBy; + private Long modifiedBy; public static final String SERIALIZED_NAME_CREATED_BY = "createdBy"; @SerializedName(SERIALIZED_NAME_CREATED_BY) - private Integer createdBy; + private Long createdBy; - public CustomEffect id(Integer id) { + public CustomEffect id(Long id) { this.id = id; return this; @@ -102,12 +102,12 @@ public CustomEffect id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -134,7 +134,7 @@ public void setCreated(OffsetDateTime created) { } - public CustomEffect accountId(Integer accountId) { + public CustomEffect accountId(Long accountId) { this.accountId = accountId; return this; @@ -146,12 +146,12 @@ public CustomEffect accountId(Integer accountId) { **/ @ApiModelProperty(example = "3886", required = true, value = "The ID of the account that owns this entity.") - public Integer getAccountId() { + public Long getAccountId() { return accountId; } - public void setAccountId(Integer accountId) { + public void setAccountId(Long accountId) { this.accountId = accountId; } @@ -178,13 +178,13 @@ public void setModified(OffsetDateTime modified) { } - public CustomEffect applicationIds(List applicationIds) { + public CustomEffect applicationIds(List applicationIds) { this.applicationIds = applicationIds; return this; } - public CustomEffect addApplicationIdsItem(Integer applicationIdsItem) { + public CustomEffect addApplicationIdsItem(Long applicationIdsItem) { this.applicationIds.add(applicationIdsItem); return this; } @@ -195,12 +195,12 @@ public CustomEffect addApplicationIdsItem(Integer applicationIdsItem) { **/ @ApiModelProperty(required = true, value = "The IDs of the Applications that are related to this entity.") - public List getApplicationIds() { + public List getApplicationIds() { return applicationIds; } - public void setApplicationIds(List applicationIds) { + public void setApplicationIds(List applicationIds) { this.applicationIds = applicationIds; } @@ -370,7 +370,7 @@ public void setParams(List params) { } - public CustomEffect modifiedBy(Integer modifiedBy) { + public CustomEffect modifiedBy(Long modifiedBy) { this.modifiedBy = modifiedBy; return this; @@ -383,17 +383,17 @@ public CustomEffect modifiedBy(Integer modifiedBy) { @javax.annotation.Nullable @ApiModelProperty(example = "334", value = "ID of the user who last updated this effect if available.") - public Integer getModifiedBy() { + public Long getModifiedBy() { return modifiedBy; } - public void setModifiedBy(Integer modifiedBy) { + public void setModifiedBy(Long modifiedBy) { this.modifiedBy = modifiedBy; } - public CustomEffect createdBy(Integer createdBy) { + public CustomEffect createdBy(Long createdBy) { this.createdBy = createdBy; return this; @@ -405,12 +405,12 @@ public CustomEffect createdBy(Integer createdBy) { **/ @ApiModelProperty(example = "216", required = true, value = "ID of the user who created this effect.") - public Integer getCreatedBy() { + public Long getCreatedBy() { return createdBy; } - public void setCreatedBy(Integer createdBy) { + public void setCreatedBy(Long createdBy) { this.createdBy = createdBy; } diff --git a/src/main/java/one/talon/model/CustomEffectProps.java b/src/main/java/one/talon/model/CustomEffectProps.java index 6ca12dad..fce4bdaa 100644 --- a/src/main/java/one/talon/model/CustomEffectProps.java +++ b/src/main/java/one/talon/model/CustomEffectProps.java @@ -33,7 +33,7 @@ public class CustomEffectProps { public static final String SERIALIZED_NAME_EFFECT_ID = "effectId"; @SerializedName(SERIALIZED_NAME_EFFECT_ID) - private Integer effectId; + private Long effectId; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -49,7 +49,7 @@ public class CustomEffectProps { public static final String SERIALIZED_NAME_BUNDLE_INDEX = "bundleIndex"; @SerializedName(SERIALIZED_NAME_BUNDLE_INDEX) - private Integer bundleIndex; + private Long bundleIndex; public static final String SERIALIZED_NAME_BUNDLE_NAME = "bundleName"; @SerializedName(SERIALIZED_NAME_BUNDLE_NAME) @@ -60,7 +60,7 @@ public class CustomEffectProps { private Object payload; - public CustomEffectProps effectId(Integer effectId) { + public CustomEffectProps effectId(Long effectId) { this.effectId = effectId; return this; @@ -72,12 +72,12 @@ public CustomEffectProps effectId(Integer effectId) { **/ @ApiModelProperty(example = "1", required = true, value = "The ID of the custom effect that was triggered.") - public Integer getEffectId() { + public Long getEffectId() { return effectId; } - public void setEffectId(Integer effectId) { + public void setEffectId(Long effectId) { this.effectId = effectId; } @@ -150,7 +150,7 @@ public void setCartItemSubPosition(BigDecimal cartItemSubPosition) { } - public CustomEffectProps bundleIndex(Integer bundleIndex) { + public CustomEffectProps bundleIndex(Long bundleIndex) { this.bundleIndex = bundleIndex; return this; @@ -163,12 +163,12 @@ public CustomEffectProps bundleIndex(Integer bundleIndex) { @javax.annotation.Nullable @ApiModelProperty(example = "1", value = "The position of the bundle in a list of item bundles created from the same bundle definition.") - public Integer getBundleIndex() { + public Long getBundleIndex() { return bundleIndex; } - public void setBundleIndex(Integer bundleIndex) { + public void setBundleIndex(Long bundleIndex) { this.bundleIndex = bundleIndex; } diff --git a/src/main/java/one/talon/model/CustomerActivityReport.java b/src/main/java/one/talon/model/CustomerActivityReport.java index ab0297f7..23c95db3 100644 --- a/src/main/java/one/talon/model/CustomerActivityReport.java +++ b/src/main/java/one/talon/model/CustomerActivityReport.java @@ -46,7 +46,7 @@ public class CustomerActivityReport { public static final String SERIALIZED_NAME_CUSTOMER_ID = "customerId"; @SerializedName(SERIALIZED_NAME_CUSTOMER_ID) - private Integer customerId; + private Long customerId; public static final String SERIALIZED_NAME_LAST_ACTIVITY = "lastActivity"; @SerializedName(SERIALIZED_NAME_LAST_ACTIVITY) @@ -54,15 +54,15 @@ public class CustomerActivityReport { public static final String SERIALIZED_NAME_COUPON_REDEMPTIONS = "couponRedemptions"; @SerializedName(SERIALIZED_NAME_COUPON_REDEMPTIONS) - private Integer couponRedemptions; + private Long couponRedemptions; public static final String SERIALIZED_NAME_COUPON_USE_ATTEMPTS = "couponUseAttempts"; @SerializedName(SERIALIZED_NAME_COUPON_USE_ATTEMPTS) - private Integer couponUseAttempts; + private Long couponUseAttempts; public static final String SERIALIZED_NAME_COUPON_FAILED_ATTEMPTS = "couponFailedAttempts"; @SerializedName(SERIALIZED_NAME_COUPON_FAILED_ATTEMPTS) - private Integer couponFailedAttempts; + private Long couponFailedAttempts; public static final String SERIALIZED_NAME_ACCRUED_DISCOUNTS = "accruedDiscounts"; @SerializedName(SERIALIZED_NAME_ACCRUED_DISCOUNTS) @@ -74,11 +74,11 @@ public class CustomerActivityReport { public static final String SERIALIZED_NAME_TOTAL_ORDERS = "totalOrders"; @SerializedName(SERIALIZED_NAME_TOTAL_ORDERS) - private Integer totalOrders; + private Long totalOrders; public static final String SERIALIZED_NAME_TOTAL_ORDERS_NO_COUPON = "totalOrdersNoCoupon"; @SerializedName(SERIALIZED_NAME_TOTAL_ORDERS_NO_COUPON) - private Integer totalOrdersNoCoupon; + private Long totalOrdersNoCoupon; public static final String SERIALIZED_NAME_CAMPAIGN_NAME = "campaignName"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_NAME) @@ -151,7 +151,7 @@ public void setName(String name) { } - public CustomerActivityReport customerId(Integer customerId) { + public CustomerActivityReport customerId(Long customerId) { this.customerId = customerId; return this; @@ -163,12 +163,12 @@ public CustomerActivityReport customerId(Integer customerId) { **/ @ApiModelProperty(required = true, value = "The internal Talon.One ID of the customer.") - public Integer getCustomerId() { + public Long getCustomerId() { return customerId; } - public void setCustomerId(Integer customerId) { + public void setCustomerId(Long customerId) { this.customerId = customerId; } @@ -196,7 +196,7 @@ public void setLastActivity(OffsetDateTime lastActivity) { } - public CustomerActivityReport couponRedemptions(Integer couponRedemptions) { + public CustomerActivityReport couponRedemptions(Long couponRedemptions) { this.couponRedemptions = couponRedemptions; return this; @@ -208,17 +208,17 @@ public CustomerActivityReport couponRedemptions(Integer couponRedemptions) { **/ @ApiModelProperty(required = true, value = "Number of coupon redemptions in all customer campaigns.") - public Integer getCouponRedemptions() { + public Long getCouponRedemptions() { return couponRedemptions; } - public void setCouponRedemptions(Integer couponRedemptions) { + public void setCouponRedemptions(Long couponRedemptions) { this.couponRedemptions = couponRedemptions; } - public CustomerActivityReport couponUseAttempts(Integer couponUseAttempts) { + public CustomerActivityReport couponUseAttempts(Long couponUseAttempts) { this.couponUseAttempts = couponUseAttempts; return this; @@ -230,17 +230,17 @@ public CustomerActivityReport couponUseAttempts(Integer couponUseAttempts) { **/ @ApiModelProperty(required = true, value = "Number of coupon use attempts in all customer campaigns.") - public Integer getCouponUseAttempts() { + public Long getCouponUseAttempts() { return couponUseAttempts; } - public void setCouponUseAttempts(Integer couponUseAttempts) { + public void setCouponUseAttempts(Long couponUseAttempts) { this.couponUseAttempts = couponUseAttempts; } - public CustomerActivityReport couponFailedAttempts(Integer couponFailedAttempts) { + public CustomerActivityReport couponFailedAttempts(Long couponFailedAttempts) { this.couponFailedAttempts = couponFailedAttempts; return this; @@ -252,12 +252,12 @@ public CustomerActivityReport couponFailedAttempts(Integer couponFailedAttempts) **/ @ApiModelProperty(required = true, value = "Number of failed coupon use attempts in all customer campaigns.") - public Integer getCouponFailedAttempts() { + public Long getCouponFailedAttempts() { return couponFailedAttempts; } - public void setCouponFailedAttempts(Integer couponFailedAttempts) { + public void setCouponFailedAttempts(Long couponFailedAttempts) { this.couponFailedAttempts = couponFailedAttempts; } @@ -306,7 +306,7 @@ public void setAccruedRevenue(BigDecimal accruedRevenue) { } - public CustomerActivityReport totalOrders(Integer totalOrders) { + public CustomerActivityReport totalOrders(Long totalOrders) { this.totalOrders = totalOrders; return this; @@ -318,17 +318,17 @@ public CustomerActivityReport totalOrders(Integer totalOrders) { **/ @ApiModelProperty(required = true, value = "Number of orders in all customer campaigns.") - public Integer getTotalOrders() { + public Long getTotalOrders() { return totalOrders; } - public void setTotalOrders(Integer totalOrders) { + public void setTotalOrders(Long totalOrders) { this.totalOrders = totalOrders; } - public CustomerActivityReport totalOrdersNoCoupon(Integer totalOrdersNoCoupon) { + public CustomerActivityReport totalOrdersNoCoupon(Long totalOrdersNoCoupon) { this.totalOrdersNoCoupon = totalOrdersNoCoupon; return this; @@ -340,12 +340,12 @@ public CustomerActivityReport totalOrdersNoCoupon(Integer totalOrdersNoCoupon) { **/ @ApiModelProperty(required = true, value = "Number of orders without coupon used in all customer campaigns.") - public Integer getTotalOrdersNoCoupon() { + public Long getTotalOrdersNoCoupon() { return totalOrdersNoCoupon; } - public void setTotalOrdersNoCoupon(Integer totalOrdersNoCoupon) { + public void setTotalOrdersNoCoupon(Long totalOrdersNoCoupon) { this.totalOrdersNoCoupon = totalOrdersNoCoupon; } diff --git a/src/main/java/one/talon/model/CustomerAnalytics.java b/src/main/java/one/talon/model/CustomerAnalytics.java index 9aa11399..4d745146 100644 --- a/src/main/java/one/talon/model/CustomerAnalytics.java +++ b/src/main/java/one/talon/model/CustomerAnalytics.java @@ -33,23 +33,23 @@ public class CustomerAnalytics { public static final String SERIALIZED_NAME_ACCEPTED_COUPONS = "acceptedCoupons"; @SerializedName(SERIALIZED_NAME_ACCEPTED_COUPONS) - private Integer acceptedCoupons; + private Long acceptedCoupons; public static final String SERIALIZED_NAME_CREATED_COUPONS = "createdCoupons"; @SerializedName(SERIALIZED_NAME_CREATED_COUPONS) - private Integer createdCoupons; + private Long createdCoupons; public static final String SERIALIZED_NAME_FREE_ITEMS = "freeItems"; @SerializedName(SERIALIZED_NAME_FREE_ITEMS) - private Integer freeItems; + private Long freeItems; public static final String SERIALIZED_NAME_TOTAL_ORDERS = "totalOrders"; @SerializedName(SERIALIZED_NAME_TOTAL_ORDERS) - private Integer totalOrders; + private Long totalOrders; public static final String SERIALIZED_NAME_TOTAL_DISCOUNTED_ORDERS = "totalDiscountedOrders"; @SerializedName(SERIALIZED_NAME_TOTAL_DISCOUNTED_ORDERS) - private Integer totalDiscountedOrders; + private Long totalDiscountedOrders; public static final String SERIALIZED_NAME_TOTAL_REVENUE = "totalRevenue"; @SerializedName(SERIALIZED_NAME_TOTAL_REVENUE) @@ -60,7 +60,7 @@ public class CustomerAnalytics { private BigDecimal totalDiscounts; - public CustomerAnalytics acceptedCoupons(Integer acceptedCoupons) { + public CustomerAnalytics acceptedCoupons(Long acceptedCoupons) { this.acceptedCoupons = acceptedCoupons; return this; @@ -72,17 +72,17 @@ public CustomerAnalytics acceptedCoupons(Integer acceptedCoupons) { **/ @ApiModelProperty(required = true, value = "Total accepted coupons for this customer.") - public Integer getAcceptedCoupons() { + public Long getAcceptedCoupons() { return acceptedCoupons; } - public void setAcceptedCoupons(Integer acceptedCoupons) { + public void setAcceptedCoupons(Long acceptedCoupons) { this.acceptedCoupons = acceptedCoupons; } - public CustomerAnalytics createdCoupons(Integer createdCoupons) { + public CustomerAnalytics createdCoupons(Long createdCoupons) { this.createdCoupons = createdCoupons; return this; @@ -94,17 +94,17 @@ public CustomerAnalytics createdCoupons(Integer createdCoupons) { **/ @ApiModelProperty(required = true, value = "Total created coupons for this customer.") - public Integer getCreatedCoupons() { + public Long getCreatedCoupons() { return createdCoupons; } - public void setCreatedCoupons(Integer createdCoupons) { + public void setCreatedCoupons(Long createdCoupons) { this.createdCoupons = createdCoupons; } - public CustomerAnalytics freeItems(Integer freeItems) { + public CustomerAnalytics freeItems(Long freeItems) { this.freeItems = freeItems; return this; @@ -116,17 +116,17 @@ public CustomerAnalytics freeItems(Integer freeItems) { **/ @ApiModelProperty(required = true, value = "Total free items given to this customer.") - public Integer getFreeItems() { + public Long getFreeItems() { return freeItems; } - public void setFreeItems(Integer freeItems) { + public void setFreeItems(Long freeItems) { this.freeItems = freeItems; } - public CustomerAnalytics totalOrders(Integer totalOrders) { + public CustomerAnalytics totalOrders(Long totalOrders) { this.totalOrders = totalOrders; return this; @@ -138,17 +138,17 @@ public CustomerAnalytics totalOrders(Integer totalOrders) { **/ @ApiModelProperty(required = true, value = "Total orders made by this customer.") - public Integer getTotalOrders() { + public Long getTotalOrders() { return totalOrders; } - public void setTotalOrders(Integer totalOrders) { + public void setTotalOrders(Long totalOrders) { this.totalOrders = totalOrders; } - public CustomerAnalytics totalDiscountedOrders(Integer totalDiscountedOrders) { + public CustomerAnalytics totalDiscountedOrders(Long totalDiscountedOrders) { this.totalDiscountedOrders = totalDiscountedOrders; return this; @@ -160,12 +160,12 @@ public CustomerAnalytics totalDiscountedOrders(Integer totalDiscountedOrders) { **/ @ApiModelProperty(required = true, value = "Total orders made by this customer that had a discount.") - public Integer getTotalDiscountedOrders() { + public Long getTotalDiscountedOrders() { return totalDiscountedOrders; } - public void setTotalDiscountedOrders(Integer totalDiscountedOrders) { + public void setTotalDiscountedOrders(Long totalDiscountedOrders) { this.totalDiscountedOrders = totalDiscountedOrders; } diff --git a/src/main/java/one/talon/model/CustomerProfile.java b/src/main/java/one/talon/model/CustomerProfile.java index d76f8daa..c6b3cbe4 100644 --- a/src/main/java/one/talon/model/CustomerProfile.java +++ b/src/main/java/one/talon/model/CustomerProfile.java @@ -37,7 +37,7 @@ public class CustomerProfile { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -53,11 +53,11 @@ public class CustomerProfile { public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private Integer accountId; + private Long accountId; public static final String SERIALIZED_NAME_CLOSED_SESSIONS = "closedSessions"; @SerializedName(SERIALIZED_NAME_CLOSED_SESSIONS) - private Integer closedSessions; + private Long closedSessions; public static final String SERIALIZED_NAME_TOTAL_SALES = "totalSales"; @SerializedName(SERIALIZED_NAME_TOTAL_SALES) @@ -80,7 +80,7 @@ public class CustomerProfile { private Boolean sandbox; - public CustomerProfile id(Integer id) { + public CustomerProfile id(Long id) { this.id = id; return this; @@ -92,12 +92,12 @@ public CustomerProfile id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -168,7 +168,7 @@ public void setAttributes(Object attributes) { } - public CustomerProfile accountId(Integer accountId) { + public CustomerProfile accountId(Long accountId) { this.accountId = accountId; return this; @@ -180,17 +180,17 @@ public CustomerProfile accountId(Integer accountId) { **/ @ApiModelProperty(example = "31", required = true, value = "The ID of the Talon.One account that owns this profile.") - public Integer getAccountId() { + public Long getAccountId() { return accountId; } - public void setAccountId(Integer accountId) { + public void setAccountId(Long accountId) { this.accountId = accountId; } - public CustomerProfile closedSessions(Integer closedSessions) { + public CustomerProfile closedSessions(Long closedSessions) { this.closedSessions = closedSessions; return this; @@ -202,12 +202,12 @@ public CustomerProfile closedSessions(Integer closedSessions) { **/ @ApiModelProperty(example = "3", required = true, value = "The total amount of closed sessions by a customer. A closed session is a successful purchase.") - public Integer getClosedSessions() { + public Long getClosedSessions() { return closedSessions; } - public void setClosedSessions(Integer closedSessions) { + public void setClosedSessions(Long closedSessions) { this.closedSessions = closedSessions; } diff --git a/src/main/java/one/talon/model/CustomerProfileAudienceRequestItem.java b/src/main/java/one/talon/model/CustomerProfileAudienceRequestItem.java index 7db07c3c..3c816f0c 100644 --- a/src/main/java/one/talon/model/CustomerProfileAudienceRequestItem.java +++ b/src/main/java/one/talon/model/CustomerProfileAudienceRequestItem.java @@ -86,7 +86,7 @@ public ActionEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_AUDIENCE_ID = "audienceId"; @SerializedName(SERIALIZED_NAME_AUDIENCE_ID) - private Integer audienceId; + private Long audienceId; public CustomerProfileAudienceRequestItem action(ActionEnum action) { @@ -133,7 +133,7 @@ public void setProfileIntegrationId(String profileIntegrationId) { } - public CustomerProfileAudienceRequestItem audienceId(Integer audienceId) { + public CustomerProfileAudienceRequestItem audienceId(Long audienceId) { this.audienceId = audienceId; return this; @@ -145,12 +145,12 @@ public CustomerProfileAudienceRequestItem audienceId(Integer audienceId) { **/ @ApiModelProperty(example = "748", required = true, value = "The ID of the audience. You get it via the `id` property when [creating an audience](#operation/createAudienceV2).") - public Integer getAudienceId() { + public Long getAudienceId() { return audienceId; } - public void setAudienceId(Integer audienceId) { + public void setAudienceId(Long audienceId) { this.audienceId = audienceId; } diff --git a/src/main/java/one/talon/model/CustomerProfileIntegrationRequestV2.java b/src/main/java/one/talon/model/CustomerProfileIntegrationRequestV2.java index 9856c651..1d61ba85 100644 --- a/src/main/java/one/talon/model/CustomerProfileIntegrationRequestV2.java +++ b/src/main/java/one/talon/model/CustomerProfileIntegrationRequestV2.java @@ -26,25 +26,20 @@ import java.util.ArrayList; import java.util.List; import one.talon.model.ProfileAudiencesChanges; -import one.talon.custom.JsonNullable; -import one.talon.custom.NullableAdapterFactory; /** - * + * The body of a V2 integration API request (customer profile update). Next to the customer profile details, this contains an optional listing of extra properties that should be returned in the response. */ -@ApiModel(description = "") -@JsonAdapter(NullableAdapterFactory.class) +@ApiModel(description = "The body of a V2 integration API request (customer profile update). Next to the customer profile details, this contains an optional listing of extra properties that should be returned in the response.") public class CustomerProfileIntegrationRequestV2 { public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - /*allow Serializing null for this field */ - @JsonNullable private Object attributes; public static final String SERIALIZED_NAME_EVALUABLE_CAMPAIGN_IDS = "evaluableCampaignIds"; @SerializedName(SERIALIZED_NAME_EVALUABLE_CAMPAIGN_IDS) - private List evaluableCampaignIds = null; + private List evaluableCampaignIds = null; public static final String SERIALIZED_NAME_AUDIENCES_CHANGES = "audiencesChanges"; @SerializedName(SERIALIZED_NAME_AUDIENCES_CHANGES) @@ -133,15 +128,15 @@ public void setAttributes(Object attributes) { } - public CustomerProfileIntegrationRequestV2 evaluableCampaignIds(List evaluableCampaignIds) { + public CustomerProfileIntegrationRequestV2 evaluableCampaignIds(List evaluableCampaignIds) { this.evaluableCampaignIds = evaluableCampaignIds; return this; } - public CustomerProfileIntegrationRequestV2 addEvaluableCampaignIdsItem(Integer evaluableCampaignIdsItem) { + public CustomerProfileIntegrationRequestV2 addEvaluableCampaignIdsItem(Long evaluableCampaignIdsItem) { if (this.evaluableCampaignIds == null) { - this.evaluableCampaignIds = new ArrayList(); + this.evaluableCampaignIds = new ArrayList(); } this.evaluableCampaignIds.add(evaluableCampaignIdsItem); return this; @@ -154,12 +149,12 @@ public CustomerProfileIntegrationRequestV2 addEvaluableCampaignIdsItem(Integer e @javax.annotation.Nullable @ApiModelProperty(example = "[10, 12]", value = "When using the `dry` query parameter, use this property to list the campaign to be evaluated by the Rule Engine. These campaigns will be evaluated, even if they are disabled, allowing you to test specific campaigns before activating them. ") - public List getEvaluableCampaignIds() { + public List getEvaluableCampaignIds() { return evaluableCampaignIds; } - public void setEvaluableCampaignIds(List evaluableCampaignIds) { + public void setEvaluableCampaignIds(List evaluableCampaignIds) { this.evaluableCampaignIds = evaluableCampaignIds; } diff --git a/src/main/java/one/talon/model/CustomerProfileSearchQuery.java b/src/main/java/one/talon/model/CustomerProfileSearchQuery.java index a68a18cf..12d60944 100644 --- a/src/main/java/one/talon/model/CustomerProfileSearchQuery.java +++ b/src/main/java/one/talon/model/CustomerProfileSearchQuery.java @@ -41,7 +41,7 @@ public class CustomerProfileSearchQuery { public static final String SERIALIZED_NAME_PROFILE_I_DS = "profileIDs"; @SerializedName(SERIALIZED_NAME_PROFILE_I_DS) - private List profileIDs = null; + private List profileIDs = null; public CustomerProfileSearchQuery attributes(Object attributes) { @@ -98,15 +98,15 @@ public void setIntegrationIDs(List integrationIDs) { } - public CustomerProfileSearchQuery profileIDs(List profileIDs) { + public CustomerProfileSearchQuery profileIDs(List profileIDs) { this.profileIDs = profileIDs; return this; } - public CustomerProfileSearchQuery addProfileIDsItem(Integer profileIDsItem) { + public CustomerProfileSearchQuery addProfileIDsItem(Long profileIDsItem) { if (this.profileIDs == null) { - this.profileIDs = new ArrayList(); + this.profileIDs = new ArrayList(); } this.profileIDs.add(profileIDsItem); return this; @@ -119,12 +119,12 @@ public CustomerProfileSearchQuery addProfileIDsItem(Integer profileIDsItem) { @javax.annotation.Nullable @ApiModelProperty(value = "") - public List getProfileIDs() { + public List getProfileIDs() { return profileIDs; } - public void setProfileIDs(List profileIDs) { + public void setProfileIDs(List profileIDs) { this.profileIDs = profileIDs; } diff --git a/src/main/java/one/talon/model/CustomerSession.java b/src/main/java/one/talon/model/CustomerSession.java index 4167bcd4..6f670204 100644 --- a/src/main/java/one/talon/model/CustomerSession.java +++ b/src/main/java/one/talon/model/CustomerSession.java @@ -46,7 +46,7 @@ public class CustomerSession { public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - private Integer applicationId; + private Long applicationId; public static final String SERIALIZED_NAME_PROFILE_ID = "profileId"; @SerializedName(SERIALIZED_NAME_PROFILE_ID) @@ -188,7 +188,7 @@ public void setCreated(OffsetDateTime created) { } - public CustomerSession applicationId(Integer applicationId) { + public CustomerSession applicationId(Long applicationId) { this.applicationId = applicationId; return this; @@ -200,12 +200,12 @@ public CustomerSession applicationId(Integer applicationId) { **/ @ApiModelProperty(example = "322", required = true, value = "The ID of the Application that owns this entity.") - public Integer getApplicationId() { + public Long getApplicationId() { return applicationId; } - public void setApplicationId(Integer applicationId) { + public void setApplicationId(Long applicationId) { this.applicationId = applicationId; } diff --git a/src/main/java/one/talon/model/CustomerSessionV2.java b/src/main/java/one/talon/model/CustomerSessionV2.java index da6eb135..8e1977aa 100644 --- a/src/main/java/one/talon/model/CustomerSessionV2.java +++ b/src/main/java/one/talon/model/CustomerSessionV2.java @@ -40,7 +40,7 @@ public class CustomerSessionV2 { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -52,7 +52,7 @@ public class CustomerSessionV2 { public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - private Integer applicationId; + private Long applicationId; public static final String SERIALIZED_NAME_PROFILE_ID = "profileId"; @SerializedName(SERIALIZED_NAME_PROFILE_ID) @@ -64,7 +64,7 @@ public class CustomerSessionV2 { public static final String SERIALIZED_NAME_EVALUABLE_CAMPAIGN_IDS = "evaluableCampaignIds"; @SerializedName(SERIALIZED_NAME_EVALUABLE_CAMPAIGN_IDS) - private List evaluableCampaignIds = null; + private List evaluableCampaignIds = null; public static final String SERIALIZED_NAME_COUPON_CODES = "couponCodes"; @SerializedName(SERIALIZED_NAME_COUPON_CODES) @@ -170,7 +170,7 @@ public StateEnum read(final JsonReader jsonReader) throws IOException { private OffsetDateTime updated; - public CustomerSessionV2 id(Integer id) { + public CustomerSessionV2 id(Long id) { this.id = id; return this; @@ -182,12 +182,12 @@ public CustomerSessionV2 id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -236,7 +236,7 @@ public void setIntegrationId(String integrationId) { } - public CustomerSessionV2 applicationId(Integer applicationId) { + public CustomerSessionV2 applicationId(Long applicationId) { this.applicationId = applicationId; return this; @@ -248,12 +248,12 @@ public CustomerSessionV2 applicationId(Integer applicationId) { **/ @ApiModelProperty(example = "322", required = true, value = "The ID of the Application that owns this entity.") - public Integer getApplicationId() { + public Long getApplicationId() { return applicationId; } - public void setApplicationId(Integer applicationId) { + public void setApplicationId(Long applicationId) { this.applicationId = applicationId; } @@ -303,15 +303,15 @@ public void setStoreIntegrationId(String storeIntegrationId) { } - public CustomerSessionV2 evaluableCampaignIds(List evaluableCampaignIds) { + public CustomerSessionV2 evaluableCampaignIds(List evaluableCampaignIds) { this.evaluableCampaignIds = evaluableCampaignIds; return this; } - public CustomerSessionV2 addEvaluableCampaignIdsItem(Integer evaluableCampaignIdsItem) { + public CustomerSessionV2 addEvaluableCampaignIdsItem(Long evaluableCampaignIdsItem) { if (this.evaluableCampaignIds == null) { - this.evaluableCampaignIds = new ArrayList(); + this.evaluableCampaignIds = new ArrayList(); } this.evaluableCampaignIds.add(evaluableCampaignIdsItem); return this; @@ -324,12 +324,12 @@ public CustomerSessionV2 addEvaluableCampaignIdsItem(Integer evaluableCampaignId @javax.annotation.Nullable @ApiModelProperty(example = "[10, 12]", value = "When using the `dry` query parameter, use this property to list the campaign to be evaluated by the Rule Engine. These campaigns will be evaluated, even if they are disabled, allowing you to test specific campaigns before activating them. ") - public List getEvaluableCampaignIds() { + public List getEvaluableCampaignIds() { return evaluableCampaignIds; } - public void setEvaluableCampaignIds(List evaluableCampaignIds) { + public void setEvaluableCampaignIds(List evaluableCampaignIds) { this.evaluableCampaignIds = evaluableCampaignIds; } diff --git a/src/main/java/one/talon/model/DeductLoyaltyPoints.java b/src/main/java/one/talon/model/DeductLoyaltyPoints.java index 9accf9a7..c8cafc39 100644 --- a/src/main/java/one/talon/model/DeductLoyaltyPoints.java +++ b/src/main/java/one/talon/model/DeductLoyaltyPoints.java @@ -45,7 +45,7 @@ public class DeductLoyaltyPoints { public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - private Integer applicationId; + private Long applicationId; public DeductLoyaltyPoints points(BigDecimal points) { @@ -118,7 +118,7 @@ public void setSubledgerId(String subledgerId) { } - public DeductLoyaltyPoints applicationId(Integer applicationId) { + public DeductLoyaltyPoints applicationId(Long applicationId) { this.applicationId = applicationId; return this; @@ -131,12 +131,12 @@ public DeductLoyaltyPoints applicationId(Integer applicationId) { @javax.annotation.Nullable @ApiModelProperty(example = "322", value = "ID of the Application that is connected to the loyalty program.") - public Integer getApplicationId() { + public Long getApplicationId() { return applicationId; } - public void setApplicationId(Integer applicationId) { + public void setApplicationId(Long applicationId) { this.applicationId = applicationId; } diff --git a/src/main/java/one/talon/model/DeductLoyaltyPointsEffectProps.java b/src/main/java/one/talon/model/DeductLoyaltyPointsEffectProps.java index a8611258..69a889fa 100644 --- a/src/main/java/one/talon/model/DeductLoyaltyPointsEffectProps.java +++ b/src/main/java/one/talon/model/DeductLoyaltyPointsEffectProps.java @@ -37,7 +37,7 @@ public class DeductLoyaltyPointsEffectProps { public static final String SERIALIZED_NAME_PROGRAM_ID = "programId"; @SerializedName(SERIALIZED_NAME_PROGRAM_ID) - private Integer programId; + private Long programId; public static final String SERIALIZED_NAME_SUB_LEDGER_ID = "subLedgerId"; @SerializedName(SERIALIZED_NAME_SUB_LEDGER_ID) @@ -82,7 +82,7 @@ public void setRuleTitle(String ruleTitle) { } - public DeductLoyaltyPointsEffectProps programId(Integer programId) { + public DeductLoyaltyPointsEffectProps programId(Long programId) { this.programId = programId; return this; @@ -94,12 +94,12 @@ public DeductLoyaltyPointsEffectProps programId(Integer programId) { **/ @ApiModelProperty(required = true, value = "The ID of the loyalty program where these points were added.") - public Integer getProgramId() { + public Long getProgramId() { return programId; } - public void setProgramId(Integer programId) { + public void setProgramId(Long programId) { this.programId = programId; } diff --git a/src/main/java/one/talon/model/Effect.java b/src/main/java/one/talon/model/Effect.java index 00b1a918..ed575dcc 100644 --- a/src/main/java/one/talon/model/Effect.java +++ b/src/main/java/one/talon/model/Effect.java @@ -32,15 +32,15 @@ public class Effect { public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) - private Integer campaignId; + private Long campaignId; public static final String SERIALIZED_NAME_RULESET_ID = "rulesetId"; @SerializedName(SERIALIZED_NAME_RULESET_ID) - private Integer rulesetId; + private Long rulesetId; public static final String SERIALIZED_NAME_RULE_INDEX = "ruleIndex"; @SerializedName(SERIALIZED_NAME_RULE_INDEX) - private Integer ruleIndex; + private Long ruleIndex; public static final String SERIALIZED_NAME_RULE_NAME = "ruleName"; @SerializedName(SERIALIZED_NAME_RULE_NAME) @@ -52,19 +52,19 @@ public class Effect { public static final String SERIALIZED_NAME_TRIGGERED_BY_COUPON = "triggeredByCoupon"; @SerializedName(SERIALIZED_NAME_TRIGGERED_BY_COUPON) - private Integer triggeredByCoupon; + private Long triggeredByCoupon; public static final String SERIALIZED_NAME_TRIGGERED_FOR_CATALOG_ITEM = "triggeredForCatalogItem"; @SerializedName(SERIALIZED_NAME_TRIGGERED_FOR_CATALOG_ITEM) - private Integer triggeredForCatalogItem; + private Long triggeredForCatalogItem; public static final String SERIALIZED_NAME_CONDITION_INDEX = "conditionIndex"; @SerializedName(SERIALIZED_NAME_CONDITION_INDEX) - private Integer conditionIndex; + private Long conditionIndex; public static final String SERIALIZED_NAME_EVALUATION_GROUP_I_D = "evaluationGroupID"; @SerializedName(SERIALIZED_NAME_EVALUATION_GROUP_I_D) - private Integer evaluationGroupID; + private Long evaluationGroupID; public static final String SERIALIZED_NAME_EVALUATION_GROUP_MODE = "evaluationGroupMode"; @SerializedName(SERIALIZED_NAME_EVALUATION_GROUP_MODE) @@ -72,18 +72,18 @@ public class Effect { public static final String SERIALIZED_NAME_CAMPAIGN_REVISION_ID = "campaignRevisionId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_REVISION_ID) - private Integer campaignRevisionId; + private Long campaignRevisionId; public static final String SERIALIZED_NAME_CAMPAIGN_REVISION_VERSION_ID = "campaignRevisionVersionId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_REVISION_VERSION_ID) - private Integer campaignRevisionVersionId; + private Long campaignRevisionVersionId; public static final String SERIALIZED_NAME_PROPS = "props"; @SerializedName(SERIALIZED_NAME_PROPS) private Object props; - public Effect campaignId(Integer campaignId) { + public Effect campaignId(Long campaignId) { this.campaignId = campaignId; return this; @@ -95,17 +95,17 @@ public Effect campaignId(Integer campaignId) { **/ @ApiModelProperty(example = "244", required = true, value = "The ID of the campaign that triggered this effect.") - public Integer getCampaignId() { + public Long getCampaignId() { return campaignId; } - public void setCampaignId(Integer campaignId) { + public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } - public Effect rulesetId(Integer rulesetId) { + public Effect rulesetId(Long rulesetId) { this.rulesetId = rulesetId; return this; @@ -117,17 +117,17 @@ public Effect rulesetId(Integer rulesetId) { **/ @ApiModelProperty(example = "73", required = true, value = "The ID of the ruleset that was active in the campaign when this effect was triggered.") - public Integer getRulesetId() { + public Long getRulesetId() { return rulesetId; } - public void setRulesetId(Integer rulesetId) { + public void setRulesetId(Long rulesetId) { this.rulesetId = rulesetId; } - public Effect ruleIndex(Integer ruleIndex) { + public Effect ruleIndex(Long ruleIndex) { this.ruleIndex = ruleIndex; return this; @@ -139,12 +139,12 @@ public Effect ruleIndex(Integer ruleIndex) { **/ @ApiModelProperty(example = "2", required = true, value = "The position of the rule that triggered this effect within the ruleset.") - public Integer getRuleIndex() { + public Long getRuleIndex() { return ruleIndex; } - public void setRuleIndex(Integer ruleIndex) { + public void setRuleIndex(Long ruleIndex) { this.ruleIndex = ruleIndex; } @@ -193,7 +193,7 @@ public void setEffectType(String effectType) { } - public Effect triggeredByCoupon(Integer triggeredByCoupon) { + public Effect triggeredByCoupon(Long triggeredByCoupon) { this.triggeredByCoupon = triggeredByCoupon; return this; @@ -206,17 +206,17 @@ public Effect triggeredByCoupon(Integer triggeredByCoupon) { @javax.annotation.Nullable @ApiModelProperty(example = "4928", value = "The ID of the coupon that was being evaluated when this effect was triggered.") - public Integer getTriggeredByCoupon() { + public Long getTriggeredByCoupon() { return triggeredByCoupon; } - public void setTriggeredByCoupon(Integer triggeredByCoupon) { + public void setTriggeredByCoupon(Long triggeredByCoupon) { this.triggeredByCoupon = triggeredByCoupon; } - public Effect triggeredForCatalogItem(Integer triggeredForCatalogItem) { + public Effect triggeredForCatalogItem(Long triggeredForCatalogItem) { this.triggeredForCatalogItem = triggeredForCatalogItem; return this; @@ -229,17 +229,17 @@ public Effect triggeredForCatalogItem(Integer triggeredForCatalogItem) { @javax.annotation.Nullable @ApiModelProperty(example = "786", value = "The ID of the catalog item that was being evaluated when this effect was triggered.") - public Integer getTriggeredForCatalogItem() { + public Long getTriggeredForCatalogItem() { return triggeredForCatalogItem; } - public void setTriggeredForCatalogItem(Integer triggeredForCatalogItem) { + public void setTriggeredForCatalogItem(Long triggeredForCatalogItem) { this.triggeredForCatalogItem = triggeredForCatalogItem; } - public Effect conditionIndex(Integer conditionIndex) { + public Effect conditionIndex(Long conditionIndex) { this.conditionIndex = conditionIndex; return this; @@ -252,17 +252,17 @@ public Effect conditionIndex(Integer conditionIndex) { @javax.annotation.Nullable @ApiModelProperty(example = "786", value = "The index of the condition that was triggered.") - public Integer getConditionIndex() { + public Long getConditionIndex() { return conditionIndex; } - public void setConditionIndex(Integer conditionIndex) { + public void setConditionIndex(Long conditionIndex) { this.conditionIndex = conditionIndex; } - public Effect evaluationGroupID(Integer evaluationGroupID) { + public Effect evaluationGroupID(Long evaluationGroupID) { this.evaluationGroupID = evaluationGroupID; return this; @@ -275,12 +275,12 @@ public Effect evaluationGroupID(Integer evaluationGroupID) { @javax.annotation.Nullable @ApiModelProperty(example = "3", value = "The ID of the evaluation group. For more information, see [Managing campaign evaluation](https://docs.talon.one/docs/product/applications/managing-campaign-evaluation).") - public Integer getEvaluationGroupID() { + public Long getEvaluationGroupID() { return evaluationGroupID; } - public void setEvaluationGroupID(Integer evaluationGroupID) { + public void setEvaluationGroupID(Long evaluationGroupID) { this.evaluationGroupID = evaluationGroupID; } @@ -308,7 +308,7 @@ public void setEvaluationGroupMode(String evaluationGroupMode) { } - public Effect campaignRevisionId(Integer campaignRevisionId) { + public Effect campaignRevisionId(Long campaignRevisionId) { this.campaignRevisionId = campaignRevisionId; return this; @@ -321,17 +321,17 @@ public Effect campaignRevisionId(Integer campaignRevisionId) { @javax.annotation.Nullable @ApiModelProperty(example = "1", value = "The revision ID of the campaign that was used when triggering the effect.") - public Integer getCampaignRevisionId() { + public Long getCampaignRevisionId() { return campaignRevisionId; } - public void setCampaignRevisionId(Integer campaignRevisionId) { + public void setCampaignRevisionId(Long campaignRevisionId) { this.campaignRevisionId = campaignRevisionId; } - public Effect campaignRevisionVersionId(Integer campaignRevisionVersionId) { + public Effect campaignRevisionVersionId(Long campaignRevisionVersionId) { this.campaignRevisionVersionId = campaignRevisionVersionId; return this; @@ -344,12 +344,12 @@ public Effect campaignRevisionVersionId(Integer campaignRevisionVersionId) { @javax.annotation.Nullable @ApiModelProperty(example = "5", value = "The revision version ID of the campaign that was used when triggering the effect.") - public Integer getCampaignRevisionVersionId() { + public Long getCampaignRevisionVersionId() { return campaignRevisionVersionId; } - public void setCampaignRevisionVersionId(Integer campaignRevisionVersionId) { + public void setCampaignRevisionVersionId(Long campaignRevisionVersionId) { this.campaignRevisionVersionId = campaignRevisionVersionId; } diff --git a/src/main/java/one/talon/model/EffectEntity.java b/src/main/java/one/talon/model/EffectEntity.java index 59f569e7..abd00dba 100644 --- a/src/main/java/one/talon/model/EffectEntity.java +++ b/src/main/java/one/talon/model/EffectEntity.java @@ -32,15 +32,15 @@ public class EffectEntity { public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) - private Integer campaignId; + private Long campaignId; public static final String SERIALIZED_NAME_RULESET_ID = "rulesetId"; @SerializedName(SERIALIZED_NAME_RULESET_ID) - private Integer rulesetId; + private Long rulesetId; public static final String SERIALIZED_NAME_RULE_INDEX = "ruleIndex"; @SerializedName(SERIALIZED_NAME_RULE_INDEX) - private Integer ruleIndex; + private Long ruleIndex; public static final String SERIALIZED_NAME_RULE_NAME = "ruleName"; @SerializedName(SERIALIZED_NAME_RULE_NAME) @@ -52,19 +52,19 @@ public class EffectEntity { public static final String SERIALIZED_NAME_TRIGGERED_BY_COUPON = "triggeredByCoupon"; @SerializedName(SERIALIZED_NAME_TRIGGERED_BY_COUPON) - private Integer triggeredByCoupon; + private Long triggeredByCoupon; public static final String SERIALIZED_NAME_TRIGGERED_FOR_CATALOG_ITEM = "triggeredForCatalogItem"; @SerializedName(SERIALIZED_NAME_TRIGGERED_FOR_CATALOG_ITEM) - private Integer triggeredForCatalogItem; + private Long triggeredForCatalogItem; public static final String SERIALIZED_NAME_CONDITION_INDEX = "conditionIndex"; @SerializedName(SERIALIZED_NAME_CONDITION_INDEX) - private Integer conditionIndex; + private Long conditionIndex; public static final String SERIALIZED_NAME_EVALUATION_GROUP_I_D = "evaluationGroupID"; @SerializedName(SERIALIZED_NAME_EVALUATION_GROUP_I_D) - private Integer evaluationGroupID; + private Long evaluationGroupID; public static final String SERIALIZED_NAME_EVALUATION_GROUP_MODE = "evaluationGroupMode"; @SerializedName(SERIALIZED_NAME_EVALUATION_GROUP_MODE) @@ -72,14 +72,14 @@ public class EffectEntity { public static final String SERIALIZED_NAME_CAMPAIGN_REVISION_ID = "campaignRevisionId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_REVISION_ID) - private Integer campaignRevisionId; + private Long campaignRevisionId; public static final String SERIALIZED_NAME_CAMPAIGN_REVISION_VERSION_ID = "campaignRevisionVersionId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_REVISION_VERSION_ID) - private Integer campaignRevisionVersionId; + private Long campaignRevisionVersionId; - public EffectEntity campaignId(Integer campaignId) { + public EffectEntity campaignId(Long campaignId) { this.campaignId = campaignId; return this; @@ -91,17 +91,17 @@ public EffectEntity campaignId(Integer campaignId) { **/ @ApiModelProperty(example = "244", required = true, value = "The ID of the campaign that triggered this effect.") - public Integer getCampaignId() { + public Long getCampaignId() { return campaignId; } - public void setCampaignId(Integer campaignId) { + public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } - public EffectEntity rulesetId(Integer rulesetId) { + public EffectEntity rulesetId(Long rulesetId) { this.rulesetId = rulesetId; return this; @@ -113,17 +113,17 @@ public EffectEntity rulesetId(Integer rulesetId) { **/ @ApiModelProperty(example = "73", required = true, value = "The ID of the ruleset that was active in the campaign when this effect was triggered.") - public Integer getRulesetId() { + public Long getRulesetId() { return rulesetId; } - public void setRulesetId(Integer rulesetId) { + public void setRulesetId(Long rulesetId) { this.rulesetId = rulesetId; } - public EffectEntity ruleIndex(Integer ruleIndex) { + public EffectEntity ruleIndex(Long ruleIndex) { this.ruleIndex = ruleIndex; return this; @@ -135,12 +135,12 @@ public EffectEntity ruleIndex(Integer ruleIndex) { **/ @ApiModelProperty(example = "2", required = true, value = "The position of the rule that triggered this effect within the ruleset.") - public Integer getRuleIndex() { + public Long getRuleIndex() { return ruleIndex; } - public void setRuleIndex(Integer ruleIndex) { + public void setRuleIndex(Long ruleIndex) { this.ruleIndex = ruleIndex; } @@ -189,7 +189,7 @@ public void setEffectType(String effectType) { } - public EffectEntity triggeredByCoupon(Integer triggeredByCoupon) { + public EffectEntity triggeredByCoupon(Long triggeredByCoupon) { this.triggeredByCoupon = triggeredByCoupon; return this; @@ -202,17 +202,17 @@ public EffectEntity triggeredByCoupon(Integer triggeredByCoupon) { @javax.annotation.Nullable @ApiModelProperty(example = "4928", value = "The ID of the coupon that was being evaluated when this effect was triggered.") - public Integer getTriggeredByCoupon() { + public Long getTriggeredByCoupon() { return triggeredByCoupon; } - public void setTriggeredByCoupon(Integer triggeredByCoupon) { + public void setTriggeredByCoupon(Long triggeredByCoupon) { this.triggeredByCoupon = triggeredByCoupon; } - public EffectEntity triggeredForCatalogItem(Integer triggeredForCatalogItem) { + public EffectEntity triggeredForCatalogItem(Long triggeredForCatalogItem) { this.triggeredForCatalogItem = triggeredForCatalogItem; return this; @@ -225,17 +225,17 @@ public EffectEntity triggeredForCatalogItem(Integer triggeredForCatalogItem) { @javax.annotation.Nullable @ApiModelProperty(example = "786", value = "The ID of the catalog item that was being evaluated when this effect was triggered.") - public Integer getTriggeredForCatalogItem() { + public Long getTriggeredForCatalogItem() { return triggeredForCatalogItem; } - public void setTriggeredForCatalogItem(Integer triggeredForCatalogItem) { + public void setTriggeredForCatalogItem(Long triggeredForCatalogItem) { this.triggeredForCatalogItem = triggeredForCatalogItem; } - public EffectEntity conditionIndex(Integer conditionIndex) { + public EffectEntity conditionIndex(Long conditionIndex) { this.conditionIndex = conditionIndex; return this; @@ -248,17 +248,17 @@ public EffectEntity conditionIndex(Integer conditionIndex) { @javax.annotation.Nullable @ApiModelProperty(example = "786", value = "The index of the condition that was triggered.") - public Integer getConditionIndex() { + public Long getConditionIndex() { return conditionIndex; } - public void setConditionIndex(Integer conditionIndex) { + public void setConditionIndex(Long conditionIndex) { this.conditionIndex = conditionIndex; } - public EffectEntity evaluationGroupID(Integer evaluationGroupID) { + public EffectEntity evaluationGroupID(Long evaluationGroupID) { this.evaluationGroupID = evaluationGroupID; return this; @@ -271,12 +271,12 @@ public EffectEntity evaluationGroupID(Integer evaluationGroupID) { @javax.annotation.Nullable @ApiModelProperty(example = "3", value = "The ID of the evaluation group. For more information, see [Managing campaign evaluation](https://docs.talon.one/docs/product/applications/managing-campaign-evaluation).") - public Integer getEvaluationGroupID() { + public Long getEvaluationGroupID() { return evaluationGroupID; } - public void setEvaluationGroupID(Integer evaluationGroupID) { + public void setEvaluationGroupID(Long evaluationGroupID) { this.evaluationGroupID = evaluationGroupID; } @@ -304,7 +304,7 @@ public void setEvaluationGroupMode(String evaluationGroupMode) { } - public EffectEntity campaignRevisionId(Integer campaignRevisionId) { + public EffectEntity campaignRevisionId(Long campaignRevisionId) { this.campaignRevisionId = campaignRevisionId; return this; @@ -317,17 +317,17 @@ public EffectEntity campaignRevisionId(Integer campaignRevisionId) { @javax.annotation.Nullable @ApiModelProperty(example = "1", value = "The revision ID of the campaign that was used when triggering the effect.") - public Integer getCampaignRevisionId() { + public Long getCampaignRevisionId() { return campaignRevisionId; } - public void setCampaignRevisionId(Integer campaignRevisionId) { + public void setCampaignRevisionId(Long campaignRevisionId) { this.campaignRevisionId = campaignRevisionId; } - public EffectEntity campaignRevisionVersionId(Integer campaignRevisionVersionId) { + public EffectEntity campaignRevisionVersionId(Long campaignRevisionVersionId) { this.campaignRevisionVersionId = campaignRevisionVersionId; return this; @@ -340,12 +340,12 @@ public EffectEntity campaignRevisionVersionId(Integer campaignRevisionVersionId) @javax.annotation.Nullable @ApiModelProperty(example = "5", value = "The revision version ID of the campaign that was used when triggering the effect.") - public Integer getCampaignRevisionVersionId() { + public Long getCampaignRevisionVersionId() { return campaignRevisionVersionId; } - public void setCampaignRevisionVersionId(Integer campaignRevisionVersionId) { + public void setCampaignRevisionVersionId(Long campaignRevisionVersionId) { this.campaignRevisionVersionId = campaignRevisionVersionId; } diff --git a/src/main/java/one/talon/model/Entity.java b/src/main/java/one/talon/model/Entity.java index 18b92c88..09a0159d 100644 --- a/src/main/java/one/talon/model/Entity.java +++ b/src/main/java/one/talon/model/Entity.java @@ -32,14 +32,14 @@ public class Entity { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) private OffsetDateTime created; - public Entity id(Integer id) { + public Entity id(Long id) { this.id = id; return this; @@ -51,12 +51,12 @@ public Entity id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } diff --git a/src/main/java/one/talon/model/EntityWithTalangVisibleID.java b/src/main/java/one/talon/model/EntityWithTalangVisibleID.java index 29695353..11b013a4 100644 --- a/src/main/java/one/talon/model/EntityWithTalangVisibleID.java +++ b/src/main/java/one/talon/model/EntityWithTalangVisibleID.java @@ -32,14 +32,14 @@ public class EntityWithTalangVisibleID { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) private OffsetDateTime created; - public EntityWithTalangVisibleID id(Integer id) { + public EntityWithTalangVisibleID id(Long id) { this.id = id; return this; @@ -51,12 +51,12 @@ public EntityWithTalangVisibleID id(Integer id) { **/ @ApiModelProperty(example = "4", required = true, value = "Unique ID for this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } diff --git a/src/main/java/one/talon/model/Environment.java b/src/main/java/one/talon/model/Environment.java index e1d534f2..a47ee94f 100644 --- a/src/main/java/one/talon/model/Environment.java +++ b/src/main/java/one/talon/model/Environment.java @@ -45,7 +45,7 @@ public class Environment { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -53,7 +53,7 @@ public class Environment { public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - private Integer applicationId; + private Long applicationId; public static final String SERIALIZED_NAME_SLOTS = "slots"; @SerializedName(SERIALIZED_NAME_SLOTS) @@ -104,7 +104,7 @@ public class Environment { private List applicationCartItemFilters = null; - public Environment id(Integer id) { + public Environment id(Long id) { this.id = id; return this; @@ -116,12 +116,12 @@ public Environment id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -148,7 +148,7 @@ public void setCreated(OffsetDateTime created) { } - public Environment applicationId(Integer applicationId) { + public Environment applicationId(Long applicationId) { this.applicationId = applicationId; return this; @@ -160,12 +160,12 @@ public Environment applicationId(Integer applicationId) { **/ @ApiModelProperty(example = "322", required = true, value = "The ID of the Application that owns this entity.") - public Integer getApplicationId() { + public Long getApplicationId() { return applicationId; } - public void setApplicationId(Integer applicationId) { + public void setApplicationId(Long applicationId) { this.applicationId = applicationId; } diff --git a/src/main/java/one/talon/model/ErrorResponseWithStatus.java b/src/main/java/one/talon/model/ErrorResponseWithStatus.java index c8dadbf9..34f82ab2 100644 --- a/src/main/java/one/talon/model/ErrorResponseWithStatus.java +++ b/src/main/java/one/talon/model/ErrorResponseWithStatus.java @@ -42,7 +42,7 @@ public class ErrorResponseWithStatus { public static final String SERIALIZED_NAME_STATUS_CODE = "StatusCode"; @SerializedName(SERIALIZED_NAME_STATUS_CODE) - private Integer statusCode; + private Long statusCode; public ErrorResponseWithStatus message(String message) { @@ -99,7 +99,7 @@ public void setErrors(List errors) { } - public ErrorResponseWithStatus statusCode(Integer statusCode) { + public ErrorResponseWithStatus statusCode(Long statusCode) { this.statusCode = statusCode; return this; @@ -112,12 +112,12 @@ public ErrorResponseWithStatus statusCode(Integer statusCode) { @javax.annotation.Nullable @ApiModelProperty(value = "The error code") - public Integer getStatusCode() { + public Long getStatusCode() { return statusCode; } - public void setStatusCode(Integer statusCode) { + public void setStatusCode(Long statusCode) { this.statusCode = statusCode; } diff --git a/src/main/java/one/talon/model/EvaluableCampaignIds.java b/src/main/java/one/talon/model/EvaluableCampaignIds.java index 9db37558..80ac2c7a 100644 --- a/src/main/java/one/talon/model/EvaluableCampaignIds.java +++ b/src/main/java/one/talon/model/EvaluableCampaignIds.java @@ -33,18 +33,18 @@ public class EvaluableCampaignIds { public static final String SERIALIZED_NAME_EVALUABLE_CAMPAIGN_IDS = "evaluableCampaignIds"; @SerializedName(SERIALIZED_NAME_EVALUABLE_CAMPAIGN_IDS) - private List evaluableCampaignIds = null; + private List evaluableCampaignIds = null; - public EvaluableCampaignIds evaluableCampaignIds(List evaluableCampaignIds) { + public EvaluableCampaignIds evaluableCampaignIds(List evaluableCampaignIds) { this.evaluableCampaignIds = evaluableCampaignIds; return this; } - public EvaluableCampaignIds addEvaluableCampaignIdsItem(Integer evaluableCampaignIdsItem) { + public EvaluableCampaignIds addEvaluableCampaignIdsItem(Long evaluableCampaignIdsItem) { if (this.evaluableCampaignIds == null) { - this.evaluableCampaignIds = new ArrayList(); + this.evaluableCampaignIds = new ArrayList(); } this.evaluableCampaignIds.add(evaluableCampaignIdsItem); return this; @@ -57,12 +57,12 @@ public EvaluableCampaignIds addEvaluableCampaignIdsItem(Integer evaluableCampaig @javax.annotation.Nullable @ApiModelProperty(example = "[10, 12]", value = "When using the `dry` query parameter, use this property to list the campaign to be evaluated by the Rule Engine. These campaigns will be evaluated, even if they are disabled, allowing you to test specific campaigns before activating them. ") - public List getEvaluableCampaignIds() { + public List getEvaluableCampaignIds() { return evaluableCampaignIds; } - public void setEvaluableCampaignIds(List evaluableCampaignIds) { + public void setEvaluableCampaignIds(List evaluableCampaignIds) { this.evaluableCampaignIds = evaluableCampaignIds; } diff --git a/src/main/java/one/talon/model/Event.java b/src/main/java/one/talon/model/Event.java index 9e426c2a..2415112a 100644 --- a/src/main/java/one/talon/model/Event.java +++ b/src/main/java/one/talon/model/Event.java @@ -36,7 +36,7 @@ public class Event { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -44,7 +44,7 @@ public class Event { public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - private Integer applicationId; + private Long applicationId; public static final String SERIALIZED_NAME_PROFILE_ID = "profileId"; @SerializedName(SERIALIZED_NAME_PROFILE_ID) @@ -79,7 +79,7 @@ public class Event { private Meta meta; - public Event id(Integer id) { + public Event id(Long id) { this.id = id; return this; @@ -91,12 +91,12 @@ public Event id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -123,7 +123,7 @@ public void setCreated(OffsetDateTime created) { } - public Event applicationId(Integer applicationId) { + public Event applicationId(Long applicationId) { this.applicationId = applicationId; return this; @@ -135,12 +135,12 @@ public Event applicationId(Integer applicationId) { **/ @ApiModelProperty(example = "322", required = true, value = "The ID of the Application that owns this entity.") - public Integer getApplicationId() { + public Long getApplicationId() { return applicationId; } - public void setApplicationId(Integer applicationId) { + public void setApplicationId(Long applicationId) { this.applicationId = applicationId; } diff --git a/src/main/java/one/talon/model/EventType.java b/src/main/java/one/talon/model/EventType.java index 819c73b7..6b4fd55b 100644 --- a/src/main/java/one/talon/model/EventType.java +++ b/src/main/java/one/talon/model/EventType.java @@ -32,7 +32,7 @@ public class EventType { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -51,7 +51,7 @@ public class EventType { private String description; - public EventType id(Integer id) { + public EventType id(Long id) { this.id = id; return this; @@ -63,12 +63,12 @@ public EventType id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } diff --git a/src/main/java/one/talon/model/EventV2.java b/src/main/java/one/talon/model/EventV2.java index f4659912..0eae2cad 100644 --- a/src/main/java/one/talon/model/EventV2.java +++ b/src/main/java/one/talon/model/EventV2.java @@ -41,7 +41,7 @@ public class EventV2 { public static final String SERIALIZED_NAME_EVALUABLE_CAMPAIGN_IDS = "evaluableCampaignIds"; @SerializedName(SERIALIZED_NAME_EVALUABLE_CAMPAIGN_IDS) - private List evaluableCampaignIds = null; + private List evaluableCampaignIds = null; public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) @@ -98,15 +98,15 @@ public void setStoreIntegrationId(String storeIntegrationId) { } - public EventV2 evaluableCampaignIds(List evaluableCampaignIds) { + public EventV2 evaluableCampaignIds(List evaluableCampaignIds) { this.evaluableCampaignIds = evaluableCampaignIds; return this; } - public EventV2 addEvaluableCampaignIdsItem(Integer evaluableCampaignIdsItem) { + public EventV2 addEvaluableCampaignIdsItem(Long evaluableCampaignIdsItem) { if (this.evaluableCampaignIds == null) { - this.evaluableCampaignIds = new ArrayList(); + this.evaluableCampaignIds = new ArrayList(); } this.evaluableCampaignIds.add(evaluableCampaignIdsItem); return this; @@ -119,12 +119,12 @@ public EventV2 addEvaluableCampaignIdsItem(Integer evaluableCampaignIdsItem) { @javax.annotation.Nullable @ApiModelProperty(example = "[10, 12]", value = "When using the `dry` query parameter, use this property to list the campaign to be evaluated by the Rule Engine. These campaigns will be evaluated, even if they are disabled, allowing you to test specific campaigns before activating them. ") - public List getEvaluableCampaignIds() { + public List getEvaluableCampaignIds() { return evaluableCampaignIds; } - public void setEvaluableCampaignIds(List evaluableCampaignIds) { + public void setEvaluableCampaignIds(List evaluableCampaignIds) { this.evaluableCampaignIds = evaluableCampaignIds; } diff --git a/src/main/java/one/talon/model/ExpiringCouponsNotificationPolicy.java b/src/main/java/one/talon/model/ExpiringCouponsNotificationPolicy.java index 5274282e..c1016cc9 100644 --- a/src/main/java/one/talon/model/ExpiringCouponsNotificationPolicy.java +++ b/src/main/java/one/talon/model/ExpiringCouponsNotificationPolicy.java @@ -46,7 +46,7 @@ public class ExpiringCouponsNotificationPolicy { public static final String SERIALIZED_NAME_BATCH_SIZE = "batchSize"; @SerializedName(SERIALIZED_NAME_BATCH_SIZE) - private Integer batchSize; + private Long batchSize = 1000l; public ExpiringCouponsNotificationPolicy name(String name) { @@ -121,7 +121,7 @@ public void setBatchingEnabled(Boolean batchingEnabled) { } - public ExpiringCouponsNotificationPolicy batchSize(Integer batchSize) { + public ExpiringCouponsNotificationPolicy batchSize(Long batchSize) { this.batchSize = batchSize; return this; @@ -134,12 +134,12 @@ public ExpiringCouponsNotificationPolicy batchSize(Integer batchSize) { @javax.annotation.Nullable @ApiModelProperty(example = "1000", value = "The required size of each batch of data. This value applies only when `batchingEnabled` is `true`.") - public Integer getBatchSize() { + public Long getBatchSize() { return batchSize; } - public void setBatchSize(Integer batchSize) { + public void setBatchSize(Long batchSize) { this.batchSize = batchSize; } diff --git a/src/main/java/one/talon/model/ExpiringCouponsNotificationTrigger.java b/src/main/java/one/talon/model/ExpiringCouponsNotificationTrigger.java index 71c0651c..078e55e5 100644 --- a/src/main/java/one/talon/model/ExpiringCouponsNotificationTrigger.java +++ b/src/main/java/one/talon/model/ExpiringCouponsNotificationTrigger.java @@ -31,7 +31,7 @@ public class ExpiringCouponsNotificationTrigger { public static final String SERIALIZED_NAME_AMOUNT = "amount"; @SerializedName(SERIALIZED_NAME_AMOUNT) - private Integer amount; + private Long amount; /** * Notification period indicated by a letter; \"w\" means week, \"d\" means day. @@ -85,7 +85,7 @@ public PeriodEnum read(final JsonReader jsonReader) throws IOException { private PeriodEnum period; - public ExpiringCouponsNotificationTrigger amount(Integer amount) { + public ExpiringCouponsNotificationTrigger amount(Long amount) { this.amount = amount; return this; @@ -98,12 +98,12 @@ public ExpiringCouponsNotificationTrigger amount(Integer amount) { **/ @ApiModelProperty(required = true, value = "The amount of period.") - public Integer getAmount() { + public Long getAmount() { return amount; } - public void setAmount(Integer amount) { + public void setAmount(Long amount) { this.amount = amount; } diff --git a/src/main/java/one/talon/model/ExpiringPointsNotificationPolicy.java b/src/main/java/one/talon/model/ExpiringPointsNotificationPolicy.java index 1f430ad4..204e57dc 100644 --- a/src/main/java/one/talon/model/ExpiringPointsNotificationPolicy.java +++ b/src/main/java/one/talon/model/ExpiringPointsNotificationPolicy.java @@ -46,7 +46,7 @@ public class ExpiringPointsNotificationPolicy { public static final String SERIALIZED_NAME_BATCH_SIZE = "batchSize"; @SerializedName(SERIALIZED_NAME_BATCH_SIZE) - private Integer batchSize; + private Long batchSize = 1000l; public ExpiringPointsNotificationPolicy name(String name) { @@ -121,7 +121,7 @@ public void setBatchingEnabled(Boolean batchingEnabled) { } - public ExpiringPointsNotificationPolicy batchSize(Integer batchSize) { + public ExpiringPointsNotificationPolicy batchSize(Long batchSize) { this.batchSize = batchSize; return this; @@ -134,12 +134,12 @@ public ExpiringPointsNotificationPolicy batchSize(Integer batchSize) { @javax.annotation.Nullable @ApiModelProperty(example = "1000", value = "The required size of each batch of data. This value applies only when `batchingEnabled` is `true`.") - public Integer getBatchSize() { + public Long getBatchSize() { return batchSize; } - public void setBatchSize(Integer batchSize) { + public void setBatchSize(Long batchSize) { this.batchSize = batchSize; } diff --git a/src/main/java/one/talon/model/ExpiringPointsNotificationTrigger.java b/src/main/java/one/talon/model/ExpiringPointsNotificationTrigger.java index 01c62140..47b76e94 100644 --- a/src/main/java/one/talon/model/ExpiringPointsNotificationTrigger.java +++ b/src/main/java/one/talon/model/ExpiringPointsNotificationTrigger.java @@ -31,7 +31,7 @@ public class ExpiringPointsNotificationTrigger { public static final String SERIALIZED_NAME_AMOUNT = "amount"; @SerializedName(SERIALIZED_NAME_AMOUNT) - private Integer amount; + private Long amount; /** * Notification period indicated by a letter; \"w\" means week, \"d\" means day. @@ -85,7 +85,7 @@ public PeriodEnum read(final JsonReader jsonReader) throws IOException { private PeriodEnum period; - public ExpiringPointsNotificationTrigger amount(Integer amount) { + public ExpiringPointsNotificationTrigger amount(Long amount) { this.amount = amount; return this; @@ -98,12 +98,12 @@ public ExpiringPointsNotificationTrigger amount(Integer amount) { **/ @ApiModelProperty(required = true, value = "The amount of period.") - public Integer getAmount() { + public Long getAmount() { return amount; } - public void setAmount(Integer amount) { + public void setAmount(Long amount) { this.amount = amount; } diff --git a/src/main/java/one/talon/model/Export.java b/src/main/java/one/talon/model/Export.java index f094e39c..182abe03 100644 --- a/src/main/java/one/talon/model/Export.java +++ b/src/main/java/one/talon/model/Export.java @@ -32,7 +32,7 @@ public class Export { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -40,11 +40,11 @@ public class Export { public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private Integer accountId; + private Long accountId; public static final String SERIALIZED_NAME_USER_ID = "userId"; @SerializedName(SERIALIZED_NAME_USER_ID) - private Integer userId; + private Long userId; /** * The name of the entity that was exported. @@ -112,7 +112,7 @@ public EntityEnum read(final JsonReader jsonReader) throws IOException { private Object filter; - public Export id(Integer id) { + public Export id(Long id) { this.id = id; return this; @@ -124,12 +124,12 @@ public Export id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -156,7 +156,7 @@ public void setCreated(OffsetDateTime created) { } - public Export accountId(Integer accountId) { + public Export accountId(Long accountId) { this.accountId = accountId; return this; @@ -168,17 +168,17 @@ public Export accountId(Integer accountId) { **/ @ApiModelProperty(example = "3886", required = true, value = "The ID of the account that owns this entity.") - public Integer getAccountId() { + public Long getAccountId() { return accountId; } - public void setAccountId(Integer accountId) { + public void setAccountId(Long accountId) { this.accountId = accountId; } - public Export userId(Integer userId) { + public Export userId(Long userId) { this.userId = userId; return this; @@ -190,12 +190,12 @@ public Export userId(Integer userId) { **/ @ApiModelProperty(example = "388", required = true, value = "The ID of the user associated with this entity.") - public Integer getUserId() { + public Long getUserId() { return userId; } - public void setUserId(Integer userId) { + public void setUserId(Long userId) { this.userId = userId; } diff --git a/src/main/java/one/talon/model/GenerateCampaignDescription.java b/src/main/java/one/talon/model/GenerateCampaignDescription.java index 31a36883..501273b7 100644 --- a/src/main/java/one/talon/model/GenerateCampaignDescription.java +++ b/src/main/java/one/talon/model/GenerateCampaignDescription.java @@ -31,14 +31,14 @@ public class GenerateCampaignDescription { public static final String SERIALIZED_NAME_RULESET_I_D = "rulesetID"; @SerializedName(SERIALIZED_NAME_RULESET_I_D) - private Integer rulesetID; + private Long rulesetID; public static final String SERIALIZED_NAME_CURRENCY = "currency"; @SerializedName(SERIALIZED_NAME_CURRENCY) private String currency; - public GenerateCampaignDescription rulesetID(Integer rulesetID) { + public GenerateCampaignDescription rulesetID(Long rulesetID) { this.rulesetID = rulesetID; return this; @@ -50,12 +50,12 @@ public GenerateCampaignDescription rulesetID(Integer rulesetID) { **/ @ApiModelProperty(required = true, value = "ID of a ruleset.") - public Integer getRulesetID() { + public Long getRulesetID() { return rulesetID; } - public void setRulesetID(Integer rulesetID) { + public void setRulesetID(Long rulesetID) { this.rulesetID = rulesetID; } diff --git a/src/main/java/one/talon/model/GenerateCampaignTags.java b/src/main/java/one/talon/model/GenerateCampaignTags.java index 4df09824..899f4e57 100644 --- a/src/main/java/one/talon/model/GenerateCampaignTags.java +++ b/src/main/java/one/talon/model/GenerateCampaignTags.java @@ -31,10 +31,10 @@ public class GenerateCampaignTags { public static final String SERIALIZED_NAME_RULESET_I_D = "rulesetID"; @SerializedName(SERIALIZED_NAME_RULESET_I_D) - private Integer rulesetID; + private Long rulesetID; - public GenerateCampaignTags rulesetID(Integer rulesetID) { + public GenerateCampaignTags rulesetID(Long rulesetID) { this.rulesetID = rulesetID; return this; @@ -46,12 +46,12 @@ public GenerateCampaignTags rulesetID(Integer rulesetID) { **/ @ApiModelProperty(required = true, value = "ID of a ruleset.") - public Integer getRulesetID() { + public Long getRulesetID() { return rulesetID; } - public void setRulesetID(Integer rulesetID) { + public void setRulesetID(Long rulesetID) { this.rulesetID = rulesetID; } diff --git a/src/main/java/one/talon/model/GetIntegrationCouponRequest.java b/src/main/java/one/talon/model/GetIntegrationCouponRequest.java index d8e6e76b..0925699b 100644 --- a/src/main/java/one/talon/model/GetIntegrationCouponRequest.java +++ b/src/main/java/one/talon/model/GetIntegrationCouponRequest.java @@ -33,20 +33,20 @@ public class GetIntegrationCouponRequest { public static final String SERIALIZED_NAME_CAMPAIGN_IDS = "campaignIds"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_IDS) - private List campaignIds = new ArrayList(); + private List campaignIds = new ArrayList(); public static final String SERIALIZED_NAME_LIMIT = "limit"; @SerializedName(SERIALIZED_NAME_LIMIT) - private Integer limit; + private Long limit = 10l; - public GetIntegrationCouponRequest campaignIds(List campaignIds) { + public GetIntegrationCouponRequest campaignIds(List campaignIds) { this.campaignIds = campaignIds; return this; } - public GetIntegrationCouponRequest addCampaignIdsItem(Integer campaignIdsItem) { + public GetIntegrationCouponRequest addCampaignIdsItem(Long campaignIdsItem) { this.campaignIds.add(campaignIdsItem); return this; } @@ -57,17 +57,17 @@ public GetIntegrationCouponRequest addCampaignIdsItem(Integer campaignIdsItem) { **/ @ApiModelProperty(example = "[1, 2, 3]", required = true, value = "A list of IDs of the campaigns to get coupons from.") - public List getCampaignIds() { + public List getCampaignIds() { return campaignIds; } - public void setCampaignIds(List campaignIds) { + public void setCampaignIds(List campaignIds) { this.campaignIds = campaignIds; } - public GetIntegrationCouponRequest limit(Integer limit) { + public GetIntegrationCouponRequest limit(Long limit) { this.limit = limit; return this; @@ -81,12 +81,12 @@ public GetIntegrationCouponRequest limit(Integer limit) { **/ @ApiModelProperty(required = true, value = "The maximum number of coupons included in the response.") - public Integer getLimit() { + public Long getLimit() { return limit; } - public void setLimit(Integer limit) { + public void setLimit(Long limit) { this.limit = limit; } diff --git a/src/main/java/one/talon/model/Giveaway.java b/src/main/java/one/talon/model/Giveaway.java index 7cbc1414..3eb71d73 100644 --- a/src/main/java/one/talon/model/Giveaway.java +++ b/src/main/java/one/talon/model/Giveaway.java @@ -32,7 +32,7 @@ public class Giveaway { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -44,7 +44,7 @@ public class Giveaway { public static final String SERIALIZED_NAME_POOL_ID = "poolId"; @SerializedName(SERIALIZED_NAME_POOL_ID) - private Integer poolId; + private Long poolId; public static final String SERIALIZED_NAME_START_DATE = "startDate"; @SerializedName(SERIALIZED_NAME_START_DATE) @@ -64,7 +64,7 @@ public class Giveaway { public static final String SERIALIZED_NAME_IMPORT_ID = "importId"; @SerializedName(SERIALIZED_NAME_IMPORT_ID) - private Integer importId; + private Long importId; public static final String SERIALIZED_NAME_PROFILE_INTEGRATION_ID = "profileIntegrationId"; @SerializedName(SERIALIZED_NAME_PROFILE_INTEGRATION_ID) @@ -72,10 +72,10 @@ public class Giveaway { public static final String SERIALIZED_NAME_PROFILE_ID = "profileId"; @SerializedName(SERIALIZED_NAME_PROFILE_ID) - private Integer profileId; + private Long profileId; - public Giveaway id(Integer id) { + public Giveaway id(Long id) { this.id = id; return this; @@ -87,12 +87,12 @@ public Giveaway id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -141,7 +141,7 @@ public void setCode(String code) { } - public Giveaway poolId(Integer poolId) { + public Giveaway poolId(Long poolId) { this.poolId = poolId; return this; @@ -153,12 +153,12 @@ public Giveaway poolId(Integer poolId) { **/ @ApiModelProperty(example = "1", required = true, value = "The ID of the pool to return giveaway codes from.") - public Integer getPoolId() { + public Long getPoolId() { return poolId; } - public void setPoolId(Integer poolId) { + public void setPoolId(Long poolId) { this.poolId = poolId; } @@ -255,7 +255,7 @@ public void setUsed(Boolean used) { } - public Giveaway importId(Integer importId) { + public Giveaway importId(Long importId) { this.importId = importId; return this; @@ -268,12 +268,12 @@ public Giveaway importId(Integer importId) { @javax.annotation.Nullable @ApiModelProperty(example = "4", value = "The ID of the Import which created this giveaway.") - public Integer getImportId() { + public Long getImportId() { return importId; } - public void setImportId(Integer importId) { + public void setImportId(Long importId) { this.importId = importId; } @@ -301,7 +301,7 @@ public void setProfileIntegrationId(String profileIntegrationId) { } - public Giveaway profileId(Integer profileId) { + public Giveaway profileId(Long profileId) { this.profileId = profileId; return this; @@ -314,12 +314,12 @@ public Giveaway profileId(Integer profileId) { @javax.annotation.Nullable @ApiModelProperty(example = "1", value = "The internal ID of the customer profile that was awarded the giveaway, if the giveaway was awarded and an internal ID exists.") - public Integer getProfileId() { + public Long getProfileId() { return profileId; } - public void setProfileId(Integer profileId) { + public void setProfileId(Long profileId) { this.profileId = profileId; } diff --git a/src/main/java/one/talon/model/GiveawaysPool.java b/src/main/java/one/talon/model/GiveawaysPool.java index 0235b0a9..538a6c3d 100644 --- a/src/main/java/one/talon/model/GiveawaysPool.java +++ b/src/main/java/one/talon/model/GiveawaysPool.java @@ -35,7 +35,7 @@ public class GiveawaysPool { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -43,7 +43,7 @@ public class GiveawaysPool { public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private Integer accountId; + private Long accountId; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -55,7 +55,7 @@ public class GiveawaysPool { public static final String SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS_IDS = "subscribedApplicationsIds"; @SerializedName(SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS_IDS) - private List subscribedApplicationsIds = null; + private List subscribedApplicationsIds = null; public static final String SERIALIZED_NAME_SANDBOX = "sandbox"; @SerializedName(SERIALIZED_NAME_SANDBOX) @@ -67,14 +67,14 @@ public class GiveawaysPool { public static final String SERIALIZED_NAME_CREATED_BY = "createdBy"; @SerializedName(SERIALIZED_NAME_CREATED_BY) - private Integer createdBy; + private Long createdBy; public static final String SERIALIZED_NAME_MODIFIED_BY = "modifiedBy"; @SerializedName(SERIALIZED_NAME_MODIFIED_BY) - private Integer modifiedBy; + private Long modifiedBy; - public GiveawaysPool id(Integer id) { + public GiveawaysPool id(Long id) { this.id = id; return this; @@ -86,12 +86,12 @@ public GiveawaysPool id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -118,7 +118,7 @@ public void setCreated(OffsetDateTime created) { } - public GiveawaysPool accountId(Integer accountId) { + public GiveawaysPool accountId(Long accountId) { this.accountId = accountId; return this; @@ -130,12 +130,12 @@ public GiveawaysPool accountId(Integer accountId) { **/ @ApiModelProperty(example = "3886", required = true, value = "The ID of the account that owns this entity.") - public Integer getAccountId() { + public Long getAccountId() { return accountId; } - public void setAccountId(Integer accountId) { + public void setAccountId(Long accountId) { this.accountId = accountId; } @@ -185,15 +185,15 @@ public void setDescription(String description) { } - public GiveawaysPool subscribedApplicationsIds(List subscribedApplicationsIds) { + public GiveawaysPool subscribedApplicationsIds(List subscribedApplicationsIds) { this.subscribedApplicationsIds = subscribedApplicationsIds; return this; } - public GiveawaysPool addSubscribedApplicationsIdsItem(Integer subscribedApplicationsIdsItem) { + public GiveawaysPool addSubscribedApplicationsIdsItem(Long subscribedApplicationsIdsItem) { if (this.subscribedApplicationsIds == null) { - this.subscribedApplicationsIds = new ArrayList(); + this.subscribedApplicationsIds = new ArrayList(); } this.subscribedApplicationsIds.add(subscribedApplicationsIdsItem); return this; @@ -206,12 +206,12 @@ public GiveawaysPool addSubscribedApplicationsIdsItem(Integer subscribedApplicat @javax.annotation.Nullable @ApiModelProperty(example = "[2, 4]", value = "A list of the IDs of the applications that this giveaways pool is enabled for.") - public List getSubscribedApplicationsIds() { + public List getSubscribedApplicationsIds() { return subscribedApplicationsIds; } - public void setSubscribedApplicationsIds(List subscribedApplicationsIds) { + public void setSubscribedApplicationsIds(List subscribedApplicationsIds) { this.subscribedApplicationsIds = subscribedApplicationsIds; } @@ -261,7 +261,7 @@ public void setModified(OffsetDateTime modified) { } - public GiveawaysPool createdBy(Integer createdBy) { + public GiveawaysPool createdBy(Long createdBy) { this.createdBy = createdBy; return this; @@ -273,17 +273,17 @@ public GiveawaysPool createdBy(Integer createdBy) { **/ @ApiModelProperty(required = true, value = "ID of the user who created this giveaways pool.") - public Integer getCreatedBy() { + public Long getCreatedBy() { return createdBy; } - public void setCreatedBy(Integer createdBy) { + public void setCreatedBy(Long createdBy) { this.createdBy = createdBy; } - public GiveawaysPool modifiedBy(Integer modifiedBy) { + public GiveawaysPool modifiedBy(Long modifiedBy) { this.modifiedBy = modifiedBy; return this; @@ -296,12 +296,12 @@ public GiveawaysPool modifiedBy(Integer modifiedBy) { @javax.annotation.Nullable @ApiModelProperty(value = "ID of the user who last updated this giveaways pool if available.") - public Integer getModifiedBy() { + public Long getModifiedBy() { return modifiedBy; } - public void setModifiedBy(Integer modifiedBy) { + public void setModifiedBy(Long modifiedBy) { this.modifiedBy = modifiedBy; } diff --git a/src/main/java/one/talon/model/HiddenConditionsEffects.java b/src/main/java/one/talon/model/HiddenConditionsEffects.java index c40bb062..f046f12c 100644 --- a/src/main/java/one/talon/model/HiddenConditionsEffects.java +++ b/src/main/java/one/talon/model/HiddenConditionsEffects.java @@ -42,11 +42,11 @@ public class HiddenConditionsEffects { public static final String SERIALIZED_NAME_CUSTOM_EFFECTS = "customEffects"; @SerializedName(SERIALIZED_NAME_CUSTOM_EFFECTS) - private List customEffects = null; + private List customEffects = null; public static final String SERIALIZED_NAME_WEBHOOKS = "webhooks"; @SerializedName(SERIALIZED_NAME_WEBHOOKS) - private List webhooks = null; + private List webhooks = null; public HiddenConditionsEffects builtInEffects(List builtInEffects) { @@ -111,15 +111,15 @@ public void setConditions(List conditions) { } - public HiddenConditionsEffects customEffects(List customEffects) { + public HiddenConditionsEffects customEffects(List customEffects) { this.customEffects = customEffects; return this; } - public HiddenConditionsEffects addCustomEffectsItem(Integer customEffectsItem) { + public HiddenConditionsEffects addCustomEffectsItem(Long customEffectsItem) { if (this.customEffects == null) { - this.customEffects = new ArrayList(); + this.customEffects = new ArrayList(); } this.customEffects.add(customEffectsItem); return this; @@ -132,25 +132,25 @@ public HiddenConditionsEffects addCustomEffectsItem(Integer customEffectsItem) { @javax.annotation.Nullable @ApiModelProperty(example = "[1, 2]", value = "List of the IDs of hidden custom effects.") - public List getCustomEffects() { + public List getCustomEffects() { return customEffects; } - public void setCustomEffects(List customEffects) { + public void setCustomEffects(List customEffects) { this.customEffects = customEffects; } - public HiddenConditionsEffects webhooks(List webhooks) { + public HiddenConditionsEffects webhooks(List webhooks) { this.webhooks = webhooks; return this; } - public HiddenConditionsEffects addWebhooksItem(Integer webhooksItem) { + public HiddenConditionsEffects addWebhooksItem(Long webhooksItem) { if (this.webhooks == null) { - this.webhooks = new ArrayList(); + this.webhooks = new ArrayList(); } this.webhooks.add(webhooksItem); return this; @@ -163,12 +163,12 @@ public HiddenConditionsEffects addWebhooksItem(Integer webhooksItem) { @javax.annotation.Nullable @ApiModelProperty(example = "[3, 4]", value = "List of the IDs of hidden webhooks.") - public List getWebhooks() { + public List getWebhooks() { return webhooks; } - public void setWebhooks(List webhooks) { + public void setWebhooks(List webhooks) { this.webhooks = webhooks; } diff --git a/src/main/java/one/talon/model/IdentifiableEntity.java b/src/main/java/one/talon/model/IdentifiableEntity.java index 23d85468..8c9a2044 100644 --- a/src/main/java/one/talon/model/IdentifiableEntity.java +++ b/src/main/java/one/talon/model/IdentifiableEntity.java @@ -31,10 +31,10 @@ public class IdentifiableEntity { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; - public IdentifiableEntity id(Integer id) { + public IdentifiableEntity id(Long id) { this.id = id; return this; @@ -46,12 +46,12 @@ public IdentifiableEntity id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Unique ID for this entity. Not to be confused with the Integration ID, which is set by your integration layer and used in most endpoints.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } diff --git a/src/main/java/one/talon/model/ImportEntity.java b/src/main/java/one/talon/model/ImportEntity.java index 426c6151..76869a78 100644 --- a/src/main/java/one/talon/model/ImportEntity.java +++ b/src/main/java/one/talon/model/ImportEntity.java @@ -31,10 +31,10 @@ public class ImportEntity { public static final String SERIALIZED_NAME_IMPORT_ID = "importId"; @SerializedName(SERIALIZED_NAME_IMPORT_ID) - private Integer importId; + private Long importId; - public ImportEntity importId(Integer importId) { + public ImportEntity importId(Long importId) { this.importId = importId; return this; @@ -47,12 +47,12 @@ public ImportEntity importId(Integer importId) { @javax.annotation.Nullable @ApiModelProperty(example = "4", value = "The ID of the Import which created this referral.") - public Integer getImportId() { + public Long getImportId() { return importId; } - public void setImportId(Integer importId) { + public void setImportId(Long importId) { this.importId = importId; } diff --git a/src/main/java/one/talon/model/IncreaseAchievementProgressEffectProps.java b/src/main/java/one/talon/model/IncreaseAchievementProgressEffectProps.java index 6fc0dc15..03cc843a 100644 --- a/src/main/java/one/talon/model/IncreaseAchievementProgressEffectProps.java +++ b/src/main/java/one/talon/model/IncreaseAchievementProgressEffectProps.java @@ -33,7 +33,7 @@ public class IncreaseAchievementProgressEffectProps { public static final String SERIALIZED_NAME_ACHIEVEMENT_ID = "achievementId"; @SerializedName(SERIALIZED_NAME_ACHIEVEMENT_ID) - private Integer achievementId; + private Long achievementId; public static final String SERIALIZED_NAME_ACHIEVEMENT_NAME = "achievementName"; @SerializedName(SERIALIZED_NAME_ACHIEVEMENT_NAME) @@ -41,7 +41,7 @@ public class IncreaseAchievementProgressEffectProps { public static final String SERIALIZED_NAME_PROGRESS_TRACKER_ID = "progressTrackerId"; @SerializedName(SERIALIZED_NAME_PROGRESS_TRACKER_ID) - private Integer progressTrackerId; + private Long progressTrackerId; public static final String SERIALIZED_NAME_DELTA = "delta"; @SerializedName(SERIALIZED_NAME_DELTA) @@ -60,7 +60,7 @@ public class IncreaseAchievementProgressEffectProps { private Boolean isJustCompleted; - public IncreaseAchievementProgressEffectProps achievementId(Integer achievementId) { + public IncreaseAchievementProgressEffectProps achievementId(Long achievementId) { this.achievementId = achievementId; return this; @@ -72,12 +72,12 @@ public IncreaseAchievementProgressEffectProps achievementId(Integer achievementI **/ @ApiModelProperty(example = "10", required = true, value = "The internal ID of the achievement.") - public Integer getAchievementId() { + public Long getAchievementId() { return achievementId; } - public void setAchievementId(Integer achievementId) { + public void setAchievementId(Long achievementId) { this.achievementId = achievementId; } @@ -104,7 +104,7 @@ public void setAchievementName(String achievementName) { } - public IncreaseAchievementProgressEffectProps progressTrackerId(Integer progressTrackerId) { + public IncreaseAchievementProgressEffectProps progressTrackerId(Long progressTrackerId) { this.progressTrackerId = progressTrackerId; return this; @@ -117,12 +117,12 @@ public IncreaseAchievementProgressEffectProps progressTrackerId(Integer progress @javax.annotation.Nullable @ApiModelProperty(value = "The internal ID of the achievement progress tracker.") - public Integer getProgressTrackerId() { + public Long getProgressTrackerId() { return progressTrackerId; } - public void setProgressTrackerId(Integer progressTrackerId) { + public void setProgressTrackerId(Long progressTrackerId) { this.progressTrackerId = progressTrackerId; } diff --git a/src/main/java/one/talon/model/InlineResponse200.java b/src/main/java/one/talon/model/InlineResponse200.java index a9f02b8f..8248845b 100644 --- a/src/main/java/one/talon/model/InlineResponse200.java +++ b/src/main/java/one/talon/model/InlineResponse200.java @@ -34,14 +34,14 @@ public class InlineResponse200 { public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "totalResultSize"; @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) - private Integer totalResultSize; + private Long totalResultSize; public static final String SERIALIZED_NAME_DATA = "data"; @SerializedName(SERIALIZED_NAME_DATA) private List data = new ArrayList(); - public InlineResponse200 totalResultSize(Integer totalResultSize) { + public InlineResponse200 totalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; return this; @@ -53,12 +53,12 @@ public InlineResponse200 totalResultSize(Integer totalResultSize) { **/ @ApiModelProperty(example = "1", required = true, value = "") - public Integer getTotalResultSize() { + public Long getTotalResultSize() { return totalResultSize; } - public void setTotalResultSize(Integer totalResultSize) { + public void setTotalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; } diff --git a/src/main/java/one/talon/model/InlineResponse2001.java b/src/main/java/one/talon/model/InlineResponse2001.java index 014d40f8..81baabf1 100644 --- a/src/main/java/one/talon/model/InlineResponse2001.java +++ b/src/main/java/one/talon/model/InlineResponse2001.java @@ -34,14 +34,14 @@ public class InlineResponse2001 { public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "totalResultSize"; @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) - private Integer totalResultSize; + private Long totalResultSize; public static final String SERIALIZED_NAME_DATA = "data"; @SerializedName(SERIALIZED_NAME_DATA) private List data = new ArrayList(); - public InlineResponse2001 totalResultSize(Integer totalResultSize) { + public InlineResponse2001 totalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; return this; @@ -53,12 +53,12 @@ public InlineResponse2001 totalResultSize(Integer totalResultSize) { **/ @ApiModelProperty(example = "1", required = true, value = "") - public Integer getTotalResultSize() { + public Long getTotalResultSize() { return totalResultSize; } - public void setTotalResultSize(Integer totalResultSize) { + public void setTotalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; } diff --git a/src/main/java/one/talon/model/InlineResponse20010.java b/src/main/java/one/talon/model/InlineResponse20010.java index e796f326..3ba512c1 100644 --- a/src/main/java/one/talon/model/InlineResponse20010.java +++ b/src/main/java/one/talon/model/InlineResponse20010.java @@ -34,14 +34,14 @@ public class InlineResponse20010 { public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "totalResultSize"; @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) - private Integer totalResultSize; + private Long totalResultSize; public static final String SERIALIZED_NAME_DATA = "data"; @SerializedName(SERIALIZED_NAME_DATA) private List data = new ArrayList(); - public InlineResponse20010 totalResultSize(Integer totalResultSize) { + public InlineResponse20010 totalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; return this; @@ -53,12 +53,12 @@ public InlineResponse20010 totalResultSize(Integer totalResultSize) { **/ @ApiModelProperty(example = "1", required = true, value = "") - public Integer getTotalResultSize() { + public Long getTotalResultSize() { return totalResultSize; } - public void setTotalResultSize(Integer totalResultSize) { + public void setTotalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; } diff --git a/src/main/java/one/talon/model/InlineResponse20013.java b/src/main/java/one/talon/model/InlineResponse20013.java index 02ed6bcf..601bbf46 100644 --- a/src/main/java/one/talon/model/InlineResponse20013.java +++ b/src/main/java/one/talon/model/InlineResponse20013.java @@ -34,14 +34,14 @@ public class InlineResponse20013 { public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "totalResultSize"; @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) - private Integer totalResultSize; + private Long totalResultSize; public static final String SERIALIZED_NAME_DATA = "data"; @SerializedName(SERIALIZED_NAME_DATA) private List data = new ArrayList(); - public InlineResponse20013 totalResultSize(Integer totalResultSize) { + public InlineResponse20013 totalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; return this; @@ -53,12 +53,12 @@ public InlineResponse20013 totalResultSize(Integer totalResultSize) { **/ @ApiModelProperty(example = "1", required = true, value = "") - public Integer getTotalResultSize() { + public Long getTotalResultSize() { return totalResultSize; } - public void setTotalResultSize(Integer totalResultSize) { + public void setTotalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; } diff --git a/src/main/java/one/talon/model/InlineResponse20015.java b/src/main/java/one/talon/model/InlineResponse20015.java index 70367dd5..d6387ea7 100644 --- a/src/main/java/one/talon/model/InlineResponse20015.java +++ b/src/main/java/one/talon/model/InlineResponse20015.java @@ -34,14 +34,14 @@ public class InlineResponse20015 { public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "totalResultSize"; @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) - private Integer totalResultSize; + private Long totalResultSize; public static final String SERIALIZED_NAME_DATA = "data"; @SerializedName(SERIALIZED_NAME_DATA) private List data = new ArrayList(); - public InlineResponse20015 totalResultSize(Integer totalResultSize) { + public InlineResponse20015 totalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; return this; @@ -53,12 +53,12 @@ public InlineResponse20015 totalResultSize(Integer totalResultSize) { **/ @ApiModelProperty(example = "1", required = true, value = "") - public Integer getTotalResultSize() { + public Long getTotalResultSize() { return totalResultSize; } - public void setTotalResultSize(Integer totalResultSize) { + public void setTotalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; } diff --git a/src/main/java/one/talon/model/InlineResponse20016.java b/src/main/java/one/talon/model/InlineResponse20016.java index 8f4e502b..fc7e4655 100644 --- a/src/main/java/one/talon/model/InlineResponse20016.java +++ b/src/main/java/one/talon/model/InlineResponse20016.java @@ -34,14 +34,14 @@ public class InlineResponse20016 { public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "totalResultSize"; @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) - private Integer totalResultSize; + private Long totalResultSize; public static final String SERIALIZED_NAME_DATA = "data"; @SerializedName(SERIALIZED_NAME_DATA) private List data = new ArrayList(); - public InlineResponse20016 totalResultSize(Integer totalResultSize) { + public InlineResponse20016 totalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; return this; @@ -53,12 +53,12 @@ public InlineResponse20016 totalResultSize(Integer totalResultSize) { **/ @ApiModelProperty(example = "1", required = true, value = "") - public Integer getTotalResultSize() { + public Long getTotalResultSize() { return totalResultSize; } - public void setTotalResultSize(Integer totalResultSize) { + public void setTotalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; } diff --git a/src/main/java/one/talon/model/InlineResponse2002.java b/src/main/java/one/talon/model/InlineResponse2002.java index b59dbe26..84225a95 100644 --- a/src/main/java/one/talon/model/InlineResponse2002.java +++ b/src/main/java/one/talon/model/InlineResponse2002.java @@ -34,14 +34,14 @@ public class InlineResponse2002 { public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "totalResultSize"; @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) - private Integer totalResultSize; + private Long totalResultSize; public static final String SERIALIZED_NAME_DATA = "data"; @SerializedName(SERIALIZED_NAME_DATA) private List data = new ArrayList(); - public InlineResponse2002 totalResultSize(Integer totalResultSize) { + public InlineResponse2002 totalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; return this; @@ -53,12 +53,12 @@ public InlineResponse2002 totalResultSize(Integer totalResultSize) { **/ @ApiModelProperty(example = "1", required = true, value = "") - public Integer getTotalResultSize() { + public Long getTotalResultSize() { return totalResultSize; } - public void setTotalResultSize(Integer totalResultSize) { + public void setTotalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; } diff --git a/src/main/java/one/talon/model/InlineResponse20020.java b/src/main/java/one/talon/model/InlineResponse20020.java index 58c0fa16..36378ffc 100644 --- a/src/main/java/one/talon/model/InlineResponse20020.java +++ b/src/main/java/one/talon/model/InlineResponse20020.java @@ -38,7 +38,7 @@ public class InlineResponse20020 { public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "totalResultSize"; @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) - private Integer totalResultSize; + private Long totalResultSize; public static final String SERIALIZED_NAME_DATA = "data"; @SerializedName(SERIALIZED_NAME_DATA) @@ -68,7 +68,7 @@ public void setHasMore(Boolean hasMore) { } - public InlineResponse20020 totalResultSize(Integer totalResultSize) { + public InlineResponse20020 totalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; return this; @@ -81,12 +81,12 @@ public InlineResponse20020 totalResultSize(Integer totalResultSize) { @javax.annotation.Nullable @ApiModelProperty(example = "1", value = "") - public Integer getTotalResultSize() { + public Long getTotalResultSize() { return totalResultSize; } - public void setTotalResultSize(Integer totalResultSize) { + public void setTotalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; } diff --git a/src/main/java/one/talon/model/InlineResponse20023.java b/src/main/java/one/talon/model/InlineResponse20023.java index 8f60f76b..ff6215c9 100644 --- a/src/main/java/one/talon/model/InlineResponse20023.java +++ b/src/main/java/one/talon/model/InlineResponse20023.java @@ -34,14 +34,14 @@ public class InlineResponse20023 { public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "totalResultSize"; @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) - private Integer totalResultSize; + private Long totalResultSize; public static final String SERIALIZED_NAME_DATA = "data"; @SerializedName(SERIALIZED_NAME_DATA) private List data = new ArrayList(); - public InlineResponse20023 totalResultSize(Integer totalResultSize) { + public InlineResponse20023 totalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; return this; @@ -53,12 +53,12 @@ public InlineResponse20023 totalResultSize(Integer totalResultSize) { **/ @ApiModelProperty(example = "1", required = true, value = "") - public Integer getTotalResultSize() { + public Long getTotalResultSize() { return totalResultSize; } - public void setTotalResultSize(Integer totalResultSize) { + public void setTotalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; } diff --git a/src/main/java/one/talon/model/InlineResponse20024.java b/src/main/java/one/talon/model/InlineResponse20024.java index 3935bb1d..cca3e170 100644 --- a/src/main/java/one/talon/model/InlineResponse20024.java +++ b/src/main/java/one/talon/model/InlineResponse20024.java @@ -34,7 +34,7 @@ public class InlineResponse20024 { public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "totalResultSize"; @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) - private Integer totalResultSize; + private Long totalResultSize; public static final String SERIALIZED_NAME_HAS_MORE = "hasMore"; @SerializedName(SERIALIZED_NAME_HAS_MORE) @@ -45,7 +45,7 @@ public class InlineResponse20024 { private List data = new ArrayList(); - public InlineResponse20024 totalResultSize(Integer totalResultSize) { + public InlineResponse20024 totalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; return this; @@ -58,12 +58,12 @@ public InlineResponse20024 totalResultSize(Integer totalResultSize) { @javax.annotation.Nullable @ApiModelProperty(example = "1", value = "") - public Integer getTotalResultSize() { + public Long getTotalResultSize() { return totalResultSize; } - public void setTotalResultSize(Integer totalResultSize) { + public void setTotalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; } diff --git a/src/main/java/one/talon/model/InlineResponse20025.java b/src/main/java/one/talon/model/InlineResponse20025.java index 9fd34f51..f2f24ae4 100644 --- a/src/main/java/one/talon/model/InlineResponse20025.java +++ b/src/main/java/one/talon/model/InlineResponse20025.java @@ -38,7 +38,7 @@ public class InlineResponse20025 { public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "totalResultSize"; @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) - private Integer totalResultSize; + private Long totalResultSize; public static final String SERIALIZED_NAME_DATA = "data"; @SerializedName(SERIALIZED_NAME_DATA) @@ -68,7 +68,7 @@ public void setHasMore(Boolean hasMore) { } - public InlineResponse20025 totalResultSize(Integer totalResultSize) { + public InlineResponse20025 totalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; return this; @@ -81,12 +81,12 @@ public InlineResponse20025 totalResultSize(Integer totalResultSize) { @javax.annotation.Nullable @ApiModelProperty(value = "") - public Integer getTotalResultSize() { + public Long getTotalResultSize() { return totalResultSize; } - public void setTotalResultSize(Integer totalResultSize) { + public void setTotalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; } diff --git a/src/main/java/one/talon/model/InlineResponse20026.java b/src/main/java/one/talon/model/InlineResponse20026.java index 2cafddad..fc7e8077 100644 --- a/src/main/java/one/talon/model/InlineResponse20026.java +++ b/src/main/java/one/talon/model/InlineResponse20026.java @@ -38,7 +38,7 @@ public class InlineResponse20026 { public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "totalResultSize"; @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) - private Integer totalResultSize; + private Long totalResultSize; public static final String SERIALIZED_NAME_DATA = "data"; @SerializedName(SERIALIZED_NAME_DATA) @@ -68,7 +68,7 @@ public void setHasMore(Boolean hasMore) { } - public InlineResponse20026 totalResultSize(Integer totalResultSize) { + public InlineResponse20026 totalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; return this; @@ -81,12 +81,12 @@ public InlineResponse20026 totalResultSize(Integer totalResultSize) { @javax.annotation.Nullable @ApiModelProperty(value = "") - public Integer getTotalResultSize() { + public Long getTotalResultSize() { return totalResultSize; } - public void setTotalResultSize(Integer totalResultSize) { + public void setTotalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; } diff --git a/src/main/java/one/talon/model/InlineResponse20031.java b/src/main/java/one/talon/model/InlineResponse20031.java index 3c71211d..0c6570fa 100644 --- a/src/main/java/one/talon/model/InlineResponse20031.java +++ b/src/main/java/one/talon/model/InlineResponse20031.java @@ -33,14 +33,14 @@ public class InlineResponse20031 { public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "totalResultSize"; @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) - private Integer totalResultSize; + private Long totalResultSize; public static final String SERIALIZED_NAME_DATA = "data"; @SerializedName(SERIALIZED_NAME_DATA) private List data = new ArrayList(); - public InlineResponse20031 totalResultSize(Integer totalResultSize) { + public InlineResponse20031 totalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; return this; @@ -52,12 +52,12 @@ public InlineResponse20031 totalResultSize(Integer totalResultSize) { **/ @ApiModelProperty(example = "1", required = true, value = "") - public Integer getTotalResultSize() { + public Long getTotalResultSize() { return totalResultSize; } - public void setTotalResultSize(Integer totalResultSize) { + public void setTotalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; } diff --git a/src/main/java/one/talon/model/InlineResponse20032.java b/src/main/java/one/talon/model/InlineResponse20032.java index e6915216..5cc598f0 100644 --- a/src/main/java/one/talon/model/InlineResponse20032.java +++ b/src/main/java/one/talon/model/InlineResponse20032.java @@ -38,7 +38,7 @@ public class InlineResponse20032 { public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "totalResultSize"; @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) - private Integer totalResultSize; + private Long totalResultSize; public static final String SERIALIZED_NAME_DATA = "data"; @SerializedName(SERIALIZED_NAME_DATA) @@ -68,7 +68,7 @@ public void setHasMore(Boolean hasMore) { } - public InlineResponse20032 totalResultSize(Integer totalResultSize) { + public InlineResponse20032 totalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; return this; @@ -81,12 +81,12 @@ public InlineResponse20032 totalResultSize(Integer totalResultSize) { @javax.annotation.Nullable @ApiModelProperty(example = "1", value = "") - public Integer getTotalResultSize() { + public Long getTotalResultSize() { return totalResultSize; } - public void setTotalResultSize(Integer totalResultSize) { + public void setTotalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; } diff --git a/src/main/java/one/talon/model/InlineResponse20035.java b/src/main/java/one/talon/model/InlineResponse20035.java index 9804eb42..57f04f45 100644 --- a/src/main/java/one/talon/model/InlineResponse20035.java +++ b/src/main/java/one/talon/model/InlineResponse20035.java @@ -38,7 +38,7 @@ public class InlineResponse20035 { public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "totalResultSize"; @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) - private Integer totalResultSize; + private Long totalResultSize; public static final String SERIALIZED_NAME_DATA = "data"; @SerializedName(SERIALIZED_NAME_DATA) @@ -68,7 +68,7 @@ public void setHasMore(Boolean hasMore) { } - public InlineResponse20035 totalResultSize(Integer totalResultSize) { + public InlineResponse20035 totalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; return this; @@ -81,12 +81,12 @@ public InlineResponse20035 totalResultSize(Integer totalResultSize) { @javax.annotation.Nullable @ApiModelProperty(example = "1", value = "") - public Integer getTotalResultSize() { + public Long getTotalResultSize() { return totalResultSize; } - public void setTotalResultSize(Integer totalResultSize) { + public void setTotalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; } diff --git a/src/main/java/one/talon/model/InlineResponse20036.java b/src/main/java/one/talon/model/InlineResponse20036.java index 6295809f..99e86f74 100644 --- a/src/main/java/one/talon/model/InlineResponse20036.java +++ b/src/main/java/one/talon/model/InlineResponse20036.java @@ -34,14 +34,14 @@ public class InlineResponse20036 { public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "totalResultSize"; @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) - private Integer totalResultSize; + private Long totalResultSize; public static final String SERIALIZED_NAME_DATA = "data"; @SerializedName(SERIALIZED_NAME_DATA) private List data = new ArrayList(); - public InlineResponse20036 totalResultSize(Integer totalResultSize) { + public InlineResponse20036 totalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; return this; @@ -53,12 +53,12 @@ public InlineResponse20036 totalResultSize(Integer totalResultSize) { **/ @ApiModelProperty(example = "1", required = true, value = "") - public Integer getTotalResultSize() { + public Long getTotalResultSize() { return totalResultSize; } - public void setTotalResultSize(Integer totalResultSize) { + public void setTotalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; } diff --git a/src/main/java/one/talon/model/InlineResponse20037.java b/src/main/java/one/talon/model/InlineResponse20037.java index 2082cff3..0503e4a1 100644 --- a/src/main/java/one/talon/model/InlineResponse20037.java +++ b/src/main/java/one/talon/model/InlineResponse20037.java @@ -38,7 +38,7 @@ public class InlineResponse20037 { public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "totalResultSize"; @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) - private Integer totalResultSize; + private Long totalResultSize; public static final String SERIALIZED_NAME_DATA = "data"; @SerializedName(SERIALIZED_NAME_DATA) @@ -68,7 +68,7 @@ public void setHasMore(Boolean hasMore) { } - public InlineResponse20037 totalResultSize(Integer totalResultSize) { + public InlineResponse20037 totalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; return this; @@ -81,12 +81,12 @@ public InlineResponse20037 totalResultSize(Integer totalResultSize) { @javax.annotation.Nullable @ApiModelProperty(example = "1", value = "") - public Integer getTotalResultSize() { + public Long getTotalResultSize() { return totalResultSize; } - public void setTotalResultSize(Integer totalResultSize) { + public void setTotalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; } diff --git a/src/main/java/one/talon/model/InlineResponse20038.java b/src/main/java/one/talon/model/InlineResponse20038.java index 354c35b9..b18da9fa 100644 --- a/src/main/java/one/talon/model/InlineResponse20038.java +++ b/src/main/java/one/talon/model/InlineResponse20038.java @@ -34,14 +34,14 @@ public class InlineResponse20038 { public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "totalResultSize"; @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) - private Integer totalResultSize; + private Long totalResultSize; public static final String SERIALIZED_NAME_DATA = "data"; @SerializedName(SERIALIZED_NAME_DATA) private List data = new ArrayList(); - public InlineResponse20038 totalResultSize(Integer totalResultSize) { + public InlineResponse20038 totalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; return this; @@ -53,12 +53,12 @@ public InlineResponse20038 totalResultSize(Integer totalResultSize) { **/ @ApiModelProperty(example = "1", required = true, value = "") - public Integer getTotalResultSize() { + public Long getTotalResultSize() { return totalResultSize; } - public void setTotalResultSize(Integer totalResultSize) { + public void setTotalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; } diff --git a/src/main/java/one/talon/model/InlineResponse20039.java b/src/main/java/one/talon/model/InlineResponse20039.java index 05b0b5dd..62983873 100644 --- a/src/main/java/one/talon/model/InlineResponse20039.java +++ b/src/main/java/one/talon/model/InlineResponse20039.java @@ -34,14 +34,14 @@ public class InlineResponse20039 { public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "totalResultSize"; @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) - private Integer totalResultSize; + private Long totalResultSize; public static final String SERIALIZED_NAME_DATA = "data"; @SerializedName(SERIALIZED_NAME_DATA) private List data = new ArrayList(); - public InlineResponse20039 totalResultSize(Integer totalResultSize) { + public InlineResponse20039 totalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; return this; @@ -53,12 +53,12 @@ public InlineResponse20039 totalResultSize(Integer totalResultSize) { **/ @ApiModelProperty(example = "1", required = true, value = "") - public Integer getTotalResultSize() { + public Long getTotalResultSize() { return totalResultSize; } - public void setTotalResultSize(Integer totalResultSize) { + public void setTotalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; } diff --git a/src/main/java/one/talon/model/InlineResponse20040.java b/src/main/java/one/talon/model/InlineResponse20040.java index f7c6d690..4b584c4b 100644 --- a/src/main/java/one/talon/model/InlineResponse20040.java +++ b/src/main/java/one/talon/model/InlineResponse20040.java @@ -34,14 +34,14 @@ public class InlineResponse20040 { public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "totalResultSize"; @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) - private Integer totalResultSize; + private Long totalResultSize; public static final String SERIALIZED_NAME_DATA = "data"; @SerializedName(SERIALIZED_NAME_DATA) private List data = new ArrayList(); - public InlineResponse20040 totalResultSize(Integer totalResultSize) { + public InlineResponse20040 totalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; return this; @@ -53,12 +53,12 @@ public InlineResponse20040 totalResultSize(Integer totalResultSize) { **/ @ApiModelProperty(example = "1", required = true, value = "") - public Integer getTotalResultSize() { + public Long getTotalResultSize() { return totalResultSize; } - public void setTotalResultSize(Integer totalResultSize) { + public void setTotalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; } diff --git a/src/main/java/one/talon/model/InlineResponse20041.java b/src/main/java/one/talon/model/InlineResponse20041.java index b4d6f335..8485c92e 100644 --- a/src/main/java/one/talon/model/InlineResponse20041.java +++ b/src/main/java/one/talon/model/InlineResponse20041.java @@ -34,14 +34,14 @@ public class InlineResponse20041 { public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "totalResultSize"; @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) - private Integer totalResultSize; + private Long totalResultSize; public static final String SERIALIZED_NAME_DATA = "data"; @SerializedName(SERIALIZED_NAME_DATA) private List data = new ArrayList(); - public InlineResponse20041 totalResultSize(Integer totalResultSize) { + public InlineResponse20041 totalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; return this; @@ -53,12 +53,12 @@ public InlineResponse20041 totalResultSize(Integer totalResultSize) { **/ @ApiModelProperty(example = "1", required = true, value = "") - public Integer getTotalResultSize() { + public Long getTotalResultSize() { return totalResultSize; } - public void setTotalResultSize(Integer totalResultSize) { + public void setTotalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; } diff --git a/src/main/java/one/talon/model/InlineResponse20042.java b/src/main/java/one/talon/model/InlineResponse20042.java index bd5378b1..ba3d8bdd 100644 --- a/src/main/java/one/talon/model/InlineResponse20042.java +++ b/src/main/java/one/talon/model/InlineResponse20042.java @@ -34,14 +34,14 @@ public class InlineResponse20042 { public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "totalResultSize"; @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) - private Integer totalResultSize; + private Long totalResultSize; public static final String SERIALIZED_NAME_DATA = "data"; @SerializedName(SERIALIZED_NAME_DATA) private List data = new ArrayList(); - public InlineResponse20042 totalResultSize(Integer totalResultSize) { + public InlineResponse20042 totalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; return this; @@ -53,12 +53,12 @@ public InlineResponse20042 totalResultSize(Integer totalResultSize) { **/ @ApiModelProperty(example = "1", required = true, value = "") - public Integer getTotalResultSize() { + public Long getTotalResultSize() { return totalResultSize; } - public void setTotalResultSize(Integer totalResultSize) { + public void setTotalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; } diff --git a/src/main/java/one/talon/model/InlineResponse20043.java b/src/main/java/one/talon/model/InlineResponse20043.java index f7cd7ddd..4304c5c5 100644 --- a/src/main/java/one/talon/model/InlineResponse20043.java +++ b/src/main/java/one/talon/model/InlineResponse20043.java @@ -34,14 +34,14 @@ public class InlineResponse20043 { public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "totalResultSize"; @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) - private Integer totalResultSize; + private Long totalResultSize; public static final String SERIALIZED_NAME_DATA = "data"; @SerializedName(SERIALIZED_NAME_DATA) private List data = new ArrayList(); - public InlineResponse20043 totalResultSize(Integer totalResultSize) { + public InlineResponse20043 totalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; return this; @@ -53,12 +53,12 @@ public InlineResponse20043 totalResultSize(Integer totalResultSize) { **/ @ApiModelProperty(example = "1", required = true, value = "") - public Integer getTotalResultSize() { + public Long getTotalResultSize() { return totalResultSize; } - public void setTotalResultSize(Integer totalResultSize) { + public void setTotalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; } diff --git a/src/main/java/one/talon/model/InlineResponse20044.java b/src/main/java/one/talon/model/InlineResponse20044.java index 78f07479..9507301b 100644 --- a/src/main/java/one/talon/model/InlineResponse20044.java +++ b/src/main/java/one/talon/model/InlineResponse20044.java @@ -34,7 +34,7 @@ public class InlineResponse20044 { public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "totalResultSize"; @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) - private Integer totalResultSize; + private Long totalResultSize; public static final String SERIALIZED_NAME_HAS_MORE = "hasMore"; @SerializedName(SERIALIZED_NAME_HAS_MORE) @@ -45,7 +45,7 @@ public class InlineResponse20044 { private List data = new ArrayList(); - public InlineResponse20044 totalResultSize(Integer totalResultSize) { + public InlineResponse20044 totalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; return this; @@ -58,12 +58,12 @@ public InlineResponse20044 totalResultSize(Integer totalResultSize) { @javax.annotation.Nullable @ApiModelProperty(example = "1", value = "") - public Integer getTotalResultSize() { + public Long getTotalResultSize() { return totalResultSize; } - public void setTotalResultSize(Integer totalResultSize) { + public void setTotalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; } diff --git a/src/main/java/one/talon/model/InlineResponse20045.java b/src/main/java/one/talon/model/InlineResponse20045.java index 9f079907..15e22cd1 100644 --- a/src/main/java/one/talon/model/InlineResponse20045.java +++ b/src/main/java/one/talon/model/InlineResponse20045.java @@ -34,14 +34,14 @@ public class InlineResponse20045 { public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "totalResultSize"; @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) - private Integer totalResultSize; + private Long totalResultSize; public static final String SERIALIZED_NAME_DATA = "data"; @SerializedName(SERIALIZED_NAME_DATA) private List data = new ArrayList(); - public InlineResponse20045 totalResultSize(Integer totalResultSize) { + public InlineResponse20045 totalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; return this; @@ -53,12 +53,12 @@ public InlineResponse20045 totalResultSize(Integer totalResultSize) { **/ @ApiModelProperty(example = "1", required = true, value = "") - public Integer getTotalResultSize() { + public Long getTotalResultSize() { return totalResultSize; } - public void setTotalResultSize(Integer totalResultSize) { + public void setTotalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; } diff --git a/src/main/java/one/talon/model/InlineResponse20046.java b/src/main/java/one/talon/model/InlineResponse20046.java index 69f1a693..ab9b2ebe 100644 --- a/src/main/java/one/talon/model/InlineResponse20046.java +++ b/src/main/java/one/talon/model/InlineResponse20046.java @@ -34,14 +34,14 @@ public class InlineResponse20046 { public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "totalResultSize"; @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) - private Integer totalResultSize; + private Long totalResultSize; public static final String SERIALIZED_NAME_DATA = "data"; @SerializedName(SERIALIZED_NAME_DATA) private List data = new ArrayList(); - public InlineResponse20046 totalResultSize(Integer totalResultSize) { + public InlineResponse20046 totalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; return this; @@ -53,12 +53,12 @@ public InlineResponse20046 totalResultSize(Integer totalResultSize) { **/ @ApiModelProperty(example = "1", required = true, value = "") - public Integer getTotalResultSize() { + public Long getTotalResultSize() { return totalResultSize; } - public void setTotalResultSize(Integer totalResultSize) { + public void setTotalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; } diff --git a/src/main/java/one/talon/model/InlineResponse20047.java b/src/main/java/one/talon/model/InlineResponse20047.java index 9c9f0bee..2eba2280 100644 --- a/src/main/java/one/talon/model/InlineResponse20047.java +++ b/src/main/java/one/talon/model/InlineResponse20047.java @@ -38,7 +38,7 @@ public class InlineResponse20047 { public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "totalResultSize"; @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) - private Integer totalResultSize; + private Long totalResultSize; public static final String SERIALIZED_NAME_DATA = "data"; @SerializedName(SERIALIZED_NAME_DATA) @@ -68,7 +68,7 @@ public void setHasMore(Boolean hasMore) { } - public InlineResponse20047 totalResultSize(Integer totalResultSize) { + public InlineResponse20047 totalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; return this; @@ -81,12 +81,12 @@ public InlineResponse20047 totalResultSize(Integer totalResultSize) { @javax.annotation.Nullable @ApiModelProperty(example = "1", value = "") - public Integer getTotalResultSize() { + public Long getTotalResultSize() { return totalResultSize; } - public void setTotalResultSize(Integer totalResultSize) { + public void setTotalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; } diff --git a/src/main/java/one/talon/model/InlineResponse2007.java b/src/main/java/one/talon/model/InlineResponse2007.java index 5c305ec5..e2835e75 100644 --- a/src/main/java/one/talon/model/InlineResponse2007.java +++ b/src/main/java/one/talon/model/InlineResponse2007.java @@ -34,14 +34,14 @@ public class InlineResponse2007 { public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "totalResultSize"; @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) - private Integer totalResultSize; + private Long totalResultSize; public static final String SERIALIZED_NAME_DATA = "data"; @SerializedName(SERIALIZED_NAME_DATA) private List data = new ArrayList(); - public InlineResponse2007 totalResultSize(Integer totalResultSize) { + public InlineResponse2007 totalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; return this; @@ -53,12 +53,12 @@ public InlineResponse2007 totalResultSize(Integer totalResultSize) { **/ @ApiModelProperty(example = "1", required = true, value = "") - public Integer getTotalResultSize() { + public Long getTotalResultSize() { return totalResultSize; } - public void setTotalResultSize(Integer totalResultSize) { + public void setTotalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; } diff --git a/src/main/java/one/talon/model/InlineResponse2008.java b/src/main/java/one/talon/model/InlineResponse2008.java index 1bff03dc..92f6d6dc 100644 --- a/src/main/java/one/talon/model/InlineResponse2008.java +++ b/src/main/java/one/talon/model/InlineResponse2008.java @@ -34,14 +34,14 @@ public class InlineResponse2008 { public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "totalResultSize"; @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) - private Integer totalResultSize; + private Long totalResultSize; public static final String SERIALIZED_NAME_DATA = "data"; @SerializedName(SERIALIZED_NAME_DATA) private List data = new ArrayList(); - public InlineResponse2008 totalResultSize(Integer totalResultSize) { + public InlineResponse2008 totalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; return this; @@ -53,12 +53,12 @@ public InlineResponse2008 totalResultSize(Integer totalResultSize) { **/ @ApiModelProperty(example = "1", required = true, value = "") - public Integer getTotalResultSize() { + public Long getTotalResultSize() { return totalResultSize; } - public void setTotalResultSize(Integer totalResultSize) { + public void setTotalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; } diff --git a/src/main/java/one/talon/model/InlineResponse2009.java b/src/main/java/one/talon/model/InlineResponse2009.java index beb9abb8..8823e8cc 100644 --- a/src/main/java/one/talon/model/InlineResponse2009.java +++ b/src/main/java/one/talon/model/InlineResponse2009.java @@ -34,14 +34,14 @@ public class InlineResponse2009 { public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "totalResultSize"; @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) - private Integer totalResultSize; + private Long totalResultSize; public static final String SERIALIZED_NAME_DATA = "data"; @SerializedName(SERIALIZED_NAME_DATA) private List data = new ArrayList(); - public InlineResponse2009 totalResultSize(Integer totalResultSize) { + public InlineResponse2009 totalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; return this; @@ -53,12 +53,12 @@ public InlineResponse2009 totalResultSize(Integer totalResultSize) { **/ @ApiModelProperty(example = "1", required = true, value = "") - public Integer getTotalResultSize() { + public Long getTotalResultSize() { return totalResultSize; } - public void setTotalResultSize(Integer totalResultSize) { + public void setTotalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; } diff --git a/src/main/java/one/talon/model/InlineResponse201.java b/src/main/java/one/talon/model/InlineResponse201.java index f7303689..025b62a9 100644 --- a/src/main/java/one/talon/model/InlineResponse201.java +++ b/src/main/java/one/talon/model/InlineResponse201.java @@ -34,14 +34,14 @@ public class InlineResponse201 { public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "totalResultSize"; @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) - private Integer totalResultSize; + private Long totalResultSize; public static final String SERIALIZED_NAME_DATA = "data"; @SerializedName(SERIALIZED_NAME_DATA) private List data = new ArrayList(); - public InlineResponse201 totalResultSize(Integer totalResultSize) { + public InlineResponse201 totalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; return this; @@ -53,12 +53,12 @@ public InlineResponse201 totalResultSize(Integer totalResultSize) { **/ @ApiModelProperty(example = "1", required = true, value = "") - public Integer getTotalResultSize() { + public Long getTotalResultSize() { return totalResultSize; } - public void setTotalResultSize(Integer totalResultSize) { + public void setTotalResultSize(Long totalResultSize) { this.totalResultSize = totalResultSize; } diff --git a/src/main/java/one/talon/model/IntegrationCoupon.java b/src/main/java/one/talon/model/IntegrationCoupon.java index 5ba8e5c4..f794c632 100644 --- a/src/main/java/one/talon/model/IntegrationCoupon.java +++ b/src/main/java/one/talon/model/IntegrationCoupon.java @@ -36,7 +36,7 @@ public class IntegrationCoupon { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -44,7 +44,7 @@ public class IntegrationCoupon { public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) - private Integer campaignId; + private Long campaignId; public static final String SERIALIZED_NAME_VALUE = "value"; @SerializedName(SERIALIZED_NAME_VALUE) @@ -52,7 +52,7 @@ public class IntegrationCoupon { public static final String SERIALIZED_NAME_USAGE_LIMIT = "usageLimit"; @SerializedName(SERIALIZED_NAME_USAGE_LIMIT) - private Integer usageLimit; + private Long usageLimit; public static final String SERIALIZED_NAME_DISCOUNT_LIMIT = "discountLimit"; @SerializedName(SERIALIZED_NAME_DISCOUNT_LIMIT) @@ -60,7 +60,7 @@ public class IntegrationCoupon { public static final String SERIALIZED_NAME_RESERVATION_LIMIT = "reservationLimit"; @SerializedName(SERIALIZED_NAME_RESERVATION_LIMIT) - private Integer reservationLimit; + private Long reservationLimit; public static final String SERIALIZED_NAME_START_DATE = "startDate"; @SerializedName(SERIALIZED_NAME_START_DATE) @@ -76,7 +76,7 @@ public class IntegrationCoupon { public static final String SERIALIZED_NAME_USAGE_COUNTER = "usageCounter"; @SerializedName(SERIALIZED_NAME_USAGE_COUNTER) - private Integer usageCounter; + private Long usageCounter; public static final String SERIALIZED_NAME_DISCOUNT_COUNTER = "discountCounter"; @SerializedName(SERIALIZED_NAME_DISCOUNT_COUNTER) @@ -96,7 +96,7 @@ public class IntegrationCoupon { public static final String SERIALIZED_NAME_REFERRAL_ID = "referralId"; @SerializedName(SERIALIZED_NAME_REFERRAL_ID) - private Integer referralId; + private Long referralId; public static final String SERIALIZED_NAME_RECIPIENT_INTEGRATION_ID = "recipientIntegrationId"; @SerializedName(SERIALIZED_NAME_RECIPIENT_INTEGRATION_ID) @@ -104,7 +104,7 @@ public class IntegrationCoupon { public static final String SERIALIZED_NAME_IMPORT_ID = "importId"; @SerializedName(SERIALIZED_NAME_IMPORT_ID) - private Integer importId; + private Long importId; public static final String SERIALIZED_NAME_RESERVATION = "reservation"; @SerializedName(SERIALIZED_NAME_RESERVATION) @@ -124,10 +124,10 @@ public class IntegrationCoupon { public static final String SERIALIZED_NAME_PROFILE_REDEMPTION_COUNT = "profileRedemptionCount"; @SerializedName(SERIALIZED_NAME_PROFILE_REDEMPTION_COUNT) - private Integer profileRedemptionCount; + private Long profileRedemptionCount; - public IntegrationCoupon id(Integer id) { + public IntegrationCoupon id(Long id) { this.id = id; return this; @@ -139,12 +139,12 @@ public IntegrationCoupon id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -171,7 +171,7 @@ public void setCreated(OffsetDateTime created) { } - public IntegrationCoupon campaignId(Integer campaignId) { + public IntegrationCoupon campaignId(Long campaignId) { this.campaignId = campaignId; return this; @@ -183,12 +183,12 @@ public IntegrationCoupon campaignId(Integer campaignId) { **/ @ApiModelProperty(example = "211", required = true, value = "The ID of the campaign that owns this entity.") - public Integer getCampaignId() { + public Long getCampaignId() { return campaignId; } - public void setCampaignId(Integer campaignId) { + public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } @@ -215,7 +215,7 @@ public void setValue(String value) { } - public IntegrationCoupon usageLimit(Integer usageLimit) { + public IntegrationCoupon usageLimit(Long usageLimit) { this.usageLimit = usageLimit; return this; @@ -229,12 +229,12 @@ public IntegrationCoupon usageLimit(Integer usageLimit) { **/ @ApiModelProperty(example = "100", required = true, value = "The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. ") - public Integer getUsageLimit() { + public Long getUsageLimit() { return usageLimit; } - public void setUsageLimit(Integer usageLimit) { + public void setUsageLimit(Long usageLimit) { this.usageLimit = usageLimit; } @@ -264,7 +264,7 @@ public void setDiscountLimit(BigDecimal discountLimit) { } - public IntegrationCoupon reservationLimit(Integer reservationLimit) { + public IntegrationCoupon reservationLimit(Long reservationLimit) { this.reservationLimit = reservationLimit; return this; @@ -279,12 +279,12 @@ public IntegrationCoupon reservationLimit(Integer reservationLimit) { @javax.annotation.Nullable @ApiModelProperty(example = "45", value = "The number of reservations that can be made with this coupon code. ") - public Integer getReservationLimit() { + public Long getReservationLimit() { return reservationLimit; } - public void setReservationLimit(Integer reservationLimit) { + public void setReservationLimit(Long reservationLimit) { this.reservationLimit = reservationLimit; } @@ -366,7 +366,7 @@ public void setLimits(List limits) { } - public IntegrationCoupon usageCounter(Integer usageCounter) { + public IntegrationCoupon usageCounter(Long usageCounter) { this.usageCounter = usageCounter; return this; @@ -378,12 +378,12 @@ public IntegrationCoupon usageCounter(Integer usageCounter) { **/ @ApiModelProperty(example = "10", required = true, value = "The number of times the coupon has been successfully redeemed.") - public Integer getUsageCounter() { + public Long getUsageCounter() { return usageCounter; } - public void setUsageCounter(Integer usageCounter) { + public void setUsageCounter(Long usageCounter) { this.usageCounter = usageCounter; } @@ -480,7 +480,7 @@ public void setAttributes(Object attributes) { } - public IntegrationCoupon referralId(Integer referralId) { + public IntegrationCoupon referralId(Long referralId) { this.referralId = referralId; return this; @@ -493,12 +493,12 @@ public IntegrationCoupon referralId(Integer referralId) { @javax.annotation.Nullable @ApiModelProperty(example = "326632952", value = "The integration ID of the referring customer (if any) for whom this coupon was created as an effect.") - public Integer getReferralId() { + public Long getReferralId() { return referralId; } - public void setReferralId(Integer referralId) { + public void setReferralId(Long referralId) { this.referralId = referralId; } @@ -526,7 +526,7 @@ public void setRecipientIntegrationId(String recipientIntegrationId) { } - public IntegrationCoupon importId(Integer importId) { + public IntegrationCoupon importId(Long importId) { this.importId = importId; return this; @@ -539,12 +539,12 @@ public IntegrationCoupon importId(Integer importId) { @javax.annotation.Nullable @ApiModelProperty(example = "4", value = "The ID of the Import which created this coupon.") - public Integer getImportId() { + public Long getImportId() { return importId; } - public void setImportId(Integer importId) { + public void setImportId(Long importId) { this.importId = importId; } @@ -641,7 +641,7 @@ public void setImplicitlyReserved(Boolean implicitlyReserved) { } - public IntegrationCoupon profileRedemptionCount(Integer profileRedemptionCount) { + public IntegrationCoupon profileRedemptionCount(Long profileRedemptionCount) { this.profileRedemptionCount = profileRedemptionCount; return this; @@ -653,12 +653,12 @@ public IntegrationCoupon profileRedemptionCount(Integer profileRedemptionCount) **/ @ApiModelProperty(example = "5", required = true, value = "The number of times the coupon was redeemed by the profile.") - public Integer getProfileRedemptionCount() { + public Long getProfileRedemptionCount() { return profileRedemptionCount; } - public void setProfileRedemptionCount(Integer profileRedemptionCount) { + public void setProfileRedemptionCount(Long profileRedemptionCount) { this.profileRedemptionCount = profileRedemptionCount; } diff --git a/src/main/java/one/talon/model/IntegrationEventV2Request.java b/src/main/java/one/talon/model/IntegrationEventV2Request.java index 441f8496..5622461e 100644 --- a/src/main/java/one/talon/model/IntegrationEventV2Request.java +++ b/src/main/java/one/talon/model/IntegrationEventV2Request.java @@ -25,14 +25,10 @@ import java.io.IOException; import java.util.ArrayList; import java.util.List; -import one.talon.custom.JsonNullable; -import one.talon.custom.NullableAdapterFactory; /** - * + * IntegrationEventV2Request */ -@ApiModel(description = "") -@JsonAdapter(NullableAdapterFactory.class) public class IntegrationEventV2Request { public static final String SERIALIZED_NAME_PROFILE_ID = "profileId"; @@ -45,7 +41,7 @@ public class IntegrationEventV2Request { public static final String SERIALIZED_NAME_EVALUABLE_CAMPAIGN_IDS = "evaluableCampaignIds"; @SerializedName(SERIALIZED_NAME_EVALUABLE_CAMPAIGN_IDS) - private List evaluableCampaignIds = null; + private List evaluableCampaignIds = null; public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) @@ -53,8 +49,6 @@ public class IntegrationEventV2Request { public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - /*allow Serializing null for this field */ - @JsonNullable private Object attributes; /** @@ -163,15 +157,15 @@ public void setStoreIntegrationId(String storeIntegrationId) { } - public IntegrationEventV2Request evaluableCampaignIds(List evaluableCampaignIds) { + public IntegrationEventV2Request evaluableCampaignIds(List evaluableCampaignIds) { this.evaluableCampaignIds = evaluableCampaignIds; return this; } - public IntegrationEventV2Request addEvaluableCampaignIdsItem(Integer evaluableCampaignIdsItem) { + public IntegrationEventV2Request addEvaluableCampaignIdsItem(Long evaluableCampaignIdsItem) { if (this.evaluableCampaignIds == null) { - this.evaluableCampaignIds = new ArrayList(); + this.evaluableCampaignIds = new ArrayList(); } this.evaluableCampaignIds.add(evaluableCampaignIdsItem); return this; @@ -184,12 +178,12 @@ public IntegrationEventV2Request addEvaluableCampaignIdsItem(Integer evaluableCa @javax.annotation.Nullable @ApiModelProperty(example = "[10, 12]", value = "When using the `dry` query parameter, use this property to list the campaign to be evaluated by the Rule Engine. These campaigns will be evaluated, even if they are disabled, allowing you to test specific campaigns before activating them. ") - public List getEvaluableCampaignIds() { + public List getEvaluableCampaignIds() { return evaluableCampaignIds; } - public void setEvaluableCampaignIds(List evaluableCampaignIds) { + public void setEvaluableCampaignIds(List evaluableCampaignIds) { this.evaluableCampaignIds = evaluableCampaignIds; } diff --git a/src/main/java/one/talon/model/InventoryCoupon.java b/src/main/java/one/talon/model/InventoryCoupon.java index 2fae67f5..6e7868fe 100644 --- a/src/main/java/one/talon/model/InventoryCoupon.java +++ b/src/main/java/one/talon/model/InventoryCoupon.java @@ -36,7 +36,7 @@ public class InventoryCoupon { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -44,7 +44,7 @@ public class InventoryCoupon { public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) - private Integer campaignId; + private Long campaignId; public static final String SERIALIZED_NAME_VALUE = "value"; @SerializedName(SERIALIZED_NAME_VALUE) @@ -52,7 +52,7 @@ public class InventoryCoupon { public static final String SERIALIZED_NAME_USAGE_LIMIT = "usageLimit"; @SerializedName(SERIALIZED_NAME_USAGE_LIMIT) - private Integer usageLimit; + private Long usageLimit; public static final String SERIALIZED_NAME_DISCOUNT_LIMIT = "discountLimit"; @SerializedName(SERIALIZED_NAME_DISCOUNT_LIMIT) @@ -60,7 +60,7 @@ public class InventoryCoupon { public static final String SERIALIZED_NAME_RESERVATION_LIMIT = "reservationLimit"; @SerializedName(SERIALIZED_NAME_RESERVATION_LIMIT) - private Integer reservationLimit; + private Long reservationLimit; public static final String SERIALIZED_NAME_START_DATE = "startDate"; @SerializedName(SERIALIZED_NAME_START_DATE) @@ -76,7 +76,7 @@ public class InventoryCoupon { public static final String SERIALIZED_NAME_USAGE_COUNTER = "usageCounter"; @SerializedName(SERIALIZED_NAME_USAGE_COUNTER) - private Integer usageCounter; + private Long usageCounter; public static final String SERIALIZED_NAME_DISCOUNT_COUNTER = "discountCounter"; @SerializedName(SERIALIZED_NAME_DISCOUNT_COUNTER) @@ -96,7 +96,7 @@ public class InventoryCoupon { public static final String SERIALIZED_NAME_REFERRAL_ID = "referralId"; @SerializedName(SERIALIZED_NAME_REFERRAL_ID) - private Integer referralId; + private Long referralId; public static final String SERIALIZED_NAME_RECIPIENT_INTEGRATION_ID = "recipientIntegrationId"; @SerializedName(SERIALIZED_NAME_RECIPIENT_INTEGRATION_ID) @@ -104,7 +104,7 @@ public class InventoryCoupon { public static final String SERIALIZED_NAME_IMPORT_ID = "importId"; @SerializedName(SERIALIZED_NAME_IMPORT_ID) - private Integer importId; + private Long importId; public static final String SERIALIZED_NAME_RESERVATION = "reservation"; @SerializedName(SERIALIZED_NAME_RESERVATION) @@ -124,14 +124,14 @@ public class InventoryCoupon { public static final String SERIALIZED_NAME_PROFILE_REDEMPTION_COUNT = "profileRedemptionCount"; @SerializedName(SERIALIZED_NAME_PROFILE_REDEMPTION_COUNT) - private Integer profileRedemptionCount; + private Long profileRedemptionCount; public static final String SERIALIZED_NAME_STATE = "state"; @SerializedName(SERIALIZED_NAME_STATE) private String state; - public InventoryCoupon id(Integer id) { + public InventoryCoupon id(Long id) { this.id = id; return this; @@ -143,12 +143,12 @@ public InventoryCoupon id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -175,7 +175,7 @@ public void setCreated(OffsetDateTime created) { } - public InventoryCoupon campaignId(Integer campaignId) { + public InventoryCoupon campaignId(Long campaignId) { this.campaignId = campaignId; return this; @@ -187,12 +187,12 @@ public InventoryCoupon campaignId(Integer campaignId) { **/ @ApiModelProperty(example = "211", required = true, value = "The ID of the campaign that owns this entity.") - public Integer getCampaignId() { + public Long getCampaignId() { return campaignId; } - public void setCampaignId(Integer campaignId) { + public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } @@ -219,7 +219,7 @@ public void setValue(String value) { } - public InventoryCoupon usageLimit(Integer usageLimit) { + public InventoryCoupon usageLimit(Long usageLimit) { this.usageLimit = usageLimit; return this; @@ -233,12 +233,12 @@ public InventoryCoupon usageLimit(Integer usageLimit) { **/ @ApiModelProperty(example = "100", required = true, value = "The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. ") - public Integer getUsageLimit() { + public Long getUsageLimit() { return usageLimit; } - public void setUsageLimit(Integer usageLimit) { + public void setUsageLimit(Long usageLimit) { this.usageLimit = usageLimit; } @@ -268,7 +268,7 @@ public void setDiscountLimit(BigDecimal discountLimit) { } - public InventoryCoupon reservationLimit(Integer reservationLimit) { + public InventoryCoupon reservationLimit(Long reservationLimit) { this.reservationLimit = reservationLimit; return this; @@ -283,12 +283,12 @@ public InventoryCoupon reservationLimit(Integer reservationLimit) { @javax.annotation.Nullable @ApiModelProperty(example = "45", value = "The number of reservations that can be made with this coupon code. ") - public Integer getReservationLimit() { + public Long getReservationLimit() { return reservationLimit; } - public void setReservationLimit(Integer reservationLimit) { + public void setReservationLimit(Long reservationLimit) { this.reservationLimit = reservationLimit; } @@ -370,7 +370,7 @@ public void setLimits(List limits) { } - public InventoryCoupon usageCounter(Integer usageCounter) { + public InventoryCoupon usageCounter(Long usageCounter) { this.usageCounter = usageCounter; return this; @@ -382,12 +382,12 @@ public InventoryCoupon usageCounter(Integer usageCounter) { **/ @ApiModelProperty(example = "10", required = true, value = "The number of times the coupon has been successfully redeemed.") - public Integer getUsageCounter() { + public Long getUsageCounter() { return usageCounter; } - public void setUsageCounter(Integer usageCounter) { + public void setUsageCounter(Long usageCounter) { this.usageCounter = usageCounter; } @@ -484,7 +484,7 @@ public void setAttributes(Object attributes) { } - public InventoryCoupon referralId(Integer referralId) { + public InventoryCoupon referralId(Long referralId) { this.referralId = referralId; return this; @@ -497,12 +497,12 @@ public InventoryCoupon referralId(Integer referralId) { @javax.annotation.Nullable @ApiModelProperty(example = "326632952", value = "The integration ID of the referring customer (if any) for whom this coupon was created as an effect.") - public Integer getReferralId() { + public Long getReferralId() { return referralId; } - public void setReferralId(Integer referralId) { + public void setReferralId(Long referralId) { this.referralId = referralId; } @@ -530,7 +530,7 @@ public void setRecipientIntegrationId(String recipientIntegrationId) { } - public InventoryCoupon importId(Integer importId) { + public InventoryCoupon importId(Long importId) { this.importId = importId; return this; @@ -543,12 +543,12 @@ public InventoryCoupon importId(Integer importId) { @javax.annotation.Nullable @ApiModelProperty(example = "4", value = "The ID of the Import which created this coupon.") - public Integer getImportId() { + public Long getImportId() { return importId; } - public void setImportId(Integer importId) { + public void setImportId(Long importId) { this.importId = importId; } @@ -645,7 +645,7 @@ public void setImplicitlyReserved(Boolean implicitlyReserved) { } - public InventoryCoupon profileRedemptionCount(Integer profileRedemptionCount) { + public InventoryCoupon profileRedemptionCount(Long profileRedemptionCount) { this.profileRedemptionCount = profileRedemptionCount; return this; @@ -657,12 +657,12 @@ public InventoryCoupon profileRedemptionCount(Integer profileRedemptionCount) { **/ @ApiModelProperty(example = "5", required = true, value = "The number of times the coupon was redeemed by the profile.") - public Integer getProfileRedemptionCount() { + public Long getProfileRedemptionCount() { return profileRedemptionCount; } - public void setProfileRedemptionCount(Integer profileRedemptionCount) { + public void setProfileRedemptionCount(Long profileRedemptionCount) { this.profileRedemptionCount = profileRedemptionCount; } diff --git a/src/main/java/one/talon/model/InventoryReferral.java b/src/main/java/one/talon/model/InventoryReferral.java index 9d6810cf..3bb92692 100644 --- a/src/main/java/one/talon/model/InventoryReferral.java +++ b/src/main/java/one/talon/model/InventoryReferral.java @@ -34,7 +34,7 @@ public class InventoryReferral { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -50,11 +50,11 @@ public class InventoryReferral { public static final String SERIALIZED_NAME_USAGE_LIMIT = "usageLimit"; @SerializedName(SERIALIZED_NAME_USAGE_LIMIT) - private Integer usageLimit; + private Long usageLimit; public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) - private Integer campaignId; + private Long campaignId; public static final String SERIALIZED_NAME_ADVOCATE_PROFILE_INTEGRATION_ID = "advocateProfileIntegrationId"; @SerializedName(SERIALIZED_NAME_ADVOCATE_PROFILE_INTEGRATION_ID) @@ -70,7 +70,7 @@ public class InventoryReferral { public static final String SERIALIZED_NAME_IMPORT_ID = "importId"; @SerializedName(SERIALIZED_NAME_IMPORT_ID) - private Integer importId; + private Long importId; public static final String SERIALIZED_NAME_CODE = "code"; @SerializedName(SERIALIZED_NAME_CODE) @@ -78,7 +78,7 @@ public class InventoryReferral { public static final String SERIALIZED_NAME_USAGE_COUNTER = "usageCounter"; @SerializedName(SERIALIZED_NAME_USAGE_COUNTER) - private Integer usageCounter; + private Long usageCounter; public static final String SERIALIZED_NAME_BATCH_ID = "batchId"; @SerializedName(SERIALIZED_NAME_BATCH_ID) @@ -89,7 +89,7 @@ public class InventoryReferral { private List referredCustomers = new ArrayList(); - public InventoryReferral id(Integer id) { + public InventoryReferral id(Long id) { this.id = id; return this; @@ -101,12 +101,12 @@ public InventoryReferral id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -179,7 +179,7 @@ public void setExpiryDate(OffsetDateTime expiryDate) { } - public InventoryReferral usageLimit(Integer usageLimit) { + public InventoryReferral usageLimit(Long usageLimit) { this.usageLimit = usageLimit; return this; @@ -193,17 +193,17 @@ public InventoryReferral usageLimit(Integer usageLimit) { **/ @ApiModelProperty(example = "1", required = true, value = "The number of times a referral code can be used. `0` means no limit but any campaign usage limits will still apply. ") - public Integer getUsageLimit() { + public Long getUsageLimit() { return usageLimit; } - public void setUsageLimit(Integer usageLimit) { + public void setUsageLimit(Long usageLimit) { this.usageLimit = usageLimit; } - public InventoryReferral campaignId(Integer campaignId) { + public InventoryReferral campaignId(Long campaignId) { this.campaignId = campaignId; return this; @@ -215,12 +215,12 @@ public InventoryReferral campaignId(Integer campaignId) { **/ @ApiModelProperty(example = "78", required = true, value = "ID of the campaign from which the referral received the referral code.") - public Integer getCampaignId() { + public Long getCampaignId() { return campaignId; } - public void setCampaignId(Integer campaignId) { + public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } @@ -293,7 +293,7 @@ public void setAttributes(Object attributes) { } - public InventoryReferral importId(Integer importId) { + public InventoryReferral importId(Long importId) { this.importId = importId; return this; @@ -306,12 +306,12 @@ public InventoryReferral importId(Integer importId) { @javax.annotation.Nullable @ApiModelProperty(example = "4", value = "The ID of the Import which created this referral.") - public Integer getImportId() { + public Long getImportId() { return importId; } - public void setImportId(Integer importId) { + public void setImportId(Long importId) { this.importId = importId; } @@ -338,7 +338,7 @@ public void setCode(String code) { } - public InventoryReferral usageCounter(Integer usageCounter) { + public InventoryReferral usageCounter(Long usageCounter) { this.usageCounter = usageCounter; return this; @@ -350,12 +350,12 @@ public InventoryReferral usageCounter(Integer usageCounter) { **/ @ApiModelProperty(example = "1", required = true, value = "The number of times this referral code has been successfully used.") - public Integer getUsageCounter() { + public Long getUsageCounter() { return usageCounter; } - public void setUsageCounter(Integer usageCounter) { + public void setUsageCounter(Long usageCounter) { this.usageCounter = usageCounter; } diff --git a/src/main/java/one/talon/model/ItemAttribute.java b/src/main/java/one/talon/model/ItemAttribute.java index 34a4a365..b5099404 100644 --- a/src/main/java/one/talon/model/ItemAttribute.java +++ b/src/main/java/one/talon/model/ItemAttribute.java @@ -31,7 +31,7 @@ public class ItemAttribute { public static final String SERIALIZED_NAME_ATTRIBUTEID = "attributeid"; @SerializedName(SERIALIZED_NAME_ATTRIBUTEID) - private Integer attributeid; + private Long attributeid; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -42,7 +42,7 @@ public class ItemAttribute { private Object value; - public ItemAttribute attributeid(Integer attributeid) { + public ItemAttribute attributeid(Long attributeid) { this.attributeid = attributeid; return this; @@ -54,12 +54,12 @@ public ItemAttribute attributeid(Integer attributeid) { **/ @ApiModelProperty(example = "6", required = true, value = "The ID of the attribute of the item.") - public Integer getAttributeid() { + public Long getAttributeid() { return attributeid; } - public void setAttributeid(Integer attributeid) { + public void setAttributeid(Long attributeid) { this.attributeid = attributeid; } diff --git a/src/main/java/one/talon/model/LedgerEntry.java b/src/main/java/one/talon/model/LedgerEntry.java index 1edddddd..a0313d95 100644 --- a/src/main/java/one/talon/model/LedgerEntry.java +++ b/src/main/java/one/talon/model/LedgerEntry.java @@ -33,7 +33,7 @@ public class LedgerEntry { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -45,19 +45,19 @@ public class LedgerEntry { public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private Integer accountId; + private Long accountId; public static final String SERIALIZED_NAME_LOYALTY_PROGRAM_ID = "loyaltyProgramId"; @SerializedName(SERIALIZED_NAME_LOYALTY_PROGRAM_ID) - private Integer loyaltyProgramId; + private Long loyaltyProgramId; public static final String SERIALIZED_NAME_EVENT_ID = "eventId"; @SerializedName(SERIALIZED_NAME_EVENT_ID) - private Integer eventId; + private Long eventId; public static final String SERIALIZED_NAME_AMOUNT = "amount"; @SerializedName(SERIALIZED_NAME_AMOUNT) - private Integer amount; + private Long amount; public static final String SERIALIZED_NAME_REASON = "reason"; @SerializedName(SERIALIZED_NAME_REASON) @@ -69,10 +69,10 @@ public class LedgerEntry { public static final String SERIALIZED_NAME_REFERENCE_ID = "referenceId"; @SerializedName(SERIALIZED_NAME_REFERENCE_ID) - private Integer referenceId; + private Long referenceId; - public LedgerEntry id(Integer id) { + public LedgerEntry id(Long id) { this.id = id; return this; @@ -84,12 +84,12 @@ public LedgerEntry id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -138,7 +138,7 @@ public void setProfileId(String profileId) { } - public LedgerEntry accountId(Integer accountId) { + public LedgerEntry accountId(Long accountId) { this.accountId = accountId; return this; @@ -150,17 +150,17 @@ public LedgerEntry accountId(Integer accountId) { **/ @ApiModelProperty(required = true, value = "The ID of the Talon.One account that owns this profile.") - public Integer getAccountId() { + public Long getAccountId() { return accountId; } - public void setAccountId(Integer accountId) { + public void setAccountId(Long accountId) { this.accountId = accountId; } - public LedgerEntry loyaltyProgramId(Integer loyaltyProgramId) { + public LedgerEntry loyaltyProgramId(Long loyaltyProgramId) { this.loyaltyProgramId = loyaltyProgramId; return this; @@ -172,17 +172,17 @@ public LedgerEntry loyaltyProgramId(Integer loyaltyProgramId) { **/ @ApiModelProperty(example = "323414846", required = true, value = "ID of the ledger.") - public Integer getLoyaltyProgramId() { + public Long getLoyaltyProgramId() { return loyaltyProgramId; } - public void setLoyaltyProgramId(Integer loyaltyProgramId) { + public void setLoyaltyProgramId(Long loyaltyProgramId) { this.loyaltyProgramId = loyaltyProgramId; } - public LedgerEntry eventId(Integer eventId) { + public LedgerEntry eventId(Long eventId) { this.eventId = eventId; return this; @@ -194,17 +194,17 @@ public LedgerEntry eventId(Integer eventId) { **/ @ApiModelProperty(example = "3", required = true, value = "ID of the related event.") - public Integer getEventId() { + public Long getEventId() { return eventId; } - public void setEventId(Integer eventId) { + public void setEventId(Long eventId) { this.eventId = eventId; } - public LedgerEntry amount(Integer amount) { + public LedgerEntry amount(Long amount) { this.amount = amount; return this; @@ -216,12 +216,12 @@ public LedgerEntry amount(Integer amount) { **/ @ApiModelProperty(example = "100", required = true, value = "Amount of loyalty points.") - public Integer getAmount() { + public Long getAmount() { return amount; } - public void setAmount(Integer amount) { + public void setAmount(Long amount) { this.amount = amount; } @@ -270,7 +270,7 @@ public void setExpiryDate(OffsetDateTime expiryDate) { } - public LedgerEntry referenceId(Integer referenceId) { + public LedgerEntry referenceId(Long referenceId) { this.referenceId = referenceId; return this; @@ -283,12 +283,12 @@ public LedgerEntry referenceId(Integer referenceId) { @javax.annotation.Nullable @ApiModelProperty(value = "The ID of the balancing ledgerEntry.") - public Integer getReferenceId() { + public Long getReferenceId() { return referenceId; } - public void setReferenceId(Integer referenceId) { + public void setReferenceId(Long referenceId) { this.referenceId = referenceId; } diff --git a/src/main/java/one/talon/model/LedgerPointsEntryIntegrationAPI.java b/src/main/java/one/talon/model/LedgerPointsEntryIntegrationAPI.java index fed96758..d51a4b39 100644 --- a/src/main/java/one/talon/model/LedgerPointsEntryIntegrationAPI.java +++ b/src/main/java/one/talon/model/LedgerPointsEntryIntegrationAPI.java @@ -34,7 +34,7 @@ public class LedgerPointsEntryIntegrationAPI { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -42,7 +42,7 @@ public class LedgerPointsEntryIntegrationAPI { public static final String SERIALIZED_NAME_PROGRAM_ID = "programId"; @SerializedName(SERIALIZED_NAME_PROGRAM_ID) - private Integer programId; + private Long programId; public static final String SERIALIZED_NAME_CUSTOMER_SESSION_ID = "customerSessionId"; @SerializedName(SERIALIZED_NAME_CUSTOMER_SESSION_ID) @@ -69,7 +69,7 @@ public class LedgerPointsEntryIntegrationAPI { private BigDecimal amount; - public LedgerPointsEntryIntegrationAPI id(Integer id) { + public LedgerPointsEntryIntegrationAPI id(Long id) { this.id = id; return this; @@ -81,12 +81,12 @@ public LedgerPointsEntryIntegrationAPI id(Integer id) { **/ @ApiModelProperty(example = "123", required = true, value = "ID of the transaction that adds loyalty points.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -113,7 +113,7 @@ public void setCreated(OffsetDateTime created) { } - public LedgerPointsEntryIntegrationAPI programId(Integer programId) { + public LedgerPointsEntryIntegrationAPI programId(Long programId) { this.programId = programId; return this; @@ -125,12 +125,12 @@ public LedgerPointsEntryIntegrationAPI programId(Integer programId) { **/ @ApiModelProperty(example = "324", required = true, value = "ID of the loyalty program.") - public Integer getProgramId() { + public Long getProgramId() { return programId; } - public void setProgramId(Integer programId) { + public void setProgramId(Long programId) { this.programId = programId; } diff --git a/src/main/java/one/talon/model/LedgerTransactionLogEntryIntegrationAPI.java b/src/main/java/one/talon/model/LedgerTransactionLogEntryIntegrationAPI.java index 02900b01..36146733 100644 --- a/src/main/java/one/talon/model/LedgerTransactionLogEntryIntegrationAPI.java +++ b/src/main/java/one/talon/model/LedgerTransactionLogEntryIntegrationAPI.java @@ -39,7 +39,7 @@ public class LedgerTransactionLogEntryIntegrationAPI { public static final String SERIALIZED_NAME_PROGRAM_ID = "programId"; @SerializedName(SERIALIZED_NAME_PROGRAM_ID) - private Integer programId; + private Long programId; public static final String SERIALIZED_NAME_CUSTOMER_SESSION_ID = "customerSessionId"; @SerializedName(SERIALIZED_NAME_CUSTOMER_SESSION_ID) @@ -118,11 +118,11 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_RULESET_ID = "rulesetId"; @SerializedName(SERIALIZED_NAME_RULESET_ID) - private Integer rulesetId; + private Long rulesetId; public static final String SERIALIZED_NAME_RULE_NAME = "ruleName"; @SerializedName(SERIALIZED_NAME_RULE_NAME) @@ -155,7 +155,7 @@ public void setCreated(OffsetDateTime created) { } - public LedgerTransactionLogEntryIntegrationAPI programId(Integer programId) { + public LedgerTransactionLogEntryIntegrationAPI programId(Long programId) { this.programId = programId; return this; @@ -167,12 +167,12 @@ public LedgerTransactionLogEntryIntegrationAPI programId(Integer programId) { **/ @ApiModelProperty(example = "324", required = true, value = "ID of the loyalty program.") - public Integer getProgramId() { + public Long getProgramId() { return programId; } - public void setProgramId(Integer programId) { + public void setProgramId(Long programId) { this.programId = programId; } @@ -332,7 +332,7 @@ public void setAmount(BigDecimal amount) { } - public LedgerTransactionLogEntryIntegrationAPI id(Integer id) { + public LedgerTransactionLogEntryIntegrationAPI id(Long id) { this.id = id; return this; @@ -344,17 +344,17 @@ public LedgerTransactionLogEntryIntegrationAPI id(Integer id) { **/ @ApiModelProperty(example = "123", required = true, value = "ID of the loyalty ledger transaction.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } - public LedgerTransactionLogEntryIntegrationAPI rulesetId(Integer rulesetId) { + public LedgerTransactionLogEntryIntegrationAPI rulesetId(Long rulesetId) { this.rulesetId = rulesetId; return this; @@ -367,12 +367,12 @@ public LedgerTransactionLogEntryIntegrationAPI rulesetId(Integer rulesetId) { @javax.annotation.Nullable @ApiModelProperty(example = "11", value = "The ID of the ruleset containing the rule that triggered this effect.") - public Integer getRulesetId() { + public Long getRulesetId() { return rulesetId; } - public void setRulesetId(Integer rulesetId) { + public void setRulesetId(Long rulesetId) { this.rulesetId = rulesetId; } diff --git a/src/main/java/one/talon/model/LimitCounter.java b/src/main/java/one/talon/model/LimitCounter.java index a5bac14b..9d08c50a 100644 --- a/src/main/java/one/talon/model/LimitCounter.java +++ b/src/main/java/one/talon/model/LimitCounter.java @@ -32,19 +32,19 @@ public class LimitCounter { public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) - private Integer campaignId; + private Long campaignId; public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - private Integer applicationId; + private Long applicationId; public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private Integer accountId; + private Long accountId; public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_ACTION = "action"; @SerializedName(SERIALIZED_NAME_ACTION) @@ -52,7 +52,7 @@ public class LimitCounter { public static final String SERIALIZED_NAME_PROFILE_ID = "profileId"; @SerializedName(SERIALIZED_NAME_PROFILE_ID) - private Integer profileId; + private Long profileId; public static final String SERIALIZED_NAME_PROFILE_INTEGRATION_ID = "profileIntegrationId"; @SerializedName(SERIALIZED_NAME_PROFILE_INTEGRATION_ID) @@ -60,7 +60,7 @@ public class LimitCounter { public static final String SERIALIZED_NAME_COUPON_ID = "couponId"; @SerializedName(SERIALIZED_NAME_COUPON_ID) - private Integer couponId; + private Long couponId; public static final String SERIALIZED_NAME_COUPON_VALUE = "couponValue"; @SerializedName(SERIALIZED_NAME_COUPON_VALUE) @@ -68,7 +68,7 @@ public class LimitCounter { public static final String SERIALIZED_NAME_REFERRAL_ID = "referralId"; @SerializedName(SERIALIZED_NAME_REFERRAL_ID) - private Integer referralId; + private Long referralId; public static final String SERIALIZED_NAME_REFERRAL_VALUE = "referralValue"; @SerializedName(SERIALIZED_NAME_REFERRAL_VALUE) @@ -91,7 +91,7 @@ public class LimitCounter { private BigDecimal counter; - public LimitCounter campaignId(Integer campaignId) { + public LimitCounter campaignId(Long campaignId) { this.campaignId = campaignId; return this; @@ -103,17 +103,17 @@ public LimitCounter campaignId(Integer campaignId) { **/ @ApiModelProperty(example = "211", required = true, value = "The ID of the campaign that owns this entity.") - public Integer getCampaignId() { + public Long getCampaignId() { return campaignId; } - public void setCampaignId(Integer campaignId) { + public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } - public LimitCounter applicationId(Integer applicationId) { + public LimitCounter applicationId(Long applicationId) { this.applicationId = applicationId; return this; @@ -125,17 +125,17 @@ public LimitCounter applicationId(Integer applicationId) { **/ @ApiModelProperty(example = "322", required = true, value = "The ID of the Application that owns this entity.") - public Integer getApplicationId() { + public Long getApplicationId() { return applicationId; } - public void setApplicationId(Integer applicationId) { + public void setApplicationId(Long applicationId) { this.applicationId = applicationId; } - public LimitCounter accountId(Integer accountId) { + public LimitCounter accountId(Long accountId) { this.accountId = accountId; return this; @@ -147,17 +147,17 @@ public LimitCounter accountId(Integer accountId) { **/ @ApiModelProperty(example = "3886", required = true, value = "The ID of the account that owns this entity.") - public Integer getAccountId() { + public Long getAccountId() { return accountId; } - public void setAccountId(Integer accountId) { + public void setAccountId(Long accountId) { this.accountId = accountId; } - public LimitCounter id(Integer id) { + public LimitCounter id(Long id) { this.id = id; return this; @@ -169,12 +169,12 @@ public LimitCounter id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Unique ID for this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -201,7 +201,7 @@ public void setAction(String action) { } - public LimitCounter profileId(Integer profileId) { + public LimitCounter profileId(Long profileId) { this.profileId = profileId; return this; @@ -214,12 +214,12 @@ public LimitCounter profileId(Integer profileId) { @javax.annotation.Nullable @ApiModelProperty(example = "335", value = "The profile ID for which this limit counter is used.") - public Integer getProfileId() { + public Long getProfileId() { return profileId; } - public void setProfileId(Integer profileId) { + public void setProfileId(Long profileId) { this.profileId = profileId; } @@ -247,7 +247,7 @@ public void setProfileIntegrationId(String profileIntegrationId) { } - public LimitCounter couponId(Integer couponId) { + public LimitCounter couponId(Long couponId) { this.couponId = couponId; return this; @@ -260,12 +260,12 @@ public LimitCounter couponId(Integer couponId) { @javax.annotation.Nullable @ApiModelProperty(example = "34", value = "The internal coupon ID for which this limit counter is used.") - public Integer getCouponId() { + public Long getCouponId() { return couponId; } - public void setCouponId(Integer couponId) { + public void setCouponId(Long couponId) { this.couponId = couponId; } @@ -293,7 +293,7 @@ public void setCouponValue(String couponValue) { } - public LimitCounter referralId(Integer referralId) { + public LimitCounter referralId(Long referralId) { this.referralId = referralId; return this; @@ -306,12 +306,12 @@ public LimitCounter referralId(Integer referralId) { @javax.annotation.Nullable @ApiModelProperty(example = "4", value = "The referral ID for which this limit counter is used.") - public Integer getReferralId() { + public Long getReferralId() { return referralId; } - public void setReferralId(Integer referralId) { + public void setReferralId(Long referralId) { this.referralId = referralId; } diff --git a/src/main/java/one/talon/model/ListCampaignStoreBudgets.java b/src/main/java/one/talon/model/ListCampaignStoreBudgets.java index af82bff9..7cc644fd 100644 --- a/src/main/java/one/talon/model/ListCampaignStoreBudgets.java +++ b/src/main/java/one/talon/model/ListCampaignStoreBudgets.java @@ -36,7 +36,7 @@ public class ListCampaignStoreBudgets { public static final String SERIALIZED_NAME_LIMIT = "limit"; @SerializedName(SERIALIZED_NAME_LIMIT) - private Integer limit; + private Long limit; public static final String SERIALIZED_NAME_ACTION = "action"; @SerializedName(SERIALIZED_NAME_ACTION) @@ -69,7 +69,7 @@ public void setStore(ListCampaignStoreBudgetsStore store) { } - public ListCampaignStoreBudgets limit(Integer limit) { + public ListCampaignStoreBudgets limit(Long limit) { this.limit = limit; return this; @@ -81,12 +81,12 @@ public ListCampaignStoreBudgets limit(Integer limit) { **/ @ApiModelProperty(required = true, value = "") - public Integer getLimit() { + public Long getLimit() { return limit; } - public void setLimit(Integer limit) { + public void setLimit(Long limit) { this.limit = limit; } diff --git a/src/main/java/one/talon/model/ListCampaignStoreBudgetsStore.java b/src/main/java/one/talon/model/ListCampaignStoreBudgetsStore.java index a402aa05..c8dcccf0 100644 --- a/src/main/java/one/talon/model/ListCampaignStoreBudgetsStore.java +++ b/src/main/java/one/talon/model/ListCampaignStoreBudgetsStore.java @@ -31,7 +31,7 @@ public class ListCampaignStoreBudgetsStore { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_INTEGRATION_ID = "integrationId"; @SerializedName(SERIALIZED_NAME_INTEGRATION_ID) @@ -42,7 +42,7 @@ public class ListCampaignStoreBudgetsStore { private String name; - public ListCampaignStoreBudgetsStore id(Integer id) { + public ListCampaignStoreBudgetsStore id(Long id) { this.id = id; return this; @@ -54,12 +54,12 @@ public ListCampaignStoreBudgetsStore id(Integer id) { **/ @ApiModelProperty(required = true, value = "") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } diff --git a/src/main/java/one/talon/model/LoyaltyCard.java b/src/main/java/one/talon/model/LoyaltyCard.java index 99b4b53b..bf8740e5 100644 --- a/src/main/java/one/talon/model/LoyaltyCard.java +++ b/src/main/java/one/talon/model/LoyaltyCard.java @@ -38,7 +38,7 @@ public class LoyaltyCard { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -46,7 +46,7 @@ public class LoyaltyCard { public static final String SERIALIZED_NAME_PROGRAM_I_D = "programID"; @SerializedName(SERIALIZED_NAME_PROGRAM_I_D) - private Integer programID; + private Long programID; public static final String SERIALIZED_NAME_PROGRAM_NAME = "programName"; @SerializedName(SERIALIZED_NAME_PROGRAM_NAME) @@ -70,7 +70,7 @@ public class LoyaltyCard { public static final String SERIALIZED_NAME_USERS_PER_CARD_LIMIT = "usersPerCardLimit"; @SerializedName(SERIALIZED_NAME_USERS_PER_CARD_LIMIT) - private Integer usersPerCardLimit; + private Long usersPerCardLimit; public static final String SERIALIZED_NAME_PROFILES = "profiles"; @SerializedName(SERIALIZED_NAME_PROFILES) @@ -101,7 +101,7 @@ public class LoyaltyCard { private String batchId; - public LoyaltyCard id(Integer id) { + public LoyaltyCard id(Long id) { this.id = id; return this; @@ -113,12 +113,12 @@ public LoyaltyCard id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -145,7 +145,7 @@ public void setCreated(OffsetDateTime created) { } - public LoyaltyCard programID(Integer programID) { + public LoyaltyCard programID(Long programID) { this.programID = programID; return this; @@ -157,12 +157,12 @@ public LoyaltyCard programID(Integer programID) { **/ @ApiModelProperty(example = "125", required = true, value = "The ID of the loyalty program that owns this entity.") - public Integer getProgramID() { + public Long getProgramID() { return programID; } - public void setProgramID(Integer programID) { + public void setProgramID(Long programID) { this.programID = programID; } @@ -280,7 +280,7 @@ public void setIdentifier(String identifier) { } - public LoyaltyCard usersPerCardLimit(Integer usersPerCardLimit) { + public LoyaltyCard usersPerCardLimit(Long usersPerCardLimit) { this.usersPerCardLimit = usersPerCardLimit; return this; @@ -293,12 +293,12 @@ public LoyaltyCard usersPerCardLimit(Integer usersPerCardLimit) { **/ @ApiModelProperty(example = "111", required = true, value = "The max amount of customer profiles that can be linked to the card. 0 means unlimited. ") - public Integer getUsersPerCardLimit() { + public Long getUsersPerCardLimit() { return usersPerCardLimit; } - public void setUsersPerCardLimit(Integer usersPerCardLimit) { + public void setUsersPerCardLimit(Long usersPerCardLimit) { this.usersPerCardLimit = usersPerCardLimit; } diff --git a/src/main/java/one/talon/model/LoyaltyCardBatch.java b/src/main/java/one/talon/model/LoyaltyCardBatch.java index a5bb9eb6..aabd98ec 100644 --- a/src/main/java/one/talon/model/LoyaltyCardBatch.java +++ b/src/main/java/one/talon/model/LoyaltyCardBatch.java @@ -32,7 +32,7 @@ public class LoyaltyCardBatch { public static final String SERIALIZED_NAME_NUMBER_OF_CARDS = "numberOfCards"; @SerializedName(SERIALIZED_NAME_NUMBER_OF_CARDS) - private Integer numberOfCards; + private Long numberOfCards; public static final String SERIALIZED_NAME_BATCH_ID = "batchId"; @SerializedName(SERIALIZED_NAME_BATCH_ID) @@ -94,7 +94,7 @@ public StatusEnum read(final JsonReader jsonReader) throws IOException { private CodeGeneratorSettings cardCodeSettings; - public LoyaltyCardBatch numberOfCards(Integer numberOfCards) { + public LoyaltyCardBatch numberOfCards(Long numberOfCards) { this.numberOfCards = numberOfCards; return this; @@ -106,12 +106,12 @@ public LoyaltyCardBatch numberOfCards(Integer numberOfCards) { **/ @ApiModelProperty(example = "5000", required = true, value = "Number of loyalty cards in the batch.") - public Integer getNumberOfCards() { + public Long getNumberOfCards() { return numberOfCards; } - public void setNumberOfCards(Integer numberOfCards) { + public void setNumberOfCards(Long numberOfCards) { this.numberOfCards = numberOfCards; } diff --git a/src/main/java/one/talon/model/LoyaltyCardBatchResponse.java b/src/main/java/one/talon/model/LoyaltyCardBatchResponse.java index 2ea77ea9..e257e31c 100644 --- a/src/main/java/one/talon/model/LoyaltyCardBatchResponse.java +++ b/src/main/java/one/talon/model/LoyaltyCardBatchResponse.java @@ -31,14 +31,14 @@ public class LoyaltyCardBatchResponse { public static final String SERIALIZED_NAME_NUMBER_OF_CARDS_GENERATED = "numberOfCardsGenerated"; @SerializedName(SERIALIZED_NAME_NUMBER_OF_CARDS_GENERATED) - private Integer numberOfCardsGenerated; + private Long numberOfCardsGenerated; public static final String SERIALIZED_NAME_BATCH_ID = "batchId"; @SerializedName(SERIALIZED_NAME_BATCH_ID) private String batchId; - public LoyaltyCardBatchResponse numberOfCardsGenerated(Integer numberOfCardsGenerated) { + public LoyaltyCardBatchResponse numberOfCardsGenerated(Long numberOfCardsGenerated) { this.numberOfCardsGenerated = numberOfCardsGenerated; return this; @@ -50,12 +50,12 @@ public LoyaltyCardBatchResponse numberOfCardsGenerated(Integer numberOfCardsGene **/ @ApiModelProperty(example = "5000", required = true, value = "Number of loyalty cards in the batch.") - public Integer getNumberOfCardsGenerated() { + public Long getNumberOfCardsGenerated() { return numberOfCardsGenerated; } - public void setNumberOfCardsGenerated(Integer numberOfCardsGenerated) { + public void setNumberOfCardsGenerated(Long numberOfCardsGenerated) { this.numberOfCardsGenerated = numberOfCardsGenerated; } diff --git a/src/main/java/one/talon/model/LoyaltyLedgerEntry.java b/src/main/java/one/talon/model/LoyaltyLedgerEntry.java index b1876bcf..802f9f09 100644 --- a/src/main/java/one/talon/model/LoyaltyLedgerEntry.java +++ b/src/main/java/one/talon/model/LoyaltyLedgerEntry.java @@ -39,7 +39,7 @@ public class LoyaltyLedgerEntry { public static final String SERIALIZED_NAME_PROGRAM_I_D = "programID"; @SerializedName(SERIALIZED_NAME_PROGRAM_I_D) - private Integer programID; + private Long programID; public static final String SERIALIZED_NAME_CUSTOMER_PROFILE_I_D = "customerProfileID"; @SerializedName(SERIALIZED_NAME_CUSTOMER_PROFILE_I_D) @@ -47,7 +47,7 @@ public class LoyaltyLedgerEntry { public static final String SERIALIZED_NAME_CARD_I_D = "cardID"; @SerializedName(SERIALIZED_NAME_CARD_I_D) - private Integer cardID; + private Long cardID; public static final String SERIALIZED_NAME_CUSTOMER_SESSION_I_D = "customerSessionID"; @SerializedName(SERIALIZED_NAME_CUSTOMER_SESSION_I_D) @@ -55,7 +55,7 @@ public class LoyaltyLedgerEntry { public static final String SERIALIZED_NAME_EVENT_I_D = "eventID"; @SerializedName(SERIALIZED_NAME_EVENT_I_D) - private Integer eventID; + private Long eventID; public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) @@ -83,7 +83,7 @@ public class LoyaltyLedgerEntry { public static final String SERIALIZED_NAME_USER_I_D = "userID"; @SerializedName(SERIALIZED_NAME_USER_I_D) - private Integer userID; + private Long userID; public static final String SERIALIZED_NAME_ARCHIVED = "archived"; @SerializedName(SERIALIZED_NAME_ARCHIVED) @@ -116,7 +116,7 @@ public void setCreated(OffsetDateTime created) { } - public LoyaltyLedgerEntry programID(Integer programID) { + public LoyaltyLedgerEntry programID(Long programID) { this.programID = programID; return this; @@ -128,12 +128,12 @@ public LoyaltyLedgerEntry programID(Integer programID) { **/ @ApiModelProperty(example = "5", required = true, value = "") - public Integer getProgramID() { + public Long getProgramID() { return programID; } - public void setProgramID(Integer programID) { + public void setProgramID(Long programID) { this.programID = programID; } @@ -161,7 +161,7 @@ public void setCustomerProfileID(String customerProfileID) { } - public LoyaltyLedgerEntry cardID(Integer cardID) { + public LoyaltyLedgerEntry cardID(Long cardID) { this.cardID = cardID; return this; @@ -174,12 +174,12 @@ public LoyaltyLedgerEntry cardID(Integer cardID) { @javax.annotation.Nullable @ApiModelProperty(example = "241", value = "") - public Integer getCardID() { + public Long getCardID() { return cardID; } - public void setCardID(Integer cardID) { + public void setCardID(Long cardID) { this.cardID = cardID; } @@ -207,7 +207,7 @@ public void setCustomerSessionID(String customerSessionID) { } - public LoyaltyLedgerEntry eventID(Integer eventID) { + public LoyaltyLedgerEntry eventID(Long eventID) { this.eventID = eventID; return this; @@ -220,12 +220,12 @@ public LoyaltyLedgerEntry eventID(Integer eventID) { @javax.annotation.Nullable @ApiModelProperty(example = "5", value = "") - public Integer getEventID() { + public Long getEventID() { return eventID; } - public void setEventID(Integer eventID) { + public void setEventID(Long eventID) { this.eventID = eventID; } @@ -364,7 +364,7 @@ public void setSubLedgerID(String subLedgerID) { } - public LoyaltyLedgerEntry userID(Integer userID) { + public LoyaltyLedgerEntry userID(Long userID) { this.userID = userID; return this; @@ -377,12 +377,12 @@ public LoyaltyLedgerEntry userID(Integer userID) { @javax.annotation.Nullable @ApiModelProperty(example = "499", value = "This is the ID of the user who created this entry, if the addition or subtraction was done manually.") - public Integer getUserID() { + public Long getUserID() { return userID; } - public void setUserID(Integer userID) { + public void setUserID(Long userID) { this.userID = userID; } diff --git a/src/main/java/one/talon/model/LoyaltyMembership.java b/src/main/java/one/talon/model/LoyaltyMembership.java index 40e1ab44..1ab8c95b 100644 --- a/src/main/java/one/talon/model/LoyaltyMembership.java +++ b/src/main/java/one/talon/model/LoyaltyMembership.java @@ -36,7 +36,7 @@ public class LoyaltyMembership { public static final String SERIALIZED_NAME_LOYALTY_PROGRAM_ID = "loyaltyProgramId"; @SerializedName(SERIALIZED_NAME_LOYALTY_PROGRAM_ID) - private Integer loyaltyProgramId; + private Long loyaltyProgramId; public LoyaltyMembership joined(OffsetDateTime joined) { @@ -62,7 +62,7 @@ public void setJoined(OffsetDateTime joined) { } - public LoyaltyMembership loyaltyProgramId(Integer loyaltyProgramId) { + public LoyaltyMembership loyaltyProgramId(Long loyaltyProgramId) { this.loyaltyProgramId = loyaltyProgramId; return this; @@ -74,12 +74,12 @@ public LoyaltyMembership loyaltyProgramId(Integer loyaltyProgramId) { **/ @ApiModelProperty(example = "323414846", required = true, value = "The ID of the loyalty program belonging to this entity.") - public Integer getLoyaltyProgramId() { + public Long getLoyaltyProgramId() { return loyaltyProgramId; } - public void setLoyaltyProgramId(Integer loyaltyProgramId) { + public void setLoyaltyProgramId(Long loyaltyProgramId) { this.loyaltyProgramId = loyaltyProgramId; } diff --git a/src/main/java/one/talon/model/LoyaltyProgram.java b/src/main/java/one/talon/model/LoyaltyProgram.java index 39812e36..f1106810 100644 --- a/src/main/java/one/talon/model/LoyaltyProgram.java +++ b/src/main/java/one/talon/model/LoyaltyProgram.java @@ -37,7 +37,7 @@ public class LoyaltyProgram { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -53,7 +53,7 @@ public class LoyaltyProgram { public static final String SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS = "subscribedApplications"; @SerializedName(SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS) - private List subscribedApplications = new ArrayList(); + private List subscribedApplications = new ArrayList(); public static final String SERIALIZED_NAME_DEFAULT_VALIDITY = "defaultValidity"; @SerializedName(SERIALIZED_NAME_DEFAULT_VALIDITY) @@ -69,7 +69,7 @@ public class LoyaltyProgram { public static final String SERIALIZED_NAME_USERS_PER_CARD_LIMIT = "usersPerCardLimit"; @SerializedName(SERIALIZED_NAME_USERS_PER_CARD_LIMIT) - private Integer usersPerCardLimit; + private Long usersPerCardLimit; public static final String SERIALIZED_NAME_SANDBOX = "sandbox"; @SerializedName(SERIALIZED_NAME_SANDBOX) @@ -301,7 +301,7 @@ public ReturnPolicyEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_ACCOUNT_I_D = "accountID"; @SerializedName(SERIALIZED_NAME_ACCOUNT_I_D) - private Integer accountID; + private Long accountID; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -340,7 +340,7 @@ public ReturnPolicyEnum read(final JsonReader jsonReader) throws IOException { private Boolean canUpdateSubledgers = false; - public LoyaltyProgram id(Integer id) { + public LoyaltyProgram id(Long id) { this.id = id; return this; @@ -352,12 +352,12 @@ public LoyaltyProgram id(Integer id) { **/ @ApiModelProperty(example = "139", required = true, value = "The ID of loyalty program.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -428,13 +428,13 @@ public void setDescription(String description) { } - public LoyaltyProgram subscribedApplications(List subscribedApplications) { + public LoyaltyProgram subscribedApplications(List subscribedApplications) { this.subscribedApplications = subscribedApplications; return this; } - public LoyaltyProgram addSubscribedApplicationsItem(Integer subscribedApplicationsItem) { + public LoyaltyProgram addSubscribedApplicationsItem(Long subscribedApplicationsItem) { this.subscribedApplications.add(subscribedApplicationsItem); return this; } @@ -445,12 +445,12 @@ public LoyaltyProgram addSubscribedApplicationsItem(Integer subscribedApplicatio **/ @ApiModelProperty(example = "[132, 97]", required = true, value = "A list containing the IDs of all applications that are subscribed to this Loyalty Program.") - public List getSubscribedApplications() { + public List getSubscribedApplications() { return subscribedApplications; } - public void setSubscribedApplications(List subscribedApplications) { + public void setSubscribedApplications(List subscribedApplications) { this.subscribedApplications = subscribedApplications; } @@ -521,7 +521,7 @@ public void setAllowSubledger(Boolean allowSubledger) { } - public LoyaltyProgram usersPerCardLimit(Integer usersPerCardLimit) { + public LoyaltyProgram usersPerCardLimit(Long usersPerCardLimit) { this.usersPerCardLimit = usersPerCardLimit; return this; @@ -535,12 +535,12 @@ public LoyaltyProgram usersPerCardLimit(Integer usersPerCardLimit) { @javax.annotation.Nullable @ApiModelProperty(example = "111", value = "The max amount of user profiles with whom a card can be shared. This can be set to 0 for no limit. This property is only used when `cardBased` is `true`. ") - public Integer getUsersPerCardLimit() { + public Long getUsersPerCardLimit() { return usersPerCardLimit; } - public void setUsersPerCardLimit(Integer usersPerCardLimit) { + public void setUsersPerCardLimit(Long usersPerCardLimit) { this.usersPerCardLimit = usersPerCardLimit; } @@ -728,7 +728,7 @@ public void setReturnPolicy(ReturnPolicyEnum returnPolicy) { } - public LoyaltyProgram accountID(Integer accountID) { + public LoyaltyProgram accountID(Long accountID) { this.accountID = accountID; return this; @@ -740,12 +740,12 @@ public LoyaltyProgram accountID(Integer accountID) { **/ @ApiModelProperty(example = "1", required = true, value = "The ID of the Talon.One account that owns this program.") - public Integer getAccountID() { + public Long getAccountID() { return accountID; } - public void setAccountID(Integer accountID) { + public void setAccountID(Long accountID) { this.accountID = accountID; } diff --git a/src/main/java/one/talon/model/LoyaltyProgramEntity.java b/src/main/java/one/talon/model/LoyaltyProgramEntity.java index 84dfd908..751079b4 100644 --- a/src/main/java/one/talon/model/LoyaltyProgramEntity.java +++ b/src/main/java/one/talon/model/LoyaltyProgramEntity.java @@ -31,7 +31,7 @@ public class LoyaltyProgramEntity { public static final String SERIALIZED_NAME_PROGRAM_I_D = "programID"; @SerializedName(SERIALIZED_NAME_PROGRAM_I_D) - private Integer programID; + private Long programID; public static final String SERIALIZED_NAME_PROGRAM_NAME = "programName"; @SerializedName(SERIALIZED_NAME_PROGRAM_NAME) @@ -42,7 +42,7 @@ public class LoyaltyProgramEntity { private String programTitle; - public LoyaltyProgramEntity programID(Integer programID) { + public LoyaltyProgramEntity programID(Long programID) { this.programID = programID; return this; @@ -54,12 +54,12 @@ public LoyaltyProgramEntity programID(Integer programID) { **/ @ApiModelProperty(example = "125", required = true, value = "The ID of the loyalty program that owns this entity.") - public Integer getProgramID() { + public Long getProgramID() { return programID; } - public void setProgramID(Integer programID) { + public void setProgramID(Long programID) { this.programID = programID; } diff --git a/src/main/java/one/talon/model/LoyaltyProgramLedgers.java b/src/main/java/one/talon/model/LoyaltyProgramLedgers.java index 484ebdf0..9804db59 100644 --- a/src/main/java/one/talon/model/LoyaltyProgramLedgers.java +++ b/src/main/java/one/talon/model/LoyaltyProgramLedgers.java @@ -37,7 +37,7 @@ public class LoyaltyProgramLedgers { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_TITLE = "title"; @SerializedName(SERIALIZED_NAME_TITLE) @@ -60,7 +60,7 @@ public class LoyaltyProgramLedgers { private Map subLedgers = null; - public LoyaltyProgramLedgers id(Integer id) { + public LoyaltyProgramLedgers id(Long id) { this.id = id; return this; @@ -72,12 +72,12 @@ public LoyaltyProgramLedgers id(Integer id) { **/ @ApiModelProperty(example = "5", required = true, value = "The internal ID of loyalty program.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } diff --git a/src/main/java/one/talon/model/LoyaltyProgramTransaction.java b/src/main/java/one/talon/model/LoyaltyProgramTransaction.java index f67d3932..bdff74aa 100644 --- a/src/main/java/one/talon/model/LoyaltyProgramTransaction.java +++ b/src/main/java/one/talon/model/LoyaltyProgramTransaction.java @@ -34,15 +34,15 @@ public class LoyaltyProgramTransaction { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_PROGRAM_ID = "programId"; @SerializedName(SERIALIZED_NAME_PROGRAM_ID) - private Integer programId; + private Long programId; public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) - private Integer campaignId; + private Long campaignId; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -133,11 +133,11 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_IMPORT_ID = "importId"; @SerializedName(SERIALIZED_NAME_IMPORT_ID) - private Integer importId; + private Long importId; public static final String SERIALIZED_NAME_USER_ID = "userId"; @SerializedName(SERIALIZED_NAME_USER_ID) - private Integer userId; + private Long userId; public static final String SERIALIZED_NAME_USER_EMAIL = "userEmail"; @SerializedName(SERIALIZED_NAME_USER_EMAIL) @@ -145,7 +145,7 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_RULESET_ID = "rulesetId"; @SerializedName(SERIALIZED_NAME_RULESET_ID) - private Integer rulesetId; + private Long rulesetId; public static final String SERIALIZED_NAME_RULE_NAME = "ruleName"; @SerializedName(SERIALIZED_NAME_RULE_NAME) @@ -156,7 +156,7 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { private LoyaltyLedgerEntryFlags flags; - public LoyaltyProgramTransaction id(Integer id) { + public LoyaltyProgramTransaction id(Long id) { this.id = id; return this; @@ -168,17 +168,17 @@ public LoyaltyProgramTransaction id(Integer id) { **/ @ApiModelProperty(example = "123", required = true, value = "ID of the loyalty ledger transaction.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } - public LoyaltyProgramTransaction programId(Integer programId) { + public LoyaltyProgramTransaction programId(Long programId) { this.programId = programId; return this; @@ -190,17 +190,17 @@ public LoyaltyProgramTransaction programId(Integer programId) { **/ @ApiModelProperty(example = "324", required = true, value = "ID of the loyalty program.") - public Integer getProgramId() { + public Long getProgramId() { return programId; } - public void setProgramId(Integer programId) { + public void setProgramId(Long programId) { this.programId = programId; } - public LoyaltyProgramTransaction campaignId(Integer campaignId) { + public LoyaltyProgramTransaction campaignId(Long campaignId) { this.campaignId = campaignId; return this; @@ -213,12 +213,12 @@ public LoyaltyProgramTransaction campaignId(Integer campaignId) { @javax.annotation.Nullable @ApiModelProperty(example = "324", value = "ID of the campaign.") - public Integer getCampaignId() { + public Long getCampaignId() { return campaignId; } - public void setCampaignId(Integer campaignId) { + public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } @@ -446,7 +446,7 @@ public void setCustomerSessionId(String customerSessionId) { } - public LoyaltyProgramTransaction importId(Integer importId) { + public LoyaltyProgramTransaction importId(Long importId) { this.importId = importId; return this; @@ -459,17 +459,17 @@ public LoyaltyProgramTransaction importId(Integer importId) { @javax.annotation.Nullable @ApiModelProperty(example = "4", value = "ID of the import where the transaction occurred.") - public Integer getImportId() { + public Long getImportId() { return importId; } - public void setImportId(Integer importId) { + public void setImportId(Long importId) { this.importId = importId; } - public LoyaltyProgramTransaction userId(Integer userId) { + public LoyaltyProgramTransaction userId(Long userId) { this.userId = userId; return this; @@ -482,12 +482,12 @@ public LoyaltyProgramTransaction userId(Integer userId) { @javax.annotation.Nullable @ApiModelProperty(example = "5", value = "ID of the user who manually added or deducted points. Applies only to manual transactions.") - public Integer getUserId() { + public Long getUserId() { return userId; } - public void setUserId(Integer userId) { + public void setUserId(Long userId) { this.userId = userId; } @@ -515,7 +515,7 @@ public void setUserEmail(String userEmail) { } - public LoyaltyProgramTransaction rulesetId(Integer rulesetId) { + public LoyaltyProgramTransaction rulesetId(Long rulesetId) { this.rulesetId = rulesetId; return this; @@ -528,12 +528,12 @@ public LoyaltyProgramTransaction rulesetId(Integer rulesetId) { @javax.annotation.Nullable @ApiModelProperty(example = "11", value = "ID of the ruleset containing the rule that triggered the effect. Applies only for transactions that resulted from a customer session.") - public Integer getRulesetId() { + public Long getRulesetId() { return rulesetId; } - public void setRulesetId(Integer rulesetId) { + public void setRulesetId(Long rulesetId) { this.rulesetId = rulesetId; } diff --git a/src/main/java/one/talon/model/LoyaltyTier.java b/src/main/java/one/talon/model/LoyaltyTier.java index b827886d..6177f2b1 100644 --- a/src/main/java/one/talon/model/LoyaltyTier.java +++ b/src/main/java/one/talon/model/LoyaltyTier.java @@ -34,7 +34,7 @@ public class LoyaltyTier { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -42,7 +42,7 @@ public class LoyaltyTier { public static final String SERIALIZED_NAME_PROGRAM_I_D = "programID"; @SerializedName(SERIALIZED_NAME_PROGRAM_I_D) - private Integer programID; + private Long programID; public static final String SERIALIZED_NAME_PROGRAM_NAME = "programName"; @SerializedName(SERIALIZED_NAME_PROGRAM_NAME) @@ -61,7 +61,7 @@ public class LoyaltyTier { private BigDecimal minPoints; - public LoyaltyTier id(Integer id) { + public LoyaltyTier id(Long id) { this.id = id; return this; @@ -73,12 +73,12 @@ public LoyaltyTier id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -105,7 +105,7 @@ public void setCreated(OffsetDateTime created) { } - public LoyaltyTier programID(Integer programID) { + public LoyaltyTier programID(Long programID) { this.programID = programID; return this; @@ -117,12 +117,12 @@ public LoyaltyTier programID(Integer programID) { **/ @ApiModelProperty(example = "125", required = true, value = "The ID of the loyalty program that owns this entity.") - public Integer getProgramID() { + public Long getProgramID() { return programID; } - public void setProgramID(Integer programID) { + public void setProgramID(Long programID) { this.programID = programID; } diff --git a/src/main/java/one/talon/model/ManagementKey.java b/src/main/java/one/talon/model/ManagementKey.java index 201d99b2..dd155703 100644 --- a/src/main/java/one/talon/model/ManagementKey.java +++ b/src/main/java/one/talon/model/ManagementKey.java @@ -47,19 +47,19 @@ public class ManagementKey { public static final String SERIALIZED_NAME_ALLOWED_APPLICATION_IDS = "allowedApplicationIds"; @SerializedName(SERIALIZED_NAME_ALLOWED_APPLICATION_IDS) - private List allowedApplicationIds = null; + private List allowedApplicationIds = null; public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED_BY = "createdBy"; @SerializedName(SERIALIZED_NAME_CREATED_BY) - private Integer createdBy; + private Long createdBy; public static final String SERIALIZED_NAME_ACCOUNT_I_D = "accountID"; @SerializedName(SERIALIZED_NAME_ACCOUNT_I_D) - private Integer accountID; + private Long accountID; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -141,15 +141,15 @@ public void setEndpoints(List endpoints) { } - public ManagementKey allowedApplicationIds(List allowedApplicationIds) { + public ManagementKey allowedApplicationIds(List allowedApplicationIds) { this.allowedApplicationIds = allowedApplicationIds; return this; } - public ManagementKey addAllowedApplicationIdsItem(Integer allowedApplicationIdsItem) { + public ManagementKey addAllowedApplicationIdsItem(Long allowedApplicationIdsItem) { if (this.allowedApplicationIds == null) { - this.allowedApplicationIds = new ArrayList(); + this.allowedApplicationIds = new ArrayList(); } this.allowedApplicationIds.add(allowedApplicationIdsItem); return this; @@ -162,17 +162,17 @@ public ManagementKey addAllowedApplicationIdsItem(Integer allowedApplicationIdsI @javax.annotation.Nullable @ApiModelProperty(example = "[1, 2, 3]", value = "A list of Application IDs that you can access with the management key. An empty or missing list means the management key can be used for all Applications in the account. ") - public List getAllowedApplicationIds() { + public List getAllowedApplicationIds() { return allowedApplicationIds; } - public void setAllowedApplicationIds(List allowedApplicationIds) { + public void setAllowedApplicationIds(List allowedApplicationIds) { this.allowedApplicationIds = allowedApplicationIds; } - public ManagementKey id(Integer id) { + public ManagementKey id(Long id) { this.id = id; return this; @@ -184,17 +184,17 @@ public ManagementKey id(Integer id) { **/ @ApiModelProperty(example = "34", required = true, value = "ID of the management key.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } - public ManagementKey createdBy(Integer createdBy) { + public ManagementKey createdBy(Long createdBy) { this.createdBy = createdBy; return this; @@ -206,17 +206,17 @@ public ManagementKey createdBy(Integer createdBy) { **/ @ApiModelProperty(example = "280", required = true, value = "ID of the user who created it.") - public Integer getCreatedBy() { + public Long getCreatedBy() { return createdBy; } - public void setCreatedBy(Integer createdBy) { + public void setCreatedBy(Long createdBy) { this.createdBy = createdBy; } - public ManagementKey accountID(Integer accountID) { + public ManagementKey accountID(Long accountID) { this.accountID = accountID; return this; @@ -228,12 +228,12 @@ public ManagementKey accountID(Integer accountID) { **/ @ApiModelProperty(example = "13", required = true, value = "ID of account the key is used for.") - public Integer getAccountID() { + public Long getAccountID() { return accountID; } - public void setAccountID(Integer accountID) { + public void setAccountID(Long accountID) { this.accountID = accountID; } diff --git a/src/main/java/one/talon/model/ManagerConfig.java b/src/main/java/one/talon/model/ManagerConfig.java index 3dcb3c07..08191ea8 100644 --- a/src/main/java/one/talon/model/ManagerConfig.java +++ b/src/main/java/one/talon/model/ManagerConfig.java @@ -31,10 +31,10 @@ public class ManagerConfig { public static final String SERIALIZED_NAME_SCHEMA_VERSION = "schemaVersion"; @SerializedName(SERIALIZED_NAME_SCHEMA_VERSION) - private Integer schemaVersion; + private Long schemaVersion; - public ManagerConfig schemaVersion(Integer schemaVersion) { + public ManagerConfig schemaVersion(Long schemaVersion) { this.schemaVersion = schemaVersion; return this; @@ -46,12 +46,12 @@ public ManagerConfig schemaVersion(Integer schemaVersion) { **/ @ApiModelProperty(required = true, value = "") - public Integer getSchemaVersion() { + public Long getSchemaVersion() { return schemaVersion; } - public void setSchemaVersion(Integer schemaVersion) { + public void setSchemaVersion(Long schemaVersion) { this.schemaVersion = schemaVersion; } diff --git a/src/main/java/one/talon/model/MessageLogEntry.java b/src/main/java/one/talon/model/MessageLogEntry.java index 3aadc98b..82a30d50 100644 --- a/src/main/java/one/talon/model/MessageLogEntry.java +++ b/src/main/java/one/talon/model/MessageLogEntry.java @@ -47,7 +47,7 @@ public class MessageLogEntry { public static final String SERIALIZED_NAME_NOTIFICATION_ID = "notificationId"; @SerializedName(SERIALIZED_NAME_NOTIFICATION_ID) - private Integer notificationId; + private Long notificationId; public static final String SERIALIZED_NAME_NOTIFICATION_NAME = "notificationName"; @SerializedName(SERIALIZED_NAME_NOTIFICATION_NAME) @@ -55,7 +55,7 @@ public class MessageLogEntry { public static final String SERIALIZED_NAME_WEBHOOK_ID = "webhookId"; @SerializedName(SERIALIZED_NAME_WEBHOOK_ID) - private Integer webhookId; + private Long webhookId; public static final String SERIALIZED_NAME_WEBHOOK_NAME = "webhookName"; @SerializedName(SERIALIZED_NAME_WEBHOOK_NAME) @@ -132,15 +132,15 @@ public EntityTypeEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - private Integer applicationId; + private Long applicationId; public static final String SERIALIZED_NAME_LOYALTY_PROGRAM_ID = "loyaltyProgramId"; @SerializedName(SERIALIZED_NAME_LOYALTY_PROGRAM_ID) - private Integer loyaltyProgramId; + private Long loyaltyProgramId; public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) - private Integer campaignId; + private Long campaignId; public MessageLogEntry id(String id) { @@ -210,7 +210,7 @@ public void setChangeType(String changeType) { } - public MessageLogEntry notificationId(Integer notificationId) { + public MessageLogEntry notificationId(Long notificationId) { this.notificationId = notificationId; return this; @@ -223,12 +223,12 @@ public MessageLogEntry notificationId(Integer notificationId) { @javax.annotation.Nullable @ApiModelProperty(example = "101", value = "ID of the notification.") - public Integer getNotificationId() { + public Long getNotificationId() { return notificationId; } - public void setNotificationId(Integer notificationId) { + public void setNotificationId(Long notificationId) { this.notificationId = notificationId; } @@ -256,7 +256,7 @@ public void setNotificationName(String notificationName) { } - public MessageLogEntry webhookId(Integer webhookId) { + public MessageLogEntry webhookId(Long webhookId) { this.webhookId = webhookId; return this; @@ -269,12 +269,12 @@ public MessageLogEntry webhookId(Integer webhookId) { @javax.annotation.Nullable @ApiModelProperty(example = "101", value = "ID of the webhook.") - public Integer getWebhookId() { + public Long getWebhookId() { return webhookId; } - public void setWebhookId(Integer webhookId) { + public void setWebhookId(Long webhookId) { this.webhookId = webhookId; } @@ -415,7 +415,7 @@ public void setUrl(String url) { } - public MessageLogEntry applicationId(Integer applicationId) { + public MessageLogEntry applicationId(Long applicationId) { this.applicationId = applicationId; return this; @@ -429,17 +429,17 @@ public MessageLogEntry applicationId(Integer applicationId) { @javax.annotation.Nullable @ApiModelProperty(example = "5", value = "Identifier of the Application.") - public Integer getApplicationId() { + public Long getApplicationId() { return applicationId; } - public void setApplicationId(Integer applicationId) { + public void setApplicationId(Long applicationId) { this.applicationId = applicationId; } - public MessageLogEntry loyaltyProgramId(Integer loyaltyProgramId) { + public MessageLogEntry loyaltyProgramId(Long loyaltyProgramId) { this.loyaltyProgramId = loyaltyProgramId; return this; @@ -453,17 +453,17 @@ public MessageLogEntry loyaltyProgramId(Integer loyaltyProgramId) { @javax.annotation.Nullable @ApiModelProperty(example = "2", value = "Identifier of the loyalty program.") - public Integer getLoyaltyProgramId() { + public Long getLoyaltyProgramId() { return loyaltyProgramId; } - public void setLoyaltyProgramId(Integer loyaltyProgramId) { + public void setLoyaltyProgramId(Long loyaltyProgramId) { this.loyaltyProgramId = loyaltyProgramId; } - public MessageLogEntry campaignId(Integer campaignId) { + public MessageLogEntry campaignId(Long campaignId) { this.campaignId = campaignId; return this; @@ -477,12 +477,12 @@ public MessageLogEntry campaignId(Integer campaignId) { @javax.annotation.Nullable @ApiModelProperty(example = "2", value = "Identifier of the campaign.") - public Integer getCampaignId() { + public Long getCampaignId() { return campaignId; } - public void setCampaignId(Integer campaignId) { + public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } diff --git a/src/main/java/one/talon/model/MessageLogResponse.java b/src/main/java/one/talon/model/MessageLogResponse.java index 8bd50aaf..1620d30b 100644 --- a/src/main/java/one/talon/model/MessageLogResponse.java +++ b/src/main/java/one/talon/model/MessageLogResponse.java @@ -41,7 +41,7 @@ public class MessageLogResponse { public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - private Integer status; + private Long status; public MessageLogResponse createdAt(OffsetDateTime createdAt) { @@ -90,7 +90,7 @@ public void setResponse(byte[] response) { } - public MessageLogResponse status(Integer status) { + public MessageLogResponse status(Long status) { this.status = status; return this; @@ -103,12 +103,12 @@ public MessageLogResponse status(Integer status) { @javax.annotation.Nullable @ApiModelProperty(example = "200", value = "HTTP status code of the response.") - public Integer getStatus() { + public Long getStatus() { return status; } - public void setStatus(Integer status) { + public void setStatus(Long status) { this.status = status; } diff --git a/src/main/java/one/talon/model/MessageTest.java b/src/main/java/one/talon/model/MessageTest.java index 35b2a1f7..6d7b0334 100644 --- a/src/main/java/one/talon/model/MessageTest.java +++ b/src/main/java/one/talon/model/MessageTest.java @@ -35,7 +35,7 @@ public class MessageTest { public static final String SERIALIZED_NAME_HTTP_STATUS = "httpStatus"; @SerializedName(SERIALIZED_NAME_HTTP_STATUS) - private Integer httpStatus; + private Long httpStatus; public MessageTest httpResponse(String httpResponse) { @@ -60,7 +60,7 @@ public void setHttpResponse(String httpResponse) { } - public MessageTest httpStatus(Integer httpStatus) { + public MessageTest httpStatus(Long httpStatus) { this.httpStatus = httpStatus; return this; @@ -72,12 +72,12 @@ public MessageTest httpStatus(Integer httpStatus) { **/ @ApiModelProperty(example = "200", required = true, value = "The returned http status code.") - public Integer getHttpStatus() { + public Long getHttpStatus() { return httpStatus; } - public void setHttpStatus(Integer httpStatus) { + public void setHttpStatus(Long httpStatus) { this.httpStatus = httpStatus; } diff --git a/src/main/java/one/talon/model/ModelImport.java b/src/main/java/one/talon/model/ModelImport.java index a98c1761..883dd7d6 100644 --- a/src/main/java/one/talon/model/ModelImport.java +++ b/src/main/java/one/talon/model/ModelImport.java @@ -32,7 +32,7 @@ public class ModelImport { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -40,11 +40,11 @@ public class ModelImport { public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private Integer accountId; + private Long accountId; public static final String SERIALIZED_NAME_USER_ID = "userId"; @SerializedName(SERIALIZED_NAME_USER_ID) - private Integer userId; + private Long userId; public static final String SERIALIZED_NAME_ENTITY = "entity"; @SerializedName(SERIALIZED_NAME_ENTITY) @@ -52,10 +52,10 @@ public class ModelImport { public static final String SERIALIZED_NAME_AMOUNT = "amount"; @SerializedName(SERIALIZED_NAME_AMOUNT) - private Integer amount; + private Long amount; - public ModelImport id(Integer id) { + public ModelImport id(Long id) { this.id = id; return this; @@ -67,12 +67,12 @@ public ModelImport id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -99,7 +99,7 @@ public void setCreated(OffsetDateTime created) { } - public ModelImport accountId(Integer accountId) { + public ModelImport accountId(Long accountId) { this.accountId = accountId; return this; @@ -111,17 +111,17 @@ public ModelImport accountId(Integer accountId) { **/ @ApiModelProperty(example = "3886", required = true, value = "The ID of the account that owns this entity.") - public Integer getAccountId() { + public Long getAccountId() { return accountId; } - public void setAccountId(Integer accountId) { + public void setAccountId(Long accountId) { this.accountId = accountId; } - public ModelImport userId(Integer userId) { + public ModelImport userId(Long userId) { this.userId = userId; return this; @@ -133,12 +133,12 @@ public ModelImport userId(Integer userId) { **/ @ApiModelProperty(example = "388", required = true, value = "The ID of the user associated with this entity.") - public Integer getUserId() { + public Long getUserId() { return userId; } - public void setUserId(Integer userId) { + public void setUserId(Long userId) { this.userId = userId; } @@ -165,7 +165,7 @@ public void setEntity(String entity) { } - public ModelImport amount(Integer amount) { + public ModelImport amount(Long amount) { this.amount = amount; return this; @@ -178,12 +178,12 @@ public ModelImport amount(Integer amount) { **/ @ApiModelProperty(example = "10", required = true, value = "The number of values that were imported.") - public Integer getAmount() { + public Long getAmount() { return amount; } - public void setAmount(Integer amount) { + public void setAmount(Long amount) { this.amount = amount; } diff --git a/src/main/java/one/talon/model/ModelReturn.java b/src/main/java/one/talon/model/ModelReturn.java index cb2ce6bf..199bf928 100644 --- a/src/main/java/one/talon/model/ModelReturn.java +++ b/src/main/java/one/talon/model/ModelReturn.java @@ -35,7 +35,7 @@ public class ModelReturn { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -43,11 +43,11 @@ public class ModelReturn { public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - private Integer applicationId; + private Long applicationId; public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private Integer accountId; + private Long accountId; public static final String SERIALIZED_NAME_RETURNED_CART_ITEMS = "returnedCartItems"; @SerializedName(SERIALIZED_NAME_RETURNED_CART_ITEMS) @@ -55,11 +55,11 @@ public class ModelReturn { public static final String SERIALIZED_NAME_EVENT_ID = "eventId"; @SerializedName(SERIALIZED_NAME_EVENT_ID) - private Integer eventId; + private Long eventId; public static final String SERIALIZED_NAME_SESSION_ID = "sessionId"; @SerializedName(SERIALIZED_NAME_SESSION_ID) - private Integer sessionId; + private Long sessionId; public static final String SERIALIZED_NAME_SESSION_INTEGRATION_ID = "sessionIntegrationId"; @SerializedName(SERIALIZED_NAME_SESSION_INTEGRATION_ID) @@ -67,7 +67,7 @@ public class ModelReturn { public static final String SERIALIZED_NAME_PROFILE_ID = "profileId"; @SerializedName(SERIALIZED_NAME_PROFILE_ID) - private Integer profileId; + private Long profileId; public static final String SERIALIZED_NAME_PROFILE_INTEGRATION_ID = "profileIntegrationId"; @SerializedName(SERIALIZED_NAME_PROFILE_INTEGRATION_ID) @@ -75,10 +75,10 @@ public class ModelReturn { public static final String SERIALIZED_NAME_CREATED_BY = "createdBy"; @SerializedName(SERIALIZED_NAME_CREATED_BY) - private Integer createdBy; + private Long createdBy; - public ModelReturn id(Integer id) { + public ModelReturn id(Long id) { this.id = id; return this; @@ -90,12 +90,12 @@ public ModelReturn id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -122,7 +122,7 @@ public void setCreated(OffsetDateTime created) { } - public ModelReturn applicationId(Integer applicationId) { + public ModelReturn applicationId(Long applicationId) { this.applicationId = applicationId; return this; @@ -134,17 +134,17 @@ public ModelReturn applicationId(Integer applicationId) { **/ @ApiModelProperty(example = "322", required = true, value = "The ID of the Application that owns this entity.") - public Integer getApplicationId() { + public Long getApplicationId() { return applicationId; } - public void setApplicationId(Integer applicationId) { + public void setApplicationId(Long applicationId) { this.applicationId = applicationId; } - public ModelReturn accountId(Integer accountId) { + public ModelReturn accountId(Long accountId) { this.accountId = accountId; return this; @@ -156,12 +156,12 @@ public ModelReturn accountId(Integer accountId) { **/ @ApiModelProperty(example = "3886", required = true, value = "The ID of the account that owns this entity.") - public Integer getAccountId() { + public Long getAccountId() { return accountId; } - public void setAccountId(Integer accountId) { + public void setAccountId(Long accountId) { this.accountId = accountId; } @@ -193,7 +193,7 @@ public void setReturnedCartItems(List returnedCartItems) { } - public ModelReturn eventId(Integer eventId) { + public ModelReturn eventId(Long eventId) { this.eventId = eventId; return this; @@ -205,17 +205,17 @@ public ModelReturn eventId(Integer eventId) { **/ @ApiModelProperty(example = "123", required = true, value = "The event ID of that was generated for this return.") - public Integer getEventId() { + public Long getEventId() { return eventId; } - public void setEventId(Integer eventId) { + public void setEventId(Long eventId) { this.eventId = eventId; } - public ModelReturn sessionId(Integer sessionId) { + public ModelReturn sessionId(Long sessionId) { this.sessionId = sessionId; return this; @@ -227,12 +227,12 @@ public ModelReturn sessionId(Integer sessionId) { **/ @ApiModelProperty(example = "123", required = true, value = "The internal ID of the session this return was requested on.") - public Integer getSessionId() { + public Long getSessionId() { return sessionId; } - public void setSessionId(Integer sessionId) { + public void setSessionId(Long sessionId) { this.sessionId = sessionId; } @@ -259,7 +259,7 @@ public void setSessionIntegrationId(String sessionIntegrationId) { } - public ModelReturn profileId(Integer profileId) { + public ModelReturn profileId(Long profileId) { this.profileId = profileId; return this; @@ -272,12 +272,12 @@ public ModelReturn profileId(Integer profileId) { @javax.annotation.Nullable @ApiModelProperty(example = "123", value = "The internal ID of the profile this return was requested on.") - public Integer getProfileId() { + public Long getProfileId() { return profileId; } - public void setProfileId(Integer profileId) { + public void setProfileId(Long profileId) { this.profileId = profileId; } @@ -305,7 +305,7 @@ public void setProfileIntegrationId(String profileIntegrationId) { } - public ModelReturn createdBy(Integer createdBy) { + public ModelReturn createdBy(Long createdBy) { this.createdBy = createdBy; return this; @@ -318,12 +318,12 @@ public ModelReturn createdBy(Integer createdBy) { @javax.annotation.Nullable @ApiModelProperty(example = "123", value = "ID of the user who requested this return.") - public Integer getCreatedBy() { + public Long getCreatedBy() { return createdBy; } - public void setCreatedBy(Integer createdBy) { + public void setCreatedBy(Long createdBy) { this.createdBy = createdBy; } diff --git a/src/main/java/one/talon/model/MultiApplicationEntity.java b/src/main/java/one/talon/model/MultiApplicationEntity.java index 3a04e0ae..d20a4323 100644 --- a/src/main/java/one/talon/model/MultiApplicationEntity.java +++ b/src/main/java/one/talon/model/MultiApplicationEntity.java @@ -33,16 +33,16 @@ public class MultiApplicationEntity { public static final String SERIALIZED_NAME_APPLICATION_IDS = "applicationIds"; @SerializedName(SERIALIZED_NAME_APPLICATION_IDS) - private List applicationIds = new ArrayList(); + private List applicationIds = new ArrayList(); - public MultiApplicationEntity applicationIds(List applicationIds) { + public MultiApplicationEntity applicationIds(List applicationIds) { this.applicationIds = applicationIds; return this; } - public MultiApplicationEntity addApplicationIdsItem(Integer applicationIdsItem) { + public MultiApplicationEntity addApplicationIdsItem(Long applicationIdsItem) { this.applicationIds.add(applicationIdsItem); return this; } @@ -53,12 +53,12 @@ public MultiApplicationEntity addApplicationIdsItem(Integer applicationIdsItem) **/ @ApiModelProperty(required = true, value = "The IDs of the Applications that are related to this entity.") - public List getApplicationIds() { + public List getApplicationIds() { return applicationIds; } - public void setApplicationIds(List applicationIds) { + public void setApplicationIds(List applicationIds) { this.applicationIds = applicationIds; } diff --git a/src/main/java/one/talon/model/MultipleAudiences.java b/src/main/java/one/talon/model/MultipleAudiences.java index 92bbd338..b5a94e36 100644 --- a/src/main/java/one/talon/model/MultipleAudiences.java +++ b/src/main/java/one/talon/model/MultipleAudiences.java @@ -34,14 +34,14 @@ public class MultipleAudiences { public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private Integer accountId; + private Long accountId; public static final String SERIALIZED_NAME_AUDIENCES = "audiences"; @SerializedName(SERIALIZED_NAME_AUDIENCES) private List audiences = new ArrayList(); - public MultipleAudiences accountId(Integer accountId) { + public MultipleAudiences accountId(Long accountId) { this.accountId = accountId; return this; @@ -53,12 +53,12 @@ public MultipleAudiences accountId(Integer accountId) { **/ @ApiModelProperty(example = "3886", required = true, value = "The ID of the account that owns this entity.") - public Integer getAccountId() { + public Long getAccountId() { return accountId; } - public void setAccountId(Integer accountId) { + public void setAccountId(Long accountId) { this.accountId = accountId; } diff --git a/src/main/java/one/talon/model/MultipleAudiencesItem.java b/src/main/java/one/talon/model/MultipleAudiencesItem.java index 39919551..58aa273b 100644 --- a/src/main/java/one/talon/model/MultipleAudiencesItem.java +++ b/src/main/java/one/talon/model/MultipleAudiencesItem.java @@ -32,7 +32,7 @@ public class MultipleAudiencesItem { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -100,7 +100,7 @@ public StatusEnum read(final JsonReader jsonReader) throws IOException { private StatusEnum status; - public MultipleAudiencesItem id(Integer id) { + public MultipleAudiencesItem id(Long id) { this.id = id; return this; @@ -112,12 +112,12 @@ public MultipleAudiencesItem id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } diff --git a/src/main/java/one/talon/model/MultipleCustomerProfileIntegrationRequestItem.java b/src/main/java/one/talon/model/MultipleCustomerProfileIntegrationRequestItem.java index 59c25761..8fce94b3 100644 --- a/src/main/java/one/talon/model/MultipleCustomerProfileIntegrationRequestItem.java +++ b/src/main/java/one/talon/model/MultipleCustomerProfileIntegrationRequestItem.java @@ -23,20 +23,15 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import one.talon.custom.JsonNullable; -import one.talon.custom.NullableAdapterFactory; /** - * + * The body of a V2 integration API request (customer profile update). Next to the customer profile details, this contains an optional listing of extra properties that should be returned in the response. */ -@ApiModel(description = "") -@JsonAdapter(NullableAdapterFactory.class) +@ApiModel(description = "The body of a V2 integration API request (customer profile update). Next to the customer profile details, this contains an optional listing of extra properties that should be returned in the response. ") public class MultipleCustomerProfileIntegrationRequestItem { public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - /*allow Serializing null for this field */ - @JsonNullable private Object attributes; public static final String SERIALIZED_NAME_INTEGRATION_ID = "integrationId"; diff --git a/src/main/java/one/talon/model/NewAdditionalCost.java b/src/main/java/one/talon/model/NewAdditionalCost.java index acd19ba7..a02fff35 100644 --- a/src/main/java/one/talon/model/NewAdditionalCost.java +++ b/src/main/java/one/talon/model/NewAdditionalCost.java @@ -45,7 +45,7 @@ public class NewAdditionalCost { public static final String SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS_IDS = "subscribedApplicationsIds"; @SerializedName(SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS_IDS) - private List subscribedApplicationsIds = null; + private List subscribedApplicationsIds = null; /** * The type of additional cost. Possible value: - `session`: Additional cost will be added per session. - `item`: Additional cost will be added per item. - `both`: Additional cost will be added per item and session. @@ -167,15 +167,15 @@ public void setDescription(String description) { } - public NewAdditionalCost subscribedApplicationsIds(List subscribedApplicationsIds) { + public NewAdditionalCost subscribedApplicationsIds(List subscribedApplicationsIds) { this.subscribedApplicationsIds = subscribedApplicationsIds; return this; } - public NewAdditionalCost addSubscribedApplicationsIdsItem(Integer subscribedApplicationsIdsItem) { + public NewAdditionalCost addSubscribedApplicationsIdsItem(Long subscribedApplicationsIdsItem) { if (this.subscribedApplicationsIds == null) { - this.subscribedApplicationsIds = new ArrayList(); + this.subscribedApplicationsIds = new ArrayList(); } this.subscribedApplicationsIds.add(subscribedApplicationsIdsItem); return this; @@ -188,12 +188,12 @@ public NewAdditionalCost addSubscribedApplicationsIdsItem(Integer subscribedAppl @javax.annotation.Nullable @ApiModelProperty(example = "[3, 13]", value = "A list of the IDs of the applications that are subscribed to this additional cost.") - public List getSubscribedApplicationsIds() { + public List getSubscribedApplicationsIds() { return subscribedApplicationsIds; } - public void setSubscribedApplicationsIds(List subscribedApplicationsIds) { + public void setSubscribedApplicationsIds(List subscribedApplicationsIds) { this.subscribedApplicationsIds = subscribedApplicationsIds; } diff --git a/src/main/java/one/talon/model/NewAppWideCouponDeletionJob.java b/src/main/java/one/talon/model/NewAppWideCouponDeletionJob.java index a5407a1d..9a1a1e71 100644 --- a/src/main/java/one/talon/model/NewAppWideCouponDeletionJob.java +++ b/src/main/java/one/talon/model/NewAppWideCouponDeletionJob.java @@ -38,7 +38,7 @@ public class NewAppWideCouponDeletionJob { public static final String SERIALIZED_NAME_CAMPAIGNIDS = "campaignids"; @SerializedName(SERIALIZED_NAME_CAMPAIGNIDS) - private List campaignids = new ArrayList(); + private List campaignids = new ArrayList(); public NewAppWideCouponDeletionJob filters(CouponDeletionFilters filters) { @@ -63,13 +63,13 @@ public void setFilters(CouponDeletionFilters filters) { } - public NewAppWideCouponDeletionJob campaignids(List campaignids) { + public NewAppWideCouponDeletionJob campaignids(List campaignids) { this.campaignids = campaignids; return this; } - public NewAppWideCouponDeletionJob addCampaignidsItem(Integer campaignidsItem) { + public NewAppWideCouponDeletionJob addCampaignidsItem(Long campaignidsItem) { this.campaignids.add(campaignidsItem); return this; } @@ -80,12 +80,12 @@ public NewAppWideCouponDeletionJob addCampaignidsItem(Integer campaignidsItem) { **/ @ApiModelProperty(required = true, value = "") - public List getCampaignids() { + public List getCampaignids() { return campaignids; } - public void setCampaignids(List campaignids) { + public void setCampaignids(List campaignids) { this.campaignids = campaignids; } diff --git a/src/main/java/one/talon/model/NewApplicationAPIKey.java b/src/main/java/one/talon/model/NewApplicationAPIKey.java index 478dd59a..890773c0 100644 --- a/src/main/java/one/talon/model/NewApplicationAPIKey.java +++ b/src/main/java/one/talon/model/NewApplicationAPIKey.java @@ -156,23 +156,23 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_TIME_OFFSET = "timeOffset"; @SerializedName(SERIALIZED_NAME_TIME_OFFSET) - private Integer timeOffset; + private Long timeOffset; public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED_BY = "createdBy"; @SerializedName(SERIALIZED_NAME_CREATED_BY) - private Integer createdBy; + private Long createdBy; public static final String SERIALIZED_NAME_ACCOUNT_I_D = "accountID"; @SerializedName(SERIALIZED_NAME_ACCOUNT_I_D) - private Integer accountID; + private Long accountID; public static final String SERIALIZED_NAME_APPLICATION_I_D = "applicationID"; @SerializedName(SERIALIZED_NAME_APPLICATION_I_D) - private Integer applicationID; + private Long applicationID; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -273,7 +273,7 @@ public void setType(TypeEnum type) { } - public NewApplicationAPIKey timeOffset(Integer timeOffset) { + public NewApplicationAPIKey timeOffset(Long timeOffset) { this.timeOffset = timeOffset; return this; @@ -286,17 +286,17 @@ public NewApplicationAPIKey timeOffset(Integer timeOffset) { @javax.annotation.Nullable @ApiModelProperty(example = "100000", value = "A time offset in nanoseconds associated with the API key. When making a request using the API key, rule evaluation is based on a date that is calculated by adding the offset to the current date. ") - public Integer getTimeOffset() { + public Long getTimeOffset() { return timeOffset; } - public void setTimeOffset(Integer timeOffset) { + public void setTimeOffset(Long timeOffset) { this.timeOffset = timeOffset; } - public NewApplicationAPIKey id(Integer id) { + public NewApplicationAPIKey id(Long id) { this.id = id; return this; @@ -308,17 +308,17 @@ public NewApplicationAPIKey id(Integer id) { **/ @ApiModelProperty(example = "34", required = true, value = "ID of the API Key.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } - public NewApplicationAPIKey createdBy(Integer createdBy) { + public NewApplicationAPIKey createdBy(Long createdBy) { this.createdBy = createdBy; return this; @@ -330,17 +330,17 @@ public NewApplicationAPIKey createdBy(Integer createdBy) { **/ @ApiModelProperty(example = "280", required = true, value = "ID of user who created.") - public Integer getCreatedBy() { + public Long getCreatedBy() { return createdBy; } - public void setCreatedBy(Integer createdBy) { + public void setCreatedBy(Long createdBy) { this.createdBy = createdBy; } - public NewApplicationAPIKey accountID(Integer accountID) { + public NewApplicationAPIKey accountID(Long accountID) { this.accountID = accountID; return this; @@ -352,17 +352,17 @@ public NewApplicationAPIKey accountID(Integer accountID) { **/ @ApiModelProperty(example = "13", required = true, value = "ID of account the key is used for.") - public Integer getAccountID() { + public Long getAccountID() { return accountID; } - public void setAccountID(Integer accountID) { + public void setAccountID(Long accountID) { this.accountID = accountID; } - public NewApplicationAPIKey applicationID(Integer applicationID) { + public NewApplicationAPIKey applicationID(Long applicationID) { this.applicationID = applicationID; return this; @@ -374,12 +374,12 @@ public NewApplicationAPIKey applicationID(Integer applicationID) { **/ @ApiModelProperty(example = "54", required = true, value = "ID of application the key is used for.") - public Integer getApplicationID() { + public Long getApplicationID() { return applicationID; } - public void setApplicationID(Integer applicationID) { + public void setApplicationID(Long applicationID) { this.applicationID = applicationID; } diff --git a/src/main/java/one/talon/model/NewApplicationCIF.java b/src/main/java/one/talon/model/NewApplicationCIF.java index 47e9839a..947edd6d 100644 --- a/src/main/java/one/talon/model/NewApplicationCIF.java +++ b/src/main/java/one/talon/model/NewApplicationCIF.java @@ -40,15 +40,15 @@ public class NewApplicationCIF { public static final String SERIALIZED_NAME_ACTIVE_EXPRESSION_ID = "activeExpressionId"; @SerializedName(SERIALIZED_NAME_ACTIVE_EXPRESSION_ID) - private Integer activeExpressionId; + private Long activeExpressionId; public static final String SERIALIZED_NAME_MODIFIED_BY = "modifiedBy"; @SerializedName(SERIALIZED_NAME_MODIFIED_BY) - private Integer modifiedBy; + private Long modifiedBy; public static final String SERIALIZED_NAME_CREATED_BY = "createdBy"; @SerializedName(SERIALIZED_NAME_CREATED_BY) - private Integer createdBy; + private Long createdBy; public static final String SERIALIZED_NAME_MODIFIED = "modified"; @SerializedName(SERIALIZED_NAME_MODIFIED) @@ -100,7 +100,7 @@ public void setDescription(String description) { } - public NewApplicationCIF activeExpressionId(Integer activeExpressionId) { + public NewApplicationCIF activeExpressionId(Long activeExpressionId) { this.activeExpressionId = activeExpressionId; return this; @@ -113,17 +113,17 @@ public NewApplicationCIF activeExpressionId(Integer activeExpressionId) { @javax.annotation.Nullable @ApiModelProperty(example = "1", value = "The ID of the expression that the Application cart item filter uses.") - public Integer getActiveExpressionId() { + public Long getActiveExpressionId() { return activeExpressionId; } - public void setActiveExpressionId(Integer activeExpressionId) { + public void setActiveExpressionId(Long activeExpressionId) { this.activeExpressionId = activeExpressionId; } - public NewApplicationCIF modifiedBy(Integer modifiedBy) { + public NewApplicationCIF modifiedBy(Long modifiedBy) { this.modifiedBy = modifiedBy; return this; @@ -136,17 +136,17 @@ public NewApplicationCIF modifiedBy(Integer modifiedBy) { @javax.annotation.Nullable @ApiModelProperty(example = "334", value = "The ID of the user who last updated the Application cart item filter.") - public Integer getModifiedBy() { + public Long getModifiedBy() { return modifiedBy; } - public void setModifiedBy(Integer modifiedBy) { + public void setModifiedBy(Long modifiedBy) { this.modifiedBy = modifiedBy; } - public NewApplicationCIF createdBy(Integer createdBy) { + public NewApplicationCIF createdBy(Long createdBy) { this.createdBy = createdBy; return this; @@ -159,12 +159,12 @@ public NewApplicationCIF createdBy(Integer createdBy) { @javax.annotation.Nullable @ApiModelProperty(example = "216", value = "The ID of the user who created the Application cart item filter.") - public Integer getCreatedBy() { + public Long getCreatedBy() { return createdBy; } - public void setCreatedBy(Integer createdBy) { + public void setCreatedBy(Long createdBy) { this.createdBy = createdBy; } diff --git a/src/main/java/one/talon/model/NewApplicationCIFExpression.java b/src/main/java/one/talon/model/NewApplicationCIFExpression.java index 2cd31bcf..441e2010 100644 --- a/src/main/java/one/talon/model/NewApplicationCIFExpression.java +++ b/src/main/java/one/talon/model/NewApplicationCIFExpression.java @@ -33,18 +33,18 @@ public class NewApplicationCIFExpression { public static final String SERIALIZED_NAME_CART_ITEM_FILTER_ID = "cartItemFilterId"; @SerializedName(SERIALIZED_NAME_CART_ITEM_FILTER_ID) - private Integer cartItemFilterId; + private Long cartItemFilterId; public static final String SERIALIZED_NAME_CREATED_BY = "createdBy"; @SerializedName(SERIALIZED_NAME_CREATED_BY) - private Integer createdBy; + private Long createdBy; public static final String SERIALIZED_NAME_EXPRESSION = "expression"; @SerializedName(SERIALIZED_NAME_EXPRESSION) private List expression = null; - public NewApplicationCIFExpression cartItemFilterId(Integer cartItemFilterId) { + public NewApplicationCIFExpression cartItemFilterId(Long cartItemFilterId) { this.cartItemFilterId = cartItemFilterId; return this; @@ -57,17 +57,17 @@ public NewApplicationCIFExpression cartItemFilterId(Integer cartItemFilterId) { @javax.annotation.Nullable @ApiModelProperty(example = "216", value = "The ID of the Application cart item filter.") - public Integer getCartItemFilterId() { + public Long getCartItemFilterId() { return cartItemFilterId; } - public void setCartItemFilterId(Integer cartItemFilterId) { + public void setCartItemFilterId(Long cartItemFilterId) { this.cartItemFilterId = cartItemFilterId; } - public NewApplicationCIFExpression createdBy(Integer createdBy) { + public NewApplicationCIFExpression createdBy(Long createdBy) { this.createdBy = createdBy; return this; @@ -80,12 +80,12 @@ public NewApplicationCIFExpression createdBy(Integer createdBy) { @javax.annotation.Nullable @ApiModelProperty(example = "216", value = "The ID of the user who created the Application cart item filter.") - public Integer getCreatedBy() { + public Long getCreatedBy() { return createdBy; } - public void setCreatedBy(Integer createdBy) { + public void setCreatedBy(Long createdBy) { this.createdBy = createdBy; } diff --git a/src/main/java/one/talon/model/NewAttribute.java b/src/main/java/one/talon/model/NewAttribute.java index 22ce8d71..af4c366b 100644 --- a/src/main/java/one/talon/model/NewAttribute.java +++ b/src/main/java/one/talon/model/NewAttribute.java @@ -197,11 +197,11 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS_IDS = "subscribedApplicationsIds"; @SerializedName(SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS_IDS) - private List subscribedApplicationsIds = null; + private List subscribedApplicationsIds = null; public static final String SERIALIZED_NAME_SUBSCRIBED_CATALOGS_IDS = "subscribedCatalogsIds"; @SerializedName(SERIALIZED_NAME_SUBSCRIBED_CATALOGS_IDS) - private List subscribedCatalogsIds = null; + private List subscribedCatalogsIds = null; /** * Gets or Sets allowedSubscriptions @@ -483,15 +483,15 @@ public void setEditable(Boolean editable) { } - public NewAttribute subscribedApplicationsIds(List subscribedApplicationsIds) { + public NewAttribute subscribedApplicationsIds(List subscribedApplicationsIds) { this.subscribedApplicationsIds = subscribedApplicationsIds; return this; } - public NewAttribute addSubscribedApplicationsIdsItem(Integer subscribedApplicationsIdsItem) { + public NewAttribute addSubscribedApplicationsIdsItem(Long subscribedApplicationsIdsItem) { if (this.subscribedApplicationsIds == null) { - this.subscribedApplicationsIds = new ArrayList(); + this.subscribedApplicationsIds = new ArrayList(); } this.subscribedApplicationsIds.add(subscribedApplicationsIdsItem); return this; @@ -504,25 +504,25 @@ public NewAttribute addSubscribedApplicationsIdsItem(Integer subscribedApplicati @javax.annotation.Nullable @ApiModelProperty(example = "[1, 4, 9]", value = "A list of the IDs of the applications where this attribute is available.") - public List getSubscribedApplicationsIds() { + public List getSubscribedApplicationsIds() { return subscribedApplicationsIds; } - public void setSubscribedApplicationsIds(List subscribedApplicationsIds) { + public void setSubscribedApplicationsIds(List subscribedApplicationsIds) { this.subscribedApplicationsIds = subscribedApplicationsIds; } - public NewAttribute subscribedCatalogsIds(List subscribedCatalogsIds) { + public NewAttribute subscribedCatalogsIds(List subscribedCatalogsIds) { this.subscribedCatalogsIds = subscribedCatalogsIds; return this; } - public NewAttribute addSubscribedCatalogsIdsItem(Integer subscribedCatalogsIdsItem) { + public NewAttribute addSubscribedCatalogsIdsItem(Long subscribedCatalogsIdsItem) { if (this.subscribedCatalogsIds == null) { - this.subscribedCatalogsIds = new ArrayList(); + this.subscribedCatalogsIds = new ArrayList(); } this.subscribedCatalogsIds.add(subscribedCatalogsIdsItem); return this; @@ -535,12 +535,12 @@ public NewAttribute addSubscribedCatalogsIdsItem(Integer subscribedCatalogsIdsIt @javax.annotation.Nullable @ApiModelProperty(example = "[2, 5]", value = "A list of the IDs of the catalogs where this attribute is available.") - public List getSubscribedCatalogsIds() { + public List getSubscribedCatalogsIds() { return subscribedCatalogsIds; } - public void setSubscribedCatalogsIds(List subscribedCatalogsIds) { + public void setSubscribedCatalogsIds(List subscribedCatalogsIds) { this.subscribedCatalogsIds = subscribedCatalogsIds; } diff --git a/src/main/java/one/talon/model/NewCampaign.java b/src/main/java/one/talon/model/NewCampaign.java index c2ff9038..33a0ec52 100644 --- a/src/main/java/one/talon/model/NewCampaign.java +++ b/src/main/java/one/talon/model/NewCampaign.java @@ -109,7 +109,7 @@ public StateEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_ACTIVE_RULESET_ID = "activeRulesetId"; @SerializedName(SERIALIZED_NAME_ACTIVE_RULESET_ID) - private Integer activeRulesetId; + private Long activeRulesetId; public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) @@ -188,7 +188,7 @@ public FeaturesEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_CAMPAIGN_GROUPS = "campaignGroups"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_GROUPS) - private List campaignGroups = null; + private List campaignGroups = null; /** * The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items. @@ -243,11 +243,11 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_LINKED_STORE_IDS = "linkedStoreIds"; @SerializedName(SERIALIZED_NAME_LINKED_STORE_IDS) - private List linkedStoreIds = null; + private List linkedStoreIds = null; public static final String SERIALIZED_NAME_EVALUATION_GROUP_ID = "evaluationGroupId"; @SerializedName(SERIALIZED_NAME_EVALUATION_GROUP_ID) - private Integer evaluationGroupId; + private Long evaluationGroupId; public NewCampaign name(String name) { @@ -386,7 +386,7 @@ public void setState(StateEnum state) { } - public NewCampaign activeRulesetId(Integer activeRulesetId) { + public NewCampaign activeRulesetId(Long activeRulesetId) { this.activeRulesetId = activeRulesetId; return this; @@ -399,12 +399,12 @@ public NewCampaign activeRulesetId(Integer activeRulesetId) { @javax.annotation.Nullable @ApiModelProperty(example = "6", value = "[ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this campaign applies on customer session evaluation. ") - public Integer getActiveRulesetId() { + public Long getActiveRulesetId() { return activeRulesetId; } - public void setActiveRulesetId(Integer activeRulesetId) { + public void setActiveRulesetId(Long activeRulesetId) { this.activeRulesetId = activeRulesetId; } @@ -536,15 +536,15 @@ public void setLimits(List limits) { } - public NewCampaign campaignGroups(List campaignGroups) { + public NewCampaign campaignGroups(List campaignGroups) { this.campaignGroups = campaignGroups; return this; } - public NewCampaign addCampaignGroupsItem(Integer campaignGroupsItem) { + public NewCampaign addCampaignGroupsItem(Long campaignGroupsItem) { if (this.campaignGroups == null) { - this.campaignGroups = new ArrayList(); + this.campaignGroups = new ArrayList(); } this.campaignGroups.add(campaignGroupsItem); return this; @@ -557,12 +557,12 @@ public NewCampaign addCampaignGroupsItem(Integer campaignGroupsItem) { @javax.annotation.Nullable @ApiModelProperty(example = "[1, 3]", value = "The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/managing-campaign-groups) this campaign belongs to. ") - public List getCampaignGroups() { + public List getCampaignGroups() { return campaignGroups; } - public void setCampaignGroups(List campaignGroups) { + public void setCampaignGroups(List campaignGroups) { this.campaignGroups = campaignGroups; } @@ -590,15 +590,15 @@ public void setType(TypeEnum type) { } - public NewCampaign linkedStoreIds(List linkedStoreIds) { + public NewCampaign linkedStoreIds(List linkedStoreIds) { this.linkedStoreIds = linkedStoreIds; return this; } - public NewCampaign addLinkedStoreIdsItem(Integer linkedStoreIdsItem) { + public NewCampaign addLinkedStoreIdsItem(Long linkedStoreIdsItem) { if (this.linkedStoreIds == null) { - this.linkedStoreIds = new ArrayList(); + this.linkedStoreIds = new ArrayList(); } this.linkedStoreIds.add(linkedStoreIdsItem); return this; @@ -611,17 +611,17 @@ public NewCampaign addLinkedStoreIdsItem(Integer linkedStoreIdsItem) { @javax.annotation.Nullable @ApiModelProperty(example = "[1, 2, 3]", value = "A list of store IDs that you want to link to the campaign. **Note:** Campaigns with linked store IDs will only be evaluated when there is a [customer session update](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) that references a linked store. ") - public List getLinkedStoreIds() { + public List getLinkedStoreIds() { return linkedStoreIds; } - public void setLinkedStoreIds(List linkedStoreIds) { + public void setLinkedStoreIds(List linkedStoreIds) { this.linkedStoreIds = linkedStoreIds; } - public NewCampaign evaluationGroupId(Integer evaluationGroupId) { + public NewCampaign evaluationGroupId(Long evaluationGroupId) { this.evaluationGroupId = evaluationGroupId; return this; @@ -634,12 +634,12 @@ public NewCampaign evaluationGroupId(Integer evaluationGroupId) { @javax.annotation.Nullable @ApiModelProperty(example = "2", value = "The ID of the campaign evaluation group the campaign belongs to.") - public Integer getEvaluationGroupId() { + public Long getEvaluationGroupId() { return evaluationGroupId; } - public void setEvaluationGroupId(Integer evaluationGroupId) { + public void setEvaluationGroupId(Long evaluationGroupId) { this.evaluationGroupId = evaluationGroupId; } diff --git a/src/main/java/one/talon/model/NewCampaignEvaluationGroup.java b/src/main/java/one/talon/model/NewCampaignEvaluationGroup.java index f234592c..ee5fd2d8 100644 --- a/src/main/java/one/talon/model/NewCampaignEvaluationGroup.java +++ b/src/main/java/one/talon/model/NewCampaignEvaluationGroup.java @@ -35,7 +35,7 @@ public class NewCampaignEvaluationGroup { public static final String SERIALIZED_NAME_PARENT_ID = "parentId"; @SerializedName(SERIALIZED_NAME_PARENT_ID) - private Integer parentId; + private Long parentId; public static final String SERIALIZED_NAME_DESCRIPTION = "description"; @SerializedName(SERIALIZED_NAME_DESCRIPTION) @@ -174,7 +174,7 @@ public void setName(String name) { } - public NewCampaignEvaluationGroup parentId(Integer parentId) { + public NewCampaignEvaluationGroup parentId(Long parentId) { this.parentId = parentId; return this; @@ -187,12 +187,12 @@ public NewCampaignEvaluationGroup parentId(Integer parentId) { **/ @ApiModelProperty(example = "2", required = true, value = "The ID of the parent group that contains the campaign evaluation group.") - public Integer getParentId() { + public Long getParentId() { return parentId; } - public void setParentId(Integer parentId) { + public void setParentId(Long parentId) { this.parentId = parentId; } diff --git a/src/main/java/one/talon/model/NewCampaignGroup.java b/src/main/java/one/talon/model/NewCampaignGroup.java index b9a90979..21d5fa3e 100644 --- a/src/main/java/one/talon/model/NewCampaignGroup.java +++ b/src/main/java/one/talon/model/NewCampaignGroup.java @@ -41,11 +41,11 @@ public class NewCampaignGroup { public static final String SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS_IDS = "subscribedApplicationsIds"; @SerializedName(SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS_IDS) - private List subscribedApplicationsIds = null; + private List subscribedApplicationsIds = null; public static final String SERIALIZED_NAME_CAMPAIGN_IDS = "campaignIds"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_IDS) - private List campaignIds = null; + private List campaignIds = null; public NewCampaignGroup name(String name) { @@ -93,15 +93,15 @@ public void setDescription(String description) { } - public NewCampaignGroup subscribedApplicationsIds(List subscribedApplicationsIds) { + public NewCampaignGroup subscribedApplicationsIds(List subscribedApplicationsIds) { this.subscribedApplicationsIds = subscribedApplicationsIds; return this; } - public NewCampaignGroup addSubscribedApplicationsIdsItem(Integer subscribedApplicationsIdsItem) { + public NewCampaignGroup addSubscribedApplicationsIdsItem(Long subscribedApplicationsIdsItem) { if (this.subscribedApplicationsIds == null) { - this.subscribedApplicationsIds = new ArrayList(); + this.subscribedApplicationsIds = new ArrayList(); } this.subscribedApplicationsIds.add(subscribedApplicationsIdsItem); return this; @@ -114,25 +114,25 @@ public NewCampaignGroup addSubscribedApplicationsIdsItem(Integer subscribedAppli @javax.annotation.Nullable @ApiModelProperty(example = "[1, 2, 3]", value = "A list of IDs of the Applications that this campaign access group is enabled for.") - public List getSubscribedApplicationsIds() { + public List getSubscribedApplicationsIds() { return subscribedApplicationsIds; } - public void setSubscribedApplicationsIds(List subscribedApplicationsIds) { + public void setSubscribedApplicationsIds(List subscribedApplicationsIds) { this.subscribedApplicationsIds = subscribedApplicationsIds; } - public NewCampaignGroup campaignIds(List campaignIds) { + public NewCampaignGroup campaignIds(List campaignIds) { this.campaignIds = campaignIds; return this; } - public NewCampaignGroup addCampaignIdsItem(Integer campaignIdsItem) { + public NewCampaignGroup addCampaignIdsItem(Long campaignIdsItem) { if (this.campaignIds == null) { - this.campaignIds = new ArrayList(); + this.campaignIds = new ArrayList(); } this.campaignIds.add(campaignIdsItem); return this; @@ -145,12 +145,12 @@ public NewCampaignGroup addCampaignIdsItem(Integer campaignIdsItem) { @javax.annotation.Nullable @ApiModelProperty(example = "[4, 6, 8]", value = "A list of IDs of the campaigns that are part of the campaign access group.") - public List getCampaignIds() { + public List getCampaignIds() { return campaignIds; } - public void setCampaignIds(List campaignIds) { + public void setCampaignIds(List campaignIds) { this.campaignIds = campaignIds; } diff --git a/src/main/java/one/talon/model/NewCampaignSet.java b/src/main/java/one/talon/model/NewCampaignSet.java index 1769f548..eeeea81e 100644 --- a/src/main/java/one/talon/model/NewCampaignSet.java +++ b/src/main/java/one/talon/model/NewCampaignSet.java @@ -32,18 +32,18 @@ public class NewCampaignSet { public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - private Integer applicationId; + private Long applicationId; public static final String SERIALIZED_NAME_VERSION = "version"; @SerializedName(SERIALIZED_NAME_VERSION) - private Integer version; + private Long version; public static final String SERIALIZED_NAME_SET = "set"; @SerializedName(SERIALIZED_NAME_SET) private CampaignSetBranchNode set; - public NewCampaignSet applicationId(Integer applicationId) { + public NewCampaignSet applicationId(Long applicationId) { this.applicationId = applicationId; return this; @@ -55,17 +55,17 @@ public NewCampaignSet applicationId(Integer applicationId) { **/ @ApiModelProperty(example = "322", required = true, value = "The ID of the Application that owns this entity.") - public Integer getApplicationId() { + public Long getApplicationId() { return applicationId; } - public void setApplicationId(Integer applicationId) { + public void setApplicationId(Long applicationId) { this.applicationId = applicationId; } - public NewCampaignSet version(Integer version) { + public NewCampaignSet version(Long version) { this.version = version; return this; @@ -78,12 +78,12 @@ public NewCampaignSet version(Integer version) { **/ @ApiModelProperty(example = "2", required = true, value = "Version of the campaign set.") - public Integer getVersion() { + public Long getVersion() { return version; } - public void setVersion(Integer version) { + public void setVersion(Long version) { this.version = version; } diff --git a/src/main/java/one/talon/model/NewCampaignStoreBudgetStoreLimit.java b/src/main/java/one/talon/model/NewCampaignStoreBudgetStoreLimit.java index 34e68198..3285b5aa 100644 --- a/src/main/java/one/talon/model/NewCampaignStoreBudgetStoreLimit.java +++ b/src/main/java/one/talon/model/NewCampaignStoreBudgetStoreLimit.java @@ -32,14 +32,14 @@ public class NewCampaignStoreBudgetStoreLimit { public static final String SERIALIZED_NAME_STORE_ID = "storeId"; @SerializedName(SERIALIZED_NAME_STORE_ID) - private Integer storeId; + private Long storeId; public static final String SERIALIZED_NAME_LIMIT = "limit"; @SerializedName(SERIALIZED_NAME_LIMIT) private BigDecimal limit; - public NewCampaignStoreBudgetStoreLimit storeId(Integer storeId) { + public NewCampaignStoreBudgetStoreLimit storeId(Long storeId) { this.storeId = storeId; return this; @@ -51,12 +51,12 @@ public NewCampaignStoreBudgetStoreLimit storeId(Integer storeId) { **/ @ApiModelProperty(example = "17", required = true, value = "The ID of the store. You can get this ID with the [List stores](#tag/Stores/operation/listStores) endpoint. ") - public Integer getStoreId() { + public Long getStoreId() { return storeId; } - public void setStoreId(Integer storeId) { + public void setStoreId(Long storeId) { this.storeId = storeId; } diff --git a/src/main/java/one/talon/model/NewCampaignTemplate.java b/src/main/java/one/talon/model/NewCampaignTemplate.java index afbb60b3..e85bb918 100644 --- a/src/main/java/one/talon/model/NewCampaignTemplate.java +++ b/src/main/java/one/talon/model/NewCampaignTemplate.java @@ -198,7 +198,7 @@ public FeaturesEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_DEFAULT_CAMPAIGN_GROUP_ID = "defaultCampaignGroupId"; @SerializedName(SERIALIZED_NAME_DEFAULT_CAMPAIGN_GROUP_ID) - private Integer defaultCampaignGroupId; + private Long defaultCampaignGroupId; /** * The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items. @@ -610,7 +610,7 @@ public void setCampaignCollections(List campaignColl } - public NewCampaignTemplate defaultCampaignGroupId(Integer defaultCampaignGroupId) { + public NewCampaignTemplate defaultCampaignGroupId(Long defaultCampaignGroupId) { this.defaultCampaignGroupId = defaultCampaignGroupId; return this; @@ -623,12 +623,12 @@ public NewCampaignTemplate defaultCampaignGroupId(Integer defaultCampaignGroupId @javax.annotation.Nullable @ApiModelProperty(example = "42", value = "The default campaign group ID.") - public Integer getDefaultCampaignGroupId() { + public Long getDefaultCampaignGroupId() { return defaultCampaignGroupId; } - public void setDefaultCampaignGroupId(Integer defaultCampaignGroupId) { + public void setDefaultCampaignGroupId(Long defaultCampaignGroupId) { this.defaultCampaignGroupId = defaultCampaignGroupId; } diff --git a/src/main/java/one/talon/model/NewCatalog.java b/src/main/java/one/talon/model/NewCatalog.java index d29d1d24..bb825d43 100644 --- a/src/main/java/one/talon/model/NewCatalog.java +++ b/src/main/java/one/talon/model/NewCatalog.java @@ -41,7 +41,7 @@ public class NewCatalog { public static final String SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS_IDS = "subscribedApplicationsIds"; @SerializedName(SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS_IDS) - private List subscribedApplicationsIds = null; + private List subscribedApplicationsIds = null; public NewCatalog name(String name) { @@ -88,15 +88,15 @@ public void setDescription(String description) { } - public NewCatalog subscribedApplicationsIds(List subscribedApplicationsIds) { + public NewCatalog subscribedApplicationsIds(List subscribedApplicationsIds) { this.subscribedApplicationsIds = subscribedApplicationsIds; return this; } - public NewCatalog addSubscribedApplicationsIdsItem(Integer subscribedApplicationsIdsItem) { + public NewCatalog addSubscribedApplicationsIdsItem(Long subscribedApplicationsIdsItem) { if (this.subscribedApplicationsIds == null) { - this.subscribedApplicationsIds = new ArrayList(); + this.subscribedApplicationsIds = new ArrayList(); } this.subscribedApplicationsIds.add(subscribedApplicationsIdsItem); return this; @@ -109,12 +109,12 @@ public NewCatalog addSubscribedApplicationsIdsItem(Integer subscribedApplication @javax.annotation.Nullable @ApiModelProperty(example = "[1, 2, 3]", value = "A list of the IDs of the applications that are subscribed to this catalog.") - public List getSubscribedApplicationsIds() { + public List getSubscribedApplicationsIds() { return subscribedApplicationsIds; } - public void setSubscribedApplicationsIds(List subscribedApplicationsIds) { + public void setSubscribedApplicationsIds(List subscribedApplicationsIds) { this.subscribedApplicationsIds = subscribedApplicationsIds; } diff --git a/src/main/java/one/talon/model/NewCollection.java b/src/main/java/one/talon/model/NewCollection.java index 2838e1b8..3aa3eff0 100644 --- a/src/main/java/one/talon/model/NewCollection.java +++ b/src/main/java/one/talon/model/NewCollection.java @@ -37,7 +37,7 @@ public class NewCollection { public static final String SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS_IDS = "subscribedApplicationsIds"; @SerializedName(SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS_IDS) - private List subscribedApplicationsIds = null; + private List subscribedApplicationsIds = null; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -67,15 +67,15 @@ public void setDescription(String description) { } - public NewCollection subscribedApplicationsIds(List subscribedApplicationsIds) { + public NewCollection subscribedApplicationsIds(List subscribedApplicationsIds) { this.subscribedApplicationsIds = subscribedApplicationsIds; return this; } - public NewCollection addSubscribedApplicationsIdsItem(Integer subscribedApplicationsIdsItem) { + public NewCollection addSubscribedApplicationsIdsItem(Long subscribedApplicationsIdsItem) { if (this.subscribedApplicationsIds == null) { - this.subscribedApplicationsIds = new ArrayList(); + this.subscribedApplicationsIds = new ArrayList(); } this.subscribedApplicationsIds.add(subscribedApplicationsIdsItem); return this; @@ -88,12 +88,12 @@ public NewCollection addSubscribedApplicationsIdsItem(Integer subscribedApplicat @javax.annotation.Nullable @ApiModelProperty(example = "[1, 2, 3]", value = "A list of the IDs of the Applications where this collection is enabled.") - public List getSubscribedApplicationsIds() { + public List getSubscribedApplicationsIds() { return subscribedApplicationsIds; } - public void setSubscribedApplicationsIds(List subscribedApplicationsIds) { + public void setSubscribedApplicationsIds(List subscribedApplicationsIds) { this.subscribedApplicationsIds = subscribedApplicationsIds; } diff --git a/src/main/java/one/talon/model/NewCouponCreationJob.java b/src/main/java/one/talon/model/NewCouponCreationJob.java index 71ba949d..0b6a0374 100644 --- a/src/main/java/one/talon/model/NewCouponCreationJob.java +++ b/src/main/java/one/talon/model/NewCouponCreationJob.java @@ -34,7 +34,7 @@ public class NewCouponCreationJob { public static final String SERIALIZED_NAME_USAGE_LIMIT = "usageLimit"; @SerializedName(SERIALIZED_NAME_USAGE_LIMIT) - private Integer usageLimit; + private Long usageLimit; public static final String SERIALIZED_NAME_DISCOUNT_LIMIT = "discountLimit"; @SerializedName(SERIALIZED_NAME_DISCOUNT_LIMIT) @@ -42,7 +42,7 @@ public class NewCouponCreationJob { public static final String SERIALIZED_NAME_RESERVATION_LIMIT = "reservationLimit"; @SerializedName(SERIALIZED_NAME_RESERVATION_LIMIT) - private Integer reservationLimit; + private Long reservationLimit; public static final String SERIALIZED_NAME_START_DATE = "startDate"; @SerializedName(SERIALIZED_NAME_START_DATE) @@ -54,7 +54,7 @@ public class NewCouponCreationJob { public static final String SERIALIZED_NAME_NUMBER_OF_COUPONS = "numberOfCoupons"; @SerializedName(SERIALIZED_NAME_NUMBER_OF_COUPONS) - private Integer numberOfCoupons; + private Long numberOfCoupons; public static final String SERIALIZED_NAME_COUPON_SETTINGS = "couponSettings"; @SerializedName(SERIALIZED_NAME_COUPON_SETTINGS) @@ -65,7 +65,7 @@ public class NewCouponCreationJob { private Object attributes; - public NewCouponCreationJob usageLimit(Integer usageLimit) { + public NewCouponCreationJob usageLimit(Long usageLimit) { this.usageLimit = usageLimit; return this; @@ -79,12 +79,12 @@ public NewCouponCreationJob usageLimit(Integer usageLimit) { **/ @ApiModelProperty(example = "100", required = true, value = "The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. ") - public Integer getUsageLimit() { + public Long getUsageLimit() { return usageLimit; } - public void setUsageLimit(Integer usageLimit) { + public void setUsageLimit(Long usageLimit) { this.usageLimit = usageLimit; } @@ -114,7 +114,7 @@ public void setDiscountLimit(BigDecimal discountLimit) { } - public NewCouponCreationJob reservationLimit(Integer reservationLimit) { + public NewCouponCreationJob reservationLimit(Long reservationLimit) { this.reservationLimit = reservationLimit; return this; @@ -129,12 +129,12 @@ public NewCouponCreationJob reservationLimit(Integer reservationLimit) { @javax.annotation.Nullable @ApiModelProperty(example = "45", value = "The number of reservations that can be made with this coupon code. ") - public Integer getReservationLimit() { + public Long getReservationLimit() { return reservationLimit; } - public void setReservationLimit(Integer reservationLimit) { + public void setReservationLimit(Long reservationLimit) { this.reservationLimit = reservationLimit; } @@ -185,7 +185,7 @@ public void setExpiryDate(OffsetDateTime expiryDate) { } - public NewCouponCreationJob numberOfCoupons(Integer numberOfCoupons) { + public NewCouponCreationJob numberOfCoupons(Long numberOfCoupons) { this.numberOfCoupons = numberOfCoupons; return this; @@ -199,12 +199,12 @@ public NewCouponCreationJob numberOfCoupons(Integer numberOfCoupons) { **/ @ApiModelProperty(example = "200000", required = true, value = "The number of new coupon codes to generate for the campaign.") - public Integer getNumberOfCoupons() { + public Long getNumberOfCoupons() { return numberOfCoupons; } - public void setNumberOfCoupons(Integer numberOfCoupons) { + public void setNumberOfCoupons(Long numberOfCoupons) { this.numberOfCoupons = numberOfCoupons; } diff --git a/src/main/java/one/talon/model/NewCoupons.java b/src/main/java/one/talon/model/NewCoupons.java index 83e44ccc..cfdee8c3 100644 --- a/src/main/java/one/talon/model/NewCoupons.java +++ b/src/main/java/one/talon/model/NewCoupons.java @@ -36,7 +36,7 @@ public class NewCoupons { public static final String SERIALIZED_NAME_USAGE_LIMIT = "usageLimit"; @SerializedName(SERIALIZED_NAME_USAGE_LIMIT) - private Integer usageLimit; + private Long usageLimit; public static final String SERIALIZED_NAME_DISCOUNT_LIMIT = "discountLimit"; @SerializedName(SERIALIZED_NAME_DISCOUNT_LIMIT) @@ -44,7 +44,7 @@ public class NewCoupons { public static final String SERIALIZED_NAME_RESERVATION_LIMIT = "reservationLimit"; @SerializedName(SERIALIZED_NAME_RESERVATION_LIMIT) - private Integer reservationLimit; + private Long reservationLimit; public static final String SERIALIZED_NAME_START_DATE = "startDate"; @SerializedName(SERIALIZED_NAME_START_DATE) @@ -60,7 +60,7 @@ public class NewCoupons { public static final String SERIALIZED_NAME_NUMBER_OF_COUPONS = "numberOfCoupons"; @SerializedName(SERIALIZED_NAME_NUMBER_OF_COUPONS) - private Integer numberOfCoupons; + private Long numberOfCoupons; public static final String SERIALIZED_NAME_UNIQUE_PREFIX = "uniquePrefix"; @SerializedName(SERIALIZED_NAME_UNIQUE_PREFIX) @@ -91,7 +91,7 @@ public class NewCoupons { private Boolean implicitlyReserved; - public NewCoupons usageLimit(Integer usageLimit) { + public NewCoupons usageLimit(Long usageLimit) { this.usageLimit = usageLimit; return this; @@ -105,12 +105,12 @@ public NewCoupons usageLimit(Integer usageLimit) { **/ @ApiModelProperty(example = "100", required = true, value = "The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. ") - public Integer getUsageLimit() { + public Long getUsageLimit() { return usageLimit; } - public void setUsageLimit(Integer usageLimit) { + public void setUsageLimit(Long usageLimit) { this.usageLimit = usageLimit; } @@ -140,7 +140,7 @@ public void setDiscountLimit(BigDecimal discountLimit) { } - public NewCoupons reservationLimit(Integer reservationLimit) { + public NewCoupons reservationLimit(Long reservationLimit) { this.reservationLimit = reservationLimit; return this; @@ -155,12 +155,12 @@ public NewCoupons reservationLimit(Integer reservationLimit) { @javax.annotation.Nullable @ApiModelProperty(example = "45", value = "The number of reservations that can be made with this coupon code. ") - public Integer getReservationLimit() { + public Long getReservationLimit() { return reservationLimit; } - public void setReservationLimit(Integer reservationLimit) { + public void setReservationLimit(Long reservationLimit) { this.reservationLimit = reservationLimit; } @@ -242,7 +242,7 @@ public void setLimits(List limits) { } - public NewCoupons numberOfCoupons(Integer numberOfCoupons) { + public NewCoupons numberOfCoupons(Long numberOfCoupons) { this.numberOfCoupons = numberOfCoupons; return this; @@ -254,12 +254,12 @@ public NewCoupons numberOfCoupons(Integer numberOfCoupons) { **/ @ApiModelProperty(example = "1", required = true, value = "The number of new coupon codes to generate for the campaign. Must be at least 1.") - public Integer getNumberOfCoupons() { + public Long getNumberOfCoupons() { return numberOfCoupons; } - public void setNumberOfCoupons(Integer numberOfCoupons) { + public void setNumberOfCoupons(Long numberOfCoupons) { this.numberOfCoupons = numberOfCoupons; } diff --git a/src/main/java/one/talon/model/NewCouponsForMultipleRecipients.java b/src/main/java/one/talon/model/NewCouponsForMultipleRecipients.java index 43dca7f3..d821f96b 100644 --- a/src/main/java/one/talon/model/NewCouponsForMultipleRecipients.java +++ b/src/main/java/one/talon/model/NewCouponsForMultipleRecipients.java @@ -35,7 +35,7 @@ public class NewCouponsForMultipleRecipients { public static final String SERIALIZED_NAME_USAGE_LIMIT = "usageLimit"; @SerializedName(SERIALIZED_NAME_USAGE_LIMIT) - private Integer usageLimit; + private Long usageLimit; public static final String SERIALIZED_NAME_DISCOUNT_LIMIT = "discountLimit"; @SerializedName(SERIALIZED_NAME_DISCOUNT_LIMIT) @@ -43,7 +43,7 @@ public class NewCouponsForMultipleRecipients { public static final String SERIALIZED_NAME_RESERVATION_LIMIT = "reservationLimit"; @SerializedName(SERIALIZED_NAME_RESERVATION_LIMIT) - private Integer reservationLimit; + private Long reservationLimit; public static final String SERIALIZED_NAME_START_DATE = "startDate"; @SerializedName(SERIALIZED_NAME_START_DATE) @@ -70,7 +70,7 @@ public class NewCouponsForMultipleRecipients { private String couponPattern; - public NewCouponsForMultipleRecipients usageLimit(Integer usageLimit) { + public NewCouponsForMultipleRecipients usageLimit(Long usageLimit) { this.usageLimit = usageLimit; return this; @@ -84,12 +84,12 @@ public NewCouponsForMultipleRecipients usageLimit(Integer usageLimit) { **/ @ApiModelProperty(example = "100", required = true, value = "The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. ") - public Integer getUsageLimit() { + public Long getUsageLimit() { return usageLimit; } - public void setUsageLimit(Integer usageLimit) { + public void setUsageLimit(Long usageLimit) { this.usageLimit = usageLimit; } @@ -119,7 +119,7 @@ public void setDiscountLimit(BigDecimal discountLimit) { } - public NewCouponsForMultipleRecipients reservationLimit(Integer reservationLimit) { + public NewCouponsForMultipleRecipients reservationLimit(Long reservationLimit) { this.reservationLimit = reservationLimit; return this; @@ -134,12 +134,12 @@ public NewCouponsForMultipleRecipients reservationLimit(Integer reservationLimit @javax.annotation.Nullable @ApiModelProperty(example = "45", value = "The number of reservations that can be made with this coupon code. ") - public Integer getReservationLimit() { + public Long getReservationLimit() { return reservationLimit; } - public void setReservationLimit(Integer reservationLimit) { + public void setReservationLimit(Long reservationLimit) { this.reservationLimit = reservationLimit; } diff --git a/src/main/java/one/talon/model/NewCustomEffect.java b/src/main/java/one/talon/model/NewCustomEffect.java index 65ddfbc4..a52b60f8 100644 --- a/src/main/java/one/talon/model/NewCustomEffect.java +++ b/src/main/java/one/talon/model/NewCustomEffect.java @@ -34,7 +34,7 @@ public class NewCustomEffect { public static final String SERIALIZED_NAME_APPLICATION_IDS = "applicationIds"; @SerializedName(SERIALIZED_NAME_APPLICATION_IDS) - private List applicationIds = new ArrayList(); + private List applicationIds = new ArrayList(); public static final String SERIALIZED_NAME_IS_PER_ITEM = "isPerItem"; @SerializedName(SERIALIZED_NAME_IS_PER_ITEM) @@ -65,13 +65,13 @@ public class NewCustomEffect { private List params = null; - public NewCustomEffect applicationIds(List applicationIds) { + public NewCustomEffect applicationIds(List applicationIds) { this.applicationIds = applicationIds; return this; } - public NewCustomEffect addApplicationIdsItem(Integer applicationIdsItem) { + public NewCustomEffect addApplicationIdsItem(Long applicationIdsItem) { this.applicationIds.add(applicationIdsItem); return this; } @@ -82,12 +82,12 @@ public NewCustomEffect addApplicationIdsItem(Integer applicationIdsItem) { **/ @ApiModelProperty(required = true, value = "The IDs of the Applications that are related to this entity.") - public List getApplicationIds() { + public List getApplicationIds() { return applicationIds; } - public void setApplicationIds(List applicationIds) { + public void setApplicationIds(List applicationIds) { this.applicationIds = applicationIds; } diff --git a/src/main/java/one/talon/model/NewCustomerProfile.java b/src/main/java/one/talon/model/NewCustomerProfile.java index dfaf6855..15728dd3 100644 --- a/src/main/java/one/talon/model/NewCustomerProfile.java +++ b/src/main/java/one/talon/model/NewCustomerProfile.java @@ -23,19 +23,14 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import one.talon.custom.JsonNullable; -import one.talon.custom.NullableAdapterFactory; /** * NewCustomerProfile */ -@JsonAdapter(NullableAdapterFactory.class) public class NewCustomerProfile { public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - /*allow Serializing null for this field */ - @JsonNullable private Object attributes; diff --git a/src/main/java/one/talon/model/NewCustomerSession.java b/src/main/java/one/talon/model/NewCustomerSession.java index a49c6a0d..e248ec40 100644 --- a/src/main/java/one/talon/model/NewCustomerSession.java +++ b/src/main/java/one/talon/model/NewCustomerSession.java @@ -27,14 +27,10 @@ import java.util.ArrayList; import java.util.List; import one.talon.model.CartItem; -import one.talon.custom.JsonNullable; -import one.talon.custom.NullableAdapterFactory; /** - * + * NewCustomerSession */ -@ApiModel(description = "") -@JsonAdapter(NullableAdapterFactory.class) public class NewCustomerSession { public static final String SERIALIZED_NAME_PROFILE_ID = "profileId"; @@ -118,8 +114,6 @@ public StateEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - /*allow Serializing null for this field */ - @JsonNullable private Object attributes; diff --git a/src/main/java/one/talon/model/NewCustomerSessionV2.java b/src/main/java/one/talon/model/NewCustomerSessionV2.java index 1bd84f12..f38c33fb 100644 --- a/src/main/java/one/talon/model/NewCustomerSessionV2.java +++ b/src/main/java/one/talon/model/NewCustomerSessionV2.java @@ -29,14 +29,11 @@ import java.util.Map; import one.talon.model.AdditionalCost; import one.talon.model.CartItem; -import one.talon.custom.JsonNullable; -import one.talon.custom.NullableAdapterFactory; /** * The representation of the customer session. */ @ApiModel(description = "The representation of the customer session.") -@JsonAdapter(NullableAdapterFactory.class) public class NewCustomerSessionV2 { public static final String SERIALIZED_NAME_PROFILE_ID = "profileId"; @@ -49,7 +46,7 @@ public class NewCustomerSessionV2 { public static final String SERIALIZED_NAME_EVALUABLE_CAMPAIGN_IDS = "evaluableCampaignIds"; @SerializedName(SERIALIZED_NAME_EVALUABLE_CAMPAIGN_IDS) - private List evaluableCampaignIds = null; + private List evaluableCampaignIds = null; public static final String SERIALIZED_NAME_COUPON_CODES = "couponCodes"; @SerializedName(SERIALIZED_NAME_COUPON_CODES) @@ -132,8 +129,6 @@ public StateEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - /*allow Serializing null for this field */ - @JsonNullable private Object attributes; @@ -183,15 +178,15 @@ public void setStoreIntegrationId(String storeIntegrationId) { } - public NewCustomerSessionV2 evaluableCampaignIds(List evaluableCampaignIds) { + public NewCustomerSessionV2 evaluableCampaignIds(List evaluableCampaignIds) { this.evaluableCampaignIds = evaluableCampaignIds; return this; } - public NewCustomerSessionV2 addEvaluableCampaignIdsItem(Integer evaluableCampaignIdsItem) { + public NewCustomerSessionV2 addEvaluableCampaignIdsItem(Long evaluableCampaignIdsItem) { if (this.evaluableCampaignIds == null) { - this.evaluableCampaignIds = new ArrayList(); + this.evaluableCampaignIds = new ArrayList(); } this.evaluableCampaignIds.add(evaluableCampaignIdsItem); return this; @@ -204,12 +199,12 @@ public NewCustomerSessionV2 addEvaluableCampaignIdsItem(Integer evaluableCampaig @javax.annotation.Nullable @ApiModelProperty(example = "[10, 12]", value = "When using the `dry` query parameter, use this property to list the campaign to be evaluated by the Rule Engine. These campaigns will be evaluated, even if they are disabled, allowing you to test specific campaigns before activating them. ") - public List getEvaluableCampaignIds() { + public List getEvaluableCampaignIds() { return evaluableCampaignIds; } - public void setEvaluableCampaignIds(List evaluableCampaignIds) { + public void setEvaluableCampaignIds(List evaluableCampaignIds) { this.evaluableCampaignIds = evaluableCampaignIds; } @@ -229,11 +224,11 @@ public NewCustomerSessionV2 addCouponCodesItem(String couponCodesItem) { } /** - * Any coupon codes entered. **Important - for requests only**: - If you [create a coupon budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a coupon code by the time you close it. - In requests where `dry=false`, providing an empty array discards any previous coupons. To avoid this, provide `\"couponCodes\": null` or omit the parameter entirely. + * Any coupon codes entered. **Important - for requests only**: - If you [create a coupon budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a coupon code by the time you close it. - In requests where `dry=false`, providing an empty array discards any previous coupons. To avoid this, omit the parameter entirely. * @return couponCodes **/ @javax.annotation.Nullable - @ApiModelProperty(example = "[XMAS-20-2021]", value = "Any coupon codes entered. **Important - for requests only**: - If you [create a coupon budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a coupon code by the time you close it. - In requests where `dry=false`, providing an empty array discards any previous coupons. To avoid this, provide `\"couponCodes\": null` or omit the parameter entirely. ") + @ApiModelProperty(example = "[XMAS-20-2021]", value = "Any coupon codes entered. **Important - for requests only**: - If you [create a coupon budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a coupon code by the time you close it. - In requests where `dry=false`, providing an empty array discards any previous coupons. To avoid this, omit the parameter entirely. ") public List getCouponCodes() { return couponCodes; @@ -252,11 +247,11 @@ public NewCustomerSessionV2 referralCode(String referralCode) { } /** - * Any referral code entered. **Important - for requests only**: - If you [create a referral budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a referral code by the time you close it. - In requests where `dry=false`, providing an empty value discards the previous referral code. To avoid this, provide `\"referralCode\": null` or omit the parameter entirely. + * Any referral code entered. **Important - for requests only**: - If you [create a referral budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a referral code by the time you close it. - In requests where `dry=false`, providing an empty value discards the previous referral code. To avoid this, omit the parameter entirely. * @return referralCode **/ @javax.annotation.Nullable - @ApiModelProperty(example = "NT2K54D9", value = "Any referral code entered. **Important - for requests only**: - If you [create a referral budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a referral code by the time you close it. - In requests where `dry=false`, providing an empty value discards the previous referral code. To avoid this, provide `\"referralCode\": null` or omit the parameter entirely. ") + @ApiModelProperty(example = "NT2K54D9", value = "Any referral code entered. **Important - for requests only**: - If you [create a referral budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a referral code by the time you close it. - In requests where `dry=false`, providing an empty value discards the previous referral code. To avoid this, omit the parameter entirely. ") public String getReferralCode() { return referralCode; @@ -399,11 +394,11 @@ public NewCustomerSessionV2 addIdentifiersItem(String identifiersItem) { } /** - * Session custom identifiers that you can set limits on or use inside your rules. For example, you can use IP addresses as identifiers to potentially identify devices and limit discounts abuse in case of customers creating multiple accounts. See the [tutorial](https://docs.talon.one/docs/dev/tutorials/using-identifiers). **Important**: Ensure the session contains an identifier by the time you close it if: - You [create a unique identifier budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign. - Your campaign has [coupons](https://docs.talon.one/docs/product/campaigns/coupons/coupon-page-overview). + * Session custom identifiers that you can set limits on or use inside your rules. For example, you can use IP addresses as identifiers to potentially identify devices and limit discounts abuse in case of customers creating multiple accounts. See the [tutorial](https://docs.talon.one/docs/dev/tutorials/using-identifiers). **Important**: Ensure the session contains an identifier by the time you close it if: - You [create a unique identifier budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign. - Your campaign has [coupons](https://docs.talon.one/docs/product/campaigns/coupons/coupon-page-overview). - We recommend passing an anonymized (hashed) version of the identifier value. * @return identifiers **/ @javax.annotation.Nullable - @ApiModelProperty(example = "[91.11.156.141]", value = "Session custom identifiers that you can set limits on or use inside your rules. For example, you can use IP addresses as identifiers to potentially identify devices and limit discounts abuse in case of customers creating multiple accounts. See the [tutorial](https://docs.talon.one/docs/dev/tutorials/using-identifiers). **Important**: Ensure the session contains an identifier by the time you close it if: - You [create a unique identifier budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign. - Your campaign has [coupons](https://docs.talon.one/docs/product/campaigns/coupons/coupon-page-overview). ") + @ApiModelProperty(example = "[d41306257915f83fe01e54092ae470f631161ea16fcf4415842eed41470386ea]", value = "Session custom identifiers that you can set limits on or use inside your rules. For example, you can use IP addresses as identifiers to potentially identify devices and limit discounts abuse in case of customers creating multiple accounts. See the [tutorial](https://docs.talon.one/docs/dev/tutorials/using-identifiers). **Important**: Ensure the session contains an identifier by the time you close it if: - You [create a unique identifier budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign. - Your campaign has [coupons](https://docs.talon.one/docs/product/campaigns/coupons/coupon-page-overview). - We recommend passing an anonymized (hashed) version of the identifier value. ") public List getIdentifiers() { return identifiers; diff --git a/src/main/java/one/talon/model/NewEvent.java b/src/main/java/one/talon/model/NewEvent.java index 66d2acf3..cb080b3d 100644 --- a/src/main/java/one/talon/model/NewEvent.java +++ b/src/main/java/one/talon/model/NewEvent.java @@ -23,14 +23,10 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import one.talon.custom.JsonNullable; -import one.talon.custom.NullableAdapterFactory; /** - * + * NewEvent */ -@ApiModel(description = "") -@JsonAdapter(NullableAdapterFactory.class) public class NewEvent { public static final String SERIALIZED_NAME_PROFILE_ID = "profileId"; @@ -47,8 +43,6 @@ public class NewEvent { public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - /*allow Serializing null for this field */ - @JsonNullable private Object attributes; public static final String SERIALIZED_NAME_SESSION_ID = "sessionId"; diff --git a/src/main/java/one/talon/model/NewGiveawaysPool.java b/src/main/java/one/talon/model/NewGiveawaysPool.java index 159bf138..c736e43d 100644 --- a/src/main/java/one/talon/model/NewGiveawaysPool.java +++ b/src/main/java/one/talon/model/NewGiveawaysPool.java @@ -41,7 +41,7 @@ public class NewGiveawaysPool { public static final String SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS_IDS = "subscribedApplicationsIds"; @SerializedName(SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS_IDS) - private List subscribedApplicationsIds = null; + private List subscribedApplicationsIds = null; public static final String SERIALIZED_NAME_SANDBOX = "sandbox"; @SerializedName(SERIALIZED_NAME_SANDBOX) @@ -93,15 +93,15 @@ public void setDescription(String description) { } - public NewGiveawaysPool subscribedApplicationsIds(List subscribedApplicationsIds) { + public NewGiveawaysPool subscribedApplicationsIds(List subscribedApplicationsIds) { this.subscribedApplicationsIds = subscribedApplicationsIds; return this; } - public NewGiveawaysPool addSubscribedApplicationsIdsItem(Integer subscribedApplicationsIdsItem) { + public NewGiveawaysPool addSubscribedApplicationsIdsItem(Long subscribedApplicationsIdsItem) { if (this.subscribedApplicationsIds == null) { - this.subscribedApplicationsIds = new ArrayList(); + this.subscribedApplicationsIds = new ArrayList(); } this.subscribedApplicationsIds.add(subscribedApplicationsIdsItem); return this; @@ -114,12 +114,12 @@ public NewGiveawaysPool addSubscribedApplicationsIdsItem(Integer subscribedAppli @javax.annotation.Nullable @ApiModelProperty(example = "[2, 4]", value = "A list of the IDs of the applications that this giveaways pool is enabled for.") - public List getSubscribedApplicationsIds() { + public List getSubscribedApplicationsIds() { return subscribedApplicationsIds; } - public void setSubscribedApplicationsIds(List subscribedApplicationsIds) { + public void setSubscribedApplicationsIds(List subscribedApplicationsIds) { this.subscribedApplicationsIds = subscribedApplicationsIds; } diff --git a/src/main/java/one/talon/model/NewInvitation.java b/src/main/java/one/talon/model/NewInvitation.java index 51bfe0ef..228ec61c 100644 --- a/src/main/java/one/talon/model/NewInvitation.java +++ b/src/main/java/one/talon/model/NewInvitation.java @@ -46,7 +46,7 @@ public class NewInvitation { public static final String SERIALIZED_NAME_ROLES = "roles"; @SerializedName(SERIALIZED_NAME_ROLES) - private List roles = null; + private List roles = null; public static final String SERIALIZED_NAME_ACL = "acl"; @SerializedName(SERIALIZED_NAME_ACL) @@ -121,15 +121,15 @@ public void setIsAdmin(Boolean isAdmin) { } - public NewInvitation roles(List roles) { + public NewInvitation roles(List roles) { this.roles = roles; return this; } - public NewInvitation addRolesItem(Integer rolesItem) { + public NewInvitation addRolesItem(Long rolesItem) { if (this.roles == null) { - this.roles = new ArrayList(); + this.roles = new ArrayList(); } this.roles.add(rolesItem); return this; @@ -142,12 +142,12 @@ public NewInvitation addRolesItem(Integer rolesItem) { @javax.annotation.Nullable @ApiModelProperty(value = "A list of the IDs of the roles assigned to the user.") - public List getRoles() { + public List getRoles() { return roles; } - public void setRoles(List roles) { + public void setRoles(List roles) { this.roles = roles; } diff --git a/src/main/java/one/talon/model/NewLoyaltyProgram.java b/src/main/java/one/talon/model/NewLoyaltyProgram.java index 6bf4384c..25322f91 100644 --- a/src/main/java/one/talon/model/NewLoyaltyProgram.java +++ b/src/main/java/one/talon/model/NewLoyaltyProgram.java @@ -45,7 +45,7 @@ public class NewLoyaltyProgram { public static final String SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS = "subscribedApplications"; @SerializedName(SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS) - private List subscribedApplications = null; + private List subscribedApplications = null; public static final String SERIALIZED_NAME_DEFAULT_VALIDITY = "defaultValidity"; @SerializedName(SERIALIZED_NAME_DEFAULT_VALIDITY) @@ -61,7 +61,7 @@ public class NewLoyaltyProgram { public static final String SERIALIZED_NAME_USERS_PER_CARD_LIMIT = "usersPerCardLimit"; @SerializedName(SERIALIZED_NAME_USERS_PER_CARD_LIMIT) - private Integer usersPerCardLimit; + private Long usersPerCardLimit; public static final String SERIALIZED_NAME_SANDBOX = "sandbox"; @SerializedName(SERIALIZED_NAME_SANDBOX) @@ -353,15 +353,15 @@ public void setDescription(String description) { } - public NewLoyaltyProgram subscribedApplications(List subscribedApplications) { + public NewLoyaltyProgram subscribedApplications(List subscribedApplications) { this.subscribedApplications = subscribedApplications; return this; } - public NewLoyaltyProgram addSubscribedApplicationsItem(Integer subscribedApplicationsItem) { + public NewLoyaltyProgram addSubscribedApplicationsItem(Long subscribedApplicationsItem) { if (this.subscribedApplications == null) { - this.subscribedApplications = new ArrayList(); + this.subscribedApplications = new ArrayList(); } this.subscribedApplications.add(subscribedApplicationsItem); return this; @@ -374,12 +374,12 @@ public NewLoyaltyProgram addSubscribedApplicationsItem(Integer subscribedApplica @javax.annotation.Nullable @ApiModelProperty(example = "[132, 97]", value = "A list containing the IDs of all applications that are subscribed to this Loyalty Program.") - public List getSubscribedApplications() { + public List getSubscribedApplications() { return subscribedApplications; } - public void setSubscribedApplications(List subscribedApplications) { + public void setSubscribedApplications(List subscribedApplications) { this.subscribedApplications = subscribedApplications; } @@ -450,7 +450,7 @@ public void setAllowSubledger(Boolean allowSubledger) { } - public NewLoyaltyProgram usersPerCardLimit(Integer usersPerCardLimit) { + public NewLoyaltyProgram usersPerCardLimit(Long usersPerCardLimit) { this.usersPerCardLimit = usersPerCardLimit; return this; @@ -464,12 +464,12 @@ public NewLoyaltyProgram usersPerCardLimit(Integer usersPerCardLimit) { @javax.annotation.Nullable @ApiModelProperty(example = "111", value = "The max amount of user profiles with whom a card can be shared. This can be set to 0 for no limit. This property is only used when `cardBased` is `true`. ") - public Integer getUsersPerCardLimit() { + public Long getUsersPerCardLimit() { return usersPerCardLimit; } - public void setUsersPerCardLimit(Integer usersPerCardLimit) { + public void setUsersPerCardLimit(Long usersPerCardLimit) { this.usersPerCardLimit = usersPerCardLimit; } diff --git a/src/main/java/one/talon/model/NewManagementKey.java b/src/main/java/one/talon/model/NewManagementKey.java index 60c87ffa..4dec163c 100644 --- a/src/main/java/one/talon/model/NewManagementKey.java +++ b/src/main/java/one/talon/model/NewManagementKey.java @@ -47,19 +47,19 @@ public class NewManagementKey { public static final String SERIALIZED_NAME_ALLOWED_APPLICATION_IDS = "allowedApplicationIds"; @SerializedName(SERIALIZED_NAME_ALLOWED_APPLICATION_IDS) - private List allowedApplicationIds = null; + private List allowedApplicationIds = null; public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED_BY = "createdBy"; @SerializedName(SERIALIZED_NAME_CREATED_BY) - private Integer createdBy; + private Long createdBy; public static final String SERIALIZED_NAME_ACCOUNT_I_D = "accountID"; @SerializedName(SERIALIZED_NAME_ACCOUNT_I_D) - private Integer accountID; + private Long accountID; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -145,15 +145,15 @@ public void setEndpoints(List endpoints) { } - public NewManagementKey allowedApplicationIds(List allowedApplicationIds) { + public NewManagementKey allowedApplicationIds(List allowedApplicationIds) { this.allowedApplicationIds = allowedApplicationIds; return this; } - public NewManagementKey addAllowedApplicationIdsItem(Integer allowedApplicationIdsItem) { + public NewManagementKey addAllowedApplicationIdsItem(Long allowedApplicationIdsItem) { if (this.allowedApplicationIds == null) { - this.allowedApplicationIds = new ArrayList(); + this.allowedApplicationIds = new ArrayList(); } this.allowedApplicationIds.add(allowedApplicationIdsItem); return this; @@ -166,17 +166,17 @@ public NewManagementKey addAllowedApplicationIdsItem(Integer allowedApplicationI @javax.annotation.Nullable @ApiModelProperty(example = "[1, 2, 3]", value = "A list of Application IDs that you can access with the management key. An empty or missing list means the management key can be used for all Applications in the account. ") - public List getAllowedApplicationIds() { + public List getAllowedApplicationIds() { return allowedApplicationIds; } - public void setAllowedApplicationIds(List allowedApplicationIds) { + public void setAllowedApplicationIds(List allowedApplicationIds) { this.allowedApplicationIds = allowedApplicationIds; } - public NewManagementKey id(Integer id) { + public NewManagementKey id(Long id) { this.id = id; return this; @@ -188,17 +188,17 @@ public NewManagementKey id(Integer id) { **/ @ApiModelProperty(example = "34", required = true, value = "ID of the management key.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } - public NewManagementKey createdBy(Integer createdBy) { + public NewManagementKey createdBy(Long createdBy) { this.createdBy = createdBy; return this; @@ -210,17 +210,17 @@ public NewManagementKey createdBy(Integer createdBy) { **/ @ApiModelProperty(example = "280", required = true, value = "ID of the user who created it.") - public Integer getCreatedBy() { + public Long getCreatedBy() { return createdBy; } - public void setCreatedBy(Integer createdBy) { + public void setCreatedBy(Long createdBy) { this.createdBy = createdBy; } - public NewManagementKey accountID(Integer accountID) { + public NewManagementKey accountID(Long accountID) { this.accountID = accountID; return this; @@ -232,12 +232,12 @@ public NewManagementKey accountID(Integer accountID) { **/ @ApiModelProperty(example = "13", required = true, value = "ID of account the key is used for.") - public Integer getAccountID() { + public Long getAccountID() { return accountID; } - public void setAccountID(Integer accountID) { + public void setAccountID(Long accountID) { this.accountID = accountID; } diff --git a/src/main/java/one/talon/model/NewOutgoingIntegrationWebhook.java b/src/main/java/one/talon/model/NewOutgoingIntegrationWebhook.java index ff36a853..c3703868 100644 --- a/src/main/java/one/talon/model/NewOutgoingIntegrationWebhook.java +++ b/src/main/java/one/talon/model/NewOutgoingIntegrationWebhook.java @@ -41,7 +41,7 @@ public class NewOutgoingIntegrationWebhook { public static final String SERIALIZED_NAME_APPLICATION_IDS = "applicationIds"; @SerializedName(SERIALIZED_NAME_APPLICATION_IDS) - private List applicationIds = new ArrayList(); + private List applicationIds = new ArrayList(); public NewOutgoingIntegrationWebhook title(String title) { @@ -89,13 +89,13 @@ public void setDescription(String description) { } - public NewOutgoingIntegrationWebhook applicationIds(List applicationIds) { + public NewOutgoingIntegrationWebhook applicationIds(List applicationIds) { this.applicationIds = applicationIds; return this; } - public NewOutgoingIntegrationWebhook addApplicationIdsItem(Integer applicationIdsItem) { + public NewOutgoingIntegrationWebhook addApplicationIdsItem(Long applicationIdsItem) { this.applicationIds.add(applicationIdsItem); return this; } @@ -106,12 +106,12 @@ public NewOutgoingIntegrationWebhook addApplicationIdsItem(Integer applicationId **/ @ApiModelProperty(example = "[1, 2, 3]", required = true, value = "IDs of the Applications to which a webhook must be linked.") - public List getApplicationIds() { + public List getApplicationIds() { return applicationIds; } - public void setApplicationIds(List applicationIds) { + public void setApplicationIds(List applicationIds) { this.applicationIds = applicationIds; } diff --git a/src/main/java/one/talon/model/NewReferral.java b/src/main/java/one/talon/model/NewReferral.java index 4309f840..54c57482 100644 --- a/src/main/java/one/talon/model/NewReferral.java +++ b/src/main/java/one/talon/model/NewReferral.java @@ -40,11 +40,11 @@ public class NewReferral { public static final String SERIALIZED_NAME_USAGE_LIMIT = "usageLimit"; @SerializedName(SERIALIZED_NAME_USAGE_LIMIT) - private Integer usageLimit; + private Long usageLimit; public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) - private Integer campaignId; + private Long campaignId; public static final String SERIALIZED_NAME_ADVOCATE_PROFILE_INTEGRATION_ID = "advocateProfileIntegrationId"; @SerializedName(SERIALIZED_NAME_ADVOCATE_PROFILE_INTEGRATION_ID) @@ -105,7 +105,7 @@ public void setExpiryDate(OffsetDateTime expiryDate) { } - public NewReferral usageLimit(Integer usageLimit) { + public NewReferral usageLimit(Long usageLimit) { this.usageLimit = usageLimit; return this; @@ -120,17 +120,17 @@ public NewReferral usageLimit(Integer usageLimit) { @javax.annotation.Nullable @ApiModelProperty(example = "1", value = "The number of times a referral code can be used. `0` means no limit but any campaign usage limits will still apply. ") - public Integer getUsageLimit() { + public Long getUsageLimit() { return usageLimit; } - public void setUsageLimit(Integer usageLimit) { + public void setUsageLimit(Long usageLimit) { this.usageLimit = usageLimit; } - public NewReferral campaignId(Integer campaignId) { + public NewReferral campaignId(Long campaignId) { this.campaignId = campaignId; return this; @@ -142,12 +142,12 @@ public NewReferral campaignId(Integer campaignId) { **/ @ApiModelProperty(example = "78", required = true, value = "ID of the campaign from which the referral received the referral code.") - public Integer getCampaignId() { + public Long getCampaignId() { return campaignId; } - public void setCampaignId(Integer campaignId) { + public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } diff --git a/src/main/java/one/talon/model/NewReferralsForMultipleAdvocates.java b/src/main/java/one/talon/model/NewReferralsForMultipleAdvocates.java index a18f92b2..9d43d3ba 100644 --- a/src/main/java/one/talon/model/NewReferralsForMultipleAdvocates.java +++ b/src/main/java/one/talon/model/NewReferralsForMultipleAdvocates.java @@ -26,14 +26,10 @@ import java.util.ArrayList; import java.util.List; import org.threeten.bp.OffsetDateTime; -import one.talon.custom.JsonNullable; -import one.talon.custom.NullableAdapterFactory; /** - * + * NewReferralsForMultipleAdvocates */ -@ApiModel(description = "") -@JsonAdapter(NullableAdapterFactory.class) public class NewReferralsForMultipleAdvocates { public static final String SERIALIZED_NAME_START_DATE = "startDate"; @@ -46,11 +42,11 @@ public class NewReferralsForMultipleAdvocates { public static final String SERIALIZED_NAME_USAGE_LIMIT = "usageLimit"; @SerializedName(SERIALIZED_NAME_USAGE_LIMIT) - private Integer usageLimit; + private Long usageLimit; public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) - private Integer campaignId; + private Long campaignId; public static final String SERIALIZED_NAME_ADVOCATE_PROFILE_INTEGRATION_IDS = "advocateProfileIntegrationIds"; @SerializedName(SERIALIZED_NAME_ADVOCATE_PROFILE_INTEGRATION_IDS) @@ -58,8 +54,6 @@ public class NewReferralsForMultipleAdvocates { public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - /*allow Serializing null for this field */ - @JsonNullable private Object attributes; public static final String SERIALIZED_NAME_VALID_CHARACTERS = "validCharacters"; @@ -117,7 +111,7 @@ public void setExpiryDate(OffsetDateTime expiryDate) { } - public NewReferralsForMultipleAdvocates usageLimit(Integer usageLimit) { + public NewReferralsForMultipleAdvocates usageLimit(Long usageLimit) { this.usageLimit = usageLimit; return this; @@ -131,17 +125,17 @@ public NewReferralsForMultipleAdvocates usageLimit(Integer usageLimit) { **/ @ApiModelProperty(example = "1", required = true, value = "The number of times a referral code can be used. `0` means no limit but any campaign usage limits will still apply. ") - public Integer getUsageLimit() { + public Long getUsageLimit() { return usageLimit; } - public void setUsageLimit(Integer usageLimit) { + public void setUsageLimit(Long usageLimit) { this.usageLimit = usageLimit; } - public NewReferralsForMultipleAdvocates campaignId(Integer campaignId) { + public NewReferralsForMultipleAdvocates campaignId(Long campaignId) { this.campaignId = campaignId; return this; @@ -153,12 +147,12 @@ public NewReferralsForMultipleAdvocates campaignId(Integer campaignId) { **/ @ApiModelProperty(example = "45", required = true, value = "The ID of the campaign from which the referral received the referral code.") - public Integer getCampaignId() { + public Long getCampaignId() { return campaignId; } - public void setCampaignId(Integer campaignId) { + public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } diff --git a/src/main/java/one/talon/model/NewRevisionVersion.java b/src/main/java/one/talon/model/NewRevisionVersion.java index 79759828..14b9ac8f 100644 --- a/src/main/java/one/talon/model/NewRevisionVersion.java +++ b/src/main/java/one/talon/model/NewRevisionVersion.java @@ -56,7 +56,7 @@ public class NewRevisionVersion { public static final String SERIALIZED_NAME_ACTIVE_RULESET_ID = "activeRulesetId"; @SerializedName(SERIALIZED_NAME_ACTIVE_RULESET_ID) - private Integer activeRulesetId; + private Long activeRulesetId; public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) @@ -249,7 +249,7 @@ public void setDescription(String description) { } - public NewRevisionVersion activeRulesetId(Integer activeRulesetId) { + public NewRevisionVersion activeRulesetId(Long activeRulesetId) { this.activeRulesetId = activeRulesetId; return this; @@ -262,12 +262,12 @@ public NewRevisionVersion activeRulesetId(Integer activeRulesetId) { @javax.annotation.Nullable @ApiModelProperty(example = "5", value = "The ID of the ruleset this campaign template will use.") - public Integer getActiveRulesetId() { + public Long getActiveRulesetId() { return activeRulesetId; } - public void setActiveRulesetId(Integer activeRulesetId) { + public void setActiveRulesetId(Long activeRulesetId) { this.activeRulesetId = activeRulesetId; } diff --git a/src/main/java/one/talon/model/NewRole.java b/src/main/java/one/talon/model/NewRole.java index ea2e5a17..48585f2c 100644 --- a/src/main/java/one/talon/model/NewRole.java +++ b/src/main/java/one/talon/model/NewRole.java @@ -45,7 +45,7 @@ public class NewRole { public static final String SERIALIZED_NAME_MEMBERS = "members"; @SerializedName(SERIALIZED_NAME_MEMBERS) - private List members = new ArrayList(); + private List members = new ArrayList(); public NewRole name(String name) { @@ -115,13 +115,13 @@ public void setAcl(String acl) { } - public NewRole members(List members) { + public NewRole members(List members) { this.members = members; return this; } - public NewRole addMembersItem(Integer membersItem) { + public NewRole addMembersItem(Long membersItem) { this.members.add(membersItem); return this; } @@ -132,12 +132,12 @@ public NewRole addMembersItem(Integer membersItem) { **/ @ApiModelProperty(example = "[48, 562, 475, 18]", required = true, value = "An array of user identifiers.") - public List getMembers() { + public List getMembers() { return members; } - public void setMembers(List members) { + public void setMembers(List members) { this.members = members; } diff --git a/src/main/java/one/talon/model/NewRoleV2.java b/src/main/java/one/talon/model/NewRoleV2.java index d4ddd1c6..d46e056d 100644 --- a/src/main/java/one/talon/model/NewRoleV2.java +++ b/src/main/java/one/talon/model/NewRoleV2.java @@ -46,7 +46,7 @@ public class NewRoleV2 { public static final String SERIALIZED_NAME_MEMBERS = "members"; @SerializedName(SERIALIZED_NAME_MEMBERS) - private List members = null; + private List members = null; public NewRoleV2 name(String name) { @@ -116,15 +116,15 @@ public void setPermissions(RoleV2Permissions permissions) { } - public NewRoleV2 members(List members) { + public NewRoleV2 members(List members) { this.members = members; return this; } - public NewRoleV2 addMembersItem(Integer membersItem) { + public NewRoleV2 addMembersItem(Long membersItem) { if (this.members == null) { - this.members = new ArrayList(); + this.members = new ArrayList(); } this.members.add(membersItem); return this; @@ -137,12 +137,12 @@ public NewRoleV2 addMembersItem(Integer membersItem) { @javax.annotation.Nullable @ApiModelProperty(example = "[10, 12]", value = "A list of user IDs the role is assigned to.") - public List getMembers() { + public List getMembers() { return members; } - public void setMembers(List members) { + public void setMembers(List members) { this.members = members; } diff --git a/src/main/java/one/talon/model/NewSamlConnection.java b/src/main/java/one/talon/model/NewSamlConnection.java index c950e0ba..e71dc6df 100644 --- a/src/main/java/one/talon/model/NewSamlConnection.java +++ b/src/main/java/one/talon/model/NewSamlConnection.java @@ -36,7 +36,7 @@ public class NewSamlConnection { public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private Integer accountId; + private Long accountId; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -89,7 +89,7 @@ public void setX509certificate(String x509certificate) { } - public NewSamlConnection accountId(Integer accountId) { + public NewSamlConnection accountId(Long accountId) { this.accountId = accountId; return this; @@ -101,12 +101,12 @@ public NewSamlConnection accountId(Integer accountId) { **/ @ApiModelProperty(example = "3885", required = true, value = "The ID of the account that owns this entity.") - public Integer getAccountId() { + public Long getAccountId() { return accountId; } - public void setAccountId(Integer accountId) { + public void setAccountId(Long accountId) { this.accountId = accountId; } diff --git a/src/main/java/one/talon/model/NewWebhook.java b/src/main/java/one/talon/model/NewWebhook.java index 36545078..a98a6e1c 100644 --- a/src/main/java/one/talon/model/NewWebhook.java +++ b/src/main/java/one/talon/model/NewWebhook.java @@ -34,7 +34,7 @@ public class NewWebhook { public static final String SERIALIZED_NAME_APPLICATION_IDS = "applicationIds"; @SerializedName(SERIALIZED_NAME_APPLICATION_IDS) - private List applicationIds = new ArrayList(); + private List applicationIds = new ArrayList(); public static final String SERIALIZED_NAME_TITLE = "title"; @SerializedName(SERIALIZED_NAME_TITLE) @@ -122,13 +122,13 @@ public VerbEnum read(final JsonReader jsonReader) throws IOException { private Boolean enabled; - public NewWebhook applicationIds(List applicationIds) { + public NewWebhook applicationIds(List applicationIds) { this.applicationIds = applicationIds; return this; } - public NewWebhook addApplicationIdsItem(Integer applicationIdsItem) { + public NewWebhook addApplicationIdsItem(Long applicationIdsItem) { this.applicationIds.add(applicationIdsItem); return this; } @@ -139,12 +139,12 @@ public NewWebhook addApplicationIdsItem(Integer applicationIdsItem) { **/ @ApiModelProperty(required = true, value = "The IDs of the Applications in which this webhook is available. An empty array means the webhook is available in `All Applications`. ") - public List getApplicationIds() { + public List getApplicationIds() { return applicationIds; } - public void setApplicationIds(List applicationIds) { + public void setApplicationIds(List applicationIds) { this.applicationIds = applicationIds; } diff --git a/src/main/java/one/talon/model/Notification.java b/src/main/java/one/talon/model/Notification.java index 80345923..59e74fcd 100644 --- a/src/main/java/one/talon/model/Notification.java +++ b/src/main/java/one/talon/model/Notification.java @@ -31,7 +31,7 @@ public class Notification { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -42,7 +42,7 @@ public class Notification { private String description; - public Notification id(Integer id) { + public Notification id(Long id) { this.id = id; return this; @@ -54,12 +54,12 @@ public Notification id(Integer id) { **/ @ApiModelProperty(required = true, value = "id of the notification.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } diff --git a/src/main/java/one/talon/model/NotificationListItem.java b/src/main/java/one/talon/model/NotificationListItem.java index 22381dae..9882a2f8 100644 --- a/src/main/java/one/talon/model/NotificationListItem.java +++ b/src/main/java/one/talon/model/NotificationListItem.java @@ -31,7 +31,7 @@ public class NotificationListItem { public static final String SERIALIZED_NAME_NOTIFICATION_ID = "notificationId"; @SerializedName(SERIALIZED_NAME_NOTIFICATION_ID) - private Integer notificationId; + private Long notificationId; public static final String SERIALIZED_NAME_NOTIFICATION_NAME = "notificationName"; @SerializedName(SERIALIZED_NAME_NOTIFICATION_NAME) @@ -39,14 +39,14 @@ public class NotificationListItem { public static final String SERIALIZED_NAME_ENTITY_ID = "entityId"; @SerializedName(SERIALIZED_NAME_ENTITY_ID) - private Integer entityId; + private Long entityId; public static final String SERIALIZED_NAME_ENABLED = "enabled"; @SerializedName(SERIALIZED_NAME_ENABLED) private Boolean enabled; - public NotificationListItem notificationId(Integer notificationId) { + public NotificationListItem notificationId(Long notificationId) { this.notificationId = notificationId; return this; @@ -58,12 +58,12 @@ public NotificationListItem notificationId(Integer notificationId) { **/ @ApiModelProperty(example = "1", required = true, value = "The ID of the notification.") - public Integer getNotificationId() { + public Long getNotificationId() { return notificationId; } - public void setNotificationId(Integer notificationId) { + public void setNotificationId(Long notificationId) { this.notificationId = notificationId; } @@ -90,7 +90,7 @@ public void setNotificationName(String notificationName) { } - public NotificationListItem entityId(Integer entityId) { + public NotificationListItem entityId(Long entityId) { this.entityId = entityId; return this; @@ -102,12 +102,12 @@ public NotificationListItem entityId(Integer entityId) { **/ @ApiModelProperty(example = "1", required = true, value = "The ID of the entity to which this notification belongs. For example, in case of a loyalty notification, this value is the ID of the loyalty program. ") - public Integer getEntityId() { + public Long getEntityId() { return entityId; } - public void setEntityId(Integer entityId) { + public void setEntityId(Long entityId) { this.entityId = entityId; } diff --git a/src/main/java/one/talon/model/OneTimeCode.java b/src/main/java/one/talon/model/OneTimeCode.java index 1f29844e..d17694ae 100644 --- a/src/main/java/one/talon/model/OneTimeCode.java +++ b/src/main/java/one/talon/model/OneTimeCode.java @@ -31,11 +31,11 @@ public class OneTimeCode { public static final String SERIALIZED_NAME_USER_ID = "userId"; @SerializedName(SERIALIZED_NAME_USER_ID) - private Integer userId; + private Long userId; public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private Integer accountId; + private Long accountId; public static final String SERIALIZED_NAME_TOKEN = "token"; @SerializedName(SERIALIZED_NAME_TOKEN) @@ -46,7 +46,7 @@ public class OneTimeCode { private String code; - public OneTimeCode userId(Integer userId) { + public OneTimeCode userId(Long userId) { this.userId = userId; return this; @@ -58,17 +58,17 @@ public OneTimeCode userId(Integer userId) { **/ @ApiModelProperty(example = "109", required = true, value = "The ID of the user.") - public Integer getUserId() { + public Long getUserId() { return userId; } - public void setUserId(Integer userId) { + public void setUserId(Long userId) { this.userId = userId; } - public OneTimeCode accountId(Integer accountId) { + public OneTimeCode accountId(Long accountId) { this.accountId = accountId; return this; @@ -80,12 +80,12 @@ public OneTimeCode accountId(Integer accountId) { **/ @ApiModelProperty(example = "31", required = true, value = "The ID of the account.") - public Integer getAccountId() { + public Long getAccountId() { return accountId; } - public void setAccountId(Integer accountId) { + public void setAccountId(Long accountId) { this.accountId = accountId; } diff --git a/src/main/java/one/talon/model/OutgoingIntegrationConfiguration.java b/src/main/java/one/talon/model/OutgoingIntegrationConfiguration.java index 37b1bf80..658958cc 100644 --- a/src/main/java/one/talon/model/OutgoingIntegrationConfiguration.java +++ b/src/main/java/one/talon/model/OutgoingIntegrationConfiguration.java @@ -31,22 +31,22 @@ public class OutgoingIntegrationConfiguration { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private Integer accountId; + private Long accountId; public static final String SERIALIZED_NAME_TYPE_ID = "typeId"; @SerializedName(SERIALIZED_NAME_TYPE_ID) - private Integer typeId; + private Long typeId; public static final String SERIALIZED_NAME_POLICY = "policy"; @SerializedName(SERIALIZED_NAME_POLICY) private Object policy; - public OutgoingIntegrationConfiguration id(Integer id) { + public OutgoingIntegrationConfiguration id(Long id) { this.id = id; return this; @@ -58,17 +58,17 @@ public OutgoingIntegrationConfiguration id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Unique ID for this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } - public OutgoingIntegrationConfiguration accountId(Integer accountId) { + public OutgoingIntegrationConfiguration accountId(Long accountId) { this.accountId = accountId; return this; @@ -80,17 +80,17 @@ public OutgoingIntegrationConfiguration accountId(Integer accountId) { **/ @ApiModelProperty(example = "3886", required = true, value = "The ID of the account to which this configuration belongs.") - public Integer getAccountId() { + public Long getAccountId() { return accountId; } - public void setAccountId(Integer accountId) { + public void setAccountId(Long accountId) { this.accountId = accountId; } - public OutgoingIntegrationConfiguration typeId(Integer typeId) { + public OutgoingIntegrationConfiguration typeId(Long typeId) { this.typeId = typeId; return this; @@ -102,12 +102,12 @@ public OutgoingIntegrationConfiguration typeId(Integer typeId) { **/ @ApiModelProperty(example = "12", required = true, value = "The outgoing integration type ID.") - public Integer getTypeId() { + public Long getTypeId() { return typeId; } - public void setTypeId(Integer typeId) { + public void setTypeId(Long typeId) { this.typeId = typeId; } diff --git a/src/main/java/one/talon/model/OutgoingIntegrationTemplate.java b/src/main/java/one/talon/model/OutgoingIntegrationTemplate.java index 01c919fb..b3c826c8 100644 --- a/src/main/java/one/talon/model/OutgoingIntegrationTemplate.java +++ b/src/main/java/one/talon/model/OutgoingIntegrationTemplate.java @@ -33,11 +33,11 @@ public class OutgoingIntegrationTemplate { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_INTEGRATION_TYPE = "integrationType"; @SerializedName(SERIALIZED_NAME_INTEGRATION_TYPE) - private Integer integrationType; + private Long integrationType; public static final String SERIALIZED_NAME_TITLE = "title"; @SerializedName(SERIALIZED_NAME_TITLE) @@ -117,7 +117,7 @@ public MethodEnum read(final JsonReader jsonReader) throws IOException { private List headers = new ArrayList(); - public OutgoingIntegrationTemplate id(Integer id) { + public OutgoingIntegrationTemplate id(Long id) { this.id = id; return this; @@ -129,17 +129,17 @@ public OutgoingIntegrationTemplate id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Unique ID for this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } - public OutgoingIntegrationTemplate integrationType(Integer integrationType) { + public OutgoingIntegrationTemplate integrationType(Long integrationType) { this.integrationType = integrationType; return this; @@ -151,12 +151,12 @@ public OutgoingIntegrationTemplate integrationType(Integer integrationType) { **/ @ApiModelProperty(example = "2", required = true, value = "Unique ID of outgoing integration type.") - public Integer getIntegrationType() { + public Long getIntegrationType() { return integrationType; } - public void setIntegrationType(Integer integrationType) { + public void setIntegrationType(Long integrationType) { this.integrationType = integrationType; } diff --git a/src/main/java/one/talon/model/OutgoingIntegrationTemplateWithConfigurationDetails.java b/src/main/java/one/talon/model/OutgoingIntegrationTemplateWithConfigurationDetails.java index 900329a0..00fbc348 100644 --- a/src/main/java/one/talon/model/OutgoingIntegrationTemplateWithConfigurationDetails.java +++ b/src/main/java/one/talon/model/OutgoingIntegrationTemplateWithConfigurationDetails.java @@ -33,11 +33,11 @@ public class OutgoingIntegrationTemplateWithConfigurationDetails { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_INTEGRATION_TYPE = "integrationType"; @SerializedName(SERIALIZED_NAME_INTEGRATION_TYPE) - private Integer integrationType; + private Long integrationType; public static final String SERIALIZED_NAME_TITLE = "title"; @SerializedName(SERIALIZED_NAME_TITLE) @@ -121,7 +121,7 @@ public MethodEnum read(final JsonReader jsonReader) throws IOException { private Object policy; - public OutgoingIntegrationTemplateWithConfigurationDetails id(Integer id) { + public OutgoingIntegrationTemplateWithConfigurationDetails id(Long id) { this.id = id; return this; @@ -133,17 +133,17 @@ public OutgoingIntegrationTemplateWithConfigurationDetails id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Unique ID for this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } - public OutgoingIntegrationTemplateWithConfigurationDetails integrationType(Integer integrationType) { + public OutgoingIntegrationTemplateWithConfigurationDetails integrationType(Long integrationType) { this.integrationType = integrationType; return this; @@ -155,12 +155,12 @@ public OutgoingIntegrationTemplateWithConfigurationDetails integrationType(Integ **/ @ApiModelProperty(example = "2", required = true, value = "Unique ID of outgoing integration type.") - public Integer getIntegrationType() { + public Long getIntegrationType() { return integrationType; } - public void setIntegrationType(Integer integrationType) { + public void setIntegrationType(Long integrationType) { this.integrationType = integrationType; } diff --git a/src/main/java/one/talon/model/OutgoingIntegrationType.java b/src/main/java/one/talon/model/OutgoingIntegrationType.java index 998e9f91..1ef53237 100644 --- a/src/main/java/one/talon/model/OutgoingIntegrationType.java +++ b/src/main/java/one/talon/model/OutgoingIntegrationType.java @@ -31,7 +31,7 @@ public class OutgoingIntegrationType { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -50,7 +50,7 @@ public class OutgoingIntegrationType { private String documentationLink; - public OutgoingIntegrationType id(Integer id) { + public OutgoingIntegrationType id(Long id) { this.id = id; return this; @@ -62,12 +62,12 @@ public OutgoingIntegrationType id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Unique ID for this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } diff --git a/src/main/java/one/talon/model/PatchItemCatalogAction.java b/src/main/java/one/talon/model/PatchItemCatalogAction.java index e0b63b7f..18419072 100644 --- a/src/main/java/one/talon/model/PatchItemCatalogAction.java +++ b/src/main/java/one/talon/model/PatchItemCatalogAction.java @@ -24,14 +24,12 @@ import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.math.BigDecimal; -import one.talon.custom.JsonNullable; -import one.talon.custom.NullableAdapterFactory; +import one.talon.model.Product; /** * The specific properties of the \"PATCH\" catalog sync action. **Note:** - If you do not provide a new `price` value, the existing `price` value is retained. - If you do not provide a new `product` value, the `product` value is set to `null`. */ @ApiModel(description = "The specific properties of the \"PATCH\" catalog sync action. **Note:** - If you do not provide a new `price` value, the existing `price` value is retained. - If you do not provide a new `product` value, the `product` value is set to `null`. ") -@JsonAdapter(NullableAdapterFactory.class) public class PatchItemCatalogAction { public static final String SERIALIZED_NAME_SKU = "sku"; @@ -44,8 +42,6 @@ public class PatchItemCatalogAction { public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - /*allow Serializing null for this field */ - @JsonNullable private Object attributes; public static final String SERIALIZED_NAME_PRODUCT = "product"; diff --git a/src/main/java/one/talon/model/PatchManyItemsCatalogAction.java b/src/main/java/one/talon/model/PatchManyItemsCatalogAction.java index 63343879..817d2f02 100644 --- a/src/main/java/one/talon/model/PatchManyItemsCatalogAction.java +++ b/src/main/java/one/talon/model/PatchManyItemsCatalogAction.java @@ -27,14 +27,11 @@ import java.util.ArrayList; import java.util.List; import one.talon.model.CatalogActionFilter; -import one.talon.custom.JsonNullable; -import one.talon.custom.NullableAdapterFactory; /** * The specific properties of the \"PATCH_MANY\" catalog sync action. */ @ApiModel(description = "The specific properties of the \"PATCH_MANY\" catalog sync action.") -@JsonAdapter(NullableAdapterFactory.class) public class PatchManyItemsCatalogAction { public static final String SERIALIZED_NAME_PRICE = "price"; @@ -47,8 +44,6 @@ public class PatchManyItemsCatalogAction { public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - /*allow Serializing null for this field */ - @JsonNullable private Object attributes; diff --git a/src/main/java/one/talon/model/PendingPointsNotificationPolicy.java b/src/main/java/one/talon/model/PendingPointsNotificationPolicy.java index a8e1f1c0..7b0b1fa9 100644 --- a/src/main/java/one/talon/model/PendingPointsNotificationPolicy.java +++ b/src/main/java/one/talon/model/PendingPointsNotificationPolicy.java @@ -39,7 +39,7 @@ public class PendingPointsNotificationPolicy { public static final String SERIALIZED_NAME_BATCH_SIZE = "batchSize"; @SerializedName(SERIALIZED_NAME_BATCH_SIZE) - private Integer batchSize; + private Long batchSize = 1000l; public PendingPointsNotificationPolicy name(String name) { @@ -87,7 +87,7 @@ public void setBatchingEnabled(Boolean batchingEnabled) { } - public PendingPointsNotificationPolicy batchSize(Integer batchSize) { + public PendingPointsNotificationPolicy batchSize(Long batchSize) { this.batchSize = batchSize; return this; @@ -100,12 +100,12 @@ public PendingPointsNotificationPolicy batchSize(Integer batchSize) { @javax.annotation.Nullable @ApiModelProperty(example = "1000", value = "The required size of each batch of data. This value applies only when `batchingEnabled` is `true`.") - public Integer getBatchSize() { + public Long getBatchSize() { return batchSize; } - public void setBatchSize(Integer batchSize) { + public void setBatchSize(Long batchSize) { this.batchSize = batchSize; } diff --git a/src/main/java/one/talon/model/Picklist.java b/src/main/java/one/talon/model/Picklist.java index db65d63a..f2cfb243 100644 --- a/src/main/java/one/talon/model/Picklist.java +++ b/src/main/java/one/talon/model/Picklist.java @@ -34,7 +34,7 @@ public class Picklist { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -101,22 +101,22 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_MODIFIED_BY = "modifiedBy"; @SerializedName(SERIALIZED_NAME_MODIFIED_BY) - private Integer modifiedBy; + private Long modifiedBy; public static final String SERIALIZED_NAME_CREATED_BY = "createdBy"; @SerializedName(SERIALIZED_NAME_CREATED_BY) - private Integer createdBy; + private Long createdBy; public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private Integer accountId; + private Long accountId; public static final String SERIALIZED_NAME_IMPORTED = "imported"; @SerializedName(SERIALIZED_NAME_IMPORTED) private Boolean imported; - public Picklist id(Integer id) { + public Picklist id(Long id) { this.id = id; return this; @@ -128,12 +128,12 @@ public Picklist id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -209,7 +209,7 @@ public void setValues(List values) { } - public Picklist modifiedBy(Integer modifiedBy) { + public Picklist modifiedBy(Long modifiedBy) { this.modifiedBy = modifiedBy; return this; @@ -222,17 +222,17 @@ public Picklist modifiedBy(Integer modifiedBy) { @javax.annotation.Nullable @ApiModelProperty(example = "124", value = "ID of the user who last updated this effect if available.") - public Integer getModifiedBy() { + public Long getModifiedBy() { return modifiedBy; } - public void setModifiedBy(Integer modifiedBy) { + public void setModifiedBy(Long modifiedBy) { this.modifiedBy = modifiedBy; } - public Picklist createdBy(Integer createdBy) { + public Picklist createdBy(Long createdBy) { this.createdBy = createdBy; return this; @@ -244,17 +244,17 @@ public Picklist createdBy(Integer createdBy) { **/ @ApiModelProperty(example = "134", required = true, value = "ID of the user who created this effect.") - public Integer getCreatedBy() { + public Long getCreatedBy() { return createdBy; } - public void setCreatedBy(Integer createdBy) { + public void setCreatedBy(Long createdBy) { this.createdBy = createdBy; } - public Picklist accountId(Integer accountId) { + public Picklist accountId(Long accountId) { this.accountId = accountId; return this; @@ -267,12 +267,12 @@ public Picklist accountId(Integer accountId) { @javax.annotation.Nullable @ApiModelProperty(example = "3886", value = "The ID of the account that owns this entity.") - public Integer getAccountId() { + public Long getAccountId() { return accountId; } - public void setAccountId(Integer accountId) { + public void setAccountId(Long accountId) { this.accountId = accountId; } diff --git a/src/main/java/one/talon/model/ProductSearchMatch.java b/src/main/java/one/talon/model/ProductSearchMatch.java index a39bff09..3821d9b4 100644 --- a/src/main/java/one/talon/model/ProductSearchMatch.java +++ b/src/main/java/one/talon/model/ProductSearchMatch.java @@ -31,7 +31,7 @@ public class ProductSearchMatch { public static final String SERIALIZED_NAME_PRODUCT_ID = "productId"; @SerializedName(SERIALIZED_NAME_PRODUCT_ID) - private Integer productId; + private Long productId; public static final String SERIALIZED_NAME_VALUE = "value"; @SerializedName(SERIALIZED_NAME_VALUE) @@ -39,10 +39,10 @@ public class ProductSearchMatch { public static final String SERIALIZED_NAME_PRODUCT_SKU_ID = "productSkuId"; @SerializedName(SERIALIZED_NAME_PRODUCT_SKU_ID) - private Integer productSkuId; + private Long productSkuId; - public ProductSearchMatch productId(Integer productId) { + public ProductSearchMatch productId(Long productId) { this.productId = productId; return this; @@ -55,12 +55,12 @@ public ProductSearchMatch productId(Integer productId) { @javax.annotation.Nullable @ApiModelProperty(example = "1", value = "The ID of the product.") - public Integer getProductId() { + public Long getProductId() { return productId; } - public void setProductId(Integer productId) { + public void setProductId(Long productId) { this.productId = productId; } @@ -87,7 +87,7 @@ public void setValue(String value) { } - public ProductSearchMatch productSkuId(Integer productSkuId) { + public ProductSearchMatch productSkuId(Long productSkuId) { this.productSkuId = productSkuId; return this; @@ -100,12 +100,12 @@ public ProductSearchMatch productSkuId(Integer productSkuId) { @javax.annotation.Nullable @ApiModelProperty(example = "1", value = "The ID of the SKU linked to a product. If empty, this is an product.") - public Integer getProductSkuId() { + public Long getProductSkuId() { return productSkuId; } - public void setProductSkuId(Integer productSkuId) { + public void setProductSkuId(Long productSkuId) { this.productSkuId = productSkuId; } diff --git a/src/main/java/one/talon/model/ProductUnitAnalyticsDataPoint.java b/src/main/java/one/talon/model/ProductUnitAnalyticsDataPoint.java index d8b7ec67..9d3b4a10 100644 --- a/src/main/java/one/talon/model/ProductUnitAnalyticsDataPoint.java +++ b/src/main/java/one/talon/model/ProductUnitAnalyticsDataPoint.java @@ -45,7 +45,7 @@ public class ProductUnitAnalyticsDataPoint { public static final String SERIALIZED_NAME_PRODUCT_ID = "productId"; @SerializedName(SERIALIZED_NAME_PRODUCT_ID) - private Integer productId; + private Long productId; public static final String SERIALIZED_NAME_PRODUCT_NAME = "productName"; @SerializedName(SERIALIZED_NAME_PRODUCT_NAME) @@ -118,7 +118,7 @@ public void setUnitsSold(AnalyticsDataPointWithTrend unitsSold) { } - public ProductUnitAnalyticsDataPoint productId(Integer productId) { + public ProductUnitAnalyticsDataPoint productId(Long productId) { this.productId = productId; return this; @@ -130,12 +130,12 @@ public ProductUnitAnalyticsDataPoint productId(Integer productId) { **/ @ApiModelProperty(example = "1", required = true, value = "The ID of the product.") - public Integer getProductId() { + public Long getProductId() { return productId; } - public void setProductId(Integer productId) { + public void setProductId(Long productId) { this.productId = productId; } diff --git a/src/main/java/one/talon/model/ProfileAudiencesChanges.java b/src/main/java/one/talon/model/ProfileAudiencesChanges.java index 732082fb..c3ab2511 100644 --- a/src/main/java/one/talon/model/ProfileAudiencesChanges.java +++ b/src/main/java/one/talon/model/ProfileAudiencesChanges.java @@ -33,20 +33,20 @@ public class ProfileAudiencesChanges { public static final String SERIALIZED_NAME_ADDS = "adds"; @SerializedName(SERIALIZED_NAME_ADDS) - private List adds = new ArrayList(); + private List adds = new ArrayList(); public static final String SERIALIZED_NAME_DELETES = "deletes"; @SerializedName(SERIALIZED_NAME_DELETES) - private List deletes = new ArrayList(); + private List deletes = new ArrayList(); - public ProfileAudiencesChanges adds(List adds) { + public ProfileAudiencesChanges adds(List adds) { this.adds = adds; return this; } - public ProfileAudiencesChanges addAddsItem(Integer addsItem) { + public ProfileAudiencesChanges addAddsItem(Long addsItem) { this.adds.add(addsItem); return this; } @@ -57,23 +57,23 @@ public ProfileAudiencesChanges addAddsItem(Integer addsItem) { **/ @ApiModelProperty(example = "[2, 4]", required = true, value = "The IDs of the audiences for the customer to join.") - public List getAdds() { + public List getAdds() { return adds; } - public void setAdds(List adds) { + public void setAdds(List adds) { this.adds = adds; } - public ProfileAudiencesChanges deletes(List deletes) { + public ProfileAudiencesChanges deletes(List deletes) { this.deletes = deletes; return this; } - public ProfileAudiencesChanges addDeletesItem(Integer deletesItem) { + public ProfileAudiencesChanges addDeletesItem(Long deletesItem) { this.deletes.add(deletesItem); return this; } @@ -84,12 +84,12 @@ public ProfileAudiencesChanges addDeletesItem(Integer deletesItem) { **/ @ApiModelProperty(example = "[7]", required = true, value = "The IDs of the audiences for the customer to leave.") - public List getDeletes() { + public List getDeletes() { return deletes; } - public void setDeletes(List deletes) { + public void setDeletes(List deletes) { this.deletes = deletes; } diff --git a/src/main/java/one/talon/model/RedeemReferralEffectProps.java b/src/main/java/one/talon/model/RedeemReferralEffectProps.java index 420c3848..9d793dcb 100644 --- a/src/main/java/one/talon/model/RedeemReferralEffectProps.java +++ b/src/main/java/one/talon/model/RedeemReferralEffectProps.java @@ -32,14 +32,14 @@ public class RedeemReferralEffectProps { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_VALUE = "value"; @SerializedName(SERIALIZED_NAME_VALUE) private String value; - public RedeemReferralEffectProps id(Integer id) { + public RedeemReferralEffectProps id(Long id) { this.id = id; return this; @@ -51,12 +51,12 @@ public RedeemReferralEffectProps id(Integer id) { **/ @ApiModelProperty(required = true, value = "The id of the referral code that was redeemed.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } diff --git a/src/main/java/one/talon/model/Referral.java b/src/main/java/one/talon/model/Referral.java index 7a721d80..335bcefa 100644 --- a/src/main/java/one/talon/model/Referral.java +++ b/src/main/java/one/talon/model/Referral.java @@ -32,7 +32,7 @@ public class Referral { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -48,11 +48,11 @@ public class Referral { public static final String SERIALIZED_NAME_USAGE_LIMIT = "usageLimit"; @SerializedName(SERIALIZED_NAME_USAGE_LIMIT) - private Integer usageLimit; + private Long usageLimit; public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) - private Integer campaignId; + private Long campaignId; public static final String SERIALIZED_NAME_ADVOCATE_PROFILE_INTEGRATION_ID = "advocateProfileIntegrationId"; @SerializedName(SERIALIZED_NAME_ADVOCATE_PROFILE_INTEGRATION_ID) @@ -68,7 +68,7 @@ public class Referral { public static final String SERIALIZED_NAME_IMPORT_ID = "importId"; @SerializedName(SERIALIZED_NAME_IMPORT_ID) - private Integer importId; + private Long importId; public static final String SERIALIZED_NAME_CODE = "code"; @SerializedName(SERIALIZED_NAME_CODE) @@ -76,14 +76,14 @@ public class Referral { public static final String SERIALIZED_NAME_USAGE_COUNTER = "usageCounter"; @SerializedName(SERIALIZED_NAME_USAGE_COUNTER) - private Integer usageCounter; + private Long usageCounter; public static final String SERIALIZED_NAME_BATCH_ID = "batchId"; @SerializedName(SERIALIZED_NAME_BATCH_ID) private String batchId; - public Referral id(Integer id) { + public Referral id(Long id) { this.id = id; return this; @@ -95,12 +95,12 @@ public Referral id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -173,7 +173,7 @@ public void setExpiryDate(OffsetDateTime expiryDate) { } - public Referral usageLimit(Integer usageLimit) { + public Referral usageLimit(Long usageLimit) { this.usageLimit = usageLimit; return this; @@ -187,17 +187,17 @@ public Referral usageLimit(Integer usageLimit) { **/ @ApiModelProperty(example = "1", required = true, value = "The number of times a referral code can be used. `0` means no limit but any campaign usage limits will still apply. ") - public Integer getUsageLimit() { + public Long getUsageLimit() { return usageLimit; } - public void setUsageLimit(Integer usageLimit) { + public void setUsageLimit(Long usageLimit) { this.usageLimit = usageLimit; } - public Referral campaignId(Integer campaignId) { + public Referral campaignId(Long campaignId) { this.campaignId = campaignId; return this; @@ -209,12 +209,12 @@ public Referral campaignId(Integer campaignId) { **/ @ApiModelProperty(example = "78", required = true, value = "ID of the campaign from which the referral received the referral code.") - public Integer getCampaignId() { + public Long getCampaignId() { return campaignId; } - public void setCampaignId(Integer campaignId) { + public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } @@ -287,7 +287,7 @@ public void setAttributes(Object attributes) { } - public Referral importId(Integer importId) { + public Referral importId(Long importId) { this.importId = importId; return this; @@ -300,12 +300,12 @@ public Referral importId(Integer importId) { @javax.annotation.Nullable @ApiModelProperty(example = "4", value = "The ID of the Import which created this referral.") - public Integer getImportId() { + public Long getImportId() { return importId; } - public void setImportId(Integer importId) { + public void setImportId(Long importId) { this.importId = importId; } @@ -332,7 +332,7 @@ public void setCode(String code) { } - public Referral usageCounter(Integer usageCounter) { + public Referral usageCounter(Long usageCounter) { this.usageCounter = usageCounter; return this; @@ -344,12 +344,12 @@ public Referral usageCounter(Integer usageCounter) { **/ @ApiModelProperty(example = "1", required = true, value = "The number of times this referral code has been successfully used.") - public Integer getUsageCounter() { + public Long getUsageCounter() { return usageCounter; } - public void setUsageCounter(Integer usageCounter) { + public void setUsageCounter(Long usageCounter) { this.usageCounter = usageCounter; } diff --git a/src/main/java/one/talon/model/ReferralConstraints.java b/src/main/java/one/talon/model/ReferralConstraints.java index 7a97d365..56bd3a9d 100644 --- a/src/main/java/one/talon/model/ReferralConstraints.java +++ b/src/main/java/one/talon/model/ReferralConstraints.java @@ -40,7 +40,7 @@ public class ReferralConstraints { public static final String SERIALIZED_NAME_USAGE_LIMIT = "usageLimit"; @SerializedName(SERIALIZED_NAME_USAGE_LIMIT) - private Integer usageLimit; + private Long usageLimit; public ReferralConstraints startDate(OffsetDateTime startDate) { @@ -89,7 +89,7 @@ public void setExpiryDate(OffsetDateTime expiryDate) { } - public ReferralConstraints usageLimit(Integer usageLimit) { + public ReferralConstraints usageLimit(Long usageLimit) { this.usageLimit = usageLimit; return this; @@ -104,12 +104,12 @@ public ReferralConstraints usageLimit(Integer usageLimit) { @javax.annotation.Nullable @ApiModelProperty(example = "1", value = "The number of times a referral code can be used. `0` means no limit but any campaign usage limits will still apply. ") - public Integer getUsageLimit() { + public Long getUsageLimit() { return usageLimit; } - public void setUsageLimit(Integer usageLimit) { + public void setUsageLimit(Long usageLimit) { this.usageLimit = usageLimit; } diff --git a/src/main/java/one/talon/model/ReferralRejectionReason.java b/src/main/java/one/talon/model/ReferralRejectionReason.java index 54929999..a2907800 100644 --- a/src/main/java/one/talon/model/ReferralRejectionReason.java +++ b/src/main/java/one/talon/model/ReferralRejectionReason.java @@ -32,11 +32,11 @@ public class ReferralRejectionReason { public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) - private Integer campaignId; + private Long campaignId; public static final String SERIALIZED_NAME_REFERRAL_ID = "referralId"; @SerializedName(SERIALIZED_NAME_REFERRAL_ID) - private Integer referralId; + private Long referralId; /** * Gets or Sets reason @@ -110,7 +110,7 @@ public ReasonEnum read(final JsonReader jsonReader) throws IOException { private ReasonEnum reason; - public ReferralRejectionReason campaignId(Integer campaignId) { + public ReferralRejectionReason campaignId(Long campaignId) { this.campaignId = campaignId; return this; @@ -122,17 +122,17 @@ public ReferralRejectionReason campaignId(Integer campaignId) { **/ @ApiModelProperty(required = true, value = "") - public Integer getCampaignId() { + public Long getCampaignId() { return campaignId; } - public void setCampaignId(Integer campaignId) { + public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } - public ReferralRejectionReason referralId(Integer referralId) { + public ReferralRejectionReason referralId(Long referralId) { this.referralId = referralId; return this; @@ -144,12 +144,12 @@ public ReferralRejectionReason referralId(Integer referralId) { **/ @ApiModelProperty(required = true, value = "") - public Integer getReferralId() { + public Long getReferralId() { return referralId; } - public void setReferralId(Integer referralId) { + public void setReferralId(Long referralId) { this.referralId = referralId; } diff --git a/src/main/java/one/talon/model/RejectCouponEffectProps.java b/src/main/java/one/talon/model/RejectCouponEffectProps.java index 119cc084..a1580f46 100644 --- a/src/main/java/one/talon/model/RejectCouponEffectProps.java +++ b/src/main/java/one/talon/model/RejectCouponEffectProps.java @@ -40,11 +40,11 @@ public class RejectCouponEffectProps { public static final String SERIALIZED_NAME_CONDITION_INDEX = "conditionIndex"; @SerializedName(SERIALIZED_NAME_CONDITION_INDEX) - private Integer conditionIndex; + private Long conditionIndex; public static final String SERIALIZED_NAME_EFFECT_INDEX = "effectIndex"; @SerializedName(SERIALIZED_NAME_EFFECT_INDEX) - private Integer effectIndex; + private Long effectIndex; public static final String SERIALIZED_NAME_DETAILS = "details"; @SerializedName(SERIALIZED_NAME_DETAILS) @@ -99,7 +99,7 @@ public void setRejectionReason(String rejectionReason) { } - public RejectCouponEffectProps conditionIndex(Integer conditionIndex) { + public RejectCouponEffectProps conditionIndex(Long conditionIndex) { this.conditionIndex = conditionIndex; return this; @@ -112,17 +112,17 @@ public RejectCouponEffectProps conditionIndex(Integer conditionIndex) { @javax.annotation.Nullable @ApiModelProperty(value = "The index of the condition that caused the rejection of the coupon.") - public Integer getConditionIndex() { + public Long getConditionIndex() { return conditionIndex; } - public void setConditionIndex(Integer conditionIndex) { + public void setConditionIndex(Long conditionIndex) { this.conditionIndex = conditionIndex; } - public RejectCouponEffectProps effectIndex(Integer effectIndex) { + public RejectCouponEffectProps effectIndex(Long effectIndex) { this.effectIndex = effectIndex; return this; @@ -135,12 +135,12 @@ public RejectCouponEffectProps effectIndex(Integer effectIndex) { @javax.annotation.Nullable @ApiModelProperty(value = "The index of the effect that caused the rejection of the coupon.") - public Integer getEffectIndex() { + public Long getEffectIndex() { return effectIndex; } - public void setEffectIndex(Integer effectIndex) { + public void setEffectIndex(Long effectIndex) { this.effectIndex = effectIndex; } diff --git a/src/main/java/one/talon/model/RejectReferralEffectProps.java b/src/main/java/one/talon/model/RejectReferralEffectProps.java index 0f9fd821..3d52e323 100644 --- a/src/main/java/one/talon/model/RejectReferralEffectProps.java +++ b/src/main/java/one/talon/model/RejectReferralEffectProps.java @@ -40,11 +40,11 @@ public class RejectReferralEffectProps { public static final String SERIALIZED_NAME_CONDITION_INDEX = "conditionIndex"; @SerializedName(SERIALIZED_NAME_CONDITION_INDEX) - private Integer conditionIndex; + private Long conditionIndex; public static final String SERIALIZED_NAME_EFFECT_INDEX = "effectIndex"; @SerializedName(SERIALIZED_NAME_EFFECT_INDEX) - private Integer effectIndex; + private Long effectIndex; public static final String SERIALIZED_NAME_DETAILS = "details"; @SerializedName(SERIALIZED_NAME_DETAILS) @@ -99,7 +99,7 @@ public void setRejectionReason(String rejectionReason) { } - public RejectReferralEffectProps conditionIndex(Integer conditionIndex) { + public RejectReferralEffectProps conditionIndex(Long conditionIndex) { this.conditionIndex = conditionIndex; return this; @@ -112,17 +112,17 @@ public RejectReferralEffectProps conditionIndex(Integer conditionIndex) { @javax.annotation.Nullable @ApiModelProperty(value = "The index of the condition that caused the rejection of the referral.") - public Integer getConditionIndex() { + public Long getConditionIndex() { return conditionIndex; } - public void setConditionIndex(Integer conditionIndex) { + public void setConditionIndex(Long conditionIndex) { this.conditionIndex = conditionIndex; } - public RejectReferralEffectProps effectIndex(Integer effectIndex) { + public RejectReferralEffectProps effectIndex(Long effectIndex) { this.effectIndex = effectIndex; return this; @@ -135,12 +135,12 @@ public RejectReferralEffectProps effectIndex(Integer effectIndex) { @javax.annotation.Nullable @ApiModelProperty(value = "The index of the effect that caused the rejection of the referral.") - public Integer getEffectIndex() { + public Long getEffectIndex() { return effectIndex; } - public void setEffectIndex(Integer effectIndex) { + public void setEffectIndex(Long effectIndex) { this.effectIndex = effectIndex; } diff --git a/src/main/java/one/talon/model/RemoveFromAudienceEffectProps.java b/src/main/java/one/talon/model/RemoveFromAudienceEffectProps.java index 8db1d5d9..1fd30279 100644 --- a/src/main/java/one/talon/model/RemoveFromAudienceEffectProps.java +++ b/src/main/java/one/talon/model/RemoveFromAudienceEffectProps.java @@ -32,7 +32,7 @@ public class RemoveFromAudienceEffectProps { public static final String SERIALIZED_NAME_AUDIENCE_ID = "audienceId"; @SerializedName(SERIALIZED_NAME_AUDIENCE_ID) - private Integer audienceId; + private Long audienceId; public static final String SERIALIZED_NAME_AUDIENCE_NAME = "audienceName"; @SerializedName(SERIALIZED_NAME_AUDIENCE_NAME) @@ -44,10 +44,10 @@ public class RemoveFromAudienceEffectProps { public static final String SERIALIZED_NAME_PROFILE_ID = "profileId"; @SerializedName(SERIALIZED_NAME_PROFILE_ID) - private Integer profileId; + private Long profileId; - public RemoveFromAudienceEffectProps audienceId(Integer audienceId) { + public RemoveFromAudienceEffectProps audienceId(Long audienceId) { this.audienceId = audienceId; return this; @@ -60,12 +60,12 @@ public RemoveFromAudienceEffectProps audienceId(Integer audienceId) { @javax.annotation.Nullable @ApiModelProperty(example = "10", value = "The internal ID of the audience.") - public Integer getAudienceId() { + public Long getAudienceId() { return audienceId; } - public void setAudienceId(Integer audienceId) { + public void setAudienceId(Long audienceId) { this.audienceId = audienceId; } @@ -116,7 +116,7 @@ public void setProfileIntegrationId(String profileIntegrationId) { } - public RemoveFromAudienceEffectProps profileId(Integer profileId) { + public RemoveFromAudienceEffectProps profileId(Long profileId) { this.profileId = profileId; return this; @@ -129,12 +129,12 @@ public RemoveFromAudienceEffectProps profileId(Integer profileId) { @javax.annotation.Nullable @ApiModelProperty(example = "150", value = "The internal ID of the customer profile.") - public Integer getProfileId() { + public Long getProfileId() { return profileId; } - public void setProfileId(Integer profileId) { + public void setProfileId(Long profileId) { this.profileId = profileId; } diff --git a/src/main/java/one/talon/model/ReturnedCartItem.java b/src/main/java/one/talon/model/ReturnedCartItem.java index d20485f8..f3b1621b 100644 --- a/src/main/java/one/talon/model/ReturnedCartItem.java +++ b/src/main/java/one/talon/model/ReturnedCartItem.java @@ -31,14 +31,14 @@ public class ReturnedCartItem { public static final String SERIALIZED_NAME_POSITION = "position"; @SerializedName(SERIALIZED_NAME_POSITION) - private Integer position; + private Long position; public static final String SERIALIZED_NAME_QUANTITY = "quantity"; @SerializedName(SERIALIZED_NAME_QUANTITY) - private Integer quantity; + private Long quantity; - public ReturnedCartItem position(Integer position) { + public ReturnedCartItem position(Long position) { this.position = position; return this; @@ -50,17 +50,17 @@ public ReturnedCartItem position(Integer position) { **/ @ApiModelProperty(example = "2", required = true, value = "The index of the cart item in the provided customer session's `cartItems` property.") - public Integer getPosition() { + public Long getPosition() { return position; } - public void setPosition(Integer position) { + public void setPosition(Long position) { this.position = position; } - public ReturnedCartItem quantity(Integer quantity) { + public ReturnedCartItem quantity(Long quantity) { this.quantity = quantity; return this; @@ -73,12 +73,12 @@ public ReturnedCartItem quantity(Integer quantity) { @javax.annotation.Nullable @ApiModelProperty(example = "1", value = "Number of cart items to return. ") - public Integer getQuantity() { + public Long getQuantity() { return quantity; } - public void setQuantity(Integer quantity) { + public void setQuantity(Long quantity) { this.quantity = quantity; } diff --git a/src/main/java/one/talon/model/Revision.java b/src/main/java/one/talon/model/Revision.java index 6bd243b2..c7d8a494 100644 --- a/src/main/java/one/talon/model/Revision.java +++ b/src/main/java/one/talon/model/Revision.java @@ -33,7 +33,7 @@ public class Revision { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_ACTIVATE_AT = "activateAt"; @SerializedName(SERIALIZED_NAME_ACTIVATE_AT) @@ -41,15 +41,15 @@ public class Revision { public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private Integer accountId; + private Long accountId; public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - private Integer applicationId; + private Long applicationId; public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) - private Integer campaignId; + private Long campaignId; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -57,7 +57,7 @@ public class Revision { public static final String SERIALIZED_NAME_CREATED_BY = "createdBy"; @SerializedName(SERIALIZED_NAME_CREATED_BY) - private Integer createdBy; + private Long createdBy; public static final String SERIALIZED_NAME_ACTIVATED_AT = "activatedAt"; @SerializedName(SERIALIZED_NAME_ACTIVATED_AT) @@ -65,14 +65,14 @@ public class Revision { public static final String SERIALIZED_NAME_ACTIVATED_BY = "activatedBy"; @SerializedName(SERIALIZED_NAME_ACTIVATED_BY) - private Integer activatedBy; + private Long activatedBy; public static final String SERIALIZED_NAME_CURRENT_VERSION = "currentVersion"; @SerializedName(SERIALIZED_NAME_CURRENT_VERSION) private RevisionVersion currentVersion; - public Revision id(Integer id) { + public Revision id(Long id) { this.id = id; return this; @@ -84,12 +84,12 @@ public Revision id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Unique ID for this entity. Not to be confused with the Integration ID, which is set by your integration layer and used in most endpoints.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -117,7 +117,7 @@ public void setActivateAt(OffsetDateTime activateAt) { } - public Revision accountId(Integer accountId) { + public Revision accountId(Long accountId) { this.accountId = accountId; return this; @@ -129,17 +129,17 @@ public Revision accountId(Integer accountId) { **/ @ApiModelProperty(required = true, value = "") - public Integer getAccountId() { + public Long getAccountId() { return accountId; } - public void setAccountId(Integer accountId) { + public void setAccountId(Long accountId) { this.accountId = accountId; } - public Revision applicationId(Integer applicationId) { + public Revision applicationId(Long applicationId) { this.applicationId = applicationId; return this; @@ -151,17 +151,17 @@ public Revision applicationId(Integer applicationId) { **/ @ApiModelProperty(required = true, value = "") - public Integer getApplicationId() { + public Long getApplicationId() { return applicationId; } - public void setApplicationId(Integer applicationId) { + public void setApplicationId(Long applicationId) { this.applicationId = applicationId; } - public Revision campaignId(Integer campaignId) { + public Revision campaignId(Long campaignId) { this.campaignId = campaignId; return this; @@ -173,12 +173,12 @@ public Revision campaignId(Integer campaignId) { **/ @ApiModelProperty(required = true, value = "") - public Integer getCampaignId() { + public Long getCampaignId() { return campaignId; } - public void setCampaignId(Integer campaignId) { + public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } @@ -205,7 +205,7 @@ public void setCreated(OffsetDateTime created) { } - public Revision createdBy(Integer createdBy) { + public Revision createdBy(Long createdBy) { this.createdBy = createdBy; return this; @@ -217,12 +217,12 @@ public Revision createdBy(Integer createdBy) { **/ @ApiModelProperty(required = true, value = "") - public Integer getCreatedBy() { + public Long getCreatedBy() { return createdBy; } - public void setCreatedBy(Integer createdBy) { + public void setCreatedBy(Long createdBy) { this.createdBy = createdBy; } @@ -250,7 +250,7 @@ public void setActivatedAt(OffsetDateTime activatedAt) { } - public Revision activatedBy(Integer activatedBy) { + public Revision activatedBy(Long activatedBy) { this.activatedBy = activatedBy; return this; @@ -263,12 +263,12 @@ public Revision activatedBy(Integer activatedBy) { @javax.annotation.Nullable @ApiModelProperty(value = "") - public Integer getActivatedBy() { + public Long getActivatedBy() { return activatedBy; } - public void setActivatedBy(Integer activatedBy) { + public void setActivatedBy(Long activatedBy) { this.activatedBy = activatedBy; } diff --git a/src/main/java/one/talon/model/RevisionActivationRequest.java b/src/main/java/one/talon/model/RevisionActivationRequest.java index 32759783..a3c7ed72 100644 --- a/src/main/java/one/talon/model/RevisionActivationRequest.java +++ b/src/main/java/one/talon/model/RevisionActivationRequest.java @@ -34,20 +34,20 @@ public class RevisionActivationRequest { public static final String SERIALIZED_NAME_USER_IDS = "userIds"; @SerializedName(SERIALIZED_NAME_USER_IDS) - private List userIds = new ArrayList(); + private List userIds = new ArrayList(); public static final String SERIALIZED_NAME_ACTIVATE_AT = "activateAt"; @SerializedName(SERIALIZED_NAME_ACTIVATE_AT) private OffsetDateTime activateAt; - public RevisionActivationRequest userIds(List userIds) { + public RevisionActivationRequest userIds(List userIds) { this.userIds = userIds; return this; } - public RevisionActivationRequest addUserIdsItem(Integer userIdsItem) { + public RevisionActivationRequest addUserIdsItem(Long userIdsItem) { this.userIds.add(userIdsItem); return this; } @@ -58,12 +58,12 @@ public RevisionActivationRequest addUserIdsItem(Integer userIdsItem) { **/ @ApiModelProperty(example = "[1, 2, 3]", required = true, value = "The list of IDs of the users who will receive the activation request.") - public List getUserIds() { + public List getUserIds() { return userIds; } - public void setUserIds(List userIds) { + public void setUserIds(List userIds) { this.userIds = userIds; } diff --git a/src/main/java/one/talon/model/RevisionVersion.java b/src/main/java/one/talon/model/RevisionVersion.java index 9bfb4a12..8b08e0aa 100644 --- a/src/main/java/one/talon/model/RevisionVersion.java +++ b/src/main/java/one/talon/model/RevisionVersion.java @@ -36,19 +36,19 @@ public class RevisionVersion { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private Integer accountId; + private Long accountId; public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - private Integer applicationId; + private Long applicationId; public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) - private Integer campaignId; + private Long campaignId; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -56,15 +56,15 @@ public class RevisionVersion { public static final String SERIALIZED_NAME_CREATED_BY = "createdBy"; @SerializedName(SERIALIZED_NAME_CREATED_BY) - private Integer createdBy; + private Long createdBy; public static final String SERIALIZED_NAME_REVISION_ID = "revisionId"; @SerializedName(SERIALIZED_NAME_REVISION_ID) - private Integer revisionId; + private Long revisionId; public static final String SERIALIZED_NAME_VERSION = "version"; @SerializedName(SERIALIZED_NAME_VERSION) - private Integer version; + private Long version; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -88,7 +88,7 @@ public class RevisionVersion { public static final String SERIALIZED_NAME_ACTIVE_RULESET_ID = "activeRulesetId"; @SerializedName(SERIALIZED_NAME_ACTIVE_RULESET_ID) - private Integer activeRulesetId; + private Long activeRulesetId; public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) @@ -166,7 +166,7 @@ public FeaturesEnum read(final JsonReader jsonReader) throws IOException { private List features = null; - public RevisionVersion id(Integer id) { + public RevisionVersion id(Long id) { this.id = id; return this; @@ -178,17 +178,17 @@ public RevisionVersion id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Unique ID for this entity. Not to be confused with the Integration ID, which is set by your integration layer and used in most endpoints.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } - public RevisionVersion accountId(Integer accountId) { + public RevisionVersion accountId(Long accountId) { this.accountId = accountId; return this; @@ -200,17 +200,17 @@ public RevisionVersion accountId(Integer accountId) { **/ @ApiModelProperty(required = true, value = "") - public Integer getAccountId() { + public Long getAccountId() { return accountId; } - public void setAccountId(Integer accountId) { + public void setAccountId(Long accountId) { this.accountId = accountId; } - public RevisionVersion applicationId(Integer applicationId) { + public RevisionVersion applicationId(Long applicationId) { this.applicationId = applicationId; return this; @@ -222,17 +222,17 @@ public RevisionVersion applicationId(Integer applicationId) { **/ @ApiModelProperty(required = true, value = "") - public Integer getApplicationId() { + public Long getApplicationId() { return applicationId; } - public void setApplicationId(Integer applicationId) { + public void setApplicationId(Long applicationId) { this.applicationId = applicationId; } - public RevisionVersion campaignId(Integer campaignId) { + public RevisionVersion campaignId(Long campaignId) { this.campaignId = campaignId; return this; @@ -244,12 +244,12 @@ public RevisionVersion campaignId(Integer campaignId) { **/ @ApiModelProperty(required = true, value = "") - public Integer getCampaignId() { + public Long getCampaignId() { return campaignId; } - public void setCampaignId(Integer campaignId) { + public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } @@ -276,7 +276,7 @@ public void setCreated(OffsetDateTime created) { } - public RevisionVersion createdBy(Integer createdBy) { + public RevisionVersion createdBy(Long createdBy) { this.createdBy = createdBy; return this; @@ -288,17 +288,17 @@ public RevisionVersion createdBy(Integer createdBy) { **/ @ApiModelProperty(required = true, value = "") - public Integer getCreatedBy() { + public Long getCreatedBy() { return createdBy; } - public void setCreatedBy(Integer createdBy) { + public void setCreatedBy(Long createdBy) { this.createdBy = createdBy; } - public RevisionVersion revisionId(Integer revisionId) { + public RevisionVersion revisionId(Long revisionId) { this.revisionId = revisionId; return this; @@ -310,17 +310,17 @@ public RevisionVersion revisionId(Integer revisionId) { **/ @ApiModelProperty(required = true, value = "") - public Integer getRevisionId() { + public Long getRevisionId() { return revisionId; } - public void setRevisionId(Integer revisionId) { + public void setRevisionId(Long revisionId) { this.revisionId = revisionId; } - public RevisionVersion version(Integer version) { + public RevisionVersion version(Long version) { this.version = version; return this; @@ -332,12 +332,12 @@ public RevisionVersion version(Integer version) { **/ @ApiModelProperty(required = true, value = "") - public Integer getVersion() { + public Long getVersion() { return version; } - public void setVersion(Integer version) { + public void setVersion(Long version) { this.version = version; } @@ -457,7 +457,7 @@ public void setDescription(String description) { } - public RevisionVersion activeRulesetId(Integer activeRulesetId) { + public RevisionVersion activeRulesetId(Long activeRulesetId) { this.activeRulesetId = activeRulesetId; return this; @@ -470,12 +470,12 @@ public RevisionVersion activeRulesetId(Integer activeRulesetId) { @javax.annotation.Nullable @ApiModelProperty(example = "5", value = "The ID of the ruleset this campaign template will use.") - public Integer getActiveRulesetId() { + public Long getActiveRulesetId() { return activeRulesetId; } - public void setActiveRulesetId(Integer activeRulesetId) { + public void setActiveRulesetId(Long activeRulesetId) { this.activeRulesetId = activeRulesetId; } diff --git a/src/main/java/one/talon/model/Role.java b/src/main/java/one/talon/model/Role.java index 56c53eea..9fdbb90f 100644 --- a/src/main/java/one/talon/model/Role.java +++ b/src/main/java/one/talon/model/Role.java @@ -34,7 +34,7 @@ public class Role { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -46,11 +46,11 @@ public class Role { public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private Integer accountId; + private Long accountId; public static final String SERIALIZED_NAME_CAMPAIGN_GROUP_I_D = "campaignGroupID"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_GROUP_I_D) - private Integer campaignGroupID; + private Long campaignGroupID; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -62,14 +62,14 @@ public class Role { public static final String SERIALIZED_NAME_MEMBERS = "members"; @SerializedName(SERIALIZED_NAME_MEMBERS) - private List members = null; + private List members = null; public static final String SERIALIZED_NAME_ACL = "acl"; @SerializedName(SERIALIZED_NAME_ACL) private Object acl; - public Role id(Integer id) { + public Role id(Long id) { this.id = id; return this; @@ -81,12 +81,12 @@ public Role id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -135,7 +135,7 @@ public void setModified(OffsetDateTime modified) { } - public Role accountId(Integer accountId) { + public Role accountId(Long accountId) { this.accountId = accountId; return this; @@ -147,17 +147,17 @@ public Role accountId(Integer accountId) { **/ @ApiModelProperty(example = "3886", required = true, value = "The ID of the account that owns this entity.") - public Integer getAccountId() { + public Long getAccountId() { return accountId; } - public void setAccountId(Integer accountId) { + public void setAccountId(Long accountId) { this.accountId = accountId; } - public Role campaignGroupID(Integer campaignGroupID) { + public Role campaignGroupID(Long campaignGroupID) { this.campaignGroupID = campaignGroupID; return this; @@ -170,12 +170,12 @@ public Role campaignGroupID(Integer campaignGroupID) { @javax.annotation.Nullable @ApiModelProperty(example = "3", value = "The ID of the [Campaign Group](https://docs.talon.one/docs/product/account/account-settings/managing-campaign-groups) this role was created for. ") - public Integer getCampaignGroupID() { + public Long getCampaignGroupID() { return campaignGroupID; } - public void setCampaignGroupID(Integer campaignGroupID) { + public void setCampaignGroupID(Long campaignGroupID) { this.campaignGroupID = campaignGroupID; } @@ -225,15 +225,15 @@ public void setDescription(String description) { } - public Role members(List members) { + public Role members(List members) { this.members = members; return this; } - public Role addMembersItem(Integer membersItem) { + public Role addMembersItem(Long membersItem) { if (this.members == null) { - this.members = new ArrayList(); + this.members = new ArrayList(); } this.members.add(membersItem); return this; @@ -246,12 +246,12 @@ public Role addMembersItem(Integer membersItem) { @javax.annotation.Nullable @ApiModelProperty(example = "[48, 562, 475, 18]", value = "A list of user identifiers assigned to this role.") - public List getMembers() { + public List getMembers() { return members; } - public void setMembers(List members) { + public void setMembers(List members) { this.members = members; } diff --git a/src/main/java/one/talon/model/RoleAssign.java b/src/main/java/one/talon/model/RoleAssign.java index ea565cef..b1727798 100644 --- a/src/main/java/one/talon/model/RoleAssign.java +++ b/src/main/java/one/talon/model/RoleAssign.java @@ -33,20 +33,20 @@ public class RoleAssign { public static final String SERIALIZED_NAME_USERS = "users"; @SerializedName(SERIALIZED_NAME_USERS) - private List users = new ArrayList(); + private List users = new ArrayList(); public static final String SERIALIZED_NAME_ROLES = "roles"; @SerializedName(SERIALIZED_NAME_ROLES) - private List roles = new ArrayList(); + private List roles = new ArrayList(); - public RoleAssign users(List users) { + public RoleAssign users(List users) { this.users = users; return this; } - public RoleAssign addUsersItem(Integer usersItem) { + public RoleAssign addUsersItem(Long usersItem) { this.users.add(usersItem); return this; } @@ -57,23 +57,23 @@ public RoleAssign addUsersItem(Integer usersItem) { **/ @ApiModelProperty(example = "[48, 562, 475, 18]", required = true, value = "An array of user IDs.") - public List getUsers() { + public List getUsers() { return users; } - public void setUsers(List users) { + public void setUsers(List users) { this.users = users; } - public RoleAssign roles(List roles) { + public RoleAssign roles(List roles) { this.roles = roles; return this; } - public RoleAssign addRolesItem(Integer rolesItem) { + public RoleAssign addRolesItem(Long rolesItem) { this.roles.add(rolesItem); return this; } @@ -84,12 +84,12 @@ public RoleAssign addRolesItem(Integer rolesItem) { **/ @ApiModelProperty(example = "[128, 147]", required = true, value = "An array of role IDs.") - public List getRoles() { + public List getRoles() { return roles; } - public void setRoles(List roles) { + public void setRoles(List roles) { this.roles = roles; } diff --git a/src/main/java/one/talon/model/RoleMembership.java b/src/main/java/one/talon/model/RoleMembership.java index 6a593436..8744c61c 100644 --- a/src/main/java/one/talon/model/RoleMembership.java +++ b/src/main/java/one/talon/model/RoleMembership.java @@ -31,14 +31,14 @@ public class RoleMembership { public static final String SERIALIZED_NAME_ROLE_I_D = "RoleID"; @SerializedName(SERIALIZED_NAME_ROLE_I_D) - private Integer roleID; + private Long roleID; public static final String SERIALIZED_NAME_USER_I_D = "UserID"; @SerializedName(SERIALIZED_NAME_USER_I_D) - private Integer userID; + private Long userID; - public RoleMembership roleID(Integer roleID) { + public RoleMembership roleID(Long roleID) { this.roleID = roleID; return this; @@ -50,17 +50,17 @@ public RoleMembership roleID(Integer roleID) { **/ @ApiModelProperty(required = true, value = "ID of role.") - public Integer getRoleID() { + public Long getRoleID() { return roleID; } - public void setRoleID(Integer roleID) { + public void setRoleID(Long roleID) { this.roleID = roleID; } - public RoleMembership userID(Integer userID) { + public RoleMembership userID(Long userID) { this.userID = userID; return this; @@ -72,12 +72,12 @@ public RoleMembership userID(Integer userID) { **/ @ApiModelProperty(required = true, value = "ID of User.") - public Integer getUserID() { + public Long getUserID() { return userID; } - public void setUserID(Integer userID) { + public void setUserID(Long userID) { this.userID = userID; } diff --git a/src/main/java/one/talon/model/RoleV2.java b/src/main/java/one/talon/model/RoleV2.java index 195962ef..ff466ad2 100644 --- a/src/main/java/one/talon/model/RoleV2.java +++ b/src/main/java/one/talon/model/RoleV2.java @@ -35,7 +35,7 @@ public class RoleV2 { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -47,7 +47,7 @@ public class RoleV2 { public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private Integer accountId; + private Long accountId; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -63,10 +63,10 @@ public class RoleV2 { public static final String SERIALIZED_NAME_MEMBERS = "members"; @SerializedName(SERIALIZED_NAME_MEMBERS) - private List members = null; + private List members = null; - public RoleV2 id(Integer id) { + public RoleV2 id(Long id) { this.id = id; return this; @@ -78,12 +78,12 @@ public RoleV2 id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -132,7 +132,7 @@ public void setModified(OffsetDateTime modified) { } - public RoleV2 accountId(Integer accountId) { + public RoleV2 accountId(Long accountId) { this.accountId = accountId; return this; @@ -144,12 +144,12 @@ public RoleV2 accountId(Integer accountId) { **/ @ApiModelProperty(example = "3886", required = true, value = "The ID of the account that owns this entity.") - public Integer getAccountId() { + public Long getAccountId() { return accountId; } - public void setAccountId(Integer accountId) { + public void setAccountId(Long accountId) { this.accountId = accountId; } @@ -223,15 +223,15 @@ public void setPermissions(RoleV2Permissions permissions) { } - public RoleV2 members(List members) { + public RoleV2 members(List members) { this.members = members; return this; } - public RoleV2 addMembersItem(Integer membersItem) { + public RoleV2 addMembersItem(Long membersItem) { if (this.members == null) { - this.members = new ArrayList(); + this.members = new ArrayList(); } this.members.add(membersItem); return this; @@ -244,12 +244,12 @@ public RoleV2 addMembersItem(Integer membersItem) { @javax.annotation.Nullable @ApiModelProperty(example = "[10, 12]", value = "A list of user IDs the role is assigned to.") - public List getMembers() { + public List getMembers() { return members; } - public void setMembers(List members) { + public void setMembers(List members) { this.members = members; } diff --git a/src/main/java/one/talon/model/RoleV2Base.java b/src/main/java/one/talon/model/RoleV2Base.java index bc573fed..6a204d0d 100644 --- a/src/main/java/one/talon/model/RoleV2Base.java +++ b/src/main/java/one/talon/model/RoleV2Base.java @@ -46,7 +46,7 @@ public class RoleV2Base { public static final String SERIALIZED_NAME_MEMBERS = "members"; @SerializedName(SERIALIZED_NAME_MEMBERS) - private List members = null; + private List members = null; public RoleV2Base name(String name) { @@ -118,15 +118,15 @@ public void setPermissions(RoleV2Permissions permissions) { } - public RoleV2Base members(List members) { + public RoleV2Base members(List members) { this.members = members; return this; } - public RoleV2Base addMembersItem(Integer membersItem) { + public RoleV2Base addMembersItem(Long membersItem) { if (this.members == null) { - this.members = new ArrayList(); + this.members = new ArrayList(); } this.members.add(membersItem); return this; @@ -139,12 +139,12 @@ public RoleV2Base addMembersItem(Integer membersItem) { @javax.annotation.Nullable @ApiModelProperty(example = "[10, 12]", value = "A list of user IDs the role is assigned to.") - public List getMembers() { + public List getMembers() { return members; } - public void setMembers(List members) { + public void setMembers(List members) { this.members = members; } diff --git a/src/main/java/one/talon/model/RollbackAddedLoyaltyPointsEffectProps.java b/src/main/java/one/talon/model/RollbackAddedLoyaltyPointsEffectProps.java index 37434eea..6994f1d0 100644 --- a/src/main/java/one/talon/model/RollbackAddedLoyaltyPointsEffectProps.java +++ b/src/main/java/one/talon/model/RollbackAddedLoyaltyPointsEffectProps.java @@ -33,7 +33,7 @@ public class RollbackAddedLoyaltyPointsEffectProps { public static final String SERIALIZED_NAME_PROGRAM_ID = "programId"; @SerializedName(SERIALIZED_NAME_PROGRAM_ID) - private Integer programId; + private Long programId; public static final String SERIALIZED_NAME_SUB_LEDGER_ID = "subLedgerId"; @SerializedName(SERIALIZED_NAME_SUB_LEDGER_ID) @@ -64,7 +64,7 @@ public class RollbackAddedLoyaltyPointsEffectProps { private String cardIdentifier; - public RollbackAddedLoyaltyPointsEffectProps programId(Integer programId) { + public RollbackAddedLoyaltyPointsEffectProps programId(Long programId) { this.programId = programId; return this; @@ -76,12 +76,12 @@ public RollbackAddedLoyaltyPointsEffectProps programId(Integer programId) { **/ @ApiModelProperty(required = true, value = "The ID of the loyalty program where the points were originally added.") - public Integer getProgramId() { + public Long getProgramId() { return programId; } - public void setProgramId(Integer programId) { + public void setProgramId(Long programId) { this.programId = programId; } diff --git a/src/main/java/one/talon/model/RollbackDeductedLoyaltyPointsEffectProps.java b/src/main/java/one/talon/model/RollbackDeductedLoyaltyPointsEffectProps.java index ebc69efc..5a84e447 100644 --- a/src/main/java/one/talon/model/RollbackDeductedLoyaltyPointsEffectProps.java +++ b/src/main/java/one/talon/model/RollbackDeductedLoyaltyPointsEffectProps.java @@ -34,7 +34,7 @@ public class RollbackDeductedLoyaltyPointsEffectProps { public static final String SERIALIZED_NAME_PROGRAM_ID = "programId"; @SerializedName(SERIALIZED_NAME_PROGRAM_ID) - private Integer programId; + private Long programId; public static final String SERIALIZED_NAME_SUB_LEDGER_ID = "subLedgerId"; @SerializedName(SERIALIZED_NAME_SUB_LEDGER_ID) @@ -65,7 +65,7 @@ public class RollbackDeductedLoyaltyPointsEffectProps { private String cardIdentifier; - public RollbackDeductedLoyaltyPointsEffectProps programId(Integer programId) { + public RollbackDeductedLoyaltyPointsEffectProps programId(Long programId) { this.programId = programId; return this; @@ -77,12 +77,12 @@ public RollbackDeductedLoyaltyPointsEffectProps programId(Integer programId) { **/ @ApiModelProperty(required = true, value = "The ID of the loyalty program where these points were reimbursed.") - public Integer getProgramId() { + public Long getProgramId() { return programId; } - public void setProgramId(Integer programId) { + public void setProgramId(Long programId) { this.programId = programId; } diff --git a/src/main/java/one/talon/model/RollbackDiscountEffectProps.java b/src/main/java/one/talon/model/RollbackDiscountEffectProps.java index da8d213b..2468b56c 100644 --- a/src/main/java/one/talon/model/RollbackDiscountEffectProps.java +++ b/src/main/java/one/talon/model/RollbackDiscountEffectProps.java @@ -49,7 +49,7 @@ public class RollbackDiscountEffectProps { public static final String SERIALIZED_NAME_ADDITIONAL_COST_ID = "additionalCostId"; @SerializedName(SERIALIZED_NAME_ADDITIONAL_COST_ID) - private Integer additionalCostId; + private Long additionalCostId; public static final String SERIALIZED_NAME_ADDITIONAL_COST = "additionalCost"; @SerializedName(SERIALIZED_NAME_ADDITIONAL_COST) @@ -150,7 +150,7 @@ public void setCartItemSubPosition(BigDecimal cartItemSubPosition) { } - public RollbackDiscountEffectProps additionalCostId(Integer additionalCostId) { + public RollbackDiscountEffectProps additionalCostId(Long additionalCostId) { this.additionalCostId = additionalCostId; return this; @@ -163,12 +163,12 @@ public RollbackDiscountEffectProps additionalCostId(Integer additionalCostId) { @javax.annotation.Nullable @ApiModelProperty(value = "The ID of the additional cost that was rolled back.") - public Integer getAdditionalCostId() { + public Long getAdditionalCostId() { return additionalCostId; } - public void setAdditionalCostId(Integer additionalCostId) { + public void setAdditionalCostId(Long additionalCostId) { this.additionalCostId = additionalCostId; } diff --git a/src/main/java/one/talon/model/RollbackIncreasedAchievementProgressEffectProps.java b/src/main/java/one/talon/model/RollbackIncreasedAchievementProgressEffectProps.java index 638f2919..54812185 100644 --- a/src/main/java/one/talon/model/RollbackIncreasedAchievementProgressEffectProps.java +++ b/src/main/java/one/talon/model/RollbackIncreasedAchievementProgressEffectProps.java @@ -33,7 +33,7 @@ public class RollbackIncreasedAchievementProgressEffectProps { public static final String SERIALIZED_NAME_ACHIEVEMENT_ID = "achievementId"; @SerializedName(SERIALIZED_NAME_ACHIEVEMENT_ID) - private Integer achievementId; + private Long achievementId; public static final String SERIALIZED_NAME_ACHIEVEMENT_NAME = "achievementName"; @SerializedName(SERIALIZED_NAME_ACHIEVEMENT_NAME) @@ -41,7 +41,7 @@ public class RollbackIncreasedAchievementProgressEffectProps { public static final String SERIALIZED_NAME_PROGRESS_TRACKER_ID = "progressTrackerId"; @SerializedName(SERIALIZED_NAME_PROGRESS_TRACKER_ID) - private Integer progressTrackerId; + private Long progressTrackerId; public static final String SERIALIZED_NAME_DECREASE_PROGRESS_BY = "decreaseProgressBy"; @SerializedName(SERIALIZED_NAME_DECREASE_PROGRESS_BY) @@ -56,7 +56,7 @@ public class RollbackIncreasedAchievementProgressEffectProps { private BigDecimal target; - public RollbackIncreasedAchievementProgressEffectProps achievementId(Integer achievementId) { + public RollbackIncreasedAchievementProgressEffectProps achievementId(Long achievementId) { this.achievementId = achievementId; return this; @@ -68,12 +68,12 @@ public RollbackIncreasedAchievementProgressEffectProps achievementId(Integer ach **/ @ApiModelProperty(example = "10", required = true, value = "The internal ID of the achievement.") - public Integer getAchievementId() { + public Long getAchievementId() { return achievementId; } - public void setAchievementId(Integer achievementId) { + public void setAchievementId(Long achievementId) { this.achievementId = achievementId; } @@ -100,7 +100,7 @@ public void setAchievementName(String achievementName) { } - public RollbackIncreasedAchievementProgressEffectProps progressTrackerId(Integer progressTrackerId) { + public RollbackIncreasedAchievementProgressEffectProps progressTrackerId(Long progressTrackerId) { this.progressTrackerId = progressTrackerId; return this; @@ -112,12 +112,12 @@ public RollbackIncreasedAchievementProgressEffectProps progressTrackerId(Integer **/ @ApiModelProperty(required = true, value = "The internal ID of the achievement progress tracker.") - public Integer getProgressTrackerId() { + public Long getProgressTrackerId() { return progressTrackerId; } - public void setProgressTrackerId(Integer progressTrackerId) { + public void setProgressTrackerId(Long progressTrackerId) { this.progressTrackerId = progressTrackerId; } diff --git a/src/main/java/one/talon/model/RuleFailureReason.java b/src/main/java/one/talon/model/RuleFailureReason.java index f721e77b..0b256a86 100644 --- a/src/main/java/one/talon/model/RuleFailureReason.java +++ b/src/main/java/one/talon/model/RuleFailureReason.java @@ -32,7 +32,7 @@ public class RuleFailureReason { public static final String SERIALIZED_NAME_CAMPAIGN_I_D = "campaignID"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_I_D) - private Integer campaignID; + private Long campaignID; public static final String SERIALIZED_NAME_CAMPAIGN_NAME = "campaignName"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_NAME) @@ -40,11 +40,11 @@ public class RuleFailureReason { public static final String SERIALIZED_NAME_RULESET_I_D = "rulesetID"; @SerializedName(SERIALIZED_NAME_RULESET_I_D) - private Integer rulesetID; + private Long rulesetID; public static final String SERIALIZED_NAME_COUPON_I_D = "couponID"; @SerializedName(SERIALIZED_NAME_COUPON_I_D) - private Integer couponID; + private Long couponID; public static final String SERIALIZED_NAME_COUPON_VALUE = "couponValue"; @SerializedName(SERIALIZED_NAME_COUPON_VALUE) @@ -52,7 +52,7 @@ public class RuleFailureReason { public static final String SERIALIZED_NAME_REFERRAL_I_D = "referralID"; @SerializedName(SERIALIZED_NAME_REFERRAL_I_D) - private Integer referralID; + private Long referralID; public static final String SERIALIZED_NAME_REFERRAL_VALUE = "referralValue"; @SerializedName(SERIALIZED_NAME_REFERRAL_VALUE) @@ -60,7 +60,7 @@ public class RuleFailureReason { public static final String SERIALIZED_NAME_RULE_INDEX = "ruleIndex"; @SerializedName(SERIALIZED_NAME_RULE_INDEX) - private Integer ruleIndex; + private Long ruleIndex; public static final String SERIALIZED_NAME_RULE_NAME = "ruleName"; @SerializedName(SERIALIZED_NAME_RULE_NAME) @@ -68,11 +68,11 @@ public class RuleFailureReason { public static final String SERIALIZED_NAME_CONDITION_INDEX = "conditionIndex"; @SerializedName(SERIALIZED_NAME_CONDITION_INDEX) - private Integer conditionIndex; + private Long conditionIndex; public static final String SERIALIZED_NAME_EFFECT_INDEX = "effectIndex"; @SerializedName(SERIALIZED_NAME_EFFECT_INDEX) - private Integer effectIndex; + private Long effectIndex; public static final String SERIALIZED_NAME_DETAILS = "details"; @SerializedName(SERIALIZED_NAME_DETAILS) @@ -80,14 +80,14 @@ public class RuleFailureReason { public static final String SERIALIZED_NAME_EVALUATION_GROUP_I_D = "evaluationGroupID"; @SerializedName(SERIALIZED_NAME_EVALUATION_GROUP_I_D) - private Integer evaluationGroupID; + private Long evaluationGroupID; public static final String SERIALIZED_NAME_EVALUATION_GROUP_MODE = "evaluationGroupMode"; @SerializedName(SERIALIZED_NAME_EVALUATION_GROUP_MODE) private String evaluationGroupMode; - public RuleFailureReason campaignID(Integer campaignID) { + public RuleFailureReason campaignID(Long campaignID) { this.campaignID = campaignID; return this; @@ -99,12 +99,12 @@ public RuleFailureReason campaignID(Integer campaignID) { **/ @ApiModelProperty(required = true, value = "The ID of the campaign that contains the rule that failed.") - public Integer getCampaignID() { + public Long getCampaignID() { return campaignID; } - public void setCampaignID(Integer campaignID) { + public void setCampaignID(Long campaignID) { this.campaignID = campaignID; } @@ -131,7 +131,7 @@ public void setCampaignName(String campaignName) { } - public RuleFailureReason rulesetID(Integer rulesetID) { + public RuleFailureReason rulesetID(Long rulesetID) { this.rulesetID = rulesetID; return this; @@ -143,17 +143,17 @@ public RuleFailureReason rulesetID(Integer rulesetID) { **/ @ApiModelProperty(required = true, value = "The ID of the ruleset that contains the rule that failed.") - public Integer getRulesetID() { + public Long getRulesetID() { return rulesetID; } - public void setRulesetID(Integer rulesetID) { + public void setRulesetID(Long rulesetID) { this.rulesetID = rulesetID; } - public RuleFailureReason couponID(Integer couponID) { + public RuleFailureReason couponID(Long couponID) { this.couponID = couponID; return this; @@ -166,12 +166,12 @@ public RuleFailureReason couponID(Integer couponID) { @javax.annotation.Nullable @ApiModelProperty(example = "4928", value = "The ID of the coupon that was being evaluated at the time of the rule failure.") - public Integer getCouponID() { + public Long getCouponID() { return couponID; } - public void setCouponID(Integer couponID) { + public void setCouponID(Long couponID) { this.couponID = couponID; } @@ -199,7 +199,7 @@ public void setCouponValue(String couponValue) { } - public RuleFailureReason referralID(Integer referralID) { + public RuleFailureReason referralID(Long referralID) { this.referralID = referralID; return this; @@ -212,12 +212,12 @@ public RuleFailureReason referralID(Integer referralID) { @javax.annotation.Nullable @ApiModelProperty(value = "The ID of the referral that was being evaluated at the time of the rule failure.") - public Integer getReferralID() { + public Long getReferralID() { return referralID; } - public void setReferralID(Integer referralID) { + public void setReferralID(Long referralID) { this.referralID = referralID; } @@ -245,7 +245,7 @@ public void setReferralValue(String referralValue) { } - public RuleFailureReason ruleIndex(Integer ruleIndex) { + public RuleFailureReason ruleIndex(Long ruleIndex) { this.ruleIndex = ruleIndex; return this; @@ -257,12 +257,12 @@ public RuleFailureReason ruleIndex(Integer ruleIndex) { **/ @ApiModelProperty(required = true, value = "The index of the rule that failed within the ruleset.") - public Integer getRuleIndex() { + public Long getRuleIndex() { return ruleIndex; } - public void setRuleIndex(Integer ruleIndex) { + public void setRuleIndex(Long ruleIndex) { this.ruleIndex = ruleIndex; } @@ -289,7 +289,7 @@ public void setRuleName(String ruleName) { } - public RuleFailureReason conditionIndex(Integer conditionIndex) { + public RuleFailureReason conditionIndex(Long conditionIndex) { this.conditionIndex = conditionIndex; return this; @@ -302,17 +302,17 @@ public RuleFailureReason conditionIndex(Integer conditionIndex) { @javax.annotation.Nullable @ApiModelProperty(value = "The index of the condition that failed.") - public Integer getConditionIndex() { + public Long getConditionIndex() { return conditionIndex; } - public void setConditionIndex(Integer conditionIndex) { + public void setConditionIndex(Long conditionIndex) { this.conditionIndex = conditionIndex; } - public RuleFailureReason effectIndex(Integer effectIndex) { + public RuleFailureReason effectIndex(Long effectIndex) { this.effectIndex = effectIndex; return this; @@ -325,12 +325,12 @@ public RuleFailureReason effectIndex(Integer effectIndex) { @javax.annotation.Nullable @ApiModelProperty(value = "The index of the effect that failed.") - public Integer getEffectIndex() { + public Long getEffectIndex() { return effectIndex; } - public void setEffectIndex(Integer effectIndex) { + public void setEffectIndex(Long effectIndex) { this.effectIndex = effectIndex; } @@ -358,7 +358,7 @@ public void setDetails(String details) { } - public RuleFailureReason evaluationGroupID(Integer evaluationGroupID) { + public RuleFailureReason evaluationGroupID(Long evaluationGroupID) { this.evaluationGroupID = evaluationGroupID; return this; @@ -371,12 +371,12 @@ public RuleFailureReason evaluationGroupID(Integer evaluationGroupID) { @javax.annotation.Nullable @ApiModelProperty(example = "3", value = "The ID of the evaluation group. For more information, see [Managing campaign evaluation](https://docs.talon.one/docs/product/applications/managing-campaign-evaluation).") - public Integer getEvaluationGroupID() { + public Long getEvaluationGroupID() { return evaluationGroupID; } - public void setEvaluationGroupID(Integer evaluationGroupID) { + public void setEvaluationGroupID(Long evaluationGroupID) { this.evaluationGroupID = evaluationGroupID; } diff --git a/src/main/java/one/talon/model/Ruleset.java b/src/main/java/one/talon/model/Ruleset.java index cec45907..83a11c8c 100644 --- a/src/main/java/one/talon/model/Ruleset.java +++ b/src/main/java/one/talon/model/Ruleset.java @@ -36,7 +36,7 @@ public class Ruleset { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -44,7 +44,7 @@ public class Ruleset { public static final String SERIALIZED_NAME_USER_ID = "userId"; @SerializedName(SERIALIZED_NAME_USER_ID) - private Integer userId; + private Long userId; public static final String SERIALIZED_NAME_RULES = "rules"; @SerializedName(SERIALIZED_NAME_RULES) @@ -68,18 +68,18 @@ public class Ruleset { public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) - private Integer campaignId; + private Long campaignId; public static final String SERIALIZED_NAME_TEMPLATE_ID = "templateId"; @SerializedName(SERIALIZED_NAME_TEMPLATE_ID) - private Integer templateId; + private Long templateId; public static final String SERIALIZED_NAME_ACTIVATED_AT = "activatedAt"; @SerializedName(SERIALIZED_NAME_ACTIVATED_AT) private OffsetDateTime activatedAt; - public Ruleset id(Integer id) { + public Ruleset id(Long id) { this.id = id; return this; @@ -91,12 +91,12 @@ public Ruleset id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -123,7 +123,7 @@ public void setCreated(OffsetDateTime created) { } - public Ruleset userId(Integer userId) { + public Ruleset userId(Long userId) { this.userId = userId; return this; @@ -135,12 +135,12 @@ public Ruleset userId(Integer userId) { **/ @ApiModelProperty(example = "388", required = true, value = "The ID of the user associated with this entity.") - public Integer getUserId() { + public Long getUserId() { return userId; } - public void setUserId(Integer userId) { + public void setUserId(Long userId) { this.userId = userId; } @@ -276,7 +276,7 @@ public void setActivate(Boolean activate) { } - public Ruleset campaignId(Integer campaignId) { + public Ruleset campaignId(Long campaignId) { this.campaignId = campaignId; return this; @@ -289,17 +289,17 @@ public Ruleset campaignId(Integer campaignId) { @javax.annotation.Nullable @ApiModelProperty(example = "320", value = "The ID of the campaign that owns this entity.") - public Integer getCampaignId() { + public Long getCampaignId() { return campaignId; } - public void setCampaignId(Integer campaignId) { + public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } - public Ruleset templateId(Integer templateId) { + public Ruleset templateId(Long templateId) { this.templateId = templateId; return this; @@ -312,12 +312,12 @@ public Ruleset templateId(Integer templateId) { @javax.annotation.Nullable @ApiModelProperty(example = "3", value = "The ID of the campaign template that owns this entity.") - public Integer getTemplateId() { + public Long getTemplateId() { return templateId; } - public void setTemplateId(Integer templateId) { + public void setTemplateId(Long templateId) { this.templateId = templateId; } diff --git a/src/main/java/one/talon/model/SamlConnection.java b/src/main/java/one/talon/model/SamlConnection.java index 8e70609c..fd37815a 100644 --- a/src/main/java/one/talon/model/SamlConnection.java +++ b/src/main/java/one/talon/model/SamlConnection.java @@ -37,7 +37,7 @@ public class SamlConnection { public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private Integer accountId; + private Long accountId; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -69,7 +69,7 @@ public class SamlConnection { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -98,7 +98,7 @@ public void setAssertionConsumerServiceURL(String assertionConsumerServiceURL) { } - public SamlConnection accountId(Integer accountId) { + public SamlConnection accountId(Long accountId) { this.accountId = accountId; return this; @@ -110,12 +110,12 @@ public SamlConnection accountId(Integer accountId) { **/ @ApiModelProperty(example = "3885", required = true, value = "The ID of the account that owns this entity.") - public Integer getAccountId() { + public Long getAccountId() { return accountId; } - public void setAccountId(Integer accountId) { + public void setAccountId(Long accountId) { this.accountId = accountId; } @@ -276,7 +276,7 @@ public void setAudienceURI(String audienceURI) { } - public SamlConnection id(Integer id) { + public SamlConnection id(Long id) { this.id = id; return this; @@ -288,12 +288,12 @@ public SamlConnection id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } diff --git a/src/main/java/one/talon/model/SamlLoginEndpoint.java b/src/main/java/one/talon/model/SamlLoginEndpoint.java index 1d28ae0b..7b08941c 100644 --- a/src/main/java/one/talon/model/SamlLoginEndpoint.java +++ b/src/main/java/one/talon/model/SamlLoginEndpoint.java @@ -31,7 +31,7 @@ public class SamlLoginEndpoint { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -42,7 +42,7 @@ public class SamlLoginEndpoint { private String loginURL; - public SamlLoginEndpoint id(Integer id) { + public SamlLoginEndpoint id(Long id) { this.id = id; return this; @@ -54,12 +54,12 @@ public SamlLoginEndpoint id(Integer id) { **/ @ApiModelProperty(example = "2", required = true, value = "ID of the SAML login endpoint.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } diff --git a/src/main/java/one/talon/model/ScimSchemasListResponse.java b/src/main/java/one/talon/model/ScimSchemasListResponse.java index 90c3bfc9..92dfb220 100644 --- a/src/main/java/one/talon/model/ScimSchemasListResponse.java +++ b/src/main/java/one/talon/model/ScimSchemasListResponse.java @@ -43,7 +43,7 @@ public class ScimSchemasListResponse { public static final String SERIALIZED_NAME_TOTAL_RESULTS = "totalResults"; @SerializedName(SERIALIZED_NAME_TOTAL_RESULTS) - private Integer totalResults; + private Long totalResults; public ScimSchemasListResponse resources(List resources) { @@ -104,7 +104,7 @@ public void setSchemas(List schemas) { } - public ScimSchemasListResponse totalResults(Integer totalResults) { + public ScimSchemasListResponse totalResults(Long totalResults) { this.totalResults = totalResults; return this; @@ -117,12 +117,12 @@ public ScimSchemasListResponse totalResults(Integer totalResults) { @javax.annotation.Nullable @ApiModelProperty(value = "Number of total results in the response.") - public Integer getTotalResults() { + public Long getTotalResults() { return totalResults; } - public void setTotalResults(Integer totalResults) { + public void setTotalResults(Long totalResults) { this.totalResults = totalResults; } diff --git a/src/main/java/one/talon/model/ScimServiceProviderConfigResponseBulk.java b/src/main/java/one/talon/model/ScimServiceProviderConfigResponseBulk.java index e0f8acdd..62ca1612 100644 --- a/src/main/java/one/talon/model/ScimServiceProviderConfigResponseBulk.java +++ b/src/main/java/one/talon/model/ScimServiceProviderConfigResponseBulk.java @@ -32,18 +32,18 @@ public class ScimServiceProviderConfigResponseBulk { public static final String SERIALIZED_NAME_MAX_OPERATIONS = "maxOperations"; @SerializedName(SERIALIZED_NAME_MAX_OPERATIONS) - private Integer maxOperations; + private Long maxOperations; public static final String SERIALIZED_NAME_MAX_PAYLOAD_SIZE = "maxPayloadSize"; @SerializedName(SERIALIZED_NAME_MAX_PAYLOAD_SIZE) - private Integer maxPayloadSize; + private Long maxPayloadSize; public static final String SERIALIZED_NAME_SUPPORTED = "supported"; @SerializedName(SERIALIZED_NAME_SUPPORTED) private Boolean supported; - public ScimServiceProviderConfigResponseBulk maxOperations(Integer maxOperations) { + public ScimServiceProviderConfigResponseBulk maxOperations(Long maxOperations) { this.maxOperations = maxOperations; return this; @@ -56,17 +56,17 @@ public ScimServiceProviderConfigResponseBulk maxOperations(Integer maxOperations @javax.annotation.Nullable @ApiModelProperty(value = "The maximum number of individual operations that can be included in a single bulk request.") - public Integer getMaxOperations() { + public Long getMaxOperations() { return maxOperations; } - public void setMaxOperations(Integer maxOperations) { + public void setMaxOperations(Long maxOperations) { this.maxOperations = maxOperations; } - public ScimServiceProviderConfigResponseBulk maxPayloadSize(Integer maxPayloadSize) { + public ScimServiceProviderConfigResponseBulk maxPayloadSize(Long maxPayloadSize) { this.maxPayloadSize = maxPayloadSize; return this; @@ -79,12 +79,12 @@ public ScimServiceProviderConfigResponseBulk maxPayloadSize(Integer maxPayloadSi @javax.annotation.Nullable @ApiModelProperty(value = "The maximum size, in bytes, of the entire payload for a bulk operation request.") - public Integer getMaxPayloadSize() { + public Long getMaxPayloadSize() { return maxPayloadSize; } - public void setMaxPayloadSize(Integer maxPayloadSize) { + public void setMaxPayloadSize(Long maxPayloadSize) { this.maxPayloadSize = maxPayloadSize; } diff --git a/src/main/java/one/talon/model/ScimServiceProviderConfigResponseFilter.java b/src/main/java/one/talon/model/ScimServiceProviderConfigResponseFilter.java index 8834ed1c..7db0c4b6 100644 --- a/src/main/java/one/talon/model/ScimServiceProviderConfigResponseFilter.java +++ b/src/main/java/one/talon/model/ScimServiceProviderConfigResponseFilter.java @@ -32,14 +32,14 @@ public class ScimServiceProviderConfigResponseFilter { public static final String SERIALIZED_NAME_MAX_RESULTS = "maxResults"; @SerializedName(SERIALIZED_NAME_MAX_RESULTS) - private Integer maxResults; + private Long maxResults; public static final String SERIALIZED_NAME_SUPPORTED = "supported"; @SerializedName(SERIALIZED_NAME_SUPPORTED) private Boolean supported; - public ScimServiceProviderConfigResponseFilter maxResults(Integer maxResults) { + public ScimServiceProviderConfigResponseFilter maxResults(Long maxResults) { this.maxResults = maxResults; return this; @@ -52,12 +52,12 @@ public ScimServiceProviderConfigResponseFilter maxResults(Integer maxResults) { @javax.annotation.Nullable @ApiModelProperty(value = "The maximum number of resources that can be returned in a single filtered query response.") - public Integer getMaxResults() { + public Long getMaxResults() { return maxResults; } - public void setMaxResults(Integer maxResults) { + public void setMaxResults(Long maxResults) { this.maxResults = maxResults; } diff --git a/src/main/java/one/talon/model/ScimUsersListResponse.java b/src/main/java/one/talon/model/ScimUsersListResponse.java index d88c5819..31bb9f48 100644 --- a/src/main/java/one/talon/model/ScimUsersListResponse.java +++ b/src/main/java/one/talon/model/ScimUsersListResponse.java @@ -43,7 +43,7 @@ public class ScimUsersListResponse { public static final String SERIALIZED_NAME_TOTAL_RESULTS = "totalResults"; @SerializedName(SERIALIZED_NAME_TOTAL_RESULTS) - private Integer totalResults; + private Long totalResults; public ScimUsersListResponse resources(List resources) { @@ -104,7 +104,7 @@ public void setSchemas(List schemas) { } - public ScimUsersListResponse totalResults(Integer totalResults) { + public ScimUsersListResponse totalResults(Long totalResults) { this.totalResults = totalResults; return this; @@ -117,12 +117,12 @@ public ScimUsersListResponse totalResults(Integer totalResults) { @javax.annotation.Nullable @ApiModelProperty(value = "Number of total results in the response.") - public Integer getTotalResults() { + public Long getTotalResults() { return totalResults; } - public void setTotalResults(Integer totalResults) { + public void setTotalResults(Long totalResults) { this.totalResults = totalResults; } diff --git a/src/main/java/one/talon/model/Session.java b/src/main/java/one/talon/model/Session.java index cd7f9c89..51d2a424 100644 --- a/src/main/java/one/talon/model/Session.java +++ b/src/main/java/one/talon/model/Session.java @@ -32,7 +32,7 @@ public class Session { public static final String SERIALIZED_NAME_USER_ID = "userId"; @SerializedName(SERIALIZED_NAME_USER_ID) - private Integer userId; + private Long userId; public static final String SERIALIZED_NAME_TOKEN = "token"; @SerializedName(SERIALIZED_NAME_TOKEN) @@ -43,7 +43,7 @@ public class Session { private OffsetDateTime created; - public Session userId(Integer userId) { + public Session userId(Long userId) { this.userId = userId; return this; @@ -55,12 +55,12 @@ public Session userId(Integer userId) { **/ @ApiModelProperty(example = "109", required = true, value = "The ID of the user of this session.") - public Integer getUserId() { + public Long getUserId() { return userId; } - public void setUserId(Integer userId) { + public void setUserId(Long userId) { this.userId = userId; } diff --git a/src/main/java/one/talon/model/SetDiscountPerAdditionalCostEffectProps.java b/src/main/java/one/talon/model/SetDiscountPerAdditionalCostEffectProps.java index 00992707..da03d3d1 100644 --- a/src/main/java/one/talon/model/SetDiscountPerAdditionalCostEffectProps.java +++ b/src/main/java/one/talon/model/SetDiscountPerAdditionalCostEffectProps.java @@ -37,7 +37,7 @@ public class SetDiscountPerAdditionalCostEffectProps { public static final String SERIALIZED_NAME_ADDITIONAL_COST_ID = "additionalCostId"; @SerializedName(SERIALIZED_NAME_ADDITIONAL_COST_ID) - private Integer additionalCostId; + private Long additionalCostId; public static final String SERIALIZED_NAME_ADDITIONAL_COST = "additionalCost"; @SerializedName(SERIALIZED_NAME_ADDITIONAL_COST) @@ -74,7 +74,7 @@ public void setName(String name) { } - public SetDiscountPerAdditionalCostEffectProps additionalCostId(Integer additionalCostId) { + public SetDiscountPerAdditionalCostEffectProps additionalCostId(Long additionalCostId) { this.additionalCostId = additionalCostId; return this; @@ -86,12 +86,12 @@ public SetDiscountPerAdditionalCostEffectProps additionalCostId(Integer addition **/ @ApiModelProperty(required = true, value = "The ID of the additional cost.") - public Integer getAdditionalCostId() { + public Long getAdditionalCostId() { return additionalCostId; } - public void setAdditionalCostId(Integer additionalCostId) { + public void setAdditionalCostId(Long additionalCostId) { this.additionalCostId = additionalCostId; } diff --git a/src/main/java/one/talon/model/SetDiscountPerAdditionalCostPerItemEffectProps.java b/src/main/java/one/talon/model/SetDiscountPerAdditionalCostPerItemEffectProps.java index f8895d68..998cb728 100644 --- a/src/main/java/one/talon/model/SetDiscountPerAdditionalCostPerItemEffectProps.java +++ b/src/main/java/one/talon/model/SetDiscountPerAdditionalCostPerItemEffectProps.java @@ -37,7 +37,7 @@ public class SetDiscountPerAdditionalCostPerItemEffectProps { public static final String SERIALIZED_NAME_ADDITIONAL_COST_ID = "additionalCostId"; @SerializedName(SERIALIZED_NAME_ADDITIONAL_COST_ID) - private Integer additionalCostId; + private Long additionalCostId; public static final String SERIALIZED_NAME_VALUE = "value"; @SerializedName(SERIALIZED_NAME_VALUE) @@ -82,7 +82,7 @@ public void setName(String name) { } - public SetDiscountPerAdditionalCostPerItemEffectProps additionalCostId(Integer additionalCostId) { + public SetDiscountPerAdditionalCostPerItemEffectProps additionalCostId(Long additionalCostId) { this.additionalCostId = additionalCostId; return this; @@ -94,12 +94,12 @@ public SetDiscountPerAdditionalCostPerItemEffectProps additionalCostId(Integer a **/ @ApiModelProperty(required = true, value = "The ID of the additional cost.") - public Integer getAdditionalCostId() { + public Long getAdditionalCostId() { return additionalCostId; } - public void setAdditionalCostId(Integer additionalCostId) { + public void setAdditionalCostId(Long additionalCostId) { this.additionalCostId = additionalCostId; } diff --git a/src/main/java/one/talon/model/SetDiscountPerItemEffectProps.java b/src/main/java/one/talon/model/SetDiscountPerItemEffectProps.java index 98d64694..a7229f4b 100644 --- a/src/main/java/one/talon/model/SetDiscountPerItemEffectProps.java +++ b/src/main/java/one/talon/model/SetDiscountPerItemEffectProps.java @@ -65,7 +65,7 @@ public class SetDiscountPerItemEffectProps { public static final String SERIALIZED_NAME_BUNDLE_INDEX = "bundleIndex"; @SerializedName(SERIALIZED_NAME_BUNDLE_INDEX) - private Integer bundleIndex; + private Long bundleIndex; public static final String SERIALIZED_NAME_BUNDLE_NAME = "bundleName"; @SerializedName(SERIALIZED_NAME_BUNDLE_NAME) @@ -261,7 +261,7 @@ public void setDesiredTotalDiscount(BigDecimal desiredTotalDiscount) { } - public SetDiscountPerItemEffectProps bundleIndex(Integer bundleIndex) { + public SetDiscountPerItemEffectProps bundleIndex(Long bundleIndex) { this.bundleIndex = bundleIndex; return this; @@ -274,12 +274,12 @@ public SetDiscountPerItemEffectProps bundleIndex(Integer bundleIndex) { @javax.annotation.Nullable @ApiModelProperty(value = "The position of the bundle in a list of item bundles created from the same bundle definition.") - public Integer getBundleIndex() { + public Long getBundleIndex() { return bundleIndex; } - public void setBundleIndex(Integer bundleIndex) { + public void setBundleIndex(Long bundleIndex) { this.bundleIndex = bundleIndex; } diff --git a/src/main/java/one/talon/model/Store.java b/src/main/java/one/talon/model/Store.java index 2553b2bd..f038366d 100644 --- a/src/main/java/one/talon/model/Store.java +++ b/src/main/java/one/talon/model/Store.java @@ -34,7 +34,7 @@ public class Store { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -58,7 +58,7 @@ public class Store { public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - private Integer applicationId; + private Long applicationId; public static final String SERIALIZED_NAME_UPDATED = "updated"; @SerializedName(SERIALIZED_NAME_UPDATED) @@ -66,10 +66,10 @@ public class Store { public static final String SERIALIZED_NAME_LINKED_CAMPAIGN_IDS = "linkedCampaignIds"; @SerializedName(SERIALIZED_NAME_LINKED_CAMPAIGN_IDS) - private List linkedCampaignIds = null; + private List linkedCampaignIds = null; - public Store id(Integer id) { + public Store id(Long id) { this.id = id; return this; @@ -81,12 +81,12 @@ public Store id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -202,7 +202,7 @@ public void setIntegrationId(String integrationId) { } - public Store applicationId(Integer applicationId) { + public Store applicationId(Long applicationId) { this.applicationId = applicationId; return this; @@ -214,12 +214,12 @@ public Store applicationId(Integer applicationId) { **/ @ApiModelProperty(example = "322", required = true, value = "The ID of the Application that owns this entity.") - public Integer getApplicationId() { + public Long getApplicationId() { return applicationId; } - public void setApplicationId(Integer applicationId) { + public void setApplicationId(Long applicationId) { this.applicationId = applicationId; } @@ -246,15 +246,15 @@ public void setUpdated(OffsetDateTime updated) { } - public Store linkedCampaignIds(List linkedCampaignIds) { + public Store linkedCampaignIds(List linkedCampaignIds) { this.linkedCampaignIds = linkedCampaignIds; return this; } - public Store addLinkedCampaignIdsItem(Integer linkedCampaignIdsItem) { + public Store addLinkedCampaignIdsItem(Long linkedCampaignIdsItem) { if (this.linkedCampaignIds == null) { - this.linkedCampaignIds = new ArrayList(); + this.linkedCampaignIds = new ArrayList(); } this.linkedCampaignIds.add(linkedCampaignIdsItem); return this; @@ -267,12 +267,12 @@ public Store addLinkedCampaignIdsItem(Integer linkedCampaignIdsItem) { @javax.annotation.Nullable @ApiModelProperty(example = "[4, 6, 8]", value = "A list of IDs of the campaigns that are linked with current store.") - public List getLinkedCampaignIds() { + public List getLinkedCampaignIds() { return linkedCampaignIds; } - public void setLinkedCampaignIds(List linkedCampaignIds) { + public void setLinkedCampaignIds(List linkedCampaignIds) { this.linkedCampaignIds = linkedCampaignIds; } diff --git a/src/main/java/one/talon/model/StrikethroughChangedItem.java b/src/main/java/one/talon/model/StrikethroughChangedItem.java index 25ec1c4b..54f2277a 100644 --- a/src/main/java/one/talon/model/StrikethroughChangedItem.java +++ b/src/main/java/one/talon/model/StrikethroughChangedItem.java @@ -37,11 +37,11 @@ public class StrikethroughChangedItem { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CATALOG_ID = "catalogId"; @SerializedName(SERIALIZED_NAME_CATALOG_ID) - private Integer catalogId; + private Long catalogId; public static final String SERIALIZED_NAME_SKU = "sku"; @SerializedName(SERIALIZED_NAME_SKU) @@ -49,7 +49,7 @@ public class StrikethroughChangedItem { public static final String SERIALIZED_NAME_VERSION = "version"; @SerializedName(SERIALIZED_NAME_VERSION) - private Integer version; + private Long version; public static final String SERIALIZED_NAME_PRICE = "price"; @SerializedName(SERIALIZED_NAME_PRICE) @@ -64,7 +64,7 @@ public class StrikethroughChangedItem { private List effects = null; - public StrikethroughChangedItem id(Integer id) { + public StrikethroughChangedItem id(Long id) { this.id = id; return this; @@ -76,17 +76,17 @@ public StrikethroughChangedItem id(Integer id) { **/ @ApiModelProperty(example = "1", required = true, value = "The ID of the event that triggered the strikethrough labeling.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } - public StrikethroughChangedItem catalogId(Integer catalogId) { + public StrikethroughChangedItem catalogId(Long catalogId) { this.catalogId = catalogId; return this; @@ -98,12 +98,12 @@ public StrikethroughChangedItem catalogId(Integer catalogId) { **/ @ApiModelProperty(example = "10", required = true, value = "The ID of the catalog that the changed item belongs to.") - public Integer getCatalogId() { + public Long getCatalogId() { return catalogId; } - public void setCatalogId(Integer catalogId) { + public void setCatalogId(Long catalogId) { this.catalogId = catalogId; } @@ -130,7 +130,7 @@ public void setSku(String sku) { } - public StrikethroughChangedItem version(Integer version) { + public StrikethroughChangedItem version(Long version) { this.version = version; return this; @@ -143,12 +143,12 @@ public StrikethroughChangedItem version(Integer version) { **/ @ApiModelProperty(example = "6", required = true, value = "The version of the changed item.") - public Integer getVersion() { + public Long getVersion() { return version; } - public void setVersion(Integer version) { + public void setVersion(Long version) { this.version = version; } diff --git a/src/main/java/one/talon/model/StrikethroughCustomEffectPerItemProps.java b/src/main/java/one/talon/model/StrikethroughCustomEffectPerItemProps.java index 07b26055..ee6dda6d 100644 --- a/src/main/java/one/talon/model/StrikethroughCustomEffectPerItemProps.java +++ b/src/main/java/one/talon/model/StrikethroughCustomEffectPerItemProps.java @@ -32,7 +32,7 @@ public class StrikethroughCustomEffectPerItemProps { public static final String SERIALIZED_NAME_EFFECT_ID = "effectId"; @SerializedName(SERIALIZED_NAME_EFFECT_ID) - private Integer effectId; + private Long effectId; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -43,7 +43,7 @@ public class StrikethroughCustomEffectPerItemProps { private Object payload; - public StrikethroughCustomEffectPerItemProps effectId(Integer effectId) { + public StrikethroughCustomEffectPerItemProps effectId(Long effectId) { this.effectId = effectId; return this; @@ -55,12 +55,12 @@ public StrikethroughCustomEffectPerItemProps effectId(Integer effectId) { **/ @ApiModelProperty(example = "1", required = true, value = "ID of the effect.") - public Integer getEffectId() { + public Long getEffectId() { return effectId; } - public void setEffectId(Integer effectId) { + public void setEffectId(Long effectId) { this.effectId = effectId; } diff --git a/src/main/java/one/talon/model/StrikethroughDebugResponse.java b/src/main/java/one/talon/model/StrikethroughDebugResponse.java index c3addaa2..342cf517 100644 --- a/src/main/java/one/talon/model/StrikethroughDebugResponse.java +++ b/src/main/java/one/talon/model/StrikethroughDebugResponse.java @@ -34,22 +34,22 @@ public class StrikethroughDebugResponse { public static final String SERIALIZED_NAME_CAMPAIGNS_I_DS = "campaignsIDs"; @SerializedName(SERIALIZED_NAME_CAMPAIGNS_I_DS) - private List campaignsIDs = null; + private List campaignsIDs = null; public static final String SERIALIZED_NAME_EFFECTS = "effects"; @SerializedName(SERIALIZED_NAME_EFFECTS) private List effects = null; - public StrikethroughDebugResponse campaignsIDs(List campaignsIDs) { + public StrikethroughDebugResponse campaignsIDs(List campaignsIDs) { this.campaignsIDs = campaignsIDs; return this; } - public StrikethroughDebugResponse addCampaignsIDsItem(Integer campaignsIDsItem) { + public StrikethroughDebugResponse addCampaignsIDsItem(Long campaignsIDsItem) { if (this.campaignsIDs == null) { - this.campaignsIDs = new ArrayList(); + this.campaignsIDs = new ArrayList(); } this.campaignsIDs.add(campaignsIDsItem); return this; @@ -62,12 +62,12 @@ public StrikethroughDebugResponse addCampaignsIDsItem(Integer campaignsIDsItem) @javax.annotation.Nullable @ApiModelProperty(value = "The campaign IDs that got fetched for the evaluation process.") - public List getCampaignsIDs() { + public List getCampaignsIDs() { return campaignsIDs; } - public void setCampaignsIDs(List campaignsIDs) { + public void setCampaignsIDs(List campaignsIDs) { this.campaignsIDs = campaignsIDs; } diff --git a/src/main/java/one/talon/model/StrikethroughEffect.java b/src/main/java/one/talon/model/StrikethroughEffect.java index 67d3e502..8e090272 100644 --- a/src/main/java/one/talon/model/StrikethroughEffect.java +++ b/src/main/java/one/talon/model/StrikethroughEffect.java @@ -33,15 +33,15 @@ public class StrikethroughEffect { public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) - private Integer campaignId; + private Long campaignId; public static final String SERIALIZED_NAME_RULESET_ID = "rulesetId"; @SerializedName(SERIALIZED_NAME_RULESET_ID) - private Integer rulesetId; + private Long rulesetId; public static final String SERIALIZED_NAME_RULE_INDEX = "ruleIndex"; @SerializedName(SERIALIZED_NAME_RULE_INDEX) - private Integer ruleIndex; + private Long ruleIndex; public static final String SERIALIZED_NAME_RULE_NAME = "ruleName"; @SerializedName(SERIALIZED_NAME_RULE_NAME) @@ -64,7 +64,7 @@ public class StrikethroughEffect { private OffsetDateTime endTime; - public StrikethroughEffect campaignId(Integer campaignId) { + public StrikethroughEffect campaignId(Long campaignId) { this.campaignId = campaignId; return this; @@ -76,17 +76,17 @@ public StrikethroughEffect campaignId(Integer campaignId) { **/ @ApiModelProperty(example = "3", required = true, value = "The ID of the campaign that effect belongs to.") - public Integer getCampaignId() { + public Long getCampaignId() { return campaignId; } - public void setCampaignId(Integer campaignId) { + public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } - public StrikethroughEffect rulesetId(Integer rulesetId) { + public StrikethroughEffect rulesetId(Long rulesetId) { this.rulesetId = rulesetId; return this; @@ -98,17 +98,17 @@ public StrikethroughEffect rulesetId(Integer rulesetId) { **/ @ApiModelProperty(example = "11", required = true, value = "The ID of the ruleset containing the rule that triggered this effect.") - public Integer getRulesetId() { + public Long getRulesetId() { return rulesetId; } - public void setRulesetId(Integer rulesetId) { + public void setRulesetId(Long rulesetId) { this.rulesetId = rulesetId; } - public StrikethroughEffect ruleIndex(Integer ruleIndex) { + public StrikethroughEffect ruleIndex(Long ruleIndex) { this.ruleIndex = ruleIndex; return this; @@ -120,12 +120,12 @@ public StrikethroughEffect ruleIndex(Integer ruleIndex) { **/ @ApiModelProperty(example = "2", required = true, value = "The position of the rule that triggered this effect within the ruleset.") - public Integer getRuleIndex() { + public Long getRuleIndex() { return ruleIndex; } - public void setRuleIndex(Integer ruleIndex) { + public void setRuleIndex(Long ruleIndex) { this.ruleIndex = ruleIndex; } diff --git a/src/main/java/one/talon/model/StrikethroughLabelingNotification.java b/src/main/java/one/talon/model/StrikethroughLabelingNotification.java index c78f3905..fb6f01d8 100644 --- a/src/main/java/one/talon/model/StrikethroughLabelingNotification.java +++ b/src/main/java/one/talon/model/StrikethroughLabelingNotification.java @@ -90,15 +90,15 @@ public VersionEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - private Integer applicationId; + private Long applicationId; public static final String SERIALIZED_NAME_CURRENT_BATCH = "currentBatch"; @SerializedName(SERIALIZED_NAME_CURRENT_BATCH) - private Integer currentBatch; + private Long currentBatch; public static final String SERIALIZED_NAME_TOTAL_BATCHES = "totalBatches"; @SerializedName(SERIALIZED_NAME_TOTAL_BATCHES) - private Integer totalBatches; + private Long totalBatches; public static final String SERIALIZED_NAME_TRIGGER = "trigger"; @SerializedName(SERIALIZED_NAME_TRIGGER) @@ -155,7 +155,7 @@ public void setValidFrom(OffsetDateTime validFrom) { } - public StrikethroughLabelingNotification applicationId(Integer applicationId) { + public StrikethroughLabelingNotification applicationId(Long applicationId) { this.applicationId = applicationId; return this; @@ -167,17 +167,17 @@ public StrikethroughLabelingNotification applicationId(Integer applicationId) { **/ @ApiModelProperty(example = "322", required = true, value = "The ID of the Application to which the catalog items labels belongs.") - public Integer getApplicationId() { + public Long getApplicationId() { return applicationId; } - public void setApplicationId(Integer applicationId) { + public void setApplicationId(Long applicationId) { this.applicationId = applicationId; } - public StrikethroughLabelingNotification currentBatch(Integer currentBatch) { + public StrikethroughLabelingNotification currentBatch(Long currentBatch) { this.currentBatch = currentBatch; return this; @@ -189,17 +189,17 @@ public StrikethroughLabelingNotification currentBatch(Integer currentBatch) { **/ @ApiModelProperty(example = "1", required = true, value = "The batch number of the notification. Notifications might be sent in different batches.") - public Integer getCurrentBatch() { + public Long getCurrentBatch() { return currentBatch; } - public void setCurrentBatch(Integer currentBatch) { + public void setCurrentBatch(Long currentBatch) { this.currentBatch = currentBatch; } - public StrikethroughLabelingNotification totalBatches(Integer totalBatches) { + public StrikethroughLabelingNotification totalBatches(Long totalBatches) { this.totalBatches = totalBatches; return this; @@ -211,12 +211,12 @@ public StrikethroughLabelingNotification totalBatches(Integer totalBatches) { **/ @ApiModelProperty(example = "10", required = true, value = "The total number of batches for the notification.") - public Integer getTotalBatches() { + public Long getTotalBatches() { return totalBatches; } - public void setTotalBatches(Integer totalBatches) { + public void setTotalBatches(Long totalBatches) { this.totalBatches = totalBatches; } diff --git a/src/main/java/one/talon/model/StrikethroughTrigger.java b/src/main/java/one/talon/model/StrikethroughTrigger.java index d877a66c..aba34880 100644 --- a/src/main/java/one/talon/model/StrikethroughTrigger.java +++ b/src/main/java/one/talon/model/StrikethroughTrigger.java @@ -33,7 +33,7 @@ public class StrikethroughTrigger { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) @@ -52,7 +52,7 @@ public class StrikethroughTrigger { private Object payload; - public StrikethroughTrigger id(Integer id) { + public StrikethroughTrigger id(Long id) { this.id = id; return this; @@ -64,12 +64,12 @@ public StrikethroughTrigger id(Integer id) { **/ @ApiModelProperty(example = "1", required = true, value = "The ID of the event that triggered the strikethrough labeling.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } diff --git a/src/main/java/one/talon/model/SummaryCampaignStoreBudget.java b/src/main/java/one/talon/model/SummaryCampaignStoreBudget.java index 52190fec..85b94f5e 100644 --- a/src/main/java/one/talon/model/SummaryCampaignStoreBudget.java +++ b/src/main/java/one/talon/model/SummaryCampaignStoreBudget.java @@ -165,7 +165,7 @@ public PeriodEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_STORE_COUNT = "storeCount"; @SerializedName(SERIALIZED_NAME_STORE_COUNT) - private Integer storeCount; + private Long storeCount; public static final String SERIALIZED_NAME_IMPORTED = "imported"; @SerializedName(SERIALIZED_NAME_IMPORTED) @@ -217,7 +217,7 @@ public void setPeriod(PeriodEnum period) { } - public SummaryCampaignStoreBudget storeCount(Integer storeCount) { + public SummaryCampaignStoreBudget storeCount(Long storeCount) { this.storeCount = storeCount; return this; @@ -229,12 +229,12 @@ public SummaryCampaignStoreBudget storeCount(Integer storeCount) { **/ @ApiModelProperty(required = true, value = "") - public Integer getStoreCount() { + public Long getStoreCount() { return storeCount; } - public void setStoreCount(Integer storeCount) { + public void setStoreCount(Long storeCount) { this.storeCount = storeCount; } diff --git a/src/main/java/one/talon/model/TalangAttribute.java b/src/main/java/one/talon/model/TalangAttribute.java index d67bdd37..1d20769f 100644 --- a/src/main/java/one/talon/model/TalangAttribute.java +++ b/src/main/java/one/talon/model/TalangAttribute.java @@ -189,7 +189,7 @@ public KindEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_CAMPAIGNS_COUNT = "campaignsCount"; @SerializedName(SERIALIZED_NAME_CAMPAIGNS_COUNT) - private Integer campaignsCount; + private Long campaignsCount; public static final String SERIALIZED_NAME_EXAMPLE_VALUE = "exampleValue"; @SerializedName(SERIALIZED_NAME_EXAMPLE_VALUE) @@ -353,7 +353,7 @@ public void setKind(KindEnum kind) { } - public TalangAttribute campaignsCount(Integer campaignsCount) { + public TalangAttribute campaignsCount(Long campaignsCount) { this.campaignsCount = campaignsCount; return this; @@ -365,12 +365,12 @@ public TalangAttribute campaignsCount(Integer campaignsCount) { **/ @ApiModelProperty(required = true, value = "The number of campaigns that refer to the attribute.") - public Integer getCampaignsCount() { + public Long getCampaignsCount() { return campaignsCount; } - public void setCampaignsCount(Integer campaignsCount) { + public void setCampaignsCount(Long campaignsCount) { this.campaignsCount = campaignsCount; } diff --git a/src/main/java/one/talon/model/TemplateArgDef.java b/src/main/java/one/talon/model/TemplateArgDef.java index 982f8566..671ab11a 100644 --- a/src/main/java/one/talon/model/TemplateArgDef.java +++ b/src/main/java/one/talon/model/TemplateArgDef.java @@ -104,7 +104,7 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_PICKLIST_I_D = "picklistID"; @SerializedName(SERIALIZED_NAME_PICKLIST_I_D) - private Integer picklistID; + private Long picklistID; public static final String SERIALIZED_NAME_RESTRICTED_BY_PICKLIST = "restrictedByPicklist"; @SerializedName(SERIALIZED_NAME_RESTRICTED_BY_PICKLIST) @@ -223,7 +223,7 @@ public void setKey(String key) { } - public TemplateArgDef picklistID(Integer picklistID) { + public TemplateArgDef picklistID(Long picklistID) { this.picklistID = picklistID; return this; @@ -236,12 +236,12 @@ public TemplateArgDef picklistID(Integer picklistID) { @javax.annotation.Nullable @ApiModelProperty(value = "ID of the picklist linked to a template.") - public Integer getPicklistID() { + public Long getPicklistID() { return picklistID; } - public void setPicklistID(Integer picklistID) { + public void setPicklistID(Long picklistID) { this.picklistID = picklistID; } diff --git a/src/main/java/one/talon/model/TemplateDef.java b/src/main/java/one/talon/model/TemplateDef.java index 0781766e..c739ed72 100644 --- a/src/main/java/one/talon/model/TemplateDef.java +++ b/src/main/java/one/talon/model/TemplateDef.java @@ -35,7 +35,7 @@ public class TemplateDef { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -43,7 +43,7 @@ public class TemplateDef { public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - private Integer applicationId; + private Long applicationId; public static final String SERIALIZED_NAME_TITLE = "title"; @SerializedName(SERIALIZED_NAME_TITLE) @@ -78,7 +78,7 @@ public class TemplateDef { private String name; - public TemplateDef id(Integer id) { + public TemplateDef id(Long id) { this.id = id; return this; @@ -90,12 +90,12 @@ public TemplateDef id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -122,7 +122,7 @@ public void setCreated(OffsetDateTime created) { } - public TemplateDef applicationId(Integer applicationId) { + public TemplateDef applicationId(Long applicationId) { this.applicationId = applicationId; return this; @@ -134,12 +134,12 @@ public TemplateDef applicationId(Integer applicationId) { **/ @ApiModelProperty(example = "322", required = true, value = "The ID of the Application that owns this entity.") - public Integer getApplicationId() { + public Long getApplicationId() { return applicationId; } - public void setApplicationId(Integer applicationId) { + public void setApplicationId(Long applicationId) { this.applicationId = applicationId; } diff --git a/src/main/java/one/talon/model/Tier.java b/src/main/java/one/talon/model/Tier.java index 0d00ab48..3c52f16e 100644 --- a/src/main/java/one/talon/model/Tier.java +++ b/src/main/java/one/talon/model/Tier.java @@ -32,7 +32,7 @@ public class Tier { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -98,7 +98,7 @@ public DowngradePolicyEnum read(final JsonReader jsonReader) throws IOException private DowngradePolicyEnum downgradePolicy; - public Tier id(Integer id) { + public Tier id(Long id) { this.id = id; return this; @@ -110,12 +110,12 @@ public Tier id(Integer id) { **/ @ApiModelProperty(example = "11", required = true, value = "The internal ID of the tier.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } diff --git a/src/main/java/one/talon/model/TierDowngradeNotificationPolicy.java b/src/main/java/one/talon/model/TierDowngradeNotificationPolicy.java index 9dbb867a..3412fecf 100644 --- a/src/main/java/one/talon/model/TierDowngradeNotificationPolicy.java +++ b/src/main/java/one/talon/model/TierDowngradeNotificationPolicy.java @@ -39,7 +39,7 @@ public class TierDowngradeNotificationPolicy { public static final String SERIALIZED_NAME_BATCH_SIZE = "batchSize"; @SerializedName(SERIALIZED_NAME_BATCH_SIZE) - private Integer batchSize; + private Long batchSize = 1000l; public TierDowngradeNotificationPolicy name(String name) { @@ -87,7 +87,7 @@ public void setBatchingEnabled(Boolean batchingEnabled) { } - public TierDowngradeNotificationPolicy batchSize(Integer batchSize) { + public TierDowngradeNotificationPolicy batchSize(Long batchSize) { this.batchSize = batchSize; return this; @@ -100,12 +100,12 @@ public TierDowngradeNotificationPolicy batchSize(Integer batchSize) { @javax.annotation.Nullable @ApiModelProperty(example = "1000", value = "The required size of each batch of data. This value applies only when `batchingEnabled` is `true`.") - public Integer getBatchSize() { + public Long getBatchSize() { return batchSize; } - public void setBatchSize(Integer batchSize) { + public void setBatchSize(Long batchSize) { this.batchSize = batchSize; } diff --git a/src/main/java/one/talon/model/TierUpgradeNotificationPolicy.java b/src/main/java/one/talon/model/TierUpgradeNotificationPolicy.java index 02abbc87..7bee4134 100644 --- a/src/main/java/one/talon/model/TierUpgradeNotificationPolicy.java +++ b/src/main/java/one/talon/model/TierUpgradeNotificationPolicy.java @@ -39,7 +39,7 @@ public class TierUpgradeNotificationPolicy { public static final String SERIALIZED_NAME_BATCH_SIZE = "batchSize"; @SerializedName(SERIALIZED_NAME_BATCH_SIZE) - private Integer batchSize; + private Long batchSize = 1000l; public TierUpgradeNotificationPolicy name(String name) { @@ -87,7 +87,7 @@ public void setBatchingEnabled(Boolean batchingEnabled) { } - public TierUpgradeNotificationPolicy batchSize(Integer batchSize) { + public TierUpgradeNotificationPolicy batchSize(Long batchSize) { this.batchSize = batchSize; return this; @@ -100,12 +100,12 @@ public TierUpgradeNotificationPolicy batchSize(Integer batchSize) { @javax.annotation.Nullable @ApiModelProperty(example = "1000", value = "The required size of each batch of data. This value applies only when `batchingEnabled` is `true`.") - public Integer getBatchSize() { + public Long getBatchSize() { return batchSize; } - public void setBatchSize(Integer batchSize) { + public void setBatchSize(Long batchSize) { this.batchSize = batchSize; } diff --git a/src/main/java/one/talon/model/TierWillDowngradeNotificationPolicy.java b/src/main/java/one/talon/model/TierWillDowngradeNotificationPolicy.java index b77f07a4..88d0b6cf 100644 --- a/src/main/java/one/talon/model/TierWillDowngradeNotificationPolicy.java +++ b/src/main/java/one/talon/model/TierWillDowngradeNotificationPolicy.java @@ -42,7 +42,7 @@ public class TierWillDowngradeNotificationPolicy { public static final String SERIALIZED_NAME_BATCH_SIZE = "batchSize"; @SerializedName(SERIALIZED_NAME_BATCH_SIZE) - private Integer batchSize; + private Long batchSize = 1000l; public static final String SERIALIZED_NAME_TRIGGERS = "triggers"; @SerializedName(SERIALIZED_NAME_TRIGGERS) @@ -94,7 +94,7 @@ public void setBatchingEnabled(Boolean batchingEnabled) { } - public TierWillDowngradeNotificationPolicy batchSize(Integer batchSize) { + public TierWillDowngradeNotificationPolicy batchSize(Long batchSize) { this.batchSize = batchSize; return this; @@ -107,12 +107,12 @@ public TierWillDowngradeNotificationPolicy batchSize(Integer batchSize) { @javax.annotation.Nullable @ApiModelProperty(example = "1000", value = "The required size of each batch of data. This value applies only when `batchingEnabled` is `true`.") - public Integer getBatchSize() { + public Long getBatchSize() { return batchSize; } - public void setBatchSize(Integer batchSize) { + public void setBatchSize(Long batchSize) { this.batchSize = batchSize; } diff --git a/src/main/java/one/talon/model/TierWillDowngradeNotificationTrigger.java b/src/main/java/one/talon/model/TierWillDowngradeNotificationTrigger.java index 672e0694..3a261621 100644 --- a/src/main/java/one/talon/model/TierWillDowngradeNotificationTrigger.java +++ b/src/main/java/one/talon/model/TierWillDowngradeNotificationTrigger.java @@ -31,7 +31,7 @@ public class TierWillDowngradeNotificationTrigger { public static final String SERIALIZED_NAME_AMOUNT = "amount"; @SerializedName(SERIALIZED_NAME_AMOUNT) - private Integer amount; + private Long amount; /** * Notification period indicated by a letter; \"w\" means week, \"d\" means day. @@ -85,7 +85,7 @@ public PeriodEnum read(final JsonReader jsonReader) throws IOException { private PeriodEnum period; - public TierWillDowngradeNotificationTrigger amount(Integer amount) { + public TierWillDowngradeNotificationTrigger amount(Long amount) { this.amount = amount; return this; @@ -97,12 +97,12 @@ public TierWillDowngradeNotificationTrigger amount(Integer amount) { **/ @ApiModelProperty(required = true, value = "The amount of period.") - public Integer getAmount() { + public Long getAmount() { return amount; } - public void setAmount(Integer amount) { + public void setAmount(Long amount) { this.amount = amount; } diff --git a/src/main/java/one/talon/model/TimePoint.java b/src/main/java/one/talon/model/TimePoint.java index 8507c325..7a4f9227 100644 --- a/src/main/java/one/talon/model/TimePoint.java +++ b/src/main/java/one/talon/model/TimePoint.java @@ -32,30 +32,30 @@ public class TimePoint { public static final String SERIALIZED_NAME_MONTH = "month"; @SerializedName(SERIALIZED_NAME_MONTH) - private Integer month; + private Long month; public static final String SERIALIZED_NAME_DAY_OF_MONTH = "dayOfMonth"; @SerializedName(SERIALIZED_NAME_DAY_OF_MONTH) - private Integer dayOfMonth; + private Long dayOfMonth; public static final String SERIALIZED_NAME_DAY_OF_WEEK = "dayOfWeek"; @SerializedName(SERIALIZED_NAME_DAY_OF_WEEK) - private Integer dayOfWeek; + private Long dayOfWeek; public static final String SERIALIZED_NAME_HOUR = "hour"; @SerializedName(SERIALIZED_NAME_HOUR) - private Integer hour; + private Long hour; public static final String SERIALIZED_NAME_MINUTE = "minute"; @SerializedName(SERIALIZED_NAME_MINUTE) - private Integer minute; + private Long minute; public static final String SERIALIZED_NAME_SECOND = "second"; @SerializedName(SERIALIZED_NAME_SECOND) - private Integer second; + private Long second; - public TimePoint month(Integer month) { + public TimePoint month(Long month) { this.month = month; return this; @@ -70,17 +70,17 @@ public TimePoint month(Integer month) { @javax.annotation.Nullable @ApiModelProperty(example = "11", value = "The achievement ends and resets in this month. **Note**: Only applicable if the period is set to `Y`. ") - public Integer getMonth() { + public Long getMonth() { return month; } - public void setMonth(Integer month) { + public void setMonth(Long month) { this.month = month; } - public TimePoint dayOfMonth(Integer dayOfMonth) { + public TimePoint dayOfMonth(Long dayOfMonth) { this.dayOfMonth = dayOfMonth; return this; @@ -95,17 +95,17 @@ public TimePoint dayOfMonth(Integer dayOfMonth) { @javax.annotation.Nullable @ApiModelProperty(example = "23", value = "The achievement ends and resets on this day of the month. **Note**: Only applicable if the period is set to `Y` or `M`. ") - public Integer getDayOfMonth() { + public Long getDayOfMonth() { return dayOfMonth; } - public void setDayOfMonth(Integer dayOfMonth) { + public void setDayOfMonth(Long dayOfMonth) { this.dayOfMonth = dayOfMonth; } - public TimePoint dayOfWeek(Integer dayOfWeek) { + public TimePoint dayOfWeek(Long dayOfWeek) { this.dayOfWeek = dayOfWeek; return this; @@ -120,17 +120,17 @@ public TimePoint dayOfWeek(Integer dayOfWeek) { @javax.annotation.Nullable @ApiModelProperty(value = "The achievement ends and resets on this day of the week. `1` represents `Monday` and `7` represents `Sunday`. **Note**: Only applicable if the period is set to `W`. ") - public Integer getDayOfWeek() { + public Long getDayOfWeek() { return dayOfWeek; } - public void setDayOfWeek(Integer dayOfWeek) { + public void setDayOfWeek(Long dayOfWeek) { this.dayOfWeek = dayOfWeek; } - public TimePoint hour(Integer hour) { + public TimePoint hour(Long hour) { this.hour = hour; return this; @@ -142,17 +142,17 @@ public TimePoint hour(Integer hour) { **/ @ApiModelProperty(example = "23", required = true, value = "The achievement ends and resets at this hour.") - public Integer getHour() { + public Long getHour() { return hour; } - public void setHour(Integer hour) { + public void setHour(Long hour) { this.hour = hour; } - public TimePoint minute(Integer minute) { + public TimePoint minute(Long minute) { this.minute = minute; return this; @@ -164,17 +164,17 @@ public TimePoint minute(Integer minute) { **/ @ApiModelProperty(example = "59", required = true, value = "The achievement ends and resets at this minute.") - public Integer getMinute() { + public Long getMinute() { return minute; } - public void setMinute(Integer minute) { + public void setMinute(Long minute) { this.minute = minute; } - public TimePoint second(Integer second) { + public TimePoint second(Long second) { this.second = second; return this; @@ -186,12 +186,12 @@ public TimePoint second(Integer second) { **/ @ApiModelProperty(example = "59", required = true, value = "The achievement ends and resets at this second.") - public Integer getSecond() { + public Long getSecond() { return second; } - public void setSecond(Integer second) { + public void setSecond(Long second) { this.second = second; } diff --git a/src/main/java/one/talon/model/UpdateApplication.java b/src/main/java/one/talon/model/UpdateApplication.java index b45ac5f5..43395aca 100644 --- a/src/main/java/one/talon/model/UpdateApplication.java +++ b/src/main/java/one/talon/model/UpdateApplication.java @@ -238,11 +238,11 @@ public DefaultDiscountAdditionalCostPerItemScopeEnum read(final JsonReader jsonR public static final String SERIALIZED_NAME_DEFAULT_EVALUATION_GROUP_ID = "defaultEvaluationGroupId"; @SerializedName(SERIALIZED_NAME_DEFAULT_EVALUATION_GROUP_ID) - private Integer defaultEvaluationGroupId; + private Long defaultEvaluationGroupId; public static final String SERIALIZED_NAME_DEFAULT_CART_ITEM_FILTER_ID = "defaultCartItemFilterId"; @SerializedName(SERIALIZED_NAME_DEFAULT_CART_ITEM_FILTER_ID) - private Integer defaultCartItemFilterId; + private Long defaultCartItemFilterId; public static final String SERIALIZED_NAME_ENABLE_CAMPAIGN_STATE_MANAGEMENT = "enableCampaignStateManagement"; @SerializedName(SERIALIZED_NAME_ENABLE_CAMPAIGN_STATE_MANAGEMENT) @@ -576,7 +576,7 @@ public void setDefaultDiscountAdditionalCostPerItemScope(DefaultDiscountAddition } - public UpdateApplication defaultEvaluationGroupId(Integer defaultEvaluationGroupId) { + public UpdateApplication defaultEvaluationGroupId(Long defaultEvaluationGroupId) { this.defaultEvaluationGroupId = defaultEvaluationGroupId; return this; @@ -589,17 +589,17 @@ public UpdateApplication defaultEvaluationGroupId(Integer defaultEvaluationGroup @javax.annotation.Nullable @ApiModelProperty(example = "3", value = "The ID of the default campaign evaluation group to which new campaigns will be added unless a different group is selected when creating the campaign.") - public Integer getDefaultEvaluationGroupId() { + public Long getDefaultEvaluationGroupId() { return defaultEvaluationGroupId; } - public void setDefaultEvaluationGroupId(Integer defaultEvaluationGroupId) { + public void setDefaultEvaluationGroupId(Long defaultEvaluationGroupId) { this.defaultEvaluationGroupId = defaultEvaluationGroupId; } - public UpdateApplication defaultCartItemFilterId(Integer defaultCartItemFilterId) { + public UpdateApplication defaultCartItemFilterId(Long defaultCartItemFilterId) { this.defaultCartItemFilterId = defaultCartItemFilterId; return this; @@ -612,12 +612,12 @@ public UpdateApplication defaultCartItemFilterId(Integer defaultCartItemFilterId @javax.annotation.Nullable @ApiModelProperty(example = "3", value = "The ID of the default Cart-Item-Filter for this application.") - public Integer getDefaultCartItemFilterId() { + public Long getDefaultCartItemFilterId() { return defaultCartItemFilterId; } - public void setDefaultCartItemFilterId(Integer defaultCartItemFilterId) { + public void setDefaultCartItemFilterId(Long defaultCartItemFilterId) { this.defaultCartItemFilterId = defaultCartItemFilterId; } diff --git a/src/main/java/one/talon/model/UpdateApplicationAPIKey.java b/src/main/java/one/talon/model/UpdateApplicationAPIKey.java index 2e95e699..348dbe30 100644 --- a/src/main/java/one/talon/model/UpdateApplicationAPIKey.java +++ b/src/main/java/one/talon/model/UpdateApplicationAPIKey.java @@ -31,10 +31,10 @@ public class UpdateApplicationAPIKey { public static final String SERIALIZED_NAME_TIME_OFFSET = "timeOffset"; @SerializedName(SERIALIZED_NAME_TIME_OFFSET) - private Integer timeOffset; + private Long timeOffset; - public UpdateApplicationAPIKey timeOffset(Integer timeOffset) { + public UpdateApplicationAPIKey timeOffset(Long timeOffset) { this.timeOffset = timeOffset; return this; @@ -46,12 +46,12 @@ public UpdateApplicationAPIKey timeOffset(Integer timeOffset) { **/ @ApiModelProperty(example = "100000", required = true, value = "A time offset in nanoseconds associated with the API key. When making a request using the API key, rule evaluation is based on a date that is calculated by adding the offset to the current date. ") - public Integer getTimeOffset() { + public Long getTimeOffset() { return timeOffset; } - public void setTimeOffset(Integer timeOffset) { + public void setTimeOffset(Long timeOffset) { this.timeOffset = timeOffset; } diff --git a/src/main/java/one/talon/model/UpdateApplicationCIF.java b/src/main/java/one/talon/model/UpdateApplicationCIF.java index 9e53815e..f473ddd5 100644 --- a/src/main/java/one/talon/model/UpdateApplicationCIF.java +++ b/src/main/java/one/talon/model/UpdateApplicationCIF.java @@ -36,11 +36,11 @@ public class UpdateApplicationCIF { public static final String SERIALIZED_NAME_ACTIVE_EXPRESSION_ID = "activeExpressionId"; @SerializedName(SERIALIZED_NAME_ACTIVE_EXPRESSION_ID) - private Integer activeExpressionId; + private Long activeExpressionId; public static final String SERIALIZED_NAME_MODIFIED_BY = "modifiedBy"; @SerializedName(SERIALIZED_NAME_MODIFIED_BY) - private Integer modifiedBy; + private Long modifiedBy; public static final String SERIALIZED_NAME_MODIFIED = "modified"; @SerializedName(SERIALIZED_NAME_MODIFIED) @@ -70,7 +70,7 @@ public void setDescription(String description) { } - public UpdateApplicationCIF activeExpressionId(Integer activeExpressionId) { + public UpdateApplicationCIF activeExpressionId(Long activeExpressionId) { this.activeExpressionId = activeExpressionId; return this; @@ -83,17 +83,17 @@ public UpdateApplicationCIF activeExpressionId(Integer activeExpressionId) { @javax.annotation.Nullable @ApiModelProperty(example = "1", value = "The ID of the expression that the Application cart item filter uses.") - public Integer getActiveExpressionId() { + public Long getActiveExpressionId() { return activeExpressionId; } - public void setActiveExpressionId(Integer activeExpressionId) { + public void setActiveExpressionId(Long activeExpressionId) { this.activeExpressionId = activeExpressionId; } - public UpdateApplicationCIF modifiedBy(Integer modifiedBy) { + public UpdateApplicationCIF modifiedBy(Long modifiedBy) { this.modifiedBy = modifiedBy; return this; @@ -106,12 +106,12 @@ public UpdateApplicationCIF modifiedBy(Integer modifiedBy) { @javax.annotation.Nullable @ApiModelProperty(example = "334", value = "The ID of the user who last updated the Application cart item filter.") - public Integer getModifiedBy() { + public Long getModifiedBy() { return modifiedBy; } - public void setModifiedBy(Integer modifiedBy) { + public void setModifiedBy(Long modifiedBy) { this.modifiedBy = modifiedBy; } diff --git a/src/main/java/one/talon/model/UpdateCampaign.java b/src/main/java/one/talon/model/UpdateCampaign.java index 626f588a..3a67671e 100644 --- a/src/main/java/one/talon/model/UpdateCampaign.java +++ b/src/main/java/one/talon/model/UpdateCampaign.java @@ -109,7 +109,7 @@ public StateEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_ACTIVE_RULESET_ID = "activeRulesetId"; @SerializedName(SERIALIZED_NAME_ACTIVE_RULESET_ID) - private Integer activeRulesetId; + private Long activeRulesetId; public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) @@ -188,11 +188,11 @@ public FeaturesEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_CAMPAIGN_GROUPS = "campaignGroups"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_GROUPS) - private List campaignGroups = null; + private List campaignGroups = null; public static final String SERIALIZED_NAME_EVALUATION_GROUP_ID = "evaluationGroupId"; @SerializedName(SERIALIZED_NAME_EVALUATION_GROUP_ID) - private Integer evaluationGroupId; + private Long evaluationGroupId; /** * The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items. @@ -247,7 +247,7 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_LINKED_STORE_IDS = "linkedStoreIds"; @SerializedName(SERIALIZED_NAME_LINKED_STORE_IDS) - private List linkedStoreIds = null; + private List linkedStoreIds = null; public UpdateCampaign name(String name) { @@ -387,7 +387,7 @@ public void setState(StateEnum state) { } - public UpdateCampaign activeRulesetId(Integer activeRulesetId) { + public UpdateCampaign activeRulesetId(Long activeRulesetId) { this.activeRulesetId = activeRulesetId; return this; @@ -400,12 +400,12 @@ public UpdateCampaign activeRulesetId(Integer activeRulesetId) { @javax.annotation.Nullable @ApiModelProperty(example = "2", value = "[ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this campaign applies on customer session evaluation. ") - public Integer getActiveRulesetId() { + public Long getActiveRulesetId() { return activeRulesetId; } - public void setActiveRulesetId(Integer activeRulesetId) { + public void setActiveRulesetId(Long activeRulesetId) { this.activeRulesetId = activeRulesetId; } @@ -537,15 +537,15 @@ public void setLimits(List limits) { } - public UpdateCampaign campaignGroups(List campaignGroups) { + public UpdateCampaign campaignGroups(List campaignGroups) { this.campaignGroups = campaignGroups; return this; } - public UpdateCampaign addCampaignGroupsItem(Integer campaignGroupsItem) { + public UpdateCampaign addCampaignGroupsItem(Long campaignGroupsItem) { if (this.campaignGroups == null) { - this.campaignGroups = new ArrayList(); + this.campaignGroups = new ArrayList(); } this.campaignGroups.add(campaignGroupsItem); return this; @@ -558,17 +558,17 @@ public UpdateCampaign addCampaignGroupsItem(Integer campaignGroupsItem) { @javax.annotation.Nullable @ApiModelProperty(example = "[1, 3]", value = "The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/account-settings/managing-campaign-groups) this campaign belongs to. ") - public List getCampaignGroups() { + public List getCampaignGroups() { return campaignGroups; } - public void setCampaignGroups(List campaignGroups) { + public void setCampaignGroups(List campaignGroups) { this.campaignGroups = campaignGroups; } - public UpdateCampaign evaluationGroupId(Integer evaluationGroupId) { + public UpdateCampaign evaluationGroupId(Long evaluationGroupId) { this.evaluationGroupId = evaluationGroupId; return this; @@ -581,12 +581,12 @@ public UpdateCampaign evaluationGroupId(Integer evaluationGroupId) { @javax.annotation.Nullable @ApiModelProperty(example = "2", value = "The ID of the campaign evaluation group the campaign belongs to.") - public Integer getEvaluationGroupId() { + public Long getEvaluationGroupId() { return evaluationGroupId; } - public void setEvaluationGroupId(Integer evaluationGroupId) { + public void setEvaluationGroupId(Long evaluationGroupId) { this.evaluationGroupId = evaluationGroupId; } @@ -614,15 +614,15 @@ public void setType(TypeEnum type) { } - public UpdateCampaign linkedStoreIds(List linkedStoreIds) { + public UpdateCampaign linkedStoreIds(List linkedStoreIds) { this.linkedStoreIds = linkedStoreIds; return this; } - public UpdateCampaign addLinkedStoreIdsItem(Integer linkedStoreIdsItem) { + public UpdateCampaign addLinkedStoreIdsItem(Long linkedStoreIdsItem) { if (this.linkedStoreIds == null) { - this.linkedStoreIds = new ArrayList(); + this.linkedStoreIds = new ArrayList(); } this.linkedStoreIds.add(linkedStoreIdsItem); return this; @@ -635,12 +635,12 @@ public UpdateCampaign addLinkedStoreIdsItem(Integer linkedStoreIdsItem) { @javax.annotation.Nullable @ApiModelProperty(example = "[1, 2, 3]", value = "A list of store IDs that you want to link to the campaign. **Note:** - Campaigns with linked store IDs will only be evaluated when there is a [customer session update](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) that references a linked store. - If you linked stores to the campaign by uploading a CSV file, you cannot use this property and it should be empty. - Use of this property is limited to 50 stores. To link more than 50 stores, upload them via a CSV file. ") - public List getLinkedStoreIds() { + public List getLinkedStoreIds() { return linkedStoreIds; } - public void setLinkedStoreIds(List linkedStoreIds) { + public void setLinkedStoreIds(List linkedStoreIds) { this.linkedStoreIds = linkedStoreIds; } diff --git a/src/main/java/one/talon/model/UpdateCampaignEvaluationGroup.java b/src/main/java/one/talon/model/UpdateCampaignEvaluationGroup.java index f31e308d..66bb74af 100644 --- a/src/main/java/one/talon/model/UpdateCampaignEvaluationGroup.java +++ b/src/main/java/one/talon/model/UpdateCampaignEvaluationGroup.java @@ -35,7 +35,7 @@ public class UpdateCampaignEvaluationGroup { public static final String SERIALIZED_NAME_PARENT_ID = "parentId"; @SerializedName(SERIALIZED_NAME_PARENT_ID) - private Integer parentId; + private Long parentId; public static final String SERIALIZED_NAME_DESCRIPTION = "description"; @SerializedName(SERIALIZED_NAME_DESCRIPTION) @@ -174,7 +174,7 @@ public void setName(String name) { } - public UpdateCampaignEvaluationGroup parentId(Integer parentId) { + public UpdateCampaignEvaluationGroup parentId(Long parentId) { this.parentId = parentId; return this; @@ -187,12 +187,12 @@ public UpdateCampaignEvaluationGroup parentId(Integer parentId) { **/ @ApiModelProperty(example = "2", required = true, value = "The ID of the parent group that contains the campaign evaluation group.") - public Integer getParentId() { + public Long getParentId() { return parentId; } - public void setParentId(Integer parentId) { + public void setParentId(Long parentId) { this.parentId = parentId; } diff --git a/src/main/java/one/talon/model/UpdateCampaignGroup.java b/src/main/java/one/talon/model/UpdateCampaignGroup.java index 19c3e545..b34bffcf 100644 --- a/src/main/java/one/talon/model/UpdateCampaignGroup.java +++ b/src/main/java/one/talon/model/UpdateCampaignGroup.java @@ -41,11 +41,11 @@ public class UpdateCampaignGroup { public static final String SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS_IDS = "subscribedApplicationsIds"; @SerializedName(SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS_IDS) - private List subscribedApplicationsIds = null; + private List subscribedApplicationsIds = null; public static final String SERIALIZED_NAME_CAMPAIGN_IDS = "campaignIds"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_IDS) - private List campaignIds = null; + private List campaignIds = null; public UpdateCampaignGroup name(String name) { @@ -93,15 +93,15 @@ public void setDescription(String description) { } - public UpdateCampaignGroup subscribedApplicationsIds(List subscribedApplicationsIds) { + public UpdateCampaignGroup subscribedApplicationsIds(List subscribedApplicationsIds) { this.subscribedApplicationsIds = subscribedApplicationsIds; return this; } - public UpdateCampaignGroup addSubscribedApplicationsIdsItem(Integer subscribedApplicationsIdsItem) { + public UpdateCampaignGroup addSubscribedApplicationsIdsItem(Long subscribedApplicationsIdsItem) { if (this.subscribedApplicationsIds == null) { - this.subscribedApplicationsIds = new ArrayList(); + this.subscribedApplicationsIds = new ArrayList(); } this.subscribedApplicationsIds.add(subscribedApplicationsIdsItem); return this; @@ -114,25 +114,25 @@ public UpdateCampaignGroup addSubscribedApplicationsIdsItem(Integer subscribedAp @javax.annotation.Nullable @ApiModelProperty(example = "[1, 2, 3]", value = "A list of IDs of the Applications that this campaign access group is enabled for.") - public List getSubscribedApplicationsIds() { + public List getSubscribedApplicationsIds() { return subscribedApplicationsIds; } - public void setSubscribedApplicationsIds(List subscribedApplicationsIds) { + public void setSubscribedApplicationsIds(List subscribedApplicationsIds) { this.subscribedApplicationsIds = subscribedApplicationsIds; } - public UpdateCampaignGroup campaignIds(List campaignIds) { + public UpdateCampaignGroup campaignIds(List campaignIds) { this.campaignIds = campaignIds; return this; } - public UpdateCampaignGroup addCampaignIdsItem(Integer campaignIdsItem) { + public UpdateCampaignGroup addCampaignIdsItem(Long campaignIdsItem) { if (this.campaignIds == null) { - this.campaignIds = new ArrayList(); + this.campaignIds = new ArrayList(); } this.campaignIds.add(campaignIdsItem); return this; @@ -145,12 +145,12 @@ public UpdateCampaignGroup addCampaignIdsItem(Integer campaignIdsItem) { @javax.annotation.Nullable @ApiModelProperty(example = "[4, 6, 8]", value = "A list of IDs of the campaigns that are part of the campaign access group.") - public List getCampaignIds() { + public List getCampaignIds() { return campaignIds; } - public void setCampaignIds(List campaignIds) { + public void setCampaignIds(List campaignIds) { this.campaignIds = campaignIds; } diff --git a/src/main/java/one/talon/model/UpdateCampaignTemplate.java b/src/main/java/one/talon/model/UpdateCampaignTemplate.java index a65f7d62..120a5713 100644 --- a/src/main/java/one/talon/model/UpdateCampaignTemplate.java +++ b/src/main/java/one/talon/model/UpdateCampaignTemplate.java @@ -111,7 +111,7 @@ public StateEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_ACTIVE_RULESET_ID = "activeRulesetId"; @SerializedName(SERIALIZED_NAME_ACTIVE_RULESET_ID) - private Integer activeRulesetId; + private Long activeRulesetId; public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) @@ -198,7 +198,7 @@ public FeaturesEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_APPLICATIONS_IDS = "applicationsIds"; @SerializedName(SERIALIZED_NAME_APPLICATIONS_IDS) - private List applicationsIds = new ArrayList(); + private List applicationsIds = new ArrayList(); public static final String SERIALIZED_NAME_CAMPAIGN_COLLECTIONS = "campaignCollections"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_COLLECTIONS) @@ -206,7 +206,7 @@ public FeaturesEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_DEFAULT_CAMPAIGN_GROUP_ID = "defaultCampaignGroupId"; @SerializedName(SERIALIZED_NAME_DEFAULT_CAMPAIGN_GROUP_ID) - private Integer defaultCampaignGroupId; + private Long defaultCampaignGroupId; /** * The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items. @@ -394,7 +394,7 @@ public void setState(StateEnum state) { } - public UpdateCampaignTemplate activeRulesetId(Integer activeRulesetId) { + public UpdateCampaignTemplate activeRulesetId(Long activeRulesetId) { this.activeRulesetId = activeRulesetId; return this; @@ -407,12 +407,12 @@ public UpdateCampaignTemplate activeRulesetId(Integer activeRulesetId) { @javax.annotation.Nullable @ApiModelProperty(example = "5", value = "The ID of the ruleset this campaign template will use.") - public Integer getActiveRulesetId() { + public Long getActiveRulesetId() { return activeRulesetId; } - public void setActiveRulesetId(Integer activeRulesetId) { + public void setActiveRulesetId(Long activeRulesetId) { this.activeRulesetId = activeRulesetId; } @@ -610,13 +610,13 @@ public void setTemplateParams(List templateParams) { } - public UpdateCampaignTemplate applicationsIds(List applicationsIds) { + public UpdateCampaignTemplate applicationsIds(List applicationsIds) { this.applicationsIds = applicationsIds; return this; } - public UpdateCampaignTemplate addApplicationsIdsItem(Integer applicationsIdsItem) { + public UpdateCampaignTemplate addApplicationsIdsItem(Long applicationsIdsItem) { this.applicationsIds.add(applicationsIdsItem); return this; } @@ -627,12 +627,12 @@ public UpdateCampaignTemplate addApplicationsIdsItem(Integer applicationsIdsItem **/ @ApiModelProperty(example = "[1, 2, 3]", required = true, value = "A list of IDs of the Applications that are subscribed to this campaign template.") - public List getApplicationsIds() { + public List getApplicationsIds() { return applicationsIds; } - public void setApplicationsIds(List applicationsIds) { + public void setApplicationsIds(List applicationsIds) { this.applicationsIds = applicationsIds; } @@ -668,7 +668,7 @@ public void setCampaignCollections(List campaignColl } - public UpdateCampaignTemplate defaultCampaignGroupId(Integer defaultCampaignGroupId) { + public UpdateCampaignTemplate defaultCampaignGroupId(Long defaultCampaignGroupId) { this.defaultCampaignGroupId = defaultCampaignGroupId; return this; @@ -681,12 +681,12 @@ public UpdateCampaignTemplate defaultCampaignGroupId(Integer defaultCampaignGrou @javax.annotation.Nullable @ApiModelProperty(example = "42", value = "The default campaign group ID.") - public Integer getDefaultCampaignGroupId() { + public Long getDefaultCampaignGroupId() { return defaultCampaignGroupId; } - public void setDefaultCampaignGroupId(Integer defaultCampaignGroupId) { + public void setDefaultCampaignGroupId(Long defaultCampaignGroupId) { this.defaultCampaignGroupId = defaultCampaignGroupId; } diff --git a/src/main/java/one/talon/model/UpdateCatalog.java b/src/main/java/one/talon/model/UpdateCatalog.java index bd9d8006..1ad44b31 100644 --- a/src/main/java/one/talon/model/UpdateCatalog.java +++ b/src/main/java/one/talon/model/UpdateCatalog.java @@ -41,7 +41,7 @@ public class UpdateCatalog { public static final String SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS_IDS = "subscribedApplicationsIds"; @SerializedName(SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS_IDS) - private List subscribedApplicationsIds = null; + private List subscribedApplicationsIds = null; public UpdateCatalog description(String description) { @@ -90,15 +90,15 @@ public void setName(String name) { } - public UpdateCatalog subscribedApplicationsIds(List subscribedApplicationsIds) { + public UpdateCatalog subscribedApplicationsIds(List subscribedApplicationsIds) { this.subscribedApplicationsIds = subscribedApplicationsIds; return this; } - public UpdateCatalog addSubscribedApplicationsIdsItem(Integer subscribedApplicationsIdsItem) { + public UpdateCatalog addSubscribedApplicationsIdsItem(Long subscribedApplicationsIdsItem) { if (this.subscribedApplicationsIds == null) { - this.subscribedApplicationsIds = new ArrayList(); + this.subscribedApplicationsIds = new ArrayList(); } this.subscribedApplicationsIds.add(subscribedApplicationsIdsItem); return this; @@ -111,12 +111,12 @@ public UpdateCatalog addSubscribedApplicationsIdsItem(Integer subscribedApplicat @javax.annotation.Nullable @ApiModelProperty(example = "[1, 2, 3]", value = "A list of the IDs of the applications that are subscribed to this catalog.") - public List getSubscribedApplicationsIds() { + public List getSubscribedApplicationsIds() { return subscribedApplicationsIds; } - public void setSubscribedApplicationsIds(List subscribedApplicationsIds) { + public void setSubscribedApplicationsIds(List subscribedApplicationsIds) { this.subscribedApplicationsIds = subscribedApplicationsIds; } diff --git a/src/main/java/one/talon/model/UpdateCollection.java b/src/main/java/one/talon/model/UpdateCollection.java index 9da3a086..280d1d24 100644 --- a/src/main/java/one/talon/model/UpdateCollection.java +++ b/src/main/java/one/talon/model/UpdateCollection.java @@ -37,7 +37,7 @@ public class UpdateCollection { public static final String SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS_IDS = "subscribedApplicationsIds"; @SerializedName(SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS_IDS) - private List subscribedApplicationsIds = null; + private List subscribedApplicationsIds = null; public UpdateCollection description(String description) { @@ -63,15 +63,15 @@ public void setDescription(String description) { } - public UpdateCollection subscribedApplicationsIds(List subscribedApplicationsIds) { + public UpdateCollection subscribedApplicationsIds(List subscribedApplicationsIds) { this.subscribedApplicationsIds = subscribedApplicationsIds; return this; } - public UpdateCollection addSubscribedApplicationsIdsItem(Integer subscribedApplicationsIdsItem) { + public UpdateCollection addSubscribedApplicationsIdsItem(Long subscribedApplicationsIdsItem) { if (this.subscribedApplicationsIds == null) { - this.subscribedApplicationsIds = new ArrayList(); + this.subscribedApplicationsIds = new ArrayList(); } this.subscribedApplicationsIds.add(subscribedApplicationsIdsItem); return this; @@ -84,12 +84,12 @@ public UpdateCollection addSubscribedApplicationsIdsItem(Integer subscribedAppli @javax.annotation.Nullable @ApiModelProperty(example = "[1, 2, 3]", value = "A list of the IDs of the Applications where this collection is enabled.") - public List getSubscribedApplicationsIds() { + public List getSubscribedApplicationsIds() { return subscribedApplicationsIds; } - public void setSubscribedApplicationsIds(List subscribedApplicationsIds) { + public void setSubscribedApplicationsIds(List subscribedApplicationsIds) { this.subscribedApplicationsIds = subscribedApplicationsIds; } diff --git a/src/main/java/one/talon/model/UpdateCoupon.java b/src/main/java/one/talon/model/UpdateCoupon.java index d98a2a23..a2ad0852 100644 --- a/src/main/java/one/talon/model/UpdateCoupon.java +++ b/src/main/java/one/talon/model/UpdateCoupon.java @@ -36,7 +36,7 @@ public class UpdateCoupon { public static final String SERIALIZED_NAME_USAGE_LIMIT = "usageLimit"; @SerializedName(SERIALIZED_NAME_USAGE_LIMIT) - private Integer usageLimit; + private Long usageLimit; public static final String SERIALIZED_NAME_DISCOUNT_LIMIT = "discountLimit"; @SerializedName(SERIALIZED_NAME_DISCOUNT_LIMIT) @@ -44,7 +44,7 @@ public class UpdateCoupon { public static final String SERIALIZED_NAME_RESERVATION_LIMIT = "reservationLimit"; @SerializedName(SERIALIZED_NAME_RESERVATION_LIMIT) - private Integer reservationLimit; + private Long reservationLimit; public static final String SERIALIZED_NAME_START_DATE = "startDate"; @SerializedName(SERIALIZED_NAME_START_DATE) @@ -75,7 +75,7 @@ public class UpdateCoupon { private Boolean implicitlyReserved; - public UpdateCoupon usageLimit(Integer usageLimit) { + public UpdateCoupon usageLimit(Long usageLimit) { this.usageLimit = usageLimit; return this; @@ -90,12 +90,12 @@ public UpdateCoupon usageLimit(Integer usageLimit) { @javax.annotation.Nullable @ApiModelProperty(example = "100", value = "The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. ") - public Integer getUsageLimit() { + public Long getUsageLimit() { return usageLimit; } - public void setUsageLimit(Integer usageLimit) { + public void setUsageLimit(Long usageLimit) { this.usageLimit = usageLimit; } @@ -125,7 +125,7 @@ public void setDiscountLimit(BigDecimal discountLimit) { } - public UpdateCoupon reservationLimit(Integer reservationLimit) { + public UpdateCoupon reservationLimit(Long reservationLimit) { this.reservationLimit = reservationLimit; return this; @@ -140,12 +140,12 @@ public UpdateCoupon reservationLimit(Integer reservationLimit) { @javax.annotation.Nullable @ApiModelProperty(example = "45", value = "The number of reservations that can be made with this coupon code. ") - public Integer getReservationLimit() { + public Long getReservationLimit() { return reservationLimit; } - public void setReservationLimit(Integer reservationLimit) { + public void setReservationLimit(Long reservationLimit) { this.reservationLimit = reservationLimit; } diff --git a/src/main/java/one/talon/model/UpdateCouponBatch.java b/src/main/java/one/talon/model/UpdateCouponBatch.java index 80224607..83389c2d 100644 --- a/src/main/java/one/talon/model/UpdateCouponBatch.java +++ b/src/main/java/one/talon/model/UpdateCouponBatch.java @@ -33,7 +33,7 @@ public class UpdateCouponBatch { public static final String SERIALIZED_NAME_USAGE_LIMIT = "usageLimit"; @SerializedName(SERIALIZED_NAME_USAGE_LIMIT) - private Integer usageLimit; + private Long usageLimit; public static final String SERIALIZED_NAME_DISCOUNT_LIMIT = "discountLimit"; @SerializedName(SERIALIZED_NAME_DISCOUNT_LIMIT) @@ -41,7 +41,7 @@ public class UpdateCouponBatch { public static final String SERIALIZED_NAME_RESERVATION_LIMIT = "reservationLimit"; @SerializedName(SERIALIZED_NAME_RESERVATION_LIMIT) - private Integer reservationLimit; + private Long reservationLimit; public static final String SERIALIZED_NAME_START_DATE = "startDate"; @SerializedName(SERIALIZED_NAME_START_DATE) @@ -60,7 +60,7 @@ public class UpdateCouponBatch { private String batchID; - public UpdateCouponBatch usageLimit(Integer usageLimit) { + public UpdateCouponBatch usageLimit(Long usageLimit) { this.usageLimit = usageLimit; return this; @@ -75,12 +75,12 @@ public UpdateCouponBatch usageLimit(Integer usageLimit) { @javax.annotation.Nullable @ApiModelProperty(example = "100", value = "The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. ") - public Integer getUsageLimit() { + public Long getUsageLimit() { return usageLimit; } - public void setUsageLimit(Integer usageLimit) { + public void setUsageLimit(Long usageLimit) { this.usageLimit = usageLimit; } @@ -110,7 +110,7 @@ public void setDiscountLimit(BigDecimal discountLimit) { } - public UpdateCouponBatch reservationLimit(Integer reservationLimit) { + public UpdateCouponBatch reservationLimit(Long reservationLimit) { this.reservationLimit = reservationLimit; return this; @@ -125,12 +125,12 @@ public UpdateCouponBatch reservationLimit(Integer reservationLimit) { @javax.annotation.Nullable @ApiModelProperty(example = "45", value = "The number of reservations that can be made with this coupon code. ") - public Integer getReservationLimit() { + public Long getReservationLimit() { return reservationLimit; } - public void setReservationLimit(Integer reservationLimit) { + public void setReservationLimit(Long reservationLimit) { this.reservationLimit = reservationLimit; } diff --git a/src/main/java/one/talon/model/UpdateLoyaltyProgram.java b/src/main/java/one/talon/model/UpdateLoyaltyProgram.java index 90eb2a9a..94731980 100644 --- a/src/main/java/one/talon/model/UpdateLoyaltyProgram.java +++ b/src/main/java/one/talon/model/UpdateLoyaltyProgram.java @@ -45,7 +45,7 @@ public class UpdateLoyaltyProgram { public static final String SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS = "subscribedApplications"; @SerializedName(SERIALIZED_NAME_SUBSCRIBED_APPLICATIONS) - private List subscribedApplications = null; + private List subscribedApplications = null; public static final String SERIALIZED_NAME_DEFAULT_VALIDITY = "defaultValidity"; @SerializedName(SERIALIZED_NAME_DEFAULT_VALIDITY) @@ -61,7 +61,7 @@ public class UpdateLoyaltyProgram { public static final String SERIALIZED_NAME_USERS_PER_CARD_LIMIT = "usersPerCardLimit"; @SerializedName(SERIALIZED_NAME_USERS_PER_CARD_LIMIT) - private Integer usersPerCardLimit; + private Long usersPerCardLimit; public static final String SERIALIZED_NAME_SANDBOX = "sandbox"; @SerializedName(SERIALIZED_NAME_SANDBOX) @@ -342,15 +342,15 @@ public void setDescription(String description) { } - public UpdateLoyaltyProgram subscribedApplications(List subscribedApplications) { + public UpdateLoyaltyProgram subscribedApplications(List subscribedApplications) { this.subscribedApplications = subscribedApplications; return this; } - public UpdateLoyaltyProgram addSubscribedApplicationsItem(Integer subscribedApplicationsItem) { + public UpdateLoyaltyProgram addSubscribedApplicationsItem(Long subscribedApplicationsItem) { if (this.subscribedApplications == null) { - this.subscribedApplications = new ArrayList(); + this.subscribedApplications = new ArrayList(); } this.subscribedApplications.add(subscribedApplicationsItem); return this; @@ -363,12 +363,12 @@ public UpdateLoyaltyProgram addSubscribedApplicationsItem(Integer subscribedAppl @javax.annotation.Nullable @ApiModelProperty(example = "[132, 97]", value = "A list containing the IDs of all applications that are subscribed to this Loyalty Program.") - public List getSubscribedApplications() { + public List getSubscribedApplications() { return subscribedApplications; } - public void setSubscribedApplications(List subscribedApplications) { + public void setSubscribedApplications(List subscribedApplications) { this.subscribedApplications = subscribedApplications; } @@ -442,7 +442,7 @@ public void setAllowSubledger(Boolean allowSubledger) { } - public UpdateLoyaltyProgram usersPerCardLimit(Integer usersPerCardLimit) { + public UpdateLoyaltyProgram usersPerCardLimit(Long usersPerCardLimit) { this.usersPerCardLimit = usersPerCardLimit; return this; @@ -456,12 +456,12 @@ public UpdateLoyaltyProgram usersPerCardLimit(Integer usersPerCardLimit) { @javax.annotation.Nullable @ApiModelProperty(example = "111", value = "The max amount of user profiles with whom a card can be shared. This can be set to 0 for no limit. This property is only used when `cardBased` is `true`. ") - public Integer getUsersPerCardLimit() { + public Long getUsersPerCardLimit() { return usersPerCardLimit; } - public void setUsersPerCardLimit(Integer usersPerCardLimit) { + public void setUsersPerCardLimit(Long usersPerCardLimit) { this.usersPerCardLimit = usersPerCardLimit; } diff --git a/src/main/java/one/talon/model/UpdateLoyaltyProgramTier.java b/src/main/java/one/talon/model/UpdateLoyaltyProgramTier.java index a342f16d..df4f8e2a 100644 --- a/src/main/java/one/talon/model/UpdateLoyaltyProgramTier.java +++ b/src/main/java/one/talon/model/UpdateLoyaltyProgramTier.java @@ -33,7 +33,7 @@ public class UpdateLoyaltyProgramTier { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -44,7 +44,7 @@ public class UpdateLoyaltyProgramTier { private BigDecimal minPoints; - public UpdateLoyaltyProgramTier id(Integer id) { + public UpdateLoyaltyProgramTier id(Long id) { this.id = id; return this; @@ -56,12 +56,12 @@ public UpdateLoyaltyProgramTier id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "The internal ID of the tier.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } diff --git a/src/main/java/one/talon/model/UpdateReferral.java b/src/main/java/one/talon/model/UpdateReferral.java index 4122eced..d73cfe42 100644 --- a/src/main/java/one/talon/model/UpdateReferral.java +++ b/src/main/java/one/talon/model/UpdateReferral.java @@ -44,7 +44,7 @@ public class UpdateReferral { public static final String SERIALIZED_NAME_USAGE_LIMIT = "usageLimit"; @SerializedName(SERIALIZED_NAME_USAGE_LIMIT) - private Integer usageLimit; + private Long usageLimit; public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; @SerializedName(SERIALIZED_NAME_ATTRIBUTES) @@ -120,7 +120,7 @@ public void setExpiryDate(OffsetDateTime expiryDate) { } - public UpdateReferral usageLimit(Integer usageLimit) { + public UpdateReferral usageLimit(Long usageLimit) { this.usageLimit = usageLimit; return this; @@ -135,12 +135,12 @@ public UpdateReferral usageLimit(Integer usageLimit) { @javax.annotation.Nullable @ApiModelProperty(example = "1", value = "The number of times a referral code can be used. This can be set to 0 for no limit, but any campaign usage limits will still apply. ") - public Integer getUsageLimit() { + public Long getUsageLimit() { return usageLimit; } - public void setUsageLimit(Integer usageLimit) { + public void setUsageLimit(Long usageLimit) { this.usageLimit = usageLimit; } diff --git a/src/main/java/one/talon/model/UpdateReferralBatch.java b/src/main/java/one/talon/model/UpdateReferralBatch.java index 49ec3757..0153db6b 100644 --- a/src/main/java/one/talon/model/UpdateReferralBatch.java +++ b/src/main/java/one/talon/model/UpdateReferralBatch.java @@ -48,7 +48,7 @@ public class UpdateReferralBatch { public static final String SERIALIZED_NAME_USAGE_LIMIT = "usageLimit"; @SerializedName(SERIALIZED_NAME_USAGE_LIMIT) - private Integer usageLimit; + private Long usageLimit; public UpdateReferralBatch attributes(Object attributes) { @@ -142,7 +142,7 @@ public void setExpiryDate(OffsetDateTime expiryDate) { } - public UpdateReferralBatch usageLimit(Integer usageLimit) { + public UpdateReferralBatch usageLimit(Long usageLimit) { this.usageLimit = usageLimit; return this; @@ -157,12 +157,12 @@ public UpdateReferralBatch usageLimit(Integer usageLimit) { @javax.annotation.Nullable @ApiModelProperty(example = "1", value = "The number of times a referral code can be used. This can be set to 0 for no limit, but any campaign usage limits will still apply. ") - public Integer getUsageLimit() { + public Long getUsageLimit() { return usageLimit; } - public void setUsageLimit(Integer usageLimit) { + public void setUsageLimit(Long usageLimit) { this.usageLimit = usageLimit; } diff --git a/src/main/java/one/talon/model/UpdateRole.java b/src/main/java/one/talon/model/UpdateRole.java index 37752bf0..725dfc08 100644 --- a/src/main/java/one/talon/model/UpdateRole.java +++ b/src/main/java/one/talon/model/UpdateRole.java @@ -45,7 +45,7 @@ public class UpdateRole { public static final String SERIALIZED_NAME_MEMBERS = "members"; @SerializedName(SERIALIZED_NAME_MEMBERS) - private List members = null; + private List members = null; public UpdateRole name(String name) { @@ -117,15 +117,15 @@ public void setAcl(String acl) { } - public UpdateRole members(List members) { + public UpdateRole members(List members) { this.members = members; return this; } - public UpdateRole addMembersItem(Integer membersItem) { + public UpdateRole addMembersItem(Long membersItem) { if (this.members == null) { - this.members = new ArrayList(); + this.members = new ArrayList(); } this.members.add(membersItem); return this; @@ -138,12 +138,12 @@ public UpdateRole addMembersItem(Integer membersItem) { @javax.annotation.Nullable @ApiModelProperty(example = "[48, 562, 475, 18]", value = "An array of user identifiers.") - public List getMembers() { + public List getMembers() { return members; } - public void setMembers(List members) { + public void setMembers(List members) { this.members = members; } diff --git a/src/main/java/one/talon/model/UpdateUser.java b/src/main/java/one/talon/model/UpdateUser.java index bc677a63..50bb025e 100644 --- a/src/main/java/one/talon/model/UpdateUser.java +++ b/src/main/java/one/talon/model/UpdateUser.java @@ -96,7 +96,7 @@ public StateEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_ROLES = "roles"; @SerializedName(SERIALIZED_NAME_ROLES) - private List roles = null; + private List roles = null; public static final String SERIALIZED_NAME_APPLICATION_NOTIFICATION_SUBSCRIPTIONS = "applicationNotificationSubscriptions"; @SerializedName(SERIALIZED_NAME_APPLICATION_NOTIFICATION_SUBSCRIPTIONS) @@ -195,15 +195,15 @@ public void setPolicy(String policy) { } - public UpdateUser roles(List roles) { + public UpdateUser roles(List roles) { this.roles = roles; return this; } - public UpdateUser addRolesItem(Integer rolesItem) { + public UpdateUser addRolesItem(Long rolesItem) { if (this.roles == null) { - this.roles = new ArrayList(); + this.roles = new ArrayList(); } this.roles.add(rolesItem); return this; @@ -216,12 +216,12 @@ public UpdateUser addRolesItem(Integer rolesItem) { @javax.annotation.Nullable @ApiModelProperty(example = "[1, 3]", value = "A list of the IDs of the roles assigned to the user. **Note**: To find the ID of a role, use the [List roles](/management-api#tag/Roles/operation/listAllRolesV2) endpoint. ") - public List getRoles() { + public List getRoles() { return roles; } - public void setRoles(List roles) { + public void setRoles(List roles) { this.roles = roles; } diff --git a/src/main/java/one/talon/model/User.java b/src/main/java/one/talon/model/User.java index 962bce0e..66a3f827 100644 --- a/src/main/java/one/talon/model/User.java +++ b/src/main/java/one/talon/model/User.java @@ -34,7 +34,7 @@ public class User { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -50,7 +50,7 @@ public class User { public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private Integer accountId; + private Long accountId; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -123,7 +123,7 @@ public StateEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_ROLES = "roles"; @SerializedName(SERIALIZED_NAME_ROLES) - private List roles = null; + private List roles = null; public static final String SERIALIZED_NAME_AUTH_METHOD = "authMethod"; @SerializedName(SERIALIZED_NAME_AUTH_METHOD) @@ -150,7 +150,7 @@ public StateEnum read(final JsonReader jsonReader) throws IOException { private Object additionalAttributes; - public User id(Integer id) { + public User id(Long id) { this.id = id; return this; @@ -162,12 +162,12 @@ public User id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -238,7 +238,7 @@ public void setEmail(String email) { } - public User accountId(Integer accountId) { + public User accountId(Long accountId) { this.accountId = accountId; return this; @@ -250,12 +250,12 @@ public User accountId(Integer accountId) { **/ @ApiModelProperty(example = "3886", required = true, value = "The ID of the account that owns this entity.") - public Integer getAccountId() { + public Long getAccountId() { return accountId; } - public void setAccountId(Integer accountId) { + public void setAccountId(Long accountId) { this.accountId = accountId; } @@ -371,15 +371,15 @@ public void setPolicy(Object policy) { } - public User roles(List roles) { + public User roles(List roles) { this.roles = roles; return this; } - public User addRolesItem(Integer rolesItem) { + public User addRolesItem(Long rolesItem) { if (this.roles == null) { - this.roles = new ArrayList(); + this.roles = new ArrayList(); } this.roles.add(rolesItem); return this; @@ -392,12 +392,12 @@ public User addRolesItem(Integer rolesItem) { @javax.annotation.Nullable @ApiModelProperty(example = "[71]", value = "A list of the IDs of the roles assigned to the user.") - public List getRoles() { + public List getRoles() { return roles; } - public void setRoles(List roles) { + public void setRoles(List roles) { this.roles = roles; } diff --git a/src/main/java/one/talon/model/UserEntity.java b/src/main/java/one/talon/model/UserEntity.java index 227e35c4..ede72831 100644 --- a/src/main/java/one/talon/model/UserEntity.java +++ b/src/main/java/one/talon/model/UserEntity.java @@ -31,10 +31,10 @@ public class UserEntity { public static final String SERIALIZED_NAME_USER_ID = "userId"; @SerializedName(SERIALIZED_NAME_USER_ID) - private Integer userId; + private Long userId; - public UserEntity userId(Integer userId) { + public UserEntity userId(Long userId) { this.userId = userId; return this; @@ -46,12 +46,12 @@ public UserEntity userId(Integer userId) { **/ @ApiModelProperty(example = "388", required = true, value = "The ID of the user associated with this entity.") - public Integer getUserId() { + public Long getUserId() { return userId; } - public void setUserId(Integer userId) { + public void setUserId(Long userId) { this.userId = userId; } diff --git a/src/main/java/one/talon/model/ValueMap.java b/src/main/java/one/talon/model/ValueMap.java index 6e6cd0b9..2ef2f077 100644 --- a/src/main/java/one/talon/model/ValueMap.java +++ b/src/main/java/one/talon/model/ValueMap.java @@ -32,7 +32,7 @@ public class ValueMap { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -40,14 +40,14 @@ public class ValueMap { public static final String SERIALIZED_NAME_CREATED_BY = "createdBy"; @SerializedName(SERIALIZED_NAME_CREATED_BY) - private Integer createdBy; + private Long createdBy; public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) - private Integer campaignId; + private Long campaignId; - public ValueMap id(Integer id) { + public ValueMap id(Long id) { this.id = id; return this; @@ -59,12 +59,12 @@ public ValueMap id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Unique ID for this entity. Not to be confused with the Integration ID, which is set by your integration layer and used in most endpoints.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -92,7 +92,7 @@ public void setCreated(OffsetDateTime created) { } - public ValueMap createdBy(Integer createdBy) { + public ValueMap createdBy(Long createdBy) { this.createdBy = createdBy; return this; @@ -105,17 +105,17 @@ public ValueMap createdBy(Integer createdBy) { @javax.annotation.Nullable @ApiModelProperty(example = "216", value = "The ID of the user who created the value map.") - public Integer getCreatedBy() { + public Long getCreatedBy() { return createdBy; } - public void setCreatedBy(Integer createdBy) { + public void setCreatedBy(Long createdBy) { this.createdBy = createdBy; } - public ValueMap campaignId(Integer campaignId) { + public ValueMap campaignId(Long campaignId) { this.campaignId = campaignId; return this; @@ -127,12 +127,12 @@ public ValueMap campaignId(Integer campaignId) { **/ @ApiModelProperty(example = "244", required = true, value = "") - public Integer getCampaignId() { + public Long getCampaignId() { return campaignId; } - public void setCampaignId(Integer campaignId) { + public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } diff --git a/src/main/java/one/talon/model/Webhook.java b/src/main/java/one/talon/model/Webhook.java index ceed365b..11c17956 100644 --- a/src/main/java/one/talon/model/Webhook.java +++ b/src/main/java/one/talon/model/Webhook.java @@ -35,7 +35,7 @@ public class Webhook { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -47,7 +47,7 @@ public class Webhook { public static final String SERIALIZED_NAME_APPLICATION_IDS = "applicationIds"; @SerializedName(SERIALIZED_NAME_APPLICATION_IDS) - private List applicationIds = new ArrayList(); + private List applicationIds = new ArrayList(); public static final String SERIALIZED_NAME_TITLE = "title"; @SerializedName(SERIALIZED_NAME_TITLE) @@ -135,7 +135,7 @@ public VerbEnum read(final JsonReader jsonReader) throws IOException { private Boolean enabled; - public Webhook id(Integer id) { + public Webhook id(Long id) { this.id = id; return this; @@ -147,12 +147,12 @@ public Webhook id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -201,13 +201,13 @@ public void setModified(OffsetDateTime modified) { } - public Webhook applicationIds(List applicationIds) { + public Webhook applicationIds(List applicationIds) { this.applicationIds = applicationIds; return this; } - public Webhook addApplicationIdsItem(Integer applicationIdsItem) { + public Webhook addApplicationIdsItem(Long applicationIdsItem) { this.applicationIds.add(applicationIdsItem); return this; } @@ -218,12 +218,12 @@ public Webhook addApplicationIdsItem(Integer applicationIdsItem) { **/ @ApiModelProperty(required = true, value = "The IDs of the Applications in which this webhook is available. An empty array means the webhook is available in `All Applications`. ") - public List getApplicationIds() { + public List getApplicationIds() { return applicationIds; } - public void setApplicationIds(List applicationIds) { + public void setApplicationIds(List applicationIds) { this.applicationIds = applicationIds; } diff --git a/src/main/java/one/talon/model/WebhookActivationLogEntry.java b/src/main/java/one/talon/model/WebhookActivationLogEntry.java index 45625dc7..a2d21beb 100644 --- a/src/main/java/one/talon/model/WebhookActivationLogEntry.java +++ b/src/main/java/one/talon/model/WebhookActivationLogEntry.java @@ -37,15 +37,15 @@ public class WebhookActivationLogEntry { public static final String SERIALIZED_NAME_WEBHOOK_ID = "webhookId"; @SerializedName(SERIALIZED_NAME_WEBHOOK_ID) - private Integer webhookId; + private Long webhookId; public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - private Integer applicationId; + private Long applicationId; public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) - private Integer campaignId; + private Long campaignId; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -74,7 +74,7 @@ public void setIntegrationRequestUuid(String integrationRequestUuid) { } - public WebhookActivationLogEntry webhookId(Integer webhookId) { + public WebhookActivationLogEntry webhookId(Long webhookId) { this.webhookId = webhookId; return this; @@ -86,17 +86,17 @@ public WebhookActivationLogEntry webhookId(Integer webhookId) { **/ @ApiModelProperty(example = "1", required = true, value = "ID of the webhook that triggered the request.") - public Integer getWebhookId() { + public Long getWebhookId() { return webhookId; } - public void setWebhookId(Integer webhookId) { + public void setWebhookId(Long webhookId) { this.webhookId = webhookId; } - public WebhookActivationLogEntry applicationId(Integer applicationId) { + public WebhookActivationLogEntry applicationId(Long applicationId) { this.applicationId = applicationId; return this; @@ -108,17 +108,17 @@ public WebhookActivationLogEntry applicationId(Integer applicationId) { **/ @ApiModelProperty(example = "13", required = true, value = "ID of the application that triggered the webhook.") - public Integer getApplicationId() { + public Long getApplicationId() { return applicationId; } - public void setApplicationId(Integer applicationId) { + public void setApplicationId(Long applicationId) { this.applicationId = applicationId; } - public WebhookActivationLogEntry campaignId(Integer campaignId) { + public WebhookActivationLogEntry campaignId(Long campaignId) { this.campaignId = campaignId; return this; @@ -130,12 +130,12 @@ public WebhookActivationLogEntry campaignId(Integer campaignId) { **/ @ApiModelProperty(example = "86", required = true, value = "ID of the campaign that triggered the webhook.") - public Integer getCampaignId() { + public Long getCampaignId() { return campaignId; } - public void setCampaignId(Integer campaignId) { + public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } diff --git a/src/main/java/one/talon/model/WebhookLogEntry.java b/src/main/java/one/talon/model/WebhookLogEntry.java index 7afccda3..26e71d0e 100644 --- a/src/main/java/one/talon/model/WebhookLogEntry.java +++ b/src/main/java/one/talon/model/WebhookLogEntry.java @@ -41,11 +41,11 @@ public class WebhookLogEntry { public static final String SERIALIZED_NAME_WEBHOOK_ID = "webhookId"; @SerializedName(SERIALIZED_NAME_WEBHOOK_ID) - private Integer webhookId; + private Long webhookId; public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - private Integer applicationId; + private Long applicationId; public static final String SERIALIZED_NAME_URL = "url"; @SerializedName(SERIALIZED_NAME_URL) @@ -61,7 +61,7 @@ public class WebhookLogEntry { public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - private Integer status; + private Long status; public static final String SERIALIZED_NAME_REQUEST_TIME = "requestTime"; @SerializedName(SERIALIZED_NAME_REQUEST_TIME) @@ -116,7 +116,7 @@ public void setIntegrationRequestUuid(String integrationRequestUuid) { } - public WebhookLogEntry webhookId(Integer webhookId) { + public WebhookLogEntry webhookId(Long webhookId) { this.webhookId = webhookId; return this; @@ -128,17 +128,17 @@ public WebhookLogEntry webhookId(Integer webhookId) { **/ @ApiModelProperty(example = "5", required = true, value = "ID of the webhook that triggered the request.") - public Integer getWebhookId() { + public Long getWebhookId() { return webhookId; } - public void setWebhookId(Integer webhookId) { + public void setWebhookId(Long webhookId) { this.webhookId = webhookId; } - public WebhookLogEntry applicationId(Integer applicationId) { + public WebhookLogEntry applicationId(Long applicationId) { this.applicationId = applicationId; return this; @@ -151,12 +151,12 @@ public WebhookLogEntry applicationId(Integer applicationId) { @javax.annotation.Nullable @ApiModelProperty(example = "12", value = "ID of the application that triggered the webhook.") - public Integer getApplicationId() { + public Long getApplicationId() { return applicationId; } - public void setApplicationId(Integer applicationId) { + public void setApplicationId(Long applicationId) { this.applicationId = applicationId; } @@ -228,7 +228,7 @@ public void setResponse(String response) { } - public WebhookLogEntry status(Integer status) { + public WebhookLogEntry status(Long status) { this.status = status; return this; @@ -241,12 +241,12 @@ public WebhookLogEntry status(Integer status) { @javax.annotation.Nullable @ApiModelProperty(example = "204", value = "HTTP status code of response.") - public Integer getStatus() { + public Long getStatus() { return status; } - public void setStatus(Integer status) { + public void setStatus(Long status) { this.status = status; } diff --git a/src/main/java/one/talon/model/WebhookWithOutgoingIntegrationDetails.java b/src/main/java/one/talon/model/WebhookWithOutgoingIntegrationDetails.java index 5bde72b4..09e2a54d 100644 --- a/src/main/java/one/talon/model/WebhookWithOutgoingIntegrationDetails.java +++ b/src/main/java/one/talon/model/WebhookWithOutgoingIntegrationDetails.java @@ -35,7 +35,7 @@ public class WebhookWithOutgoingIntegrationDetails { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + private Long id; public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) @@ -47,7 +47,7 @@ public class WebhookWithOutgoingIntegrationDetails { public static final String SERIALIZED_NAME_APPLICATION_IDS = "applicationIds"; @SerializedName(SERIALIZED_NAME_APPLICATION_IDS) - private List applicationIds = new ArrayList(); + private List applicationIds = new ArrayList(); public static final String SERIALIZED_NAME_TITLE = "title"; @SerializedName(SERIALIZED_NAME_TITLE) @@ -136,18 +136,18 @@ public VerbEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_OUTGOING_INTEGRATION_TEMPLATE_ID = "outgoingIntegrationTemplateId"; @SerializedName(SERIALIZED_NAME_OUTGOING_INTEGRATION_TEMPLATE_ID) - private Integer outgoingIntegrationTemplateId; + private Long outgoingIntegrationTemplateId; public static final String SERIALIZED_NAME_OUTGOING_INTEGRATION_TYPE_ID = "outgoingIntegrationTypeId"; @SerializedName(SERIALIZED_NAME_OUTGOING_INTEGRATION_TYPE_ID) - private Integer outgoingIntegrationTypeId; + private Long outgoingIntegrationTypeId; public static final String SERIALIZED_NAME_OUTGOING_INTEGRATION_TYPE_NAME = "outgoingIntegrationTypeName"; @SerializedName(SERIALIZED_NAME_OUTGOING_INTEGRATION_TYPE_NAME) private String outgoingIntegrationTypeName; - public WebhookWithOutgoingIntegrationDetails id(Integer id) { + public WebhookWithOutgoingIntegrationDetails id(Long id) { this.id = id; return this; @@ -159,12 +159,12 @@ public WebhookWithOutgoingIntegrationDetails id(Integer id) { **/ @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.") - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } @@ -213,13 +213,13 @@ public void setModified(OffsetDateTime modified) { } - public WebhookWithOutgoingIntegrationDetails applicationIds(List applicationIds) { + public WebhookWithOutgoingIntegrationDetails applicationIds(List applicationIds) { this.applicationIds = applicationIds; return this; } - public WebhookWithOutgoingIntegrationDetails addApplicationIdsItem(Integer applicationIdsItem) { + public WebhookWithOutgoingIntegrationDetails addApplicationIdsItem(Long applicationIdsItem) { this.applicationIds.add(applicationIdsItem); return this; } @@ -230,12 +230,12 @@ public WebhookWithOutgoingIntegrationDetails addApplicationIdsItem(Integer appli **/ @ApiModelProperty(required = true, value = "The IDs of the Applications in which this webhook is available. An empty array means the webhook is available in `All Applications`. ") - public List getApplicationIds() { + public List getApplicationIds() { return applicationIds; } - public void setApplicationIds(List applicationIds) { + public void setApplicationIds(List applicationIds) { this.applicationIds = applicationIds; } @@ -428,7 +428,7 @@ public void setEnabled(Boolean enabled) { } - public WebhookWithOutgoingIntegrationDetails outgoingIntegrationTemplateId(Integer outgoingIntegrationTemplateId) { + public WebhookWithOutgoingIntegrationDetails outgoingIntegrationTemplateId(Long outgoingIntegrationTemplateId) { this.outgoingIntegrationTemplateId = outgoingIntegrationTemplateId; return this; @@ -441,17 +441,17 @@ public WebhookWithOutgoingIntegrationDetails outgoingIntegrationTemplateId(Integ @javax.annotation.Nullable @ApiModelProperty(example = "1", value = "Identifier of the outgoing integration template.") - public Integer getOutgoingIntegrationTemplateId() { + public Long getOutgoingIntegrationTemplateId() { return outgoingIntegrationTemplateId; } - public void setOutgoingIntegrationTemplateId(Integer outgoingIntegrationTemplateId) { + public void setOutgoingIntegrationTemplateId(Long outgoingIntegrationTemplateId) { this.outgoingIntegrationTemplateId = outgoingIntegrationTemplateId; } - public WebhookWithOutgoingIntegrationDetails outgoingIntegrationTypeId(Integer outgoingIntegrationTypeId) { + public WebhookWithOutgoingIntegrationDetails outgoingIntegrationTypeId(Long outgoingIntegrationTypeId) { this.outgoingIntegrationTypeId = outgoingIntegrationTypeId; return this; @@ -464,12 +464,12 @@ public WebhookWithOutgoingIntegrationDetails outgoingIntegrationTypeId(Integer o @javax.annotation.Nullable @ApiModelProperty(example = "1", value = "Identifier of the outgoing integration type.") - public Integer getOutgoingIntegrationTypeId() { + public Long getOutgoingIntegrationTypeId() { return outgoingIntegrationTypeId; } - public void setOutgoingIntegrationTypeId(Integer outgoingIntegrationTypeId) { + public void setOutgoingIntegrationTypeId(Long outgoingIntegrationTypeId) { this.outgoingIntegrationTypeId = outgoingIntegrationTypeId; } diff --git a/src/main/java/one/talon/model/WillAwardGiveawayEffectProps.java b/src/main/java/one/talon/model/WillAwardGiveawayEffectProps.java index e26bf78d..5e1ed4fe 100644 --- a/src/main/java/one/talon/model/WillAwardGiveawayEffectProps.java +++ b/src/main/java/one/talon/model/WillAwardGiveawayEffectProps.java @@ -32,7 +32,7 @@ public class WillAwardGiveawayEffectProps { public static final String SERIALIZED_NAME_POOL_ID = "poolId"; @SerializedName(SERIALIZED_NAME_POOL_ID) - private Integer poolId; + private Long poolId; public static final String SERIALIZED_NAME_POOL_NAME = "poolName"; @SerializedName(SERIALIZED_NAME_POOL_NAME) @@ -43,7 +43,7 @@ public class WillAwardGiveawayEffectProps { private String recipientIntegrationId; - public WillAwardGiveawayEffectProps poolId(Integer poolId) { + public WillAwardGiveawayEffectProps poolId(Long poolId) { this.poolId = poolId; return this; @@ -55,12 +55,12 @@ public WillAwardGiveawayEffectProps poolId(Integer poolId) { **/ @ApiModelProperty(example = "2", required = true, value = "The ID of the giveaways pool the code will be taken from.") - public Integer getPoolId() { + public Long getPoolId() { return poolId; } - public void setPoolId(Integer poolId) { + public void setPoolId(Long poolId) { this.poolId = poolId; } diff --git a/src/test/java/one/talon/api/IntegrationApiTest.java b/src/test/java/one/talon/api/IntegrationApiTest.java index 31aa2f5b..bb0aae13 100644 --- a/src/test/java/one/talon/api/IntegrationApiTest.java +++ b/src/test/java/one/talon/api/IntegrationApiTest.java @@ -146,7 +146,7 @@ public void createReferralsForMultipleAdvocatesTest() throws ApiException { */ @Test public void deleteAudienceMembershipsV2Test() throws ApiException { - Integer audienceId = null; + Long audienceId = null; api.deleteAudienceMembershipsV2(audienceId); // TODO: test validations @@ -162,7 +162,7 @@ public void deleteAudienceMembershipsV2Test() throws ApiException { */ @Test public void deleteAudienceV2Test() throws ApiException { - Integer audienceId = null; + Long audienceId = null; api.deleteAudienceV2(audienceId); // TODO: test validations @@ -211,7 +211,7 @@ public void deleteCustomerDataTest() throws ApiException { */ @Test public void generateLoyaltyCardTest() throws ApiException { - Integer loyaltyProgramId = null; + Long loyaltyProgramId = null; GenerateLoyaltyCard body = null; LoyaltyCard response = api.generateLoyaltyCard(loyaltyProgramId, body); @@ -229,12 +229,12 @@ public void generateLoyaltyCardTest() throws ApiException { @Test public void getCustomerAchievementHistoryTest() throws ApiException { String integrationId = null; - Integer achievementId = null; + Long achievementId = null; List progressStatus = null; OffsetDateTime startDate = null; OffsetDateTime endDate = null; - Integer pageSize = null; - Integer skip = null; + Long pageSize = null; + Long skip = null; InlineResponse2002 response = api.getCustomerAchievementHistory(integrationId, achievementId, progressStatus, startDate, endDate, pageSize, skip); // TODO: test validations @@ -255,8 +255,8 @@ public void getCustomerAchievementsTest() throws ApiException { List achievementIds = null; List achievementStatus = null; List currentProgressStatus = null; - Integer pageSize = null; - Integer skip = null; + Long pageSize = null; + Long skip = null; InlineResponse2001 response = api.getCustomerAchievements(integrationId, campaignIds, achievementIds, achievementStatus, currentProgressStatus, pageSize, skip); // TODO: test validations @@ -310,7 +310,7 @@ public void getCustomerSessionTest() throws ApiException { */ @Test public void getLoyaltyBalancesTest() throws ApiException { - Integer loyaltyProgramId = null; + Long loyaltyProgramId = null; String integrationId = null; OffsetDateTime endDate = null; String subledgerId = null; @@ -331,7 +331,7 @@ public void getLoyaltyBalancesTest() throws ApiException { */ @Test public void getLoyaltyCardBalancesTest() throws ApiException { - Integer loyaltyProgramId = null; + Long loyaltyProgramId = null; String loyaltyCardId = null; OffsetDateTime endDate = null; List subledgerId = null; @@ -350,12 +350,12 @@ public void getLoyaltyCardBalancesTest() throws ApiException { */ @Test public void getLoyaltyCardPointsTest() throws ApiException { - Integer loyaltyProgramId = null; + Long loyaltyProgramId = null; String loyaltyCardId = null; String status = null; List subledgerId = null; - Integer pageSize = null; - Integer skip = null; + Long pageSize = null; + Long skip = null; InlineResponse2005 response = api.getLoyaltyCardPoints(loyaltyProgramId, loyaltyCardId, status, subledgerId, pageSize, skip); // TODO: test validations @@ -371,14 +371,14 @@ public void getLoyaltyCardPointsTest() throws ApiException { */ @Test public void getLoyaltyCardTransactionsTest() throws ApiException { - Integer loyaltyProgramId = null; + Long loyaltyProgramId = null; String loyaltyCardId = null; List subledgerId = null; String loyaltyTransactionType = null; OffsetDateTime startDate = null; OffsetDateTime endDate = null; - Integer pageSize = null; - Integer skip = null; + Long pageSize = null; + Long skip = null; InlineResponse2003 response = api.getLoyaltyCardTransactions(loyaltyProgramId, loyaltyCardId, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip); // TODO: test validations @@ -394,12 +394,12 @@ public void getLoyaltyCardTransactionsTest() throws ApiException { */ @Test public void getLoyaltyProgramProfilePointsTest() throws ApiException { - Integer loyaltyProgramId = null; + Long loyaltyProgramId = null; String integrationId = null; String status = null; String subledgerId = null; - Integer pageSize = null; - Integer skip = null; + Long pageSize = null; + Long skip = null; InlineResponse2006 response = api.getLoyaltyProgramProfilePoints(loyaltyProgramId, integrationId, status, subledgerId, pageSize, skip); // TODO: test validations @@ -415,14 +415,14 @@ public void getLoyaltyProgramProfilePointsTest() throws ApiException { */ @Test public void getLoyaltyProgramProfileTransactionsTest() throws ApiException { - Integer loyaltyProgramId = null; + Long loyaltyProgramId = null; String integrationId = null; String subledgerId = null; String loyaltyTransactionType = null; OffsetDateTime startDate = null; OffsetDateTime endDate = null; - Integer pageSize = null; - Integer skip = null; + Long pageSize = null; + Long skip = null; InlineResponse2004 response = api.getLoyaltyProgramProfileTransactions(loyaltyProgramId, integrationId, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip); // TODO: test validations @@ -454,7 +454,7 @@ public void getReservedCustomersTest() throws ApiException { */ @Test public void linkLoyaltyCardToProfileTest() throws ApiException { - Integer loyaltyProgramId = null; + Long loyaltyProgramId = null; String loyaltyCardId = null; LoyaltyCardRegistration body = null; LoyaltyCard response = api.linkLoyaltyCardToProfile(loyaltyProgramId, loyaltyCardId, body); @@ -506,7 +506,7 @@ public void returnCartItemsTest() throws ApiException { */ @Test public void syncCatalogTest() throws ApiException { - Integer catalogId = null; + Long catalogId = null; CatalogSyncRequest body = null; Catalog response = api.syncCatalog(catalogId, body); @@ -542,7 +542,7 @@ public void trackEventV2Test() throws ApiException { */ @Test public void updateAudienceCustomersAttributesTest() throws ApiException { - Integer audienceId = null; + Long audienceId = null; Object body = null; api.updateAudienceCustomersAttributes(audienceId, body); @@ -559,7 +559,7 @@ public void updateAudienceCustomersAttributesTest() throws ApiException { */ @Test public void updateAudienceV2Test() throws ApiException { - Integer audienceId = null; + Long audienceId = null; UpdateAudience body = null; Audience response = api.updateAudienceV2(audienceId, body); diff --git a/src/test/java/one/talon/api/ManagementApiTest.java b/src/test/java/one/talon/api/ManagementApiTest.java index f0d5e987..c9c2099e 100644 --- a/src/test/java/one/talon/api/ManagementApiTest.java +++ b/src/test/java/one/talon/api/ManagementApiTest.java @@ -179,7 +179,7 @@ public void activateUserByEmailTest() throws ApiException { */ @Test public void addLoyaltyCardPointsTest() throws ApiException { - Integer loyaltyProgramId = null; + Long loyaltyProgramId = null; String loyaltyCardId = null; AddLoyaltyPoints body = null; api.addLoyaltyCardPoints(loyaltyProgramId, loyaltyCardId, body); @@ -215,8 +215,8 @@ public void addLoyaltyPointsTest() throws ApiException { */ @Test public void copyCampaignToApplicationsTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; + Long applicationId = null; + Long campaignId = null; CampaignCopy body = null; InlineResponse2008 response = api.copyCampaignToApplications(applicationId, campaignId, body); @@ -249,8 +249,8 @@ public void createAccountCollectionTest() throws ApiException { */ @Test public void createAchievementTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; + Long applicationId = null; + Long campaignId = null; CreateAchievement body = null; Achievement response = api.createAchievement(applicationId, campaignId, body); @@ -299,7 +299,7 @@ public void createAttributeTest() throws ApiException { */ @Test public void createBatchLoyaltyCardsTest() throws ApiException { - Integer loyaltyProgramId = null; + Long loyaltyProgramId = null; LoyaltyCardBatch body = null; LoyaltyCardBatchResponse response = api.createBatchLoyaltyCards(loyaltyProgramId, body); @@ -316,7 +316,7 @@ public void createBatchLoyaltyCardsTest() throws ApiException { */ @Test public void createCampaignFromTemplateTest() throws ApiException { - Integer applicationId = null; + Long applicationId = null; CreateTemplateCampaign body = null; CreateTemplateCampaignResponse response = api.createCampaignFromTemplate(applicationId, body); @@ -333,8 +333,8 @@ public void createCampaignFromTemplateTest() throws ApiException { */ @Test public void createCollectionTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; + Long applicationId = null; + Long campaignId = null; NewCampaignCollection body = null; Collection response = api.createCollection(applicationId, campaignId, body); @@ -351,8 +351,8 @@ public void createCollectionTest() throws ApiException { */ @Test public void createCouponsTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; + Long applicationId = null; + Long campaignId = null; NewCoupons body = null; String silent = null; InlineResponse20010 response = api.createCoupons(applicationId, campaignId, body, silent); @@ -370,8 +370,8 @@ public void createCouponsTest() throws ApiException { */ @Test public void createCouponsAsyncTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; + Long applicationId = null; + Long campaignId = null; NewCouponCreationJob body = null; AsyncCouponCreationResponse response = api.createCouponsAsync(applicationId, campaignId, body); @@ -388,8 +388,8 @@ public void createCouponsAsyncTest() throws ApiException { */ @Test public void createCouponsDeletionJobTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; + Long applicationId = null; + Long campaignId = null; NewCouponDeletionJob body = null; AsyncCouponDeletionJobResponse response = api.createCouponsDeletionJob(applicationId, campaignId, body); @@ -406,8 +406,8 @@ public void createCouponsDeletionJobTest() throws ApiException { */ @Test public void createCouponsForMultipleRecipientsTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; + Long applicationId = null; + Long campaignId = null; NewCouponsForMultipleRecipients body = null; String silent = null; InlineResponse20010 response = api.createCouponsForMultipleRecipients(applicationId, campaignId, body, silent); @@ -489,7 +489,7 @@ public void createSessionTest() throws ApiException { */ @Test public void createStoreTest() throws ApiException { - Integer applicationId = null; + Long applicationId = null; NewStore body = null; Store response = api.createStore(applicationId, body); @@ -522,7 +522,7 @@ public void deactivateUserByEmailTest() throws ApiException { */ @Test public void deductLoyaltyCardPointsTest() throws ApiException { - Integer loyaltyProgramId = null; + Long loyaltyProgramId = null; String loyaltyCardId = null; DeductLoyaltyPoints body = null; api.deductLoyaltyCardPoints(loyaltyProgramId, loyaltyCardId, body); @@ -540,7 +540,7 @@ public void deductLoyaltyCardPointsTest() throws ApiException { */ @Test public void deleteAccountCollectionTest() throws ApiException { - Integer collectionId = null; + Long collectionId = null; api.deleteAccountCollection(collectionId); // TODO: test validations @@ -556,9 +556,9 @@ public void deleteAccountCollectionTest() throws ApiException { */ @Test public void deleteAchievementTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; - Integer achievementId = null; + Long applicationId = null; + Long campaignId = null; + Long achievementId = null; api.deleteAchievement(applicationId, campaignId, achievementId); // TODO: test validations @@ -574,8 +574,8 @@ public void deleteAchievementTest() throws ApiException { */ @Test public void deleteCampaignTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; + Long applicationId = null; + Long campaignId = null; api.deleteCampaign(applicationId, campaignId); // TODO: test validations @@ -591,9 +591,9 @@ public void deleteCampaignTest() throws ApiException { */ @Test public void deleteCollectionTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; - Integer collectionId = null; + Long applicationId = null; + Long campaignId = null; + Long collectionId = null; api.deleteCollection(applicationId, campaignId, collectionId); // TODO: test validations @@ -609,8 +609,8 @@ public void deleteCollectionTest() throws ApiException { */ @Test public void deleteCouponTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; + Long applicationId = null; + Long campaignId = null; String couponId = null; api.deleteCoupon(applicationId, campaignId, couponId); @@ -627,8 +627,8 @@ public void deleteCouponTest() throws ApiException { */ @Test public void deleteCouponsTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; + Long applicationId = null; + Long campaignId = null; String value = null; OffsetDateTime createdBefore = null; OffsetDateTime createdAfter = null; @@ -639,7 +639,7 @@ public void deleteCouponsTest() throws ApiException { String valid = null; String batchId = null; String usable = null; - Integer referralId = null; + Long referralId = null; String recipientIntegrationId = null; Boolean exactMatch = null; api.deleteCoupons(applicationId, campaignId, value, createdBefore, createdAfter, startsAfter, startsBefore, expiresAfter, expiresBefore, valid, batchId, usable, referralId, recipientIntegrationId, exactMatch); @@ -657,7 +657,7 @@ public void deleteCouponsTest() throws ApiException { */ @Test public void deleteLoyaltyCardTest() throws ApiException { - Integer loyaltyProgramId = null; + Long loyaltyProgramId = null; String loyaltyCardId = null; api.deleteLoyaltyCard(loyaltyProgramId, loyaltyCardId); @@ -674,8 +674,8 @@ public void deleteLoyaltyCardTest() throws ApiException { */ @Test public void deleteReferralTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; + Long applicationId = null; + Long campaignId = null; String referralId = null; api.deleteReferral(applicationId, campaignId, referralId); @@ -692,7 +692,7 @@ public void deleteReferralTest() throws ApiException { */ @Test public void deleteStoreTest() throws ApiException { - Integer applicationId = null; + Long applicationId = null; String storeId = null; api.deleteStore(applicationId, storeId); @@ -709,7 +709,7 @@ public void deleteStoreTest() throws ApiException { */ @Test public void deleteUserTest() throws ApiException { - Integer userId = null; + Long userId = null; api.deleteUser(userId); // TODO: test validations @@ -756,8 +756,8 @@ public void destroySessionTest() throws ApiException { */ @Test public void disconnectCampaignStoresTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; + Long applicationId = null; + Long campaignId = null; api.disconnectCampaignStores(applicationId, campaignId); // TODO: test validations @@ -773,7 +773,7 @@ public void disconnectCampaignStoresTest() throws ApiException { */ @Test public void exportAccountCollectionItemsTest() throws ApiException { - Integer collectionId = null; + Long collectionId = null; String response = api.exportAccountCollectionItems(collectionId); // TODO: test validations @@ -789,9 +789,9 @@ public void exportAccountCollectionItemsTest() throws ApiException { */ @Test public void exportAchievementsTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; - Integer achievementId = null; + Long applicationId = null; + Long campaignId = null; + Long achievementId = null; String response = api.exportAchievements(applicationId, campaignId, achievementId); // TODO: test validations @@ -807,7 +807,7 @@ public void exportAchievementsTest() throws ApiException { */ @Test public void exportAudiencesMembershipsTest() throws ApiException { - Integer audienceId = null; + Long audienceId = null; String response = api.exportAudiencesMemberships(audienceId); // TODO: test validations @@ -823,8 +823,8 @@ public void exportAudiencesMembershipsTest() throws ApiException { */ @Test public void exportCampaignStoresTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; + Long applicationId = null; + Long campaignId = null; String response = api.exportCampaignStores(applicationId, campaignId); // TODO: test validations @@ -840,9 +840,9 @@ public void exportCampaignStoresTest() throws ApiException { */ @Test public void exportCollectionItemsTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; - Integer collectionId = null; + Long applicationId = null; + Long campaignId = null; + Long collectionId = null; String response = api.exportCollectionItems(applicationId, campaignId, collectionId); // TODO: test validations @@ -858,7 +858,7 @@ public void exportCollectionItemsTest() throws ApiException { */ @Test public void exportCouponsTest() throws ApiException { - Integer applicationId = null; + Long applicationId = null; BigDecimal campaignId = null; String sort = null; String value = null; @@ -866,7 +866,7 @@ public void exportCouponsTest() throws ApiException { OffsetDateTime createdAfter = null; String valid = null; String usable = null; - Integer referralId = null; + Long referralId = null; String recipientIntegrationId = null; String batchId = null; Boolean exactMatch = null; @@ -888,7 +888,7 @@ public void exportCouponsTest() throws ApiException { */ @Test public void exportCustomerSessionsTest() throws ApiException { - Integer applicationId = null; + Long applicationId = null; OffsetDateTime createdBefore = null; OffsetDateTime createdAfter = null; String profileIntegrationId = null; @@ -927,7 +927,7 @@ public void exportCustomersTiersTest() throws ApiException { */ @Test public void exportEffectsTest() throws ApiException { - Integer applicationId = null; + Long applicationId = null; BigDecimal campaignId = null; OffsetDateTime createdBefore = null; OffsetDateTime createdAfter = null; @@ -981,7 +981,7 @@ public void exportLoyaltyBalancesTest() throws ApiException { */ @Test public void exportLoyaltyCardBalancesTest() throws ApiException { - Integer loyaltyProgramId = null; + Long loyaltyProgramId = null; OffsetDateTime endDate = null; String response = api.exportLoyaltyCardBalances(loyaltyProgramId, endDate); @@ -998,7 +998,7 @@ public void exportLoyaltyCardBalancesTest() throws ApiException { */ @Test public void exportLoyaltyCardLedgerTest() throws ApiException { - Integer loyaltyProgramId = null; + Long loyaltyProgramId = null; String loyaltyCardId = null; OffsetDateTime rangeStart = null; OffsetDateTime rangeEnd = null; @@ -1018,7 +1018,7 @@ public void exportLoyaltyCardLedgerTest() throws ApiException { */ @Test public void exportLoyaltyCardsTest() throws ApiException { - Integer loyaltyProgramId = null; + Long loyaltyProgramId = null; String batchId = null; String dateFormat = null; String response = api.exportLoyaltyCards(loyaltyProgramId, batchId, dateFormat); @@ -1056,7 +1056,7 @@ public void exportLoyaltyLedgerTest() throws ApiException { */ @Test public void exportPoolGiveawaysTest() throws ApiException { - Integer poolId = null; + Long poolId = null; OffsetDateTime createdBefore = null; OffsetDateTime createdAfter = null; String response = api.exportPoolGiveaways(poolId, createdBefore, createdAfter); @@ -1074,7 +1074,7 @@ public void exportPoolGiveawaysTest() throws ApiException { */ @Test public void exportReferralsTest() throws ApiException { - Integer applicationId = null; + Long applicationId = null; BigDecimal campaignId = null; OffsetDateTime createdBefore = null; OffsetDateTime createdAfter = null; @@ -1097,14 +1097,14 @@ public void exportReferralsTest() throws ApiException { */ @Test public void getAccessLogsWithoutTotalCountTest() throws ApiException { - Integer applicationId = null; + Long applicationId = null; OffsetDateTime rangeStart = null; OffsetDateTime rangeEnd = null; String path = null; String method = null; String status = null; - Integer pageSize = null; - Integer skip = null; + Long pageSize = null; + Long skip = null; String sort = null; InlineResponse20022 response = api.getAccessLogsWithoutTotalCount(applicationId, rangeStart, rangeEnd, path, method, status, pageSize, skip, sort); @@ -1121,7 +1121,7 @@ public void getAccessLogsWithoutTotalCountTest() throws ApiException { */ @Test public void getAccountTest() throws ApiException { - Integer accountId = null; + Long accountId = null; Account response = api.getAccount(accountId); // TODO: test validations @@ -1137,7 +1137,7 @@ public void getAccountTest() throws ApiException { */ @Test public void getAccountAnalyticsTest() throws ApiException { - Integer accountId = null; + Long accountId = null; AccountAnalytics response = api.getAccountAnalytics(accountId); // TODO: test validations @@ -1153,7 +1153,7 @@ public void getAccountAnalyticsTest() throws ApiException { */ @Test public void getAccountCollectionTest() throws ApiException { - Integer collectionId = null; + Long collectionId = null; Collection response = api.getAccountCollection(collectionId); // TODO: test validations @@ -1169,9 +1169,9 @@ public void getAccountCollectionTest() throws ApiException { */ @Test public void getAchievementTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; - Integer achievementId = null; + Long applicationId = null; + Long campaignId = null; + Long achievementId = null; Achievement response = api.getAchievement(applicationId, campaignId, achievementId); // TODO: test validations @@ -1187,7 +1187,7 @@ public void getAchievementTest() throws ApiException { */ @Test public void getAdditionalCostTest() throws ApiException { - Integer additionalCostId = null; + Long additionalCostId = null; AccountAdditionalCost response = api.getAdditionalCost(additionalCostId); // TODO: test validations @@ -1203,8 +1203,8 @@ public void getAdditionalCostTest() throws ApiException { */ @Test public void getAdditionalCostsTest() throws ApiException { - Integer pageSize = null; - Integer skip = null; + Long pageSize = null; + Long skip = null; String sort = null; InlineResponse20038 response = api.getAdditionalCosts(pageSize, skip, sort); @@ -1221,7 +1221,7 @@ public void getAdditionalCostsTest() throws ApiException { */ @Test public void getApplicationTest() throws ApiException { - Integer applicationId = null; + Long applicationId = null; Application response = api.getApplication(applicationId); // TODO: test validations @@ -1237,7 +1237,7 @@ public void getApplicationTest() throws ApiException { */ @Test public void getApplicationApiHealthTest() throws ApiException { - Integer applicationId = null; + Long applicationId = null; ApplicationApiHealth response = api.getApplicationApiHealth(applicationId); // TODO: test validations @@ -1253,8 +1253,8 @@ public void getApplicationApiHealthTest() throws ApiException { */ @Test public void getApplicationCustomerTest() throws ApiException { - Integer applicationId = null; - Integer customerId = null; + Long applicationId = null; + Long customerId = null; ApplicationCustomer response = api.getApplicationCustomer(applicationId, customerId); // TODO: test validations @@ -1270,10 +1270,10 @@ public void getApplicationCustomerTest() throws ApiException { */ @Test public void getApplicationCustomerFriendsTest() throws ApiException { - Integer applicationId = null; + Long applicationId = null; String integrationId = null; - Integer pageSize = null; - Integer skip = null; + Long pageSize = null; + Long skip = null; String sort = null; Boolean withTotalResultSize = null; InlineResponse20035 response = api.getApplicationCustomerFriends(applicationId, integrationId, pageSize, skip, sort, withTotalResultSize); @@ -1291,10 +1291,10 @@ public void getApplicationCustomerFriendsTest() throws ApiException { */ @Test public void getApplicationCustomersTest() throws ApiException { - Integer applicationId = null; + Long applicationId = null; String integrationId = null; - Integer pageSize = null; - Integer skip = null; + Long pageSize = null; + Long skip = null; Boolean withTotalResultSize = null; InlineResponse20024 response = api.getApplicationCustomers(applicationId, integrationId, pageSize, skip, withTotalResultSize); @@ -1311,10 +1311,10 @@ public void getApplicationCustomersTest() throws ApiException { */ @Test public void getApplicationCustomersByAttributesTest() throws ApiException { - Integer applicationId = null; + Long applicationId = null; CustomerProfileSearchQuery body = null; - Integer pageSize = null; - Integer skip = null; + Long pageSize = null; + Long skip = null; Boolean withTotalResultSize = null; InlineResponse20025 response = api.getApplicationCustomersByAttributes(applicationId, body, pageSize, skip, withTotalResultSize); @@ -1331,9 +1331,9 @@ public void getApplicationCustomersByAttributesTest() throws ApiException { */ @Test public void getApplicationEventTypesTest() throws ApiException { - Integer applicationId = null; - Integer pageSize = null; - Integer skip = null; + Long applicationId = null; + Long pageSize = null; + Long skip = null; String sort = null; InlineResponse20031 response = api.getApplicationEventTypes(applicationId, pageSize, skip, sort); @@ -1350,9 +1350,9 @@ public void getApplicationEventTypesTest() throws ApiException { */ @Test public void getApplicationEventsWithoutTotalCountTest() throws ApiException { - Integer applicationId = null; - Integer pageSize = null; - Integer skip = null; + Long applicationId = null; + Long pageSize = null; + Long skip = null; String sort = null; String type = null; OffsetDateTime createdBefore = null; @@ -1380,8 +1380,8 @@ public void getApplicationEventsWithoutTotalCountTest() throws ApiException { */ @Test public void getApplicationSessionTest() throws ApiException { - Integer applicationId = null; - Integer sessionId = null; + Long applicationId = null; + Long sessionId = null; ApplicationSession response = api.getApplicationSession(applicationId, sessionId); // TODO: test validations @@ -1397,9 +1397,9 @@ public void getApplicationSessionTest() throws ApiException { */ @Test public void getApplicationSessionsTest() throws ApiException { - Integer applicationId = null; - Integer pageSize = null; - Integer skip = null; + Long applicationId = null; + Long pageSize = null; + Long skip = null; String sort = null; String profile = null; String state = null; @@ -1424,8 +1424,8 @@ public void getApplicationSessionsTest() throws ApiException { */ @Test public void getApplicationsTest() throws ApiException { - Integer pageSize = null; - Integer skip = null; + Long pageSize = null; + Long skip = null; String sort = null; InlineResponse2007 response = api.getApplications(pageSize, skip, sort); @@ -1442,7 +1442,7 @@ public void getApplicationsTest() throws ApiException { */ @Test public void getAttributeTest() throws ApiException { - Integer attributeId = null; + Long attributeId = null; Attribute response = api.getAttribute(attributeId); // TODO: test validations @@ -1458,8 +1458,8 @@ public void getAttributeTest() throws ApiException { */ @Test public void getAttributesTest() throws ApiException { - Integer pageSize = null; - Integer skip = null; + Long pageSize = null; + Long skip = null; String sort = null; String entity = null; InlineResponse20036 response = api.getAttributes(pageSize, skip, sort, entity); @@ -1477,9 +1477,9 @@ public void getAttributesTest() throws ApiException { */ @Test public void getAudienceMembershipsTest() throws ApiException { - Integer audienceId = null; - Integer pageSize = null; - Integer skip = null; + Long audienceId = null; + Long pageSize = null; + Long skip = null; String sort = null; String profileQuery = null; InlineResponse20034 response = api.getAudienceMemberships(audienceId, pageSize, skip, sort, profileQuery); @@ -1497,8 +1497,8 @@ public void getAudienceMembershipsTest() throws ApiException { */ @Test public void getAudiencesTest() throws ApiException { - Integer pageSize = null; - Integer skip = null; + Long pageSize = null; + Long skip = null; String sort = null; Boolean withTotalResultSize = null; InlineResponse20032 response = api.getAudiences(pageSize, skip, sort, withTotalResultSize); @@ -1533,8 +1533,8 @@ public void getAudiencesAnalyticsTest() throws ApiException { */ @Test public void getCampaignTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; + Long applicationId = null; + Long campaignId = null; Campaign response = api.getCampaign(applicationId, campaignId); // TODO: test validations @@ -1550,8 +1550,8 @@ public void getCampaignTest() throws ApiException { */ @Test public void getCampaignAnalyticsTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; + Long applicationId = null; + Long campaignId = null; OffsetDateTime rangeStart = null; OffsetDateTime rangeEnd = null; String granularity = null; @@ -1570,10 +1570,10 @@ public void getCampaignAnalyticsTest() throws ApiException { */ @Test public void getCampaignByAttributesTest() throws ApiException { - Integer applicationId = null; + Long applicationId = null; CampaignSearch body = null; - Integer pageSize = null; - Integer skip = null; + Long pageSize = null; + Long skip = null; String sort = null; String campaignState = null; InlineResponse2008 response = api.getCampaignByAttributes(applicationId, body, pageSize, skip, sort, campaignState); @@ -1591,7 +1591,7 @@ public void getCampaignByAttributesTest() throws ApiException { */ @Test public void getCampaignGroupTest() throws ApiException { - Integer campaignGroupId = null; + Long campaignGroupId = null; CampaignGroup response = api.getCampaignGroup(campaignGroupId); // TODO: test validations @@ -1607,8 +1607,8 @@ public void getCampaignGroupTest() throws ApiException { */ @Test public void getCampaignGroupsTest() throws ApiException { - Integer pageSize = null; - Integer skip = null; + Long pageSize = null; + Long skip = null; String sort = null; InlineResponse20013 response = api.getCampaignGroups(pageSize, skip, sort); @@ -1625,13 +1625,13 @@ public void getCampaignGroupsTest() throws ApiException { */ @Test public void getCampaignTemplatesTest() throws ApiException { - Integer pageSize = null; - Integer skip = null; + Long pageSize = null; + Long skip = null; String sort = null; String state = null; String name = null; String tags = null; - Integer userId = null; + Long userId = null; InlineResponse20014 response = api.getCampaignTemplates(pageSize, skip, sort, state, name, tags, userId); // TODO: test validations @@ -1647,18 +1647,18 @@ public void getCampaignTemplatesTest() throws ApiException { */ @Test public void getCampaignsTest() throws ApiException { - Integer applicationId = null; - Integer pageSize = null; - Integer skip = null; + Long applicationId = null; + Long pageSize = null; + Long skip = null; String sort = null; String campaignState = null; String name = null; String tags = null; OffsetDateTime createdBefore = null; OffsetDateTime createdAfter = null; - Integer campaignGroupId = null; - Integer templateId = null; - Integer storeId = null; + Long campaignGroupId = null; + Long templateId = null; + Long storeId = null; InlineResponse2008 response = api.getCampaigns(applicationId, pageSize, skip, sort, campaignState, name, tags, createdBefore, createdAfter, campaignGroupId, templateId, storeId); // TODO: test validations @@ -1674,16 +1674,16 @@ public void getCampaignsTest() throws ApiException { */ @Test public void getChangesTest() throws ApiException { - Integer pageSize = null; - Integer skip = null; + Long pageSize = null; + Long skip = null; String sort = null; BigDecimal applicationId = null; String entityPath = null; - Integer userId = null; + Long userId = null; OffsetDateTime createdBefore = null; OffsetDateTime createdAfter = null; Boolean withTotalResultSize = null; - Integer managementKeyId = null; + Long managementKeyId = null; Boolean includeOld = null; InlineResponse20044 response = api.getChanges(pageSize, skip, sort, applicationId, entityPath, userId, createdBefore, createdAfter, withTotalResultSize, managementKeyId, includeOld); @@ -1700,9 +1700,9 @@ public void getChangesTest() throws ApiException { */ @Test public void getCollectionTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; - Integer collectionId = null; + Long applicationId = null; + Long campaignId = null; + Long collectionId = null; Collection response = api.getCollection(applicationId, campaignId, collectionId); // TODO: test validations @@ -1718,9 +1718,9 @@ public void getCollectionTest() throws ApiException { */ @Test public void getCollectionItemsTest() throws ApiException { - Integer collectionId = null; - Integer pageSize = null; - Integer skip = null; + Long collectionId = null; + Long pageSize = null; + Long skip = null; InlineResponse20021 response = api.getCollectionItems(collectionId, pageSize, skip); // TODO: test validations @@ -1736,10 +1736,10 @@ public void getCollectionItemsTest() throws ApiException { */ @Test public void getCouponsWithoutTotalCountTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; - Integer pageSize = null; - Integer skip = null; + Long applicationId = null; + Long campaignId = null; + Long pageSize = null; + Long skip = null; String sort = null; String value = null; OffsetDateTime createdBefore = null; @@ -1747,7 +1747,7 @@ public void getCouponsWithoutTotalCountTest() throws ApiException { String valid = null; String usable = null; String redeemed = null; - Integer referralId = null; + Long referralId = null; String recipientIntegrationId = null; String batchId = null; Boolean exactMatch = null; @@ -1773,10 +1773,10 @@ public void getCouponsWithoutTotalCountTest() throws ApiException { public void getCustomerActivityReportTest() throws ApiException { OffsetDateTime rangeStart = null; OffsetDateTime rangeEnd = null; - Integer applicationId = null; - Integer customerId = null; - Integer pageSize = null; - Integer skip = null; + Long applicationId = null; + Long customerId = null; + Long pageSize = null; + Long skip = null; CustomerActivityReport response = api.getCustomerActivityReport(rangeStart, rangeEnd, applicationId, customerId, pageSize, skip); // TODO: test validations @@ -1794,9 +1794,9 @@ public void getCustomerActivityReportTest() throws ApiException { public void getCustomerActivityReportsWithoutTotalCountTest() throws ApiException { OffsetDateTime rangeStart = null; OffsetDateTime rangeEnd = null; - Integer applicationId = null; - Integer pageSize = null; - Integer skip = null; + Long applicationId = null; + Long pageSize = null; + Long skip = null; String sort = null; String name = null; String integrationId = null; @@ -1817,10 +1817,10 @@ public void getCustomerActivityReportsWithoutTotalCountTest() throws ApiExceptio */ @Test public void getCustomerAnalyticsTest() throws ApiException { - Integer applicationId = null; - Integer customerId = null; - Integer pageSize = null; - Integer skip = null; + Long applicationId = null; + Long customerId = null; + Long pageSize = null; + Long skip = null; String sort = null; CustomerAnalytics response = api.getCustomerAnalytics(applicationId, customerId, pageSize, skip, sort); @@ -1837,7 +1837,7 @@ public void getCustomerAnalyticsTest() throws ApiException { */ @Test public void getCustomerProfileTest() throws ApiException { - Integer customerId = null; + Long customerId = null; CustomerProfile response = api.getCustomerProfile(customerId); // TODO: test validations @@ -1853,11 +1853,11 @@ public void getCustomerProfileTest() throws ApiException { */ @Test public void getCustomerProfileAchievementProgressTest() throws ApiException { - Integer applicationId = null; + Long applicationId = null; String integrationId = null; - Integer pageSize = null; - Integer skip = null; - Integer achievementId = null; + Long pageSize = null; + Long skip = null; + Long achievementId = null; String title = null; InlineResponse20049 response = api.getCustomerProfileAchievementProgress(applicationId, integrationId, pageSize, skip, achievementId, title); @@ -1874,8 +1874,8 @@ public void getCustomerProfileAchievementProgressTest() throws ApiException { */ @Test public void getCustomerProfilesTest() throws ApiException { - Integer pageSize = null; - Integer skip = null; + Long pageSize = null; + Long skip = null; Boolean sandbox = null; InlineResponse20027 response = api.getCustomerProfiles(pageSize, skip, sandbox); @@ -1893,8 +1893,8 @@ public void getCustomerProfilesTest() throws ApiException { @Test public void getCustomersByAttributesTest() throws ApiException { CustomerProfileSearchQuery body = null; - Integer pageSize = null; - Integer skip = null; + Long pageSize = null; + Long skip = null; Boolean sandbox = null; InlineResponse20026 response = api.getCustomersByAttributes(body, pageSize, skip, sandbox); @@ -1911,7 +1911,7 @@ public void getCustomersByAttributesTest() throws ApiException { */ @Test public void getDashboardStatisticsTest() throws ApiException { - Integer loyaltyProgramId = null; + Long loyaltyProgramId = null; OffsetDateTime rangeStart = null; OffsetDateTime rangeEnd = null; String subledgerId = null; @@ -1932,8 +1932,8 @@ public void getDashboardStatisticsTest() throws ApiException { public void getEventTypesTest() throws ApiException { String name = null; Boolean includeOldVersions = null; - Integer pageSize = null; - Integer skip = null; + Long pageSize = null; + Long skip = null; String sort = null; InlineResponse20042 response = api.getEventTypes(name, includeOldVersions, pageSize, skip, sort); @@ -1950,10 +1950,10 @@ public void getEventTypesTest() throws ApiException { */ @Test public void getExportsTest() throws ApiException { - Integer pageSize = null; - Integer skip = null; + Long pageSize = null; + Long skip = null; BigDecimal applicationId = null; - Integer campaignId = null; + Long campaignId = null; String entity = null; InlineResponse20045 response = api.getExports(pageSize, skip, applicationId, campaignId, entity); @@ -1970,7 +1970,7 @@ public void getExportsTest() throws ApiException { */ @Test public void getLoyaltyCardTest() throws ApiException { - Integer loyaltyProgramId = null; + Long loyaltyProgramId = null; String loyaltyCardId = null; LoyaltyCard response = api.getLoyaltyCard(loyaltyProgramId, loyaltyCardId); @@ -1987,12 +1987,12 @@ public void getLoyaltyCardTest() throws ApiException { */ @Test public void getLoyaltyCardTransactionLogsTest() throws ApiException { - Integer loyaltyProgramId = null; + Long loyaltyProgramId = null; String loyaltyCardId = null; OffsetDateTime startDate = null; OffsetDateTime endDate = null; - Integer pageSize = null; - Integer skip = null; + Long pageSize = null; + Long skip = null; String subledgerId = null; InlineResponse20019 response = api.getLoyaltyCardTransactionLogs(loyaltyProgramId, loyaltyCardId, startDate, endDate, pageSize, skip, subledgerId); @@ -2009,12 +2009,12 @@ public void getLoyaltyCardTransactionLogsTest() throws ApiException { */ @Test public void getLoyaltyCardsTest() throws ApiException { - Integer loyaltyProgramId = null; - Integer pageSize = null; - Integer skip = null; + Long loyaltyProgramId = null; + Long pageSize = null; + Long skip = null; String sort = null; String identifier = null; - Integer profileId = null; + Long profileId = null; String batchId = null; InlineResponse20018 response = api.getLoyaltyCards(loyaltyProgramId, pageSize, skip, sort, identifier, profileId, batchId); @@ -2048,7 +2048,7 @@ public void getLoyaltyPointsTest() throws ApiException { */ @Test public void getLoyaltyProgramTest() throws ApiException { - Integer loyaltyProgramId = null; + Long loyaltyProgramId = null; LoyaltyProgram response = api.getLoyaltyProgram(loyaltyProgramId); // TODO: test validations @@ -2064,13 +2064,13 @@ public void getLoyaltyProgramTest() throws ApiException { */ @Test public void getLoyaltyProgramTransactionsTest() throws ApiException { - Integer loyaltyProgramId = null; + Long loyaltyProgramId = null; String loyaltyTransactionType = null; String subledgerId = null; OffsetDateTime startDate = null; OffsetDateTime endDate = null; - Integer pageSize = null; - Integer skip = null; + Long pageSize = null; + Long skip = null; InlineResponse20017 response = api.getLoyaltyProgramTransactions(loyaltyProgramId, loyaltyTransactionType, subledgerId, startDate, endDate, pageSize, skip); // TODO: test validations @@ -2101,7 +2101,7 @@ public void getLoyaltyProgramsTest() throws ApiException { */ @Test public void getLoyaltyStatisticsTest() throws ApiException { - Integer loyaltyProgramId = null; + Long loyaltyProgramId = null; LoyaltyDashboardData response = api.getLoyaltyStatistics(loyaltyProgramId); // TODO: test validations @@ -2128,8 +2128,8 @@ public void getMessageLogsTest() throws ApiException { Boolean isSuccessful = null; BigDecimal applicationId = null; BigDecimal campaignId = null; - Integer loyaltyProgramId = null; - Integer responseCode = null; + Long loyaltyProgramId = null; + Long responseCode = null; String webhookIDs = null; MessageLogEntries response = api.getMessageLogs(entityType, messageID, changeType, notificationIDs, createdBefore, createdAfter, cursor, period, isSuccessful, applicationId, campaignId, loyaltyProgramId, responseCode, webhookIDs); @@ -2146,10 +2146,10 @@ public void getMessageLogsTest() throws ApiException { */ @Test public void getReferralsWithoutTotalCountTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; - Integer pageSize = null; - Integer skip = null; + Long applicationId = null; + Long campaignId = null; + Long pageSize = null; + Long skip = null; String sort = null; String code = null; OffsetDateTime createdBefore = null; @@ -2172,7 +2172,7 @@ public void getReferralsWithoutTotalCountTest() throws ApiException { */ @Test public void getRoleV2Test() throws ApiException { - Integer roleId = null; + Long roleId = null; RoleV2 response = api.getRoleV2(roleId); // TODO: test validations @@ -2188,9 +2188,9 @@ public void getRoleV2Test() throws ApiException { */ @Test public void getRulesetTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; - Integer rulesetId = null; + Long applicationId = null; + Long campaignId = null; + Long rulesetId = null; Ruleset response = api.getRuleset(applicationId, campaignId, rulesetId); // TODO: test validations @@ -2206,10 +2206,10 @@ public void getRulesetTest() throws ApiException { */ @Test public void getRulesetsTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; - Integer pageSize = null; - Integer skip = null; + Long applicationId = null; + Long campaignId = null; + Long pageSize = null; + Long skip = null; String sort = null; InlineResponse2009 response = api.getRulesets(applicationId, campaignId, pageSize, skip, sort); @@ -2226,7 +2226,7 @@ public void getRulesetsTest() throws ApiException { */ @Test public void getStoreTest() throws ApiException { - Integer applicationId = null; + Long applicationId = null; String storeId = null; Store response = api.getStore(applicationId, storeId); @@ -2243,7 +2243,7 @@ public void getStoreTest() throws ApiException { */ @Test public void getUserTest() throws ApiException { - Integer userId = null; + Long userId = null; User response = api.getUser(userId); // TODO: test validations @@ -2259,8 +2259,8 @@ public void getUserTest() throws ApiException { */ @Test public void getUsersTest() throws ApiException { - Integer pageSize = null; - Integer skip = null; + Long pageSize = null; + Long skip = null; String sort = null; InlineResponse20043 response = api.getUsers(pageSize, skip, sort); @@ -2277,7 +2277,7 @@ public void getUsersTest() throws ApiException { */ @Test public void getWebhookTest() throws ApiException { - Integer webhookId = null; + Long webhookId = null; Webhook response = api.getWebhook(webhookId); // TODO: test validations @@ -2293,8 +2293,8 @@ public void getWebhookTest() throws ApiException { */ @Test public void getWebhookActivationLogsTest() throws ApiException { - Integer pageSize = null; - Integer skip = null; + Long pageSize = null; + Long skip = null; String sort = null; String integrationRequestUuid = null; BigDecimal webhookId = null; @@ -2317,8 +2317,8 @@ public void getWebhookActivationLogsTest() throws ApiException { */ @Test public void getWebhookLogsTest() throws ApiException { - Integer pageSize = null; - Integer skip = null; + Long pageSize = null; + Long skip = null; String sort = null; String status = null; BigDecimal webhookId = null; @@ -2344,11 +2344,11 @@ public void getWebhookLogsTest() throws ApiException { public void getWebhooksTest() throws ApiException { String applicationIds = null; String sort = null; - Integer pageSize = null; - Integer skip = null; + Long pageSize = null; + Long skip = null; String creationType = null; String visibility = null; - Integer outgoingIntegrationsTypeId = null; + Long outgoingIntegrationsTypeId = null; String title = null; InlineResponse20039 response = api.getWebhooks(applicationIds, sort, pageSize, skip, creationType, visibility, outgoingIntegrationsTypeId, title); @@ -2365,7 +2365,7 @@ public void getWebhooksTest() throws ApiException { */ @Test public void importAccountCollectionTest() throws ApiException { - Integer collectionId = null; + Long collectionId = null; String upFile = null; ModelImport response = api.importAccountCollection(collectionId, upFile); @@ -2382,7 +2382,7 @@ public void importAccountCollectionTest() throws ApiException { */ @Test public void importAllowedListTest() throws ApiException { - Integer attributeId = null; + Long attributeId = null; String upFile = null; ModelImport response = api.importAllowedList(attributeId, upFile); @@ -2399,7 +2399,7 @@ public void importAllowedListTest() throws ApiException { */ @Test public void importAudiencesMembershipsTest() throws ApiException { - Integer audienceId = null; + Long audienceId = null; String upFile = null; ModelImport response = api.importAudiencesMemberships(audienceId, upFile); @@ -2416,8 +2416,8 @@ public void importAudiencesMembershipsTest() throws ApiException { */ @Test public void importCampaignStoresTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; + Long applicationId = null; + Long campaignId = null; String upFile = null; ModelImport response = api.importCampaignStores(applicationId, campaignId, upFile); @@ -2434,9 +2434,9 @@ public void importCampaignStoresTest() throws ApiException { */ @Test public void importCollectionTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; - Integer collectionId = null; + Long applicationId = null; + Long campaignId = null; + Long collectionId = null; String upFile = null; ModelImport response = api.importCollection(applicationId, campaignId, collectionId, upFile); @@ -2453,8 +2453,8 @@ public void importCollectionTest() throws ApiException { */ @Test public void importCouponsTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; + Long applicationId = null; + Long campaignId = null; Boolean skipDuplicates = null; String upFile = null; ModelImport response = api.importCoupons(applicationId, campaignId, skipDuplicates, upFile); @@ -2472,7 +2472,7 @@ public void importCouponsTest() throws ApiException { */ @Test public void importLoyaltyCardsTest() throws ApiException { - Integer loyaltyProgramId = null; + Long loyaltyProgramId = null; String upFile = null; ModelImport response = api.importLoyaltyCards(loyaltyProgramId, upFile); @@ -2489,7 +2489,7 @@ public void importLoyaltyCardsTest() throws ApiException { */ @Test public void importLoyaltyCustomersTiersTest() throws ApiException { - Integer loyaltyProgramId = null; + Long loyaltyProgramId = null; String upFile = null; ModelImport response = api.importLoyaltyCustomersTiers(loyaltyProgramId, upFile); @@ -2506,7 +2506,7 @@ public void importLoyaltyCustomersTiersTest() throws ApiException { */ @Test public void importLoyaltyPointsTest() throws ApiException { - Integer loyaltyProgramId = null; + Long loyaltyProgramId = null; String upFile = null; ModelImport response = api.importLoyaltyPoints(loyaltyProgramId, upFile); @@ -2523,7 +2523,7 @@ public void importLoyaltyPointsTest() throws ApiException { */ @Test public void importPoolGiveawaysTest() throws ApiException { - Integer poolId = null; + Long poolId = null; String upFile = null; ModelImport response = api.importPoolGiveaways(poolId, upFile); @@ -2540,8 +2540,8 @@ public void importPoolGiveawaysTest() throws ApiException { */ @Test public void importReferralsTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; + Long applicationId = null; + Long campaignId = null; String upFile = null; ModelImport response = api.importReferrals(applicationId, campaignId, upFile); @@ -2574,8 +2574,8 @@ public void inviteUserExternalTest() throws ApiException { */ @Test public void listAccountCollectionsTest() throws ApiException { - Integer pageSize = null; - Integer skip = null; + Long pageSize = null; + Long skip = null; String sort = null; Boolean withTotalResultSize = null; String name = null; @@ -2594,10 +2594,10 @@ public void listAccountCollectionsTest() throws ApiException { */ @Test public void listAchievementsTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; - Integer pageSize = null; - Integer skip = null; + Long applicationId = null; + Long campaignId = null; + Long pageSize = null; + Long skip = null; String title = null; InlineResponse20048 response = api.listAchievements(applicationId, campaignId, pageSize, skip, title); @@ -2629,9 +2629,9 @@ public void listAllRolesV2Test() throws ApiException { */ @Test public void listCatalogItemsTest() throws ApiException { - Integer catalogId = null; - Integer pageSize = null; - Integer skip = null; + Long catalogId = null; + Long pageSize = null; + Long skip = null; Boolean withTotalResultSize = null; List sku = null; List productNames = null; @@ -2650,10 +2650,10 @@ public void listCatalogItemsTest() throws ApiException { */ @Test public void listCollectionsTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; - Integer pageSize = null; - Integer skip = null; + Long applicationId = null; + Long campaignId = null; + Long pageSize = null; + Long skip = null; String sort = null; Boolean withTotalResultSize = null; String name = null; @@ -2672,9 +2672,9 @@ public void listCollectionsTest() throws ApiException { */ @Test public void listCollectionsInApplicationTest() throws ApiException { - Integer applicationId = null; - Integer pageSize = null; - Integer skip = null; + Long applicationId = null; + Long pageSize = null; + Long skip = null; String sort = null; Boolean withTotalResultSize = null; String name = null; @@ -2693,9 +2693,9 @@ public void listCollectionsInApplicationTest() throws ApiException { */ @Test public void listStoresTest() throws ApiException { - Integer applicationId = null; - Integer pageSize = null; - Integer skip = null; + Long applicationId = null; + Long pageSize = null; + Long skip = null; String sort = null; Boolean withTotalResultSize = null; BigDecimal campaignId = null; @@ -2782,7 +2782,7 @@ public void scimCreateUserTest() throws ApiException { */ @Test public void scimDeleteUserTest() throws ApiException { - Integer userId = null; + Long userId = null; api.scimDeleteUser(userId); // TODO: test validations @@ -2843,7 +2843,7 @@ public void scimGetServiceProviderConfigTest() throws ApiException { */ @Test public void scimGetUserTest() throws ApiException { - Integer userId = null; + Long userId = null; ScimUser response = api.scimGetUser(userId); // TODO: test validations @@ -2874,7 +2874,7 @@ public void scimGetUsersTest() throws ApiException { */ @Test public void scimPatchUserTest() throws ApiException { - Integer userId = null; + Long userId = null; ScimPatchRequest body = null; ScimUser response = api.scimPatchUser(userId, body); @@ -2891,7 +2891,7 @@ public void scimPatchUserTest() throws ApiException { */ @Test public void scimReplaceUserAttributesTest() throws ApiException { - Integer userId = null; + Long userId = null; ScimNewUser body = null; ScimUser response = api.scimReplaceUserAttributes(userId, body); @@ -2908,17 +2908,17 @@ public void scimReplaceUserAttributesTest() throws ApiException { */ @Test public void searchCouponsAdvancedApplicationWideWithoutTotalCountTest() throws ApiException { - Integer applicationId = null; + Long applicationId = null; Object body = null; - Integer pageSize = null; - Integer skip = null; + Long pageSize = null; + Long skip = null; String sort = null; String value = null; OffsetDateTime createdBefore = null; OffsetDateTime createdAfter = null; String valid = null; String usable = null; - Integer referralId = null; + Long referralId = null; String recipientIntegrationId = null; String batchId = null; Boolean exactMatch = null; @@ -2938,18 +2938,18 @@ public void searchCouponsAdvancedApplicationWideWithoutTotalCountTest() throws A */ @Test public void searchCouponsAdvancedWithoutTotalCountTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; + Long applicationId = null; + Long campaignId = null; Object body = null; - Integer pageSize = null; - Integer skip = null; + Long pageSize = null; + Long skip = null; String sort = null; String value = null; OffsetDateTime createdBefore = null; OffsetDateTime createdAfter = null; String valid = null; String usable = null; - Integer referralId = null; + Long referralId = null; String recipientIntegrationId = null; Boolean exactMatch = null; String batchId = null; @@ -2968,7 +2968,7 @@ public void searchCouponsAdvancedWithoutTotalCountTest() throws ApiException { */ @Test public void transferLoyaltyCardTest() throws ApiException { - Integer loyaltyProgramId = null; + Long loyaltyProgramId = null; String loyaltyCardId = null; TransferLoyaltyCard body = null; api.transferLoyaltyCard(loyaltyProgramId, loyaltyCardId, body); @@ -2986,7 +2986,7 @@ public void transferLoyaltyCardTest() throws ApiException { */ @Test public void updateAccountCollectionTest() throws ApiException { - Integer collectionId = null; + Long collectionId = null; UpdateCollection body = null; Collection response = api.updateAccountCollection(collectionId, body); @@ -3003,9 +3003,9 @@ public void updateAccountCollectionTest() throws ApiException { */ @Test public void updateAchievementTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; - Integer achievementId = null; + Long applicationId = null; + Long campaignId = null; + Long achievementId = null; UpdateAchievement body = null; Achievement response = api.updateAchievement(applicationId, campaignId, achievementId, body); @@ -3022,7 +3022,7 @@ public void updateAchievementTest() throws ApiException { */ @Test public void updateAdditionalCostTest() throws ApiException { - Integer additionalCostId = null; + Long additionalCostId = null; NewAdditionalCost body = null; AccountAdditionalCost response = api.updateAdditionalCost(additionalCostId, body); @@ -3039,7 +3039,7 @@ public void updateAdditionalCostTest() throws ApiException { */ @Test public void updateAttributeTest() throws ApiException { - Integer attributeId = null; + Long attributeId = null; NewAttribute body = null; Attribute response = api.updateAttribute(attributeId, body); @@ -3056,8 +3056,8 @@ public void updateAttributeTest() throws ApiException { */ @Test public void updateCampaignTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; + Long applicationId = null; + Long campaignId = null; UpdateCampaign body = null; Campaign response = api.updateCampaign(applicationId, campaignId, body); @@ -3074,9 +3074,9 @@ public void updateCampaignTest() throws ApiException { */ @Test public void updateCollectionTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; - Integer collectionId = null; + Long applicationId = null; + Long campaignId = null; + Long collectionId = null; UpdateCampaignCollection body = null; Collection response = api.updateCollection(applicationId, campaignId, collectionId, body); @@ -3093,8 +3093,8 @@ public void updateCollectionTest() throws ApiException { */ @Test public void updateCouponTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; + Long applicationId = null; + Long campaignId = null; String couponId = null; UpdateCoupon body = null; Coupon response = api.updateCoupon(applicationId, campaignId, couponId, body); @@ -3112,8 +3112,8 @@ public void updateCouponTest() throws ApiException { */ @Test public void updateCouponBatchTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; + Long applicationId = null; + Long campaignId = null; UpdateCouponBatch body = null; api.updateCouponBatch(applicationId, campaignId, body); @@ -3130,7 +3130,7 @@ public void updateCouponBatchTest() throws ApiException { */ @Test public void updateLoyaltyCardTest() throws ApiException { - Integer loyaltyProgramId = null; + Long loyaltyProgramId = null; String loyaltyCardId = null; UpdateLoyaltyCard body = null; LoyaltyCard response = api.updateLoyaltyCard(loyaltyProgramId, loyaltyCardId, body); @@ -3148,8 +3148,8 @@ public void updateLoyaltyCardTest() throws ApiException { */ @Test public void updateReferralTest() throws ApiException { - Integer applicationId = null; - Integer campaignId = null; + Long applicationId = null; + Long campaignId = null; String referralId = null; UpdateReferral body = null; Referral response = api.updateReferral(applicationId, campaignId, referralId, body); @@ -3167,7 +3167,7 @@ public void updateReferralTest() throws ApiException { */ @Test public void updateRoleV2Test() throws ApiException { - Integer roleId = null; + Long roleId = null; RoleV2Base body = null; RoleV2 response = api.updateRoleV2(roleId, body); @@ -3184,7 +3184,7 @@ public void updateRoleV2Test() throws ApiException { */ @Test public void updateStoreTest() throws ApiException { - Integer applicationId = null; + Long applicationId = null; String storeId = null; NewStore body = null; Store response = api.updateStore(applicationId, storeId, body); @@ -3202,7 +3202,7 @@ public void updateStoreTest() throws ApiException { */ @Test public void updateUserTest() throws ApiException { - Integer userId = null; + Long userId = null; UpdateUser body = null; User response = api.updateUser(userId, body);