diff --git a/README.md b/README.md
index fcad1c4e..a4ed2a52 100644
--- a/README.md
+++ b/README.md
@@ -8,7 +8,7 @@ If you use Maven, we also host [Maven Artifacts](https://github.com/talon-one/ma
Building the API client library requires:
-1. Java 21+
+1. Java 1.7+
2. Maven/Gradle
## Installation
@@ -35,7 +35,7 @@ Add this dependency to your project's POM:
one.talon
talon-one-client
- 12.0.0
+ 0.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:12.0.0"
+compile "one.talon:talon-one-client:0.0.0"
```
### Others
@@ -96,7 +96,7 @@ public class TalonApiTest {
CartItem cartItem = new CartItem();
cartItem.setName("Hawaiian Pizza");
cartItem.setSku("pizza-x");
- cartItem.setQuantity(1L);
+ cartItem.setQuantity(1);
cartItem.setPrice(new java.math.BigDecimal("5.5"));
// Creating a customer session of V2
@@ -176,7 +176,7 @@ public class TalonApiTest {
try {
// Calling `getApplication` function with the desired id (7)
- Application application = mApi.getApplication(7L);
+ Application application = mApi.getApplication(7);
System.out.println(application.toString());
} catch (Exception e) {
System.out.println(e);
@@ -232,6 +232,7 @@ Class | Method | HTTP request | Description
*ManagementApi* | [**createAttribute**](docs/ManagementApi.md#createAttribute) | **POST** /v1/attributes | Create custom attribute
*ManagementApi* | [**createBatchLoyaltyCards**](docs/ManagementApi.md#createBatchLoyaltyCards) | **POST** /v1/loyalty_programs/{loyaltyProgramId}/cards/batch | Create loyalty cards
*ManagementApi* | [**createCampaignFromTemplate**](docs/ManagementApi.md#createCampaignFromTemplate) | **POST** /v1/applications/{applicationId}/create_campaign_from_template | Create campaign from campaign template
+*ManagementApi* | [**createCampaignStoreBudget**](docs/ManagementApi.md#createCampaignStoreBudget) | **POST** /v1/applications/{applicationId}/campaigns/{campaignId}/stores/budgets | Create campaign store budget
*ManagementApi* | [**createCollection**](docs/ManagementApi.md#createCollection) | **POST** /v1/applications/{applicationId}/campaigns/{campaignId}/collections | Create campaign-level collection
*ManagementApi* | [**createCoupons**](docs/ManagementApi.md#createCoupons) | **POST** /v1/applications/{applicationId}/campaigns/{campaignId}/coupons | Create coupons
*ManagementApi* | [**createCouponsAsync**](docs/ManagementApi.md#createCouponsAsync) | **POST** /v1/applications/{applicationId}/campaigns/{campaignId}/coupons_async | Create coupons asynchronously
@@ -247,6 +248,7 @@ Class | Method | HTTP request | Description
*ManagementApi* | [**deleteAccountCollection**](docs/ManagementApi.md#deleteAccountCollection) | **DELETE** /v1/collections/{collectionId} | Delete account-level collection
*ManagementApi* | [**deleteAchievement**](docs/ManagementApi.md#deleteAchievement) | **DELETE** /v1/applications/{applicationId}/campaigns/{campaignId}/achievements/{achievementId} | Delete achievement
*ManagementApi* | [**deleteCampaign**](docs/ManagementApi.md#deleteCampaign) | **DELETE** /v1/applications/{applicationId}/campaigns/{campaignId} | Delete campaign
+*ManagementApi* | [**deleteCampaignStoreBudgets**](docs/ManagementApi.md#deleteCampaignStoreBudgets) | **DELETE** /v1/applications/{applicationId}/campaigns/{campaignId}/stores/budgets | Delete campaign store budgets
*ManagementApi* | [**deleteCollection**](docs/ManagementApi.md#deleteCollection) | **DELETE** /v1/applications/{applicationId}/campaigns/{campaignId}/collections/{collectionId} | Delete campaign-level collection
*ManagementApi* | [**deleteCoupon**](docs/ManagementApi.md#deleteCoupon) | **DELETE** /v1/applications/{applicationId}/campaigns/{campaignId}/coupons/{couponId} | Delete coupon
*ManagementApi* | [**deleteCoupons**](docs/ManagementApi.md#deleteCoupons) | **DELETE** /v1/applications/{applicationId}/campaigns/{campaignId}/coupons | Delete coupons
@@ -260,6 +262,7 @@ Class | Method | HTTP request | Description
*ManagementApi* | [**exportAccountCollectionItems**](docs/ManagementApi.md#exportAccountCollectionItems) | **GET** /v1/collections/{collectionId}/export | Export account-level collection's items
*ManagementApi* | [**exportAchievements**](docs/ManagementApi.md#exportAchievements) | **GET** /v1/applications/{applicationId}/campaigns/{campaignId}/achievements/{achievementId}/export | Export achievement customer data
*ManagementApi* | [**exportAudiencesMemberships**](docs/ManagementApi.md#exportAudiencesMemberships) | **GET** /v1/audiences/{audienceId}/memberships/export | Export audience members
+*ManagementApi* | [**exportCampaignStoreBudgets**](docs/ManagementApi.md#exportCampaignStoreBudgets) | **GET** /v1/applications/{applicationId}/campaigns/{campaignId}/stores/budgets/export | Export campaign store budgets
*ManagementApi* | [**exportCampaignStores**](docs/ManagementApi.md#exportCampaignStores) | **GET** /v1/applications/{applicationId}/campaigns/{campaignId}/stores/export | Export stores
*ManagementApi* | [**exportCollectionItems**](docs/ManagementApi.md#exportCollectionItems) | **GET** /v1/applications/{applicationId}/campaigns/{campaignId}/collections/{collectionId}/export | Export campaign-level collection's items
*ManagementApi* | [**exportCoupons**](docs/ManagementApi.md#exportCoupons) | **GET** /v1/applications/{applicationId}/export_coupons | Export coupons
@@ -341,6 +344,7 @@ Class | Method | HTTP request | Description
*ManagementApi* | [**importAccountCollection**](docs/ManagementApi.md#importAccountCollection) | **POST** /v1/collections/{collectionId}/import | Import data into existing account-level collection
*ManagementApi* | [**importAllowedList**](docs/ManagementApi.md#importAllowedList) | **POST** /v1/attributes/{attributeId}/allowed_list/import | Import allowed values for attribute
*ManagementApi* | [**importAudiencesMemberships**](docs/ManagementApi.md#importAudiencesMemberships) | **POST** /v1/audiences/{audienceId}/memberships/import | Import audience members
+*ManagementApi* | [**importCampaignStoreBudget**](docs/ManagementApi.md#importCampaignStoreBudget) | **POST** /v1/applications/{applicationId}/campaigns/{campaignId}/stores/budgets/import | Import campaign store budgets
*ManagementApi* | [**importCampaignStores**](docs/ManagementApi.md#importCampaignStores) | **POST** /v1/applications/{applicationId}/campaigns/{campaignId}/stores/import | Import stores
*ManagementApi* | [**importCollection**](docs/ManagementApi.md#importCollection) | **POST** /v1/applications/{applicationId}/campaigns/{campaignId}/collections/{collectionId}/import | Import data into existing campaign-level collection
*ManagementApi* | [**importCoupons**](docs/ManagementApi.md#importCoupons) | **POST** /v1/applications/{applicationId}/campaigns/{campaignId}/import_coupons | Import coupons
@@ -353,6 +357,7 @@ Class | Method | HTTP request | Description
*ManagementApi* | [**listAccountCollections**](docs/ManagementApi.md#listAccountCollections) | **GET** /v1/collections | List collections in account
*ManagementApi* | [**listAchievements**](docs/ManagementApi.md#listAchievements) | **GET** /v1/applications/{applicationId}/campaigns/{campaignId}/achievements | List achievements
*ManagementApi* | [**listAllRolesV2**](docs/ManagementApi.md#listAllRolesV2) | **GET** /v2/roles | List roles
+*ManagementApi* | [**listCampaignStoreBudgetLimits**](docs/ManagementApi.md#listCampaignStoreBudgetLimits) | **GET** /v1/applications/{applicationId}/campaigns/{campaignId}/stores/budgets | List campaign store budget limits
*ManagementApi* | [**listCatalogItems**](docs/ManagementApi.md#listCatalogItems) | **GET** /v1/catalogs/{catalogId}/items | List items in a catalog
*ManagementApi* | [**listCollections**](docs/ManagementApi.md#listCollections) | **GET** /v1/applications/{applicationId}/campaigns/{campaignId}/collections | List collections in campaign
*ManagementApi* | [**listCollectionsInApplication**](docs/ManagementApi.md#listCollectionsInApplication) | **GET** /v1/applications/{applicationId}/collections | List collections in Application
@@ -360,17 +365,24 @@ Class | Method | HTTP request | Description
*ManagementApi* | [**oktaEventHandlerChallenge**](docs/ManagementApi.md#oktaEventHandlerChallenge) | **GET** /v1/provisioning/okta | Validate Okta API ownership
*ManagementApi* | [**removeLoyaltyPoints**](docs/ManagementApi.md#removeLoyaltyPoints) | **PUT** /v1/loyalty_programs/{loyaltyProgramId}/profile/{integrationId}/deduct_points | Deduct points from customer profile
*ManagementApi* | [**resetPassword**](docs/ManagementApi.md#resetPassword) | **POST** /v1/reset_password | Reset password
+*ManagementApi* | [**scimCreateGroup**](docs/ManagementApi.md#scimCreateGroup) | **POST** /v1/provisioning/scim/Groups | Create SCIM group
*ManagementApi* | [**scimCreateUser**](docs/ManagementApi.md#scimCreateUser) | **POST** /v1/provisioning/scim/Users | Create SCIM user
+*ManagementApi* | [**scimDeleteGroup**](docs/ManagementApi.md#scimDeleteGroup) | **DELETE** /v1/provisioning/scim/Groups/{groupId} | Delete SCIM group
*ManagementApi* | [**scimDeleteUser**](docs/ManagementApi.md#scimDeleteUser) | **DELETE** /v1/provisioning/scim/Users/{userId} | Delete SCIM user
+*ManagementApi* | [**scimGetGroup**](docs/ManagementApi.md#scimGetGroup) | **GET** /v1/provisioning/scim/Groups/{groupId} | Get SCIM group
+*ManagementApi* | [**scimGetGroups**](docs/ManagementApi.md#scimGetGroups) | **GET** /v1/provisioning/scim/Groups | List SCIM groups
*ManagementApi* | [**scimGetResourceTypes**](docs/ManagementApi.md#scimGetResourceTypes) | **GET** /v1/provisioning/scim/ResourceTypes | List supported SCIM resource types
*ManagementApi* | [**scimGetSchemas**](docs/ManagementApi.md#scimGetSchemas) | **GET** /v1/provisioning/scim/Schemas | List supported SCIM schemas
*ManagementApi* | [**scimGetServiceProviderConfig**](docs/ManagementApi.md#scimGetServiceProviderConfig) | **GET** /v1/provisioning/scim/ServiceProviderConfig | Get SCIM service provider configuration
*ManagementApi* | [**scimGetUser**](docs/ManagementApi.md#scimGetUser) | **GET** /v1/provisioning/scim/Users/{userId} | Get SCIM user
*ManagementApi* | [**scimGetUsers**](docs/ManagementApi.md#scimGetUsers) | **GET** /v1/provisioning/scim/Users | List SCIM users
+*ManagementApi* | [**scimPatchGroup**](docs/ManagementApi.md#scimPatchGroup) | **PATCH** /v1/provisioning/scim/Groups/{groupId} | Update SCIM group attributes
*ManagementApi* | [**scimPatchUser**](docs/ManagementApi.md#scimPatchUser) | **PATCH** /v1/provisioning/scim/Users/{userId} | Update SCIM user attributes
+*ManagementApi* | [**scimReplaceGroupAttributes**](docs/ManagementApi.md#scimReplaceGroupAttributes) | **PUT** /v1/provisioning/scim/Groups/{groupId} | Update SCIM group
*ManagementApi* | [**scimReplaceUserAttributes**](docs/ManagementApi.md#scimReplaceUserAttributes) | **PUT** /v1/provisioning/scim/Users/{userId} | Update SCIM user
*ManagementApi* | [**searchCouponsAdvancedApplicationWideWithoutTotalCount**](docs/ManagementApi.md#searchCouponsAdvancedApplicationWideWithoutTotalCount) | **POST** /v1/applications/{applicationId}/coupons_search_advanced/no_total | List coupons that match the given attributes (without total count)
*ManagementApi* | [**searchCouponsAdvancedWithoutTotalCount**](docs/ManagementApi.md#searchCouponsAdvancedWithoutTotalCount) | **POST** /v1/applications/{applicationId}/campaigns/{campaignId}/coupons_search_advanced/no_total | List coupons that match the given attributes in campaign (without total count)
+*ManagementApi* | [**summarizeCampaignStoreBudget**](docs/ManagementApi.md#summarizeCampaignStoreBudget) | **GET** /v1/applications/{applicationId}/campaigns/{campaignId}/stores/budgets/summary | Get summary of campaign store budgets
*ManagementApi* | [**transferLoyaltyCard**](docs/ManagementApi.md#transferLoyaltyCard) | **PUT** /v1/loyalty_programs/{loyaltyProgramId}/cards/{loyaltyCardId}/transfer | Transfer card data
*ManagementApi* | [**updateAccountCollection**](docs/ManagementApi.md#updateAccountCollection) | **PUT** /v1/collections/{collectionId} | Update account-level collection
*ManagementApi* | [**updateAchievement**](docs/ManagementApi.md#updateAchievement) | **PUT** /v1/applications/{applicationId}/campaigns/{campaignId}/achievements/{achievementId} | Update achievement
@@ -413,7 +425,9 @@ Class | Method | HTTP request | Description
- [AddItemCatalogAction](docs/AddItemCatalogAction.md)
- [AddLoyaltyPoints](docs/AddLoyaltyPoints.md)
- [AddLoyaltyPointsEffectProps](docs/AddLoyaltyPointsEffectProps.md)
+- [AddPriceAdjustmentCatalogAction](docs/AddPriceAdjustmentCatalogAction.md)
- [AddToAudienceEffectProps](docs/AddToAudienceEffectProps.md)
+- [AddedDeductedPointsBalancesNotificationPolicy](docs/AddedDeductedPointsBalancesNotificationPolicy.md)
- [AddedDeductedPointsNotificationPolicy](docs/AddedDeductedPointsNotificationPolicy.md)
- [AdditionalCampaignProperties](docs/AdditionalCampaignProperties.md)
- [AdditionalCost](docs/AdditionalCost.md)
@@ -472,6 +486,7 @@ Class | Method | HTTP request | Description
- [CampaignCollectionWithoutPayload](docs/CampaignCollectionWithoutPayload.md)
- [CampaignCopy](docs/CampaignCopy.md)
- [CampaignCreatedNotification](docs/CampaignCreatedNotification.md)
+- [CampaignDeactivationRequest](docs/CampaignDeactivationRequest.md)
- [CampaignDeletedNotification](docs/CampaignDeletedNotification.md)
- [CampaignDetail](docs/CampaignDetail.md)
- [CampaignEditedNotification](docs/CampaignEditedNotification.md)
@@ -497,6 +512,7 @@ Class | Method | HTTP request | Description
- [CampaignTemplateCouponReservationSettings](docs/CampaignTemplateCouponReservationSettings.md)
- [CampaignTemplateParams](docs/CampaignTemplateParams.md)
- [CampaignVersions](docs/CampaignVersions.md)
+- [CardAddedDeductedPointsBalancesNotificationPolicy](docs/CardAddedDeductedPointsBalancesNotificationPolicy.md)
- [CardAddedDeductedPointsNotificationPolicy](docs/CardAddedDeductedPointsNotificationPolicy.md)
- [CardExpiringPointsNotificationPolicy](docs/CardExpiringPointsNotificationPolicy.md)
- [CardExpiringPointsNotificationTrigger](docs/CardExpiringPointsNotificationTrigger.md)
@@ -523,6 +539,7 @@ Class | Method | HTTP request | Description
- [CouponCreationJob](docs/CouponCreationJob.md)
- [CouponDeletionFilters](docs/CouponDeletionFilters.md)
- [CouponDeletionJob](docs/CouponDeletionJob.md)
+- [CouponEntity](docs/CouponEntity.md)
- [CouponLimitConfigs](docs/CouponLimitConfigs.md)
- [CouponRejectionReason](docs/CouponRejectionReason.md)
- [CouponReservations](docs/CouponReservations.md)
@@ -542,6 +559,7 @@ Class | Method | HTTP request | Description
- [CustomerProfile](docs/CustomerProfile.md)
- [CustomerProfileAudienceRequest](docs/CustomerProfileAudienceRequest.md)
- [CustomerProfileAudienceRequestItem](docs/CustomerProfileAudienceRequestItem.md)
+- [CustomerProfileEntity](docs/CustomerProfileEntity.md)
- [CustomerProfileIntegrationRequestV2](docs/CustomerProfileIntegrationRequestV2.md)
- [CustomerProfileIntegrationResponseV2](docs/CustomerProfileIntegrationResponseV2.md)
- [CustomerProfileSearchQuery](docs/CustomerProfileSearchQuery.md)
@@ -571,6 +589,7 @@ Class | Method | HTTP request | Description
- [ExpiringPointsNotificationPolicy](docs/ExpiringPointsNotificationPolicy.md)
- [ExpiringPointsNotificationTrigger](docs/ExpiringPointsNotificationTrigger.md)
- [Export](docs/Export.md)
+- [ExtendLoyaltyPointsExpiryDateEffectProps](docs/ExtendLoyaltyPointsExpiryDateEffectProps.md)
- [FeatureFlag](docs/FeatureFlag.md)
- [FeaturesFeed](docs/FeaturesFeed.md)
- [FuncArgDef](docs/FuncArgDef.md)
@@ -634,12 +653,16 @@ Class | Method | HTTP request | Description
- [InlineResponse20048](docs/InlineResponse20048.md)
- [InlineResponse20049](docs/InlineResponse20049.md)
- [InlineResponse2005](docs/InlineResponse2005.md)
+- [InlineResponse20050](docs/InlineResponse20050.md)
+- [InlineResponse20051](docs/InlineResponse20051.md)
- [InlineResponse2006](docs/InlineResponse2006.md)
- [InlineResponse2007](docs/InlineResponse2007.md)
- [InlineResponse2008](docs/InlineResponse2008.md)
- [InlineResponse2009](docs/InlineResponse2009.md)
- [InlineResponse201](docs/InlineResponse201.md)
- [IntegrationCoupon](docs/IntegrationCoupon.md)
+- [IntegrationCustomerProfileAudienceRequest](docs/IntegrationCustomerProfileAudienceRequest.md)
+- [IntegrationCustomerProfileAudienceRequestItem](docs/IntegrationCustomerProfileAudienceRequestItem.md)
- [IntegrationCustomerSessionResponse](docs/IntegrationCustomerSessionResponse.md)
- [IntegrationEntity](docs/IntegrationEntity.md)
- [IntegrationEvent](docs/IntegrationEvent.md)
@@ -753,6 +776,8 @@ Class | Method | HTTP request | Description
- [NewPassword](docs/NewPassword.md)
- [NewPasswordEmail](docs/NewPasswordEmail.md)
- [NewPicklist](docs/NewPicklist.md)
+- [NewPriceAdjustment](docs/NewPriceAdjustment.md)
+- [NewPriceType](docs/NewPriceType.md)
- [NewReferral](docs/NewReferral.md)
- [NewReferralsForMultipleAdvocates](docs/NewReferralsForMultipleAdvocates.md)
- [NewReturn](docs/NewReturn.md)
@@ -787,6 +812,8 @@ Class | Method | HTTP request | Description
- [PatchManyItemsCatalogAction](docs/PatchManyItemsCatalogAction.md)
- [PendingPointsNotificationPolicy](docs/PendingPointsNotificationPolicy.md)
- [Picklist](docs/Picklist.md)
+- [PriceDetail](docs/PriceDetail.md)
+- [PriceType](docs/PriceType.md)
- [Product](docs/Product.md)
- [ProductSearchMatch](docs/ProductSearchMatch.md)
- [ProductUnitAnalytics](docs/ProductUnitAnalytics.md)
@@ -835,8 +862,12 @@ Class | Method | HTTP request | Description
- [SamlConnectionInternal](docs/SamlConnectionInternal.md)
- [SamlConnectionMetadata](docs/SamlConnectionMetadata.md)
- [SamlLoginEndpoint](docs/SamlLoginEndpoint.md)
+- [ScimBaseGroup](docs/ScimBaseGroup.md)
- [ScimBaseUser](docs/ScimBaseUser.md)
- [ScimBaseUserName](docs/ScimBaseUserName.md)
+- [ScimGroup](docs/ScimGroup.md)
+- [ScimGroupMember](docs/ScimGroupMember.md)
+- [ScimGroupsListResponse](docs/ScimGroupsListResponse.md)
- [ScimNewUser](docs/ScimNewUser.md)
- [ScimPatchOperation](docs/ScimPatchOperation.md)
- [ScimPatchRequest](docs/ScimPatchRequest.md)
@@ -916,6 +947,11 @@ Class | Method | HTTP request | Description
- [ValueMap](docs/ValueMap.md)
- [Webhook](docs/Webhook.md)
- [WebhookActivationLogEntry](docs/WebhookActivationLogEntry.md)
+- [WebhookAuthentication](docs/WebhookAuthentication.md)
+- [WebhookAuthenticationBase](docs/WebhookAuthenticationBase.md)
+- [WebhookAuthenticationDataBasic](docs/WebhookAuthenticationDataBasic.md)
+- [WebhookAuthenticationDataCustom](docs/WebhookAuthenticationDataCustom.md)
+- [WebhookAuthenticationWebhookRef](docs/WebhookAuthenticationWebhookRef.md)
- [WebhookLogEntry](docs/WebhookLogEntry.md)
- [WebhookWithOutgoingIntegrationDetails](docs/WebhookWithOutgoingIntegrationDetails.md)
- [WillAwardGiveawayEffectProps](docs/WillAwardGiveawayEffectProps.md)
diff --git a/api/openapi.yaml b/api/openapi.yaml
index 2129491e..a1734aeb 100644
--- a/api/openapi.yaml
+++ b/api/openapi.yaml
@@ -153,6 +153,9 @@ tags:
Represents a session used for authentication purposes.
Create one with the [Create session](#operation/createSession) endpoint.
name: Sessions
+- description: Represents store budgets. You can set a store budget to limit the total
+ amount an individual store can spend in a campaign.
+ name: Store budgets
- description: |
Represents physical or digital stores, branches, and franchises.
name: Stores
@@ -209,41 +212,33 @@ paths:
- integration
x-accepts: application/json
put:
- description: |
- Update or create a [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions).
- The endpoint responds with the potential promotion rule [effects](https://docs.talon.one/docs/dev/integration-api/api-effects) that match the current cart.
- For example, use this endpoint to share the contents of a customer's cart with Talon.One.
-
- **Note:** The currency for the session and the cart items in the session is the currency set for the
- Application that owns this session.
-
- ### Session management
-
- To use this endpoint, start by learning about [customer sessions](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions)
- and their states and refer to the `state` parameter documentation the request body schema docs below.
-
- ### Sessions and customer profiles
-
- - To link a session to a customer profile, set the `profileId` parameter in the request body to a customer profile's `integrationId`.
- - While you can create an anonymous session with `profileId=""`, we recommend you use a guest ID instead.
- - A profile can be linked to simultaneous sessions in different Applications. Either:
- - Use unique session integration IDs or,
- - Use the same session integration ID across all of the Applications.
-
- **Note:** If the specified profile does not exist, an empty profile is **created automatically**.
- You can update it with [Update customer profile](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/updateCustomerProfileV2).
-
-
-
Performance tips
-
- - Updating a customer session returns a response with the new integration state. Use the `responseContent` property to save yourself extra API calls.
- For example, you can get the customer profile details directly without extra requests.
- - We recommend sending requests sequentially. See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests).
-
-
- For more information, see:
- - The introductory video in [Getting started](https://docs.talon.one/docs/dev/getting-started/overview).
- - The [integration tutorial](https://docs.talon.one/docs/dev/tutorials/integrating-talon-one).
+ description: "Update or create a [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions).\n\
+ The endpoint responds with the potential promotion rule [effects](https://docs.talon.one/docs/dev/integration-api/api-effects)\
+ \ that match the current cart.\nFor example, use this endpoint to share the\
+ \ contents of a customer's cart with Talon.One.\n\n**Note:** \n- The currency\
+ \ for the session and the cart items in it is the currency set for the Application\
+ \ linked to this session. - [Archived campaigns](https://docs.talon.one/docs/product/campaigns/managing-campaigns#archiving-a-campaign)\
+ \ are not considered for rule evaluation.\n\n### Session management\n\nTo\
+ \ use this endpoint, start by learning about [customer sessions](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions)\n\
+ and their states and refer to the `state` parameter documentation the request\
+ \ body schema docs below.\n\n### Sessions and customer profiles\n\n- To link\
+ \ a session to a customer profile, set the `profileId` parameter in the request\
+ \ body to a customer profile's `integrationId`.\n- While you can create an\
+ \ anonymous session with `profileId=\"\"`, we recommend you use a guest ID\
+ \ instead.\n- A profile can be linked to simultaneous sessions in different\
+ \ Applications. Either:\n - Use unique session integration IDs or,\n - Use\
+ \ the same session integration ID across all of the Applications.\n\n**Note:**\
+ \ If the specified profile does not exist, an empty profile is **created automatically**.\n\
+ \ You can update it with [Update customer profile](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/updateCustomerProfileV2).\n\
+ \n\n
Performance tips
\n\
+ \n - Updating a customer session returns a response with the new integration\
+ \ state. Use the `responseContent` property to save yourself extra API calls.\n\
+ \ For example, you can get the customer profile details directly without\
+ \ extra requests.\n - We recommend sending requests sequentially. See [Managing\
+ \ parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests).\n\
+
\n\nFor more information, see:\n- The introductory video in [Getting\
+ \ started](https://docs.talon.one/docs/dev/getting-started/overview).\n- The\
+ \ [integration tutorial](https://docs.talon.one/docs/dev/tutorials/integrating-talon-one).\n"
operationId: updateCustomerSessionV2
parameters:
- description: |
@@ -465,7 +460,7 @@ paths:
You can use this endpoint to:
- Set attributes on the given customer profile. Ensure you create the attributes in the Campaign Manager, first.
- Modify the audience the customer profile is a member of.
-
+ **Note:** [Archived campaigns](https://docs.talon.one/docs/product/campaigns/managing-campaigns#archiving-a-campaign) are not considered in rule evaluation when `runRuleEngine` is `true`.
Performance tips
@@ -687,7 +682,6 @@ paths:
name: audienceId
required: true
schema:
- format: int64
type: integer
responses:
"204":
@@ -729,7 +723,6 @@ paths:
name: audienceId
required: true
schema:
- format: int64
type: integer
requestBody:
content:
@@ -776,7 +769,6 @@ paths:
name: audienceId
required: true
schema:
- format: int64
type: integer
responses:
"204":
@@ -857,7 +849,6 @@ paths:
name: audienceId
required: true
schema:
- format: int64
type: integer
requestBody:
content:
@@ -910,7 +901,6 @@ paths:
name: loyaltyProgramId
required: true
schema:
- format: int64
type: integer
- description: |
Identifier of the loyalty card. You can get the identifier with
@@ -981,9 +971,10 @@ paths:
Important
- 1. `profileId` is required even though the schema does not say it.
+ 1. `profileId` is required even though the schema does not specify it.
1. If the customer profile ID is new, a new profile is automatically created but the `customer_profile_created` [built-in event ](https://docs.talon.one/docs/dev/concepts/entities/events) is **not** triggered.
1. We recommend sending requests sequentially. See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests).
+ 1. [Archived campaigns](https://docs.talon.one/docs/product/campaigns/managing-campaigns#archiving-a-campaign) are not considered in rule evaluation.
operationId: trackEventV2
@@ -1501,7 +1492,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -1510,7 +1500,6 @@ paths:
in: query
name: skip
schema:
- format: int64
type: integer
responses:
"200":
@@ -1566,7 +1555,6 @@ paths:
name: achievementId
required: true
schema:
- format: int64
type: integer
- description: |
Filter by customer progress status in the achievement.
@@ -1601,7 +1589,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -1610,7 +1597,6 @@ paths:
in: query
name: skip
schema:
- format: int64
type: integer
responses:
"200":
@@ -1657,7 +1643,6 @@ paths:
name: loyaltyProgramId
required: true
schema:
- format: int64
type: integer
- description: |
Identifier of the loyalty card. You can get the identifier with
@@ -1742,7 +1727,6 @@ paths:
name: loyaltyProgramId
required: true
schema:
- format: int64
type: integer
- description: |
The integration identifier for this customer profile. Must be:
@@ -1837,7 +1821,6 @@ paths:
name: loyaltyProgramId
required: true
schema:
- format: int64
type: integer
- description: |
Identifier of the loyalty card. You can get the identifier with
@@ -1899,7 +1882,6 @@ paths:
name: pageSize
schema:
default: 50
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -1908,7 +1890,6 @@ paths:
in: query
name: skip
schema:
- format: int64
type: integer
responses:
"200":
@@ -1959,7 +1940,6 @@ paths:
name: loyaltyProgramId
required: true
schema:
- format: int64
type: integer
- description: |
The integration identifier for this customer profile. Must be:
@@ -2019,7 +1999,6 @@ paths:
name: pageSize
schema:
default: 50
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -2028,7 +2007,6 @@ paths:
in: query
name: skip
schema:
- format: int64
type: integer
responses:
"200":
@@ -2079,7 +2057,6 @@ paths:
name: loyaltyProgramId
required: true
schema:
- format: int64
type: integer
- description: |
Identifier of the loyalty card. You can get the identifier with
@@ -2114,7 +2091,6 @@ paths:
name: pageSize
schema:
default: 50
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -2123,7 +2099,6 @@ paths:
in: query
name: skip
schema:
- format: int64
type: integer
responses:
"200":
@@ -2174,7 +2149,6 @@ paths:
name: loyaltyProgramId
required: true
schema:
- format: int64
type: integer
- description: |
The integration identifier for this customer profile. Must be:
@@ -2207,7 +2181,6 @@ paths:
name: pageSize
schema:
default: 50
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -2216,7 +2189,6 @@ paths:
in: query
name: skip
schema:
- format: int64
type: integer
responses:
"200":
@@ -2259,7 +2231,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -2268,7 +2239,6 @@ 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 `-`.
@@ -2300,7 +2270,6 @@ paths:
name: applicationId
required: true
schema:
- format: int64
type: integer
responses:
"200":
@@ -2324,7 +2293,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -2333,7 +2301,6 @@ 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 `-`.
@@ -2349,7 +2316,6 @@ paths:
name: applicationId
required: true
schema:
- format: int64
type: integer
- description: |
Filter results by the state of the campaign.
@@ -2404,19 +2370,16 @@ 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":
@@ -2446,7 +2409,6 @@ 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.
@@ -2454,7 +2416,6 @@ paths:
name: campaignId
required: true
schema:
- format: int64
type: integer
responses:
"204":
@@ -2474,7 +2435,6 @@ 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.
@@ -2482,7 +2442,6 @@ paths:
name: campaignId
required: true
schema:
- format: int64
type: integer
responses:
"200":
@@ -2508,7 +2467,6 @@ 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.
@@ -2516,7 +2474,6 @@ paths:
name: campaignId
required: true
schema:
- format: int64
type: integer
requestBody:
content:
@@ -2549,7 +2506,6 @@ 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.
@@ -2557,7 +2513,6 @@ paths:
name: campaignId
required: true
schema:
- format: int64
type: integer
requestBody:
content:
@@ -2590,7 +2545,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -2599,7 +2553,6 @@ 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 `-`.
@@ -2615,7 +2568,6 @@ paths:
name: applicationId
required: true
schema:
- format: int64
type: integer
- description: |
Filter results by the state of the campaign.
@@ -2670,7 +2622,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -2679,7 +2630,6 @@ 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 `-`.
@@ -2695,7 +2645,6 @@ 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.
@@ -2703,7 +2652,6 @@ paths:
name: campaignId
required: true
schema:
- format: int64
type: integer
responses:
"200":
@@ -2727,7 +2675,6 @@ 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.
@@ -2735,14 +2682,12 @@ 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":
@@ -2766,7 +2711,6 @@ 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.
@@ -2774,7 +2718,6 @@ 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
@@ -2863,7 +2806,6 @@ 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.
@@ -2907,7 +2849,6 @@ 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.
@@ -2915,7 +2856,6 @@ paths:
name: campaignId
required: true
schema:
- format: int64
type: integer
requestBody:
content:
@@ -2966,7 +2906,6 @@ 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.
@@ -2974,7 +2913,6 @@ paths:
name: campaignId
required: true
schema:
- format: int64
type: integer
requestBody:
content:
@@ -3013,7 +2951,6 @@ 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.
@@ -3021,7 +2958,6 @@ paths:
name: campaignId
required: true
schema:
- format: int64
type: integer
requestBody:
content:
@@ -3060,7 +2996,6 @@ 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.
@@ -3068,7 +3003,6 @@ paths:
name: campaignId
required: true
schema:
- format: int64
type: integer
requestBody:
content:
@@ -3102,7 +3036,6 @@ 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,7 +3043,6 @@ paths:
name: campaignId
required: true
schema:
- format: int64
type: integer
requestBody:
content:
@@ -3144,7 +3076,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -3153,7 +3084,6 @@ 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 `-`.
@@ -3169,7 +3099,6 @@ 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.
@@ -3177,7 +3106,6 @@ 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
@@ -3237,7 +3165,6 @@ 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.
@@ -3318,7 +3245,6 @@ 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.
@@ -3326,7 +3252,6 @@ 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
@@ -3362,7 +3287,6 @@ 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.
@@ -3370,7 +3294,6 @@ 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
@@ -3417,7 +3340,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -3426,7 +3348,6 @@ 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 `-`.
@@ -3442,7 +3363,6 @@ 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.
@@ -3450,7 +3370,6 @@ 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
@@ -3499,7 +3418,6 @@ 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.
@@ -3556,7 +3474,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -3565,7 +3482,6 @@ 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 `-`.
@@ -3581,7 +3497,6 @@ 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
@@ -3630,7 +3545,6 @@ 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.
@@ -3701,7 +3615,6 @@ 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.
@@ -3709,7 +3622,6 @@ paths:
name: campaignId
required: true
schema:
- format: int64
type: integer
- description: The ID of the referral code.
in: path
@@ -3735,7 +3647,6 @@ 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.
@@ -3743,7 +3654,6 @@ paths:
name: campaignId
required: true
schema:
- format: int64
type: integer
- description: The ID of the referral code.
in: path
@@ -3781,7 +3691,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -3790,7 +3699,6 @@ 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 `-`.
@@ -3806,7 +3714,6 @@ 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.
@@ -3814,7 +3721,6 @@ 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
@@ -3885,7 +3791,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -3894,7 +3799,6 @@ 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 `-`.
@@ -3925,7 +3829,6 @@ paths:
name: campaignGroupId
required: true
schema:
- format: int64
type: integer
responses:
"200":
@@ -3948,7 +3851,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -3957,7 +3859,6 @@ 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 `-`.
@@ -3992,7 +3893,6 @@ paths:
in: query
name: userId
schema:
- format: int64
type: integer
responses:
"200":
@@ -4021,7 +3921,6 @@ paths:
name: applicationId
required: true
schema:
- format: int64
type: integer
requestBody:
content:
@@ -4075,7 +3974,6 @@ paths:
name: loyaltyProgramId
required: true
schema:
- format: int64
type: integer
responses:
"200":
@@ -4105,7 +4003,6 @@ paths:
name: loyaltyProgramId
required: true
schema:
- format: int64
type: integer
- description: The ID of the subledger by which we filter the data.
in: query
@@ -4202,8 +4099,15 @@ paths:
name: loyaltyProgramId
required: true
schema:
- format: int64
type: integer
+ - description: |
+ Indicates whether the points import triggers notifications about its effects. For example, a notification is sent if the import upgrades a customer's tier or offsets their negative points balance.
+
+ This parameter is optional and defaults to `true`.
+ in: query
+ name: notificationsEnabled
+ schema:
+ type: boolean
requestBody:
content:
multipart/form-data:
@@ -4266,7 +4170,6 @@ paths:
name: loyaltyProgramId
required: true
schema:
- format: int64
type: integer
requestBody:
content:
@@ -4637,7 +4540,6 @@ paths:
name: loyaltyProgramId
required: true
schema:
- format: int64
type: integer
responses:
"200":
@@ -4782,7 +4684,6 @@ paths:
name: loyaltyProgramId
required: true
schema:
- format: int64
type: integer
- description: |
Filter results by loyalty transaction type:
@@ -4831,7 +4732,6 @@ paths:
name: pageSize
schema:
default: 50
- format: int64
maximum: 50
minimum: 1
type: integer
@@ -4840,7 +4740,6 @@ paths:
in: query
name: skip
schema:
- format: int64
type: integer
responses:
"200":
@@ -4900,7 +4799,6 @@ paths:
name: loyaltyProgramId
required: true
schema:
- format: int64
type: integer
requestBody:
content:
@@ -4955,7 +4853,6 @@ paths:
name: loyaltyProgramId
required: true
schema:
- format: int64
type: integer
requestBody:
content:
@@ -5020,7 +4917,6 @@ 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.
@@ -5069,7 +4965,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -5078,7 +4973,6 @@ 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 `-`.
@@ -5095,7 +4989,6 @@ 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
@@ -5107,7 +5000,6 @@ paths:
in: query
name: profileId
schema:
- format: int64
minimum: 1
type: integer
- description: Filter results by loyalty card batch ID.
@@ -5156,7 +5048,6 @@ paths:
name: loyaltyProgramId
required: true
schema:
- format: int64
type: integer
requestBody:
content:
@@ -5217,7 +5108,6 @@ paths:
name: loyaltyProgramId
required: true
schema:
- format: int64
type: integer
- description: Filter results by loyalty card batch ID.
in: query
@@ -5268,7 +5158,6 @@ paths:
name: loyaltyProgramId
required: true
schema:
- format: int64
type: integer
- description: |
Identifier of the loyalty card. You can get the identifier with
@@ -5310,7 +5199,6 @@ paths:
name: loyaltyProgramId
required: true
schema:
- format: int64
type: integer
- description: |
Identifier of the loyalty card. You can get the identifier with
@@ -5362,7 +5250,6 @@ paths:
name: loyaltyProgramId
required: true
schema:
- format: int64
type: integer
- description: |
Identifier of the loyalty card. You can get the identifier with
@@ -5424,7 +5311,6 @@ paths:
name: loyaltyProgramId
required: true
schema:
- format: int64
type: integer
- description: |
Identifier of the loyalty card. You can get the identifier with
@@ -5483,7 +5369,6 @@ paths:
name: loyaltyProgramId
required: true
schema:
- format: int64
type: integer
- description: |
Identifier of the loyalty card. You can get the identifier with
@@ -5544,7 +5429,6 @@ paths:
name: loyaltyProgramId
required: true
schema:
- format: int64
type: integer
- description: |
Identifier of the loyalty card. You can get the identifier with
@@ -5626,7 +5510,6 @@ paths:
name: loyaltyProgramId
required: true
schema:
- format: int64
type: integer
- description: |
Identifier of the loyalty card. You can get the identifier with
@@ -5666,7 +5549,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -5675,7 +5557,6 @@ paths:
in: query
name: skip
schema:
- format: int64
type: integer
- description: The ID of the subledger by which we filter the data.
in: query
@@ -5723,7 +5604,6 @@ paths:
name: loyaltyProgramId
required: true
schema:
- format: int64
type: integer
- description: |
Identifier of the loyalty card. You can get the identifier with
@@ -5807,7 +5687,6 @@ paths:
name: poolId
required: true
schema:
- format: int64
type: integer
requestBody:
content:
@@ -5858,7 +5737,6 @@ 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.
@@ -5902,7 +5780,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -5911,7 +5788,6 @@ 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 `-`.
@@ -6016,7 +5892,6 @@ paths:
name: collectionId
required: true
schema:
- format: int64
type: integer
responses:
"204":
@@ -6042,7 +5917,6 @@ paths:
name: collectionId
required: true
schema:
- format: int64
type: integer
responses:
"200":
@@ -6072,7 +5946,6 @@ paths:
name: collectionId
required: true
schema:
- format: int64
type: integer
requestBody:
content:
@@ -6125,7 +5998,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -6134,7 +6006,6 @@ 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.
@@ -6142,7 +6013,6 @@ paths:
name: collectionId
required: true
schema:
- format: int64
type: integer
responses:
"200":
@@ -6172,14 +6042,12 @@ 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
@@ -6188,7 +6056,6 @@ 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 `-`.
@@ -6240,7 +6107,6 @@ 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.
@@ -6248,14 +6114,12 @@ 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
@@ -6264,7 +6128,6 @@ 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 `-`.
@@ -6315,7 +6178,6 @@ 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.
@@ -6323,7 +6185,6 @@ paths:
name: campaignId
required: true
schema:
- format: int64
type: integer
requestBody:
content:
@@ -6356,7 +6217,6 @@ 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.
@@ -6364,7 +6224,6 @@ 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.
@@ -6372,7 +6231,6 @@ paths:
name: collectionId
required: true
schema:
- format: int64
type: integer
responses:
"204":
@@ -6398,7 +6256,6 @@ 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.
@@ -6406,7 +6263,6 @@ 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.
@@ -6414,7 +6270,6 @@ paths:
name: collectionId
required: true
schema:
- format: int64
type: integer
responses:
"200":
@@ -6443,7 +6298,6 @@ 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.
@@ -6451,7 +6305,6 @@ 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.
@@ -6459,7 +6312,6 @@ paths:
name: collectionId
required: true
schema:
- format: int64
type: integer
requestBody:
content:
@@ -6519,7 +6371,6 @@ paths:
name: collectionId
required: true
schema:
- format: int64
type: integer
requestBody:
content:
@@ -6586,7 +6437,6 @@ 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.
@@ -6594,7 +6444,6 @@ 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.
@@ -6602,7 +6451,6 @@ paths:
name: collectionId
required: true
schema:
- format: int64
type: integer
requestBody:
content:
@@ -6645,7 +6493,6 @@ paths:
name: collectionId
required: true
schema:
- format: int64
type: integer
responses:
"200":
@@ -6685,7 +6532,6 @@ 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.
@@ -6693,7 +6539,6 @@ 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.
@@ -6701,7 +6546,6 @@ paths:
name: collectionId
required: true
schema:
- format: int64
type: integer
responses:
"200":
@@ -6743,7 +6587,6 @@ paths:
name: applicationId
required: true
schema:
- format: int64
type: integer
responses:
"200":
@@ -6768,7 +6611,6 @@ paths:
name: applicationId
required: true
schema:
- format: int64
type: integer
- description: Only return results where the request path matches the given
regular expression.
@@ -6825,7 +6667,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -6834,7 +6675,6 @@ 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 `-`.
@@ -6866,7 +6706,6 @@ 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.
@@ -6874,7 +6713,6 @@ paths:
name: campaignId
required: true
schema:
- format: int64
type: integer
- description: |
Only return results from after this timestamp.
@@ -6933,7 +6771,6 @@ paths:
name: applicationId
required: true
schema:
- format: int64
type: integer
- description: Filter results performing an exact matching against the profile
integration identifier.
@@ -6946,7 +6783,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -6955,7 +6791,6 @@ 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.
@@ -6991,14 +6826,12 @@ 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
@@ -7007,7 +6840,6 @@ 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.
@@ -7051,7 +6883,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -7060,7 +6891,6 @@ paths:
in: query
name: skip
schema:
- format: int64
type: integer
- description: Indicates whether you are pointing to a sandbox or live customer.
in: query
@@ -7111,7 +6941,6 @@ paths:
name: customerId
required: true
schema:
- format: int64
type: integer
responses:
"200":
@@ -7134,7 +6963,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -7143,7 +6971,6 @@ paths:
in: query
name: skip
schema:
- format: int64
type: integer
- description: Indicates whether you are pointing to a sandbox or live customer.
in: query
@@ -7174,7 +7001,6 @@ 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
@@ -7183,7 +7009,6 @@ paths:
name: customerId
required: true
schema:
- format: int64
type: integer
responses:
"200":
@@ -7208,7 +7033,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -7217,7 +7041,6 @@ 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 `-`.
@@ -7257,7 +7080,6 @@ paths:
name: applicationId
required: true
schema:
- format: int64
type: integer
- description: Only return reports matching the customer name.
in: query
@@ -7302,7 +7124,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -7311,7 +7132,6 @@ paths:
in: query
name: skip
schema:
- format: int64
type: integer
- description: |
Only return results from after this timestamp.
@@ -7343,7 +7163,6 @@ 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
@@ -7352,7 +7171,6 @@ paths:
name: customerId
required: true
schema:
- format: int64
type: integer
responses:
"200":
@@ -7375,7 +7193,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -7384,7 +7201,6 @@ 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 `-`.
@@ -7400,7 +7216,6 @@ 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
@@ -7409,7 +7224,6 @@ paths:
name: customerId
required: true
schema:
- format: int64
type: integer
responses:
"200":
@@ -7433,7 +7247,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -7442,7 +7255,6 @@ 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 `-`.
@@ -7508,7 +7320,6 @@ paths:
name: applicationId
required: true
schema:
- format: int64
type: integer
responses:
"200":
@@ -7534,7 +7345,6 @@ 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.
@@ -7542,7 +7352,6 @@ paths:
name: sessionId
required: true
schema:
- format: int64
type: integer
responses:
"200":
@@ -7566,7 +7375,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -7575,7 +7383,6 @@ 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 `-`.
@@ -7654,7 +7461,6 @@ paths:
name: applicationId
required: true
schema:
- format: int64
type: integer
responses:
"200":
@@ -7680,7 +7486,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -7689,7 +7494,6 @@ 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 `-`.
@@ -7705,7 +7509,6 @@ paths:
name: applicationId
required: true
schema:
- format: int64
type: integer
responses:
"200":
@@ -7729,7 +7532,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -7738,7 +7540,6 @@ 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 `-`.
@@ -7813,14 +7614,12 @@ 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
@@ -7829,7 +7628,6 @@ 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 `-`.
@@ -7887,7 +7685,6 @@ paths:
name: audienceId
required: true
schema:
- format: int64
type: integer
requestBody:
content:
@@ -7944,7 +7741,6 @@ paths:
name: audienceId
required: true
schema:
- format: int64
type: integer
responses:
"200":
@@ -7987,7 +7783,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -7996,7 +7791,6 @@ 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 `-`.
@@ -8012,7 +7806,6 @@ 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.
@@ -8051,7 +7844,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -8060,7 +7852,6 @@ 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 `-`.
@@ -8134,7 +7925,6 @@ paths:
name: attributeId
required: true
schema:
- format: int64
type: integer
responses:
"200":
@@ -8163,7 +7953,6 @@ paths:
name: attributeId
required: true
schema:
- format: int64
type: integer
requestBody:
content:
@@ -8216,7 +8005,6 @@ paths:
name: attributeId
required: true
schema:
- format: int64
type: integer
requestBody:
content:
@@ -8269,14 +8057,12 @@ 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
@@ -8285,7 +8071,6 @@ 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.
@@ -8297,7 +8082,7 @@ paths:
schema:
type: boolean
- description: Filter results by one or more SKUs. Must be exact match.
- explode: false
+ explode: true
in: query
name: sku
schema:
@@ -8306,7 +8091,7 @@ paths:
type: array
style: form
- description: Filter results by one or more product names. Must be exact match.
- explode: false
+ explode: true
in: query
name: productNames
schema:
@@ -8582,7 +8367,6 @@ paths:
name: catalogId
required: true
schema:
- format: int64
type: integer
requestBody:
content:
@@ -8635,7 +8419,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -8644,7 +8427,6 @@ 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 `-`.
@@ -8703,7 +8485,6 @@ paths:
name: additionalCostId
required: true
schema:
- format: int64
type: integer
responses:
"200":
@@ -8727,7 +8508,6 @@ paths:
name: additionalCostId
required: true
schema:
- format: int64
type: integer
requestBody:
content:
@@ -8775,7 +8555,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -8784,7 +8563,6 @@ paths:
in: query
name: skip
schema:
- format: int64
type: integer
- description: Filter results by creation type.
in: query
@@ -8806,7 +8584,6 @@ paths:
in: query
name: outgoingIntegrationsTypeId
schema:
- format: int64
type: integer
- description: Filter results performing case-insensitive matching against the
webhook title.
@@ -8836,7 +8613,6 @@ paths:
name: webhookId
required: true
schema:
- format: int64
type: integer
responses:
"200":
@@ -8861,7 +8637,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -8870,7 +8645,6 @@ 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 `-`.
@@ -8935,7 +8709,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -8944,7 +8717,6 @@ 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 `-`.
@@ -9038,6 +8810,8 @@ paths:
- LoyaltyPointsDeducted
- LoyaltyPointsExpiring
- LoyaltyPointsPendingToActive
+ - LoyaltyAddedDeductedPointsBalances
+ - LoyaltyCardAddedDeductedPointsBalances
- TierWillDowngrade
- TierUpgrade
- TierDowngrade
@@ -9118,13 +8892,11 @@ 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).
@@ -9166,7 +8938,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -9175,7 +8946,6 @@ 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 `-`.
@@ -9236,7 +9006,6 @@ 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.
@@ -9244,7 +9013,6 @@ 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.
@@ -9316,7 +9084,6 @@ paths:
name: applicationId
required: true
schema:
- format: int64
type: integer
- description: Filter results by campaign ID.
in: query
@@ -9378,7 +9145,6 @@ 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.
@@ -9468,7 +9234,6 @@ paths:
name: applicationId
required: true
schema:
- format: int64
type: integer
- description: Filter results by campaign ID.
in: query
@@ -9571,7 +9336,6 @@ paths:
name: applicationId
required: true
schema:
- format: int64
type: integer
- description: Filter results by campaign ID.
in: query
@@ -9619,7 +9383,7 @@ paths:
description: |
Download a CSV file containing the customer sessions that match the request.
- **Important:** Archived sessions cannot be exported. See the [retention policy](https://docs.talon.one/docs/product/server-infrastructure-and-data-retention#data-retention-policy).
+ **Important:** Archived sessions cannot be exported. See the [retention policy](https://docs.talon.one/docs/dev/server-infrastructure-and-data-retention).
**Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/).
@@ -9651,7 +9415,6 @@ paths:
name: applicationId
required: true
schema:
- format: int64
type: integer
- description: Filter results comparing the parameter value, expected to be
an RFC3339 timestamp string.
@@ -9745,7 +9508,6 @@ 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.
@@ -9753,7 +9515,6 @@ paths:
name: campaignId
required: true
schema:
- format: int64
type: integer
requestBody:
content:
@@ -9787,7 +9548,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -9796,7 +9556,6 @@ 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 `-`.
@@ -9827,7 +9586,6 @@ paths:
name: userId
required: true
schema:
- format: int64
type: integer
responses:
"204":
@@ -9847,7 +9605,6 @@ paths:
name: userId
required: true
schema:
- format: int64
type: integer
responses:
"200":
@@ -9869,7 +9626,6 @@ paths:
name: userId
required: true
schema:
- format: int64
type: integer
requestBody:
content:
@@ -9907,6 +9663,156 @@ paths:
tags:
- management
x-accepts: application/json
+ /v1/provisioning/scim/Groups:
+ get:
+ description: |-
+ Retrieve a paginated list of groups created using the SCIM protocol with an identity provider, for example, Microsoft Entra ID.
+ In Talon.One, a `Group` corresponds to a [role](https://docs.talon.one/docs/product/account/account-settings/managing-roles), and `members` are the [users](https://docs.talon.one/docs/product/account/account-settings/managing-users) assigned to that role.
+ operationId: scimGetGroups
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ScimGroupsListResponse'
+ description: List of SCIM groups
+ summary: List SCIM groups
+ tags:
+ - management
+ x-accepts: application/json
+ post:
+ description: |-
+ Create a new Talon.One group using the SCIM Group provisioning protocol with an identity provider, for example, Microsoft Entra ID, and assign members from the payload to the new group.
+ In Talon.One, a `Group` corresponds to a [role](https://docs.talon.one/docs/product/account/account-settings/managing-roles), and `members` are the [users](https://docs.talon.one/docs/product/account/account-settings/managing-users) assigned to that role.
+ operationId: scimCreateGroup
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ScimBaseGroup'
+ description: body
+ required: true
+ responses:
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ScimGroup'
+ description: Created
+ summary: Create SCIM group
+ tags:
+ - management
+ x-codegen-request-body-name: body
+ x-contentType: application/json
+ x-accepts: application/json
+ /v1/provisioning/scim/Groups/{groupId}:
+ delete:
+ description: |-
+ Delete a specific group created using the SCIM provisioning protocol with an identity provider, for example, Microsoft Entra ID.
+ In Talon.One, a `Group` corresponds to a [role](https://docs.talon.one/docs/product/account/account-settings/managing-roles), and `members` are the [users](https://docs.talon.one/docs/product/account/account-settings/managing-users) assigned to that role.
+ operationId: scimDeleteGroup
+ parameters:
+ - description: The ID of the group.
+ in: path
+ name: groupId
+ required: true
+ schema:
+ type: integer
+ responses:
+ "204":
+ content: {}
+ description: No Content
+ summary: Delete SCIM group
+ tags:
+ - management
+ x-accepts: application/json
+ get:
+ description: |-
+ Retrieve data for a specific group created using the SCIM provisioning protocol with an identity provider, for example, Microsoft Entra ID.
+ In Talon.One, a `Group` corresponds to a [role](https://docs.talon.one/docs/product/account/account-settings/managing-roles), and `members` are the [users](https://docs.talon.one/docs/product/account/account-settings/managing-users) assigned to that role.
+ operationId: scimGetGroup
+ parameters:
+ - description: The ID of the group.
+ in: path
+ name: groupId
+ required: true
+ schema:
+ type: integer
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ScimGroup'
+ description: Group details
+ summary: Get SCIM group
+ tags:
+ - management
+ x-accepts: application/json
+ patch:
+ description: |
+ Update certain attributes of a group created using the SCIM provisioning protocol with an identity provider, for example, Microsoft Entra ID. This endpoint allows for selective adding, removing, or replacing of specific group attributes while other attributes remain unchanged.
+ In Talon.One, a `Group` corresponds to a [role](https://docs.talon.one/docs/product/account/account-settings/managing-roles), and `members` are the [users](https://docs.talon.one/docs/product/account/account-settings/managing-users) assigned to that role.
+ operationId: scimPatchGroup
+ parameters:
+ - description: The ID of the group.
+ in: path
+ name: groupId
+ required: true
+ schema:
+ type: integer
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ScimPatchRequest'
+ description: body
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ScimGroup'
+ description: Group details
+ summary: Update SCIM group attributes
+ tags:
+ - management
+ x-codegen-request-body-name: body
+ x-contentType: application/json
+ x-accepts: application/json
+ put:
+ description: |
+ Update the details of a specific group created using the SCIM provisioning protocol with an identity provider, for example, Microsoft Entra ID. This endpoint replaces all attributes of the given group with the attributes provided in the request payload.
+ In Talon.One, a `Group` corresponds to a [role](https://docs.talon.one/docs/product/account/account-settings/managing-roles), and `members` are the [users](https://docs.talon.one/docs/product/account/account-settings/managing-users) assigned to that role.
+ operationId: scimReplaceGroupAttributes
+ parameters:
+ - description: The ID of the group.
+ in: path
+ name: groupId
+ required: true
+ schema:
+ type: integer
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ScimBaseGroup'
+ description: body
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ScimGroup'
+ description: Group details
+ summary: Update SCIM group
+ tags:
+ - management
+ x-codegen-request-body-name: body
+ x-contentType: application/json
+ x-accepts: application/json
/v1/provisioning/scim/Users:
get:
description: Retrieve a paginated list of users that have been provisioned using
@@ -9959,7 +9865,6 @@ paths:
name: userId
required: true
schema:
- format: int64
type: integer
responses:
"204":
@@ -9980,7 +9885,6 @@ paths:
name: userId
required: true
schema:
- format: int64
type: integer
responses:
"200":
@@ -10005,7 +9909,6 @@ paths:
name: userId
required: true
schema:
- format: int64
type: integer
requestBody:
content:
@@ -10039,7 +9942,6 @@ paths:
name: userId
required: true
schema:
- format: int64
type: integer
requestBody:
content:
@@ -10212,7 +10114,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -10221,7 +10122,6 @@ 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 `-`.
@@ -10246,7 +10146,6 @@ 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
@@ -10277,7 +10176,6 @@ 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.
@@ -10417,7 +10315,6 @@ paths:
name: accountId
required: true
schema:
- format: int64
type: integer
responses:
"200":
@@ -10444,7 +10341,6 @@ paths:
name: accountId
required: true
schema:
- format: int64
type: integer
responses:
"200":
@@ -10516,7 +10412,6 @@ paths:
name: pageSize
schema:
default: 1000
- format: int64
maximum: 1000
minimum: 1
type: integer
@@ -10525,7 +10420,6 @@ paths:
in: query
name: skip
schema:
- format: int64
type: integer
- description: Filter results by Application ID.
in: query
@@ -10536,7 +10430,6 @@ paths:
in: query
name: campaignId
schema:
- format: int64
type: integer
- description: The name of the entity type that was exported.
in: query
@@ -10592,7 +10485,6 @@ paths:
name: roleId
required: true
schema:
- format: int64
type: integer
responses:
"200":
@@ -10617,7 +10509,6 @@ paths:
name: roleId
required: true
schema:
- format: int64
type: integer
requestBody:
content:
@@ -10650,14 +10541,12 @@ 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
@@ -10666,7 +10555,6 @@ 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 `-`.
@@ -10726,7 +10614,6 @@ paths:
name: applicationId
required: true
schema:
- format: int64
type: integer
requestBody:
content:
@@ -10772,7 +10659,6 @@ paths:
name: applicationId
required: true
schema:
- format: int64
type: integer
- description: |
The ID of the store.
@@ -10806,7 +10692,6 @@ paths:
name: applicationId
required: true
schema:
- format: int64
type: integer
- description: |
The ID of the store.
@@ -10843,7 +10728,6 @@ paths:
name: applicationId
required: true
schema:
- format: int64
type: integer
- description: |
The ID of the store.
@@ -10903,7 +10787,6 @@ 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.
@@ -10911,7 +10794,6 @@ paths:
name: campaignId
required: true
schema:
- format: int64
type: integer
responses:
"200":
@@ -10954,7 +10836,6 @@ 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.
@@ -10962,7 +10843,6 @@ paths:
name: campaignId
required: true
schema:
- format: int64
type: integer
responses:
"204":
@@ -11009,7 +10889,6 @@ 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.
@@ -11017,7 +10896,6 @@ paths:
name: campaignId
required: true
schema:
- format: int64
type: integer
requestBody:
content:
@@ -11058,6 +10936,377 @@ paths:
- management
x-contentType: multipart/form-data
x-accepts: application/json
+ /v1/applications/{applicationId}/campaigns/{campaignId}/stores/budgets:
+ delete:
+ description: Delete the store budgets for a given campaign.
+ operationId: deleteCampaignStoreBudgets
+ parameters:
+ - description: The ID of the Application. It is displayed in your Talon.One
+ deployment URL.
+ in: path
+ name: applicationId
+ required: true
+ schema:
+ type: integer
+ - description: The ID of the campaign. It is displayed in your Talon.One deployment
+ URL.
+ in: path
+ name: campaignId
+ required: true
+ schema:
+ type: integer
+ - description: The action that this budget is limiting.
+ in: query
+ name: action
+ schema:
+ enum:
+ - setDiscount
+ type: string
+ - description: |
+ The period to which the limit applies.
+
+ **Note**: For budgets with no period, set this to `overall`.
+ in: query
+ name: period
+ schema:
+ enum:
+ - overall
+ - daily
+ - weekly
+ - monthly
+ - yearly
+ type: string
+ responses:
+ "204":
+ content: {}
+ description: Deleted
+ "400":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponse'
+ description: Bad request
+ summary: Delete campaign store budgets
+ tags:
+ - management
+ x-accepts: application/json
+ get:
+ description: Return the store budget limits for a given campaign.
+ operationId: listCampaignStoreBudgetLimits
+ parameters:
+ - description: The ID of the Application. It is displayed in your Talon.One
+ deployment URL.
+ in: path
+ name: applicationId
+ required: true
+ schema:
+ type: integer
+ - description: The ID of the campaign. It is displayed in your Talon.One deployment
+ URL.
+ in: path
+ name: campaignId
+ required: true
+ schema:
+ type: integer
+ - description: The action that this budget is limiting.
+ in: query
+ name: action
+ schema:
+ enum:
+ - setDiscount
+ type: string
+ - description: |
+ The period to which the limit applies.
+
+ **Note**: For budgets with no period, set this to `overall`.
+ in: query
+ name: period
+ schema:
+ enum:
+ - overall
+ - daily
+ - weekly
+ - monthly
+ - yearly
+ type: string
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/inline_response_200_48'
+ description: OK
+ "400":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponse'
+ description: Bad request
+ "401":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponse'
+ description: Unauthorized - Invalid API key
+ "404":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponse'
+ description: Not found
+ summary: List campaign store budget limits
+ tags:
+ - management
+ x-accepts: application/json
+ post:
+ description: Create a new store budget for a given campaign.
+ operationId: createCampaignStoreBudget
+ parameters:
+ - description: The ID of the Application. It is displayed in your Talon.One
+ deployment URL.
+ in: path
+ name: applicationId
+ required: true
+ schema:
+ type: integer
+ - description: The ID of the campaign. It is displayed in your Talon.One deployment
+ URL.
+ in: path
+ name: campaignId
+ required: true
+ schema:
+ type: integer
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/NewCampaignStoreBudget'
+ description: body
+ required: true
+ responses:
+ "201":
+ content: {}
+ description: Created
+ "400":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponse'
+ description: Bad request
+ "409":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponse'
+ description: Conflict
+ summary: Create campaign store budget
+ tags:
+ - management
+ x-codegen-request-body-name: body
+ x-contentType: application/json
+ x-accepts: application/json
+ /v1/applications/{applicationId}/campaigns/{campaignId}/stores/budgets/summary:
+ get:
+ description: Fetch a summary of all store budget information for a given campaign.
+ operationId: summarizeCampaignStoreBudget
+ parameters:
+ - description: The ID of the Application. It is displayed in your Talon.One
+ deployment URL.
+ in: path
+ name: applicationId
+ required: true
+ schema:
+ type: integer
+ - description: The ID of the campaign. It is displayed in your Talon.One deployment
+ URL.
+ in: path
+ name: campaignId
+ required: true
+ schema:
+ type: integer
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/inline_response_200_49'
+ description: OK
+ "400":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponse'
+ description: Bad request
+ "401":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponse'
+ description: Unauthorized - Invalid API key
+ "404":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponse'
+ description: Not found
+ summary: Get summary of campaign store budgets
+ tags:
+ - management
+ x-accepts: application/json
+ /v1/applications/{applicationId}/campaigns/{campaignId}/stores/budgets/import:
+ post:
+ description: |
+ Upload a CSV file containing store budgets for a given campaign.
+
+ Send the file as multipart data.
+
+ The CSV file **must** only contain the following columns:
+ - `store_integration_id`: The identifier of the store.
+ - `limit`: The budget limit for the store.
+
+ The import **replaces** the previous list of store budgets.
+ operationId: importCampaignStoreBudget
+ parameters:
+ - description: The ID of the Application. It is displayed in your Talon.One
+ deployment URL.
+ in: path
+ name: applicationId
+ required: true
+ schema:
+ type: integer
+ - description: The ID of the campaign. It is displayed in your Talon.One deployment
+ URL.
+ in: path
+ name: campaignId
+ required: true
+ schema:
+ type: integer
+ - description: The action that this budget is limiting.
+ in: query
+ name: action
+ schema:
+ enum:
+ - setDiscount
+ type: string
+ - description: |
+ The period to which the limit applies.
+
+ **Note**: For budgets with no period, set this to `overall`.
+ in: query
+ name: period
+ schema:
+ enum:
+ - overall
+ - daily
+ - weekly
+ - monthly
+ - yearly
+ type: string
+ requestBody:
+ content:
+ multipart/form-data:
+ schema:
+ properties:
+ upFile:
+ description: The file containing the data that is being imported.
+ format: csv
+ type: string
+ responses:
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Import'
+ description: Created
+ "400":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponse'
+ description: Bad request
+ summary: Import campaign store budgets
+ tags:
+ - management
+ x-contentType: multipart/form-data
+ x-accepts: application/json
+ /v1/applications/{applicationId}/campaigns/{campaignId}/stores/budgets/export:
+ get:
+ description: |
+ Download a CSV file containing the store budgets for a given campaign.
+
+ **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/).
+
+ The CSV file contains the following columns:
+
+ - `store_integration_id`: The identifier of the store.
+ - `limit`: The budget limit for the store.
+ operationId: exportCampaignStoreBudgets
+ parameters:
+ - description: The ID of the Application. It is displayed in your Talon.One
+ deployment URL.
+ in: path
+ name: applicationId
+ required: true
+ schema:
+ type: integer
+ - description: The ID of the campaign. It is displayed in your Talon.One deployment
+ URL.
+ in: path
+ name: campaignId
+ required: true
+ schema:
+ type: integer
+ - description: The action that this budget is limiting.
+ in: query
+ name: action
+ schema:
+ enum:
+ - setDiscount
+ type: string
+ - description: |
+ The period to which the limit applies.
+
+ **Note**: For budgets with no period, set this to `overall`.
+ in: query
+ name: period
+ schema:
+ enum:
+ - overall
+ - daily
+ - weekly
+ - monthly
+ - yearly
+ type: string
+ responses:
+ "200":
+ content:
+ application/csv:
+ schema:
+ format: csv
+ type: string
+ description: OK
+ "400":
+ content:
+ application/csv:
+ schema:
+ $ref: '#/components/schemas/ErrorResponse'
+ description: Bad request
+ "401":
+ content:
+ application/csv:
+ schema:
+ $ref: '#/components/schemas/ErrorResponse'
+ description: Unauthorized - Invalid API key
+ "404":
+ content:
+ application/csv:
+ schema:
+ $ref: '#/components/schemas/ErrorResponse'
+ description: Not found
+ summary: Export campaign store budgets
+ tags:
+ - management
+ x-accepts: application/csv
/v1/applications/{applicationId}/campaigns/{campaignId}/achievements:
get:
description: List all the achievements for a specific campaign.
@@ -11069,7 +11318,6 @@ 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.
@@ -11077,14 +11325,12 @@ 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
@@ -11093,7 +11339,6 @@ paths:
in: query
name: skip
schema:
- format: int64
type: integer
- description: |
Filter by the display name for the achievement in the campaign manager.
@@ -11108,7 +11353,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_48'
+ $ref: '#/components/schemas/inline_response_200_50'
description: OK
summary: List achievements
tags:
@@ -11124,7 +11369,6 @@ 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.
@@ -11132,7 +11376,6 @@ paths:
name: campaignId
required: true
schema:
- format: int64
type: integer
requestBody:
content:
@@ -11180,7 +11423,6 @@ 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.
@@ -11188,7 +11430,6 @@ 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)
@@ -11197,7 +11438,6 @@ paths:
name: achievementId
required: true
schema:
- format: int64
type: integer
responses:
"204":
@@ -11229,7 +11469,6 @@ 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.
@@ -11237,7 +11476,6 @@ 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)
@@ -11246,7 +11484,6 @@ paths:
name: achievementId
required: true
schema:
- format: int64
type: integer
responses:
"200":
@@ -11281,7 +11518,6 @@ 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.
@@ -11289,7 +11525,6 @@ 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)
@@ -11298,7 +11533,6 @@ paths:
name: achievementId
required: true
schema:
- format: int64
type: integer
requestBody:
content:
@@ -11360,7 +11594,6 @@ 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.
@@ -11368,7 +11601,6 @@ 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)
@@ -11377,7 +11609,6 @@ paths:
name: achievementId
required: true
schema:
- format: int64
type: integer
responses:
"200":
@@ -11421,7 +11652,6 @@ paths:
name: applicationId
required: true
schema:
- format: int64
type: integer
- description: |
The integration identifier for this customer profile. Must be:
@@ -11439,7 +11669,6 @@ paths:
name: pageSize
schema:
default: 50
- format: int64
maximum: 50
minimum: 1
type: integer
@@ -11448,7 +11677,6 @@ 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)
@@ -11456,7 +11684,6 @@ paths:
in: query
name: achievementId
schema:
- format: int64
type: integer
- description: Filter results by the `title` of an achievement.
in: query
@@ -11468,7 +11695,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_49'
+ $ref: '#/components/schemas/inline_response_200_51'
description: OK
"400":
content:
@@ -11503,7 +11730,6 @@ components:
description: The globally unique Talon.One ID of the session where this
entity was created.
example: 2
- format: int64
type: integer
required:
- sessionId
@@ -11512,7 +11738,6 @@ components:
properties:
totalResultSize:
example: 1
- format: int64
type: integer
data:
items:
@@ -11526,7 +11751,6 @@ components:
properties:
totalResultSize:
example: 1
- format: int64
type: integer
data:
items:
@@ -11539,9 +11763,8 @@ components:
CampaignCollection:
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -11551,7 +11774,6 @@ 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.
@@ -11571,22 +11793,18 @@ 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.
@@ -11608,9 +11826,8 @@ components:
CampaignCollectionWithoutPayload:
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -11620,7 +11837,6 @@ 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.
@@ -11640,22 +11856,18 @@ 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
@@ -11670,16 +11882,14 @@ components:
campaignGroups:
description: The IDs of the campaign groups that own this entity.
items:
- format: int64
type: integer
type: array
type: object
CampaignStoreBudget:
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -11689,11 +11899,9 @@ 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.
@@ -11759,9 +11967,8 @@ components:
CouponCreationJob:
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -11771,24 +11978,20 @@ 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
@@ -11796,14 +11999,13 @@ components:
description: |
The total discount value that the code can give. Typically used to represent a gift card value.
example: 30.0
- maximum: 999999
+ maximum: 1E+15
minimum: 0
type: number
reservationLimit:
description: |
The number of reservations that can be made with this coupon code.
example: 45
- format: int64
maximum: 999999
minimum: 0
type: integer
@@ -11821,7 +12023,6 @@ 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
@@ -11851,13 +12052,11 @@ 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:
@@ -11873,7 +12072,6 @@ components:
createdBy:
description: ID of the user who created this effect.
example: 1
- format: int64
title: Created By
type: integer
communicated:
@@ -11885,14 +12083,12 @@ 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:
@@ -11916,9 +12112,8 @@ components:
CouponDeletionJob:
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -11928,12 +12123,10 @@ 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'
@@ -11951,13 +12144,11 @@ 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:
@@ -11972,7 +12163,6 @@ components:
createdBy:
description: ID of the user who created this effect.
example: 1
- format: int64
title: Created By
type: integer
communicated:
@@ -11982,7 +12172,6 @@ components:
type: boolean
campaignIDs:
items:
- format: int64
title: Campaign ID
type: integer
type: array
@@ -12053,11 +12242,9 @@ components:
properties:
RoleID:
description: ID of role.
- format: int64
type: integer
UserID:
description: ID of User.
- format: int64
type: integer
required:
- RoleID
@@ -12081,18 +12268,15 @@ 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'
@@ -12125,7 +12309,6 @@ components:
- 2
- 3
items:
- format: int64
type: integer
type: array
type: object
@@ -12134,9 +12317,8 @@ components:
Entity:
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -12169,7 +12351,6 @@ components:
applicationId:
description: The ID of the Application that owns this entity.
example: 322
- format: int64
type: integer
required:
- applicationId
@@ -12205,7 +12386,6 @@ components:
- 10
- 12
items:
- format: int64
type: integer
title: Campaigns to evaluate
type: array
@@ -12232,6 +12412,30 @@ components:
required:
- price
type: object
+ PriceDetail:
+ properties:
+ price:
+ description: The value of this price type.
+ example: 90.0
+ format: float
+ type: number
+ adjustmentReferenceId:
+ description: The reference identifier of the selected price adjustment for
+ this SKU.
+ example: 68851723-e6fa-488f-ace9-112581e6c19b
+ format: uuid
+ type: string
+ adjustmentEffectiveFrom:
+ description: The date and time from which the price adjustment is effective.
+ example: 2025-05-25T00:00:00Z
+ format: date-time
+ type: string
+ adjustmentEffectiveUntil:
+ description: The date and time until which the price adjustment is effective.
+ example: 2025-05-30T00:00:00Z
+ format: date-time
+ type: string
+ type: object
CartItem:
example:
remainingQuantity: 1
@@ -12241,19 +12445,31 @@ components:
returnedQuantity: 1
length: 1.4658129805029452
weight: 1130.0
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
+ adjustmentEffectiveFrom: 2021-09-12T10:12:42Z
catalogItemID: 5
additionalCosts:
shipping:
price: 9
price: 99.99
+ selectedPriceType: member
name: Air Glide
width: 6.027456183070403
attributes:
image: 11.jpeg
material: leather
+ adjustmentEffectiveUntil: 2021-09-12T10:12:42Z
position: 5.962133916683182
sku: SKU1241028
category: shoes
+ prices:
+ member:
+ price: 90
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
+ effectiveFrom: 2025-05-25T00:00:00Z
+ effectiveUntil: 2025-05-30T00:00:00Z
+ base:
+ price: 100
height: 0.8008281904610115
properties:
name:
@@ -12273,7 +12489,6 @@ 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
@@ -12281,14 +12496,12 @@ 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:
@@ -12349,10 +12562,54 @@ components:
price: 9
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
+ description: The catalog item ID.
title: The catalog item ID
type: integer
+ selectedPriceType:
+ description: The selected price type for this cart item (e.g. the price
+ for members only).
+ example: member
+ title: The selected price type
+ type: string
+ adjustmentReferenceId:
+ description: The reference identifier of the selected price adjustment for
+ this cart item. This is only returned if the `selectedPrice` resulted
+ from a price adjustment.
+ example: 68851723-e6fa-488f-ace9-112581e6c19b
+ format: uuid
+ title: The reference identifier of the selected price adjustment
+ type: string
+ adjustmentEffectiveFrom:
+ description: The date and time from which the price adjustment is effective.
+ This is only returned if the `selectedPrice` resulted from a price adjustment
+ that contains this field.
+ example: 2021-09-12T10:12:42Z
+ format: date-time
+ title: The date and time from which the price adjustment is effective
+ type: string
+ adjustmentEffectiveUntil:
+ description: The date and time until which the price adjustment is effective.
+ This is only returned if the `selectedPrice` resulted from a price adjustment
+ that contains this field.
+ example: 2021-09-12T10:12:42Z
+ format: date-time
+ title: The date and time until which the price adjustment is effective
+ type: string
+ prices:
+ additionalProperties:
+ $ref: '#/components/schemas/PriceDetail'
+ description: |
+ A map of keys and values representing the price types and related price adjustment details for this cart item.
+ The keys correspond to the `priceType` names.
+ example:
+ member:
+ price: 90
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
+ effectiveFrom: 2025-05-25T00:00:00Z
+ effectiveUntil: 2025-05-30T00:00:00Z
+ base:
+ price: 100
+ type: object
required:
- quantity
- sku
@@ -12386,19 +12643,31 @@ components:
returnedQuantity: 1
length: 1.4658129805029452
weight: 1130.0
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
+ adjustmentEffectiveFrom: 2021-09-12T10:12:42Z
catalogItemID: 5
additionalCosts:
shipping:
price: 9
price: 99.99
+ selectedPriceType: member
name: Air Glide
width: 6.027456183070403
attributes:
image: 11.jpeg
material: leather
+ adjustmentEffectiveUntil: 2021-09-12T10:12:42Z
position: 5.962133916683182
sku: SKU1241028
category: shoes
+ prices:
+ member:
+ price: 90
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
+ effectiveFrom: 2025-05-25T00:00:00Z
+ effectiveUntil: 2025-05-30T00:00:00Z
+ base:
+ price: 100
height: 0.8008281904610115
- remainingQuantity: 1
product:
@@ -12407,19 +12676,31 @@ components:
returnedQuantity: 1
length: 1.4658129805029452
weight: 1130.0
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
+ adjustmentEffectiveFrom: 2021-09-12T10:12:42Z
catalogItemID: 5
additionalCosts:
shipping:
price: 9
price: 99.99
+ selectedPriceType: member
name: Air Glide
width: 6.027456183070403
attributes:
image: 11.jpeg
material: leather
+ adjustmentEffectiveUntil: 2021-09-12T10:12:42Z
position: 5.962133916683182
sku: SKU1241028
category: shoes
+ prices:
+ member:
+ price: 90
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
+ effectiveFrom: 2025-05-25T00:00:00Z
+ effectiveUntil: 2025-05-30T00:00:00Z
+ base:
+ price: 100
height: 0.8008281904610115
properties:
profileId:
@@ -12445,7 +12726,6 @@ components:
- 10
- 12
items:
- format: int64
type: integer
title: Campaigns to evaluate
type: array
@@ -12591,19 +12871,31 @@ components:
returnedQuantity: 1
length: 1.4658129805029452
weight: 1130.0
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
+ adjustmentEffectiveFrom: 2021-09-12T10:12:42Z
catalogItemID: 5
additionalCosts:
shipping:
price: 9
price: 99.99
+ selectedPriceType: member
name: Air Glide
width: 6.027456183070403
attributes:
image: 11.jpeg
material: leather
+ adjustmentEffectiveUntil: 2021-09-12T10:12:42Z
position: 5.962133916683182
sku: SKU1241028
category: shoes
+ prices:
+ member:
+ price: 90
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
+ effectiveFrom: 2025-05-25T00:00:00Z
+ effectiveUntil: 2025-05-30T00:00:00Z
+ base:
+ price: 100
height: 0.8008281904610115
- remainingQuantity: 1
product:
@@ -12612,28 +12904,39 @@ components:
returnedQuantity: 1
length: 1.4658129805029452
weight: 1130.0
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
+ adjustmentEffectiveFrom: 2021-09-12T10:12:42Z
catalogItemID: 5
additionalCosts:
shipping:
price: 9
price: 99.99
+ selectedPriceType: member
name: Air Glide
width: 6.027456183070403
attributes:
image: 11.jpeg
material: leather
+ adjustmentEffectiveUntil: 2021-09-12T10:12:42Z
position: 5.962133916683182
sku: SKU1241028
category: shoes
+ prices:
+ member:
+ price: 90
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
+ effectiveFrom: 2025-05-25T00:00:00Z
+ effectiveUntil: 2025-05-30T00:00:00Z
+ base:
+ price: 100
height: 0.8008281904610115
updated: 2020-02-08T14:15:22Z
firstSession: true
cartItemTotal: 99.99
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -12649,7 +12952,6 @@ components:
applicationId:
description: The ID of the Application that owns this entity.
example: 322
- format: int64
type: integer
profileId:
description: |
@@ -12674,7 +12976,6 @@ components:
- 10
- 12
items:
- format: int64
type: integer
title: Campaigns to evaluate
type: array
@@ -12835,19 +13136,16 @@ 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.
@@ -12861,24 +13159,20 @@ 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,
@@ -12889,14 +13183,28 @@ 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
+ selectedPriceType:
+ description: The selected price type for the SKU targeted by this effect.
+ example: member
+ type: string
+ selectedPrice:
+ description: The value of the selected price type to apply to the SKU targeted
+ by this effect, before any discounts are applied.
+ example: 100.0
+ type: number
+ adjustmentReferenceId:
+ description: The reference identifier of the selected price adjustment for
+ this SKU. This is only returned if the `selectedPrice` resulted from a
+ price adjustment.
+ example: 68851723-e6fa-488f-ace9-112581e6c19b
+ format: uuid
+ type: string
required:
- campaignId
- effectType
@@ -12933,7 +13241,6 @@ 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.
@@ -12956,11 +13263,9 @@ 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.
@@ -12987,11 +13292,9 @@ 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.
@@ -13099,7 +13402,6 @@ 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.
@@ -13128,7 +13430,6 @@ components:
type: string
additionalCostId:
description: The ID of the additional cost.
- format: int64
type: integer
additionalCost:
description: The name of the additional cost.
@@ -13177,7 +13478,6 @@ 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
@@ -13223,7 +13523,6 @@ 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.
@@ -13248,7 +13547,6 @@ 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
@@ -13289,7 +13587,6 @@ 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
@@ -13324,7 +13621,6 @@ components:
type: string
desiredQuantity:
description: The original quantity in case a partial reward was applied.
- format: int64
type: integer
required:
- name
@@ -13413,7 +13709,6 @@ 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.
@@ -13436,7 +13731,6 @@ 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
@@ -13483,7 +13777,6 @@ 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
@@ -13555,7 +13848,6 @@ 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.
@@ -13569,7 +13861,6 @@ 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.
@@ -13591,7 +13882,6 @@ 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.
@@ -13624,7 +13914,6 @@ 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.
@@ -13644,7 +13933,6 @@ 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.
@@ -13671,7 +13959,6 @@ components:
type: string
additionalCostId:
description: The ID of the additional cost.
- format: int64
type: integer
value:
description: The total monetary value of the discount.
@@ -13725,7 +14012,6 @@ components:
audienceId:
description: The internal ID of the audience.
example: 10
- format: int64
type: integer
audienceName:
description: The name of the audience.
@@ -13739,7 +14025,6 @@ components:
profileId:
description: The internal ID of the customer profile.
example: 150
- format: int64
type: integer
type: object
RemoveFromAudienceEffectProps:
@@ -13749,7 +14034,6 @@ components:
audienceId:
description: The internal ID of the audience.
example: 10
- format: int64
type: integer
audienceName:
description: The name of the audience.
@@ -13763,7 +14047,6 @@ components:
profileId:
description: The internal ID of the customer profile.
example: 150
- format: int64
type: integer
type: object
IncreaseAchievementProgressEffectProps:
@@ -13774,7 +14057,6 @@ components:
achievementId:
description: The internal ID of the achievement.
example: 10
- format: int64
type: integer
achievementName:
description: The name of the achievement.
@@ -13782,7 +14064,6 @@ 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
@@ -13815,7 +14096,6 @@ components:
achievementId:
description: The internal ID of the achievement.
example: 10
- format: int64
type: integer
achievementName:
description: The name of the achievement.
@@ -13823,7 +14103,6 @@ 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
@@ -13843,6 +14122,58 @@ components:
- progressTrackerId
- target
type: object
+ ExtendLoyaltyPointsExpiryDateEffectProps:
+ description: |
+ The properties specific to the "extendLoyaltyPointsExpiryDate" effect. This gets triggered when a validated rule contains the "extend expiry date" effect. The current expiry date gets extended by the time frame given in the effect.
+ properties:
+ programId:
+ description: ID of the loyalty program that contains these points.
+ type: integer
+ subLedgerId:
+ description: API name of the loyalty program subledger that contains these
+ points. added.
+ type: string
+ extensionDuration:
+ description: |
+ Time frame by which the expiry date extends.
+
+ The time format is either:
+ - immediate, or
+ - an **integer** followed by a 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.
+ example: 12h
+ type: string
+ transactionUUIDs:
+ description: The list of identifiers of transactions affected affected by
+ the extension.
+ items:
+ type: string
+ type: array
+ previousExpirationDate:
+ description: Expiry date before applying the extension.
+ format: date-time
+ type: string
+ required:
+ - extensionDuration
+ - previousExpirationDate
+ - programId
+ - subLedgerId
+ type: object
EffectProps:
description: The properties of the effect. See [API effects](https://docs.talon.one/docs/dev/integration-api/api-effects).
type: object
@@ -13857,9 +14188,12 @@ components:
conditionIndex: 786
evaluationGroupMode: stackable
effectType: rejectCoupon
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
props: '{}'
+ selectedPrice: 100.0
evaluationGroupID: 3
triggeredForCatalogItem: 786
+ selectedPriceType: member
campaignRevisionId: 1
ruleName: Give 20% discount
triggeredByCoupon: 4928
@@ -13867,19 +14201,16 @@ 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.
@@ -13893,24 +14224,20 @@ 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,
@@ -13921,14 +14248,28 @@ 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
+ selectedPriceType:
+ description: The selected price type for the SKU targeted by this effect.
+ example: member
+ type: string
+ selectedPrice:
+ description: The value of the selected price type to apply to the SKU targeted
+ by this effect, before any discounts are applied.
+ example: 100.0
+ type: number
+ adjustmentReferenceId:
+ description: The reference identifier of the selected price adjustment for
+ this SKU. This is only returned if the `selectedPrice` resulted from a
+ price adjustment.
+ example: 68851723-e6fa-488f-ace9-112581e6c19b
+ format: uuid
+ type: string
props:
description: The properties of the effect. See [API effects](https://docs.talon.one/docs/dev/integration-api/api-effects).
type: object
@@ -13950,9 +14291,12 @@ components:
conditionIndex: 786
evaluationGroupMode: stackable
effectType: rejectCoupon
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
props: '{}'
+ selectedPrice: 100.0
evaluationGroupID: 3
triggeredForCatalogItem: 786
+ selectedPriceType: member
campaignRevisionId: 1
ruleName: Give 20% discount
triggeredByCoupon: 4928
@@ -13963,9 +14307,12 @@ components:
conditionIndex: 786
evaluationGroupMode: stackable
effectType: rejectCoupon
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
props: '{}'
+ selectedPrice: 100.0
evaluationGroupID: 3
triggeredForCatalogItem: 786
+ selectedPriceType: member
campaignRevisionId: 1
ruleName: Give 20% discount
triggeredByCoupon: 4928
@@ -14002,19 +14349,31 @@ components:
returnedQuantity: 1
length: 1.4658129805029452
weight: 1130.0
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
+ adjustmentEffectiveFrom: 2021-09-12T10:12:42Z
catalogItemID: 5
additionalCosts:
shipping:
price: 9
price: 99.99
+ selectedPriceType: member
name: Air Glide
width: 6.027456183070403
attributes:
image: 11.jpeg
material: leather
+ adjustmentEffectiveUntil: 2021-09-12T10:12:42Z
position: 5.962133916683182
sku: SKU1241028
category: shoes
+ prices:
+ member:
+ price: 90
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
+ effectiveFrom: 2025-05-25T00:00:00Z
+ effectiveUntil: 2025-05-30T00:00:00Z
+ base:
+ price: 100
height: 0.8008281904610115
- remainingQuantity: 1
product:
@@ -14023,19 +14382,31 @@ components:
returnedQuantity: 1
length: 1.4658129805029452
weight: 1130.0
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
+ adjustmentEffectiveFrom: 2021-09-12T10:12:42Z
catalogItemID: 5
additionalCosts:
shipping:
price: 9
price: 99.99
+ selectedPriceType: member
name: Air Glide
width: 6.027456183070403
attributes:
image: 11.jpeg
material: leather
+ adjustmentEffectiveUntil: 2021-09-12T10:12:42Z
position: 5.962133916683182
sku: SKU1241028
category: shoes
+ prices:
+ member:
+ price: 90
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
+ effectiveFrom: 2025-05-25T00:00:00Z
+ effectiveUntil: 2025-05-30T00:00:00Z
+ base:
+ price: 100
height: 0.8008281904610115
updated: 2020-02-08T14:15:22Z
firstSession: true
@@ -14108,7 +14479,6 @@ components:
type: array
StatusCode:
description: The error code
- format: int64
type: integer
type: object
IntegrationRequest:
@@ -14143,19 +14513,31 @@ components:
returnedQuantity: 1
length: 1.4658129805029452
weight: 1130.0
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
+ adjustmentEffectiveFrom: 2021-09-12T10:12:42Z
catalogItemID: 5
additionalCosts:
shipping:
price: 9
price: 99.99
+ selectedPriceType: member
name: Air Glide
width: 6.027456183070403
attributes:
image: 11.jpeg
material: leather
+ adjustmentEffectiveUntil: 2021-09-12T10:12:42Z
position: 5.962133916683182
sku: SKU1241028
category: shoes
+ prices:
+ member:
+ price: 90
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
+ effectiveFrom: 2025-05-25T00:00:00Z
+ effectiveUntil: 2025-05-30T00:00:00Z
+ base:
+ price: 100
height: 0.8008281904610115
- remainingQuantity: 1
product:
@@ -14164,19 +14546,31 @@ components:
returnedQuantity: 1
length: 1.4658129805029452
weight: 1130.0
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
+ adjustmentEffectiveFrom: 2021-09-12T10:12:42Z
catalogItemID: 5
additionalCosts:
shipping:
price: 9
price: 99.99
+ selectedPriceType: member
name: Air Glide
width: 6.027456183070403
attributes:
image: 11.jpeg
material: leather
+ adjustmentEffectiveUntil: 2021-09-12T10:12:42Z
position: 5.962133916683182
sku: SKU1241028
category: shoes
+ prices:
+ member:
+ price: 90
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
+ effectiveFrom: 2025-05-25T00:00:00Z
+ effectiveUntil: 2025-05-30T00:00:00Z
+ base:
+ price: 100
height: 0.8008281904610115
responseContent:
- customerSession
@@ -14210,6 +14604,21 @@ components:
required:
- customerSession
type: object
+ CustomerProfileEntity:
+ properties:
+ id:
+ description: The internal ID of the customer profile.
+ example: 6
+ type: integer
+ created:
+ description: The time the customer profile was created.
+ example: 2020-06-10T09:05:27.993483Z
+ format: date-time
+ type: string
+ required:
+ - created
+ - id
+ type: object
NewCustomerProfile:
properties:
attributes:
@@ -14234,7 +14643,6 @@ components:
loyaltyProgramId:
description: The ID of the loyalty program belonging to this entity.
example: 323414846
- format: int64
title: Loyalty program ID
type: integer
required:
@@ -14248,7 +14656,6 @@ components:
id:
description: The ID of the audience belonging to this entity.
example: 2
- format: int64
title: Audience ID
type: integer
name:
@@ -14285,9 +14692,8 @@ components:
id: 2
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of the customer profile.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -14310,14 +14716,12 @@ 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.
+ description: The total number of closed sessions. Does not include closed
+ sessions that have been cancelled or reopened. See the [docs](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions#customer-session-states).
example: 3
- format: int64
title: Closed sessions
type: integer
totalSales:
@@ -14419,9 +14823,8 @@ components:
referenceId: 6
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -14437,22 +14840,18 @@ 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.
@@ -14465,7 +14864,6 @@ components:
type: string
referenceId:
description: The ID of the balancing ledgerEntry.
- format: int64
type: integer
required:
- accountId
@@ -14489,11 +14887,9 @@ components:
properties:
campaignId:
example: 244
- format: int64
type: integer
couponId:
example: 4928
- format: int64
type: integer
reason:
enum:
@@ -14526,10 +14922,8 @@ components:
referralId: 5
properties:
campaignId:
- format: int64
type: integer
referralId:
- format: int64
type: integer
reason:
enum:
@@ -14633,9 +15027,8 @@ components:
type: pageViewed
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -14645,7 +15038,6 @@ components:
applicationId:
description: The ID of the Application that owns this entity.
example: 322
- format: int64
type: integer
profileId:
description: |
@@ -14708,7 +15100,6 @@ 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
@@ -14818,11 +15209,9 @@ components:
required:
- currentBalance
- expiredBalance
- - negativeBalance
- pendingBalance
- spentBalance
- tentativeCurrentBalance
- - tentativeNegativeBalance
type: object
Tier:
example:
@@ -14835,7 +15224,6 @@ components:
id:
description: The internal ID of the tier.
example: 11
- format: int64
type: integer
name:
description: The name of the tier.
@@ -14944,11 +15332,9 @@ components:
required:
- currentBalance
- expiredBalance
- - negativeBalance
- pendingBalance
- spentBalance
- tentativeCurrentBalance
- - tentativeNegativeBalance
type: object
LoyaltyCard:
example:
@@ -15005,9 +15391,8 @@ components:
status: active
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -15017,7 +15402,6 @@ 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
@@ -15050,7 +15434,6 @@ 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:
@@ -15141,7 +15524,6 @@ components:
id:
description: The internal ID of loyalty program.
example: 5
- format: int64
type: integer
title:
description: Visible name of loyalty program.
@@ -15352,7 +15734,6 @@ 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
@@ -15386,7 +15767,6 @@ 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
@@ -15395,7 +15775,6 @@ 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:
@@ -15424,7 +15803,6 @@ components:
importId:
description: The ID of the Import which created this referral.
example: 4
- format: int64
type: integer
type: object
Referral:
@@ -15445,9 +15823,8 @@ components:
startDate: 2020-11-10T23:00:00Z
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -15471,7 +15848,6 @@ 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
@@ -15480,7 +15856,6 @@ 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:
@@ -15503,7 +15878,6 @@ components:
importId:
description: The ID of the Import which created this referral.
example: 4
- format: int64
type: integer
code:
description: The referral code.
@@ -15515,7 +15889,6 @@ components:
description: The number of times this referral code has been successfully
used.
example: 1
- format: int64
title: Referral code Usages
type: integer
batchId:
@@ -15553,9 +15926,8 @@ components:
startDate: 2020-11-10T23:00:00Z
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -15579,7 +15951,6 @@ 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
@@ -15588,7 +15959,6 @@ 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:
@@ -15611,7 +15981,6 @@ components:
importId:
description: The ID of the Import which created this referral.
example: 4
- format: int64
type: integer
code:
description: The referral code.
@@ -15623,7 +15992,6 @@ components:
description: The number of times this referral code has been successfully
used.
example: 1
- format: int64
title: Referral code Usages
type: integer
batchId:
@@ -15646,12 +16014,26 @@ components:
- usageCounter
- usageLimit
type: object
+ CouponEntity:
+ properties:
+ id:
+ description: The internal ID of the coupon.
+ example: 6
+ type: integer
+ created:
+ description: The time the coupon was created.
+ example: 2020-06-10T09:05:27.993483Z
+ format: date-time
+ type: string
+ required:
+ - created
+ - id
+ type: object
CampaignEntity:
properties:
campaignId:
description: The ID of the campaign that owns this entity.
example: 211
- format: int64
title: Campaign ID
type: integer
required:
@@ -15672,7 +16054,6 @@ 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
@@ -15680,14 +16061,13 @@ components:
description: |
The total discount value that the code can give. Typically used to represent a gift card value.
example: 30.0
- maximum: 999999
+ maximum: 1E+15
minimum: 0
type: number
reservationLimit:
description: |
The number of reservations that can be made with this coupon code.
example: 45
- format: int64
maximum: 999999
minimum: 0
type: integer
@@ -15802,19 +16182,17 @@ components:
isReservationMandatory: false
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of the coupon.
example: 6
- format: int64
type: integer
created:
- description: The time this entity was created.
+ description: The time the coupon was created.
example: 2020-06-10T09:05:27.993483Z
format: date-time
type: string
campaignId:
description: The ID of the campaign that owns this entity.
example: 211
- format: int64
title: Campaign ID
type: integer
value:
@@ -15827,7 +16205,6 @@ 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
@@ -15835,14 +16212,13 @@ components:
description: |
The total discount value that the code can give. Typically used to represent a gift card value.
example: 30.0
- maximum: 999999
+ maximum: 1E+15
minimum: 0
type: number
reservationLimit:
description: |
The number of reservations that can be made with this coupon code.
example: 45
- format: int64
maximum: 999999
minimum: 0
type: integer
@@ -15870,7 +16246,6 @@ components:
usageCounter:
description: The number of times the coupon has been successfully redeemed.
example: 10
- format: int64
title: Total coupon redemptions
type: integer
discountCounter:
@@ -15898,7 +16273,6 @@ 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:
@@ -15911,7 +16285,6 @@ components:
importId:
description: The ID of the Import which created this coupon.
example: 4
- format: int64
title: Import ID
type: integer
reservation:
@@ -15986,19 +16359,17 @@ components:
isReservationMandatory: false
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of the coupon.
example: 6
- format: int64
type: integer
created:
- description: The time this entity was created.
+ description: The time the coupon was created.
example: 2020-06-10T09:05:27.993483Z
format: date-time
type: string
campaignId:
description: The ID of the campaign that owns this entity.
example: 211
- format: int64
title: Campaign ID
type: integer
value:
@@ -16011,7 +16382,6 @@ 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
@@ -16019,14 +16389,13 @@ components:
description: |
The total discount value that the code can give. Typically used to represent a gift card value.
example: 30.0
- maximum: 999999
+ maximum: 1E+15
minimum: 0
type: number
reservationLimit:
description: |
The number of reservations that can be made with this coupon code.
example: 45
- format: int64
maximum: 999999
minimum: 0
type: integer
@@ -16054,7 +16423,6 @@ components:
usageCounter:
description: The number of times the coupon has been successfully redeemed.
example: 10
- format: int64
title: Total coupon redemptions
type: integer
discountCounter:
@@ -16082,7 +16450,6 @@ 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:
@@ -16095,7 +16462,6 @@ components:
importId:
description: The ID of the Import which created this coupon.
example: 4
- format: int64
title: Import ID
type: integer
reservation:
@@ -16128,7 +16494,6 @@ 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:
@@ -16145,7 +16510,6 @@ components:
id:
description: Unique ID for this entity.
example: 4
- format: int64
type: integer
created:
description: The exact moment this entity was created.
@@ -16161,7 +16525,6 @@ components:
userId:
description: The ID of the user associated with this entity.
example: 388
- format: int64
type: integer
required:
- userId
@@ -16304,7 +16667,6 @@ 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.
@@ -16348,7 +16710,6 @@ components:
- 1
- 3
items:
- format: int64
type: integer
type: array
type:
@@ -16375,7 +16736,6 @@ components:
- 2
- 3
items:
- format: int64
type: integer
type: array
required:
@@ -16432,14 +16792,12 @@ 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: |
@@ -16452,42 +16810,36 @@ 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: |
@@ -16500,7 +16852,6 @@ 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: |
@@ -16513,21 +16864,18 @@ 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.
@@ -16551,7 +16899,6 @@ 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.
@@ -16575,7 +16922,6 @@ components:
- 100
- 215
items:
- format: int64
type: integer
type: array
required:
@@ -16595,31 +16941,26 @@ 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
@@ -16786,7 +17127,6 @@ components:
id:
description: Unique ID for this entity.
example: 4
- format: int64
type: integer
created:
description: The exact moment this entity was created.
@@ -16796,12 +17136,10 @@ 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.
@@ -16843,7 +17181,6 @@ 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.
@@ -16887,7 +17224,6 @@ components:
- 1
- 3
items:
- format: int64
type: integer
type: array
type:
@@ -16914,7 +17250,6 @@ components:
- 2
- 3
items:
- format: int64
type: integer
type: array
budgets:
@@ -16931,14 +17266,12 @@ 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: |
@@ -16951,42 +17284,36 @@ 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: |
@@ -16999,7 +17326,6 @@ 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: |
@@ -17012,21 +17338,18 @@ 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.
@@ -17050,7 +17373,6 @@ 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.
@@ -17074,7 +17396,6 @@ components:
- 100
- 215
items:
- format: int64
type: integer
type: array
revisionFrontendState:
@@ -17088,31 +17409,26 @@ 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
@@ -17155,20 +17471,17 @@ 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
@@ -17177,7 +17490,6 @@ 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
@@ -17185,18 +17497,15 @@ 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.
@@ -17205,7 +17514,6 @@ 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,
@@ -17234,9 +17542,8 @@ components:
startDate: 2000-01-23T04:56:07.000+00:00
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -17250,7 +17557,6 @@ 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.
@@ -17271,7 +17577,6 @@ 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
@@ -17282,7 +17587,6 @@ 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
@@ -17295,7 +17599,6 @@ components:
accountId:
description: The ID of the account that owns this entity.
example: 3886
- format: int64
type: integer
required:
- accountId
@@ -17309,13 +17612,11 @@ 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
@@ -17355,9 +17656,8 @@ components:
applicationId: 322
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -17367,12 +17667,10 @@ 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.
@@ -17382,13 +17680,11 @@ 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:
@@ -17401,7 +17697,6 @@ components:
profileId:
description: The internal ID of the profile this return was requested on.
example: 123
- format: int64
title: Profile ID
type: integer
profileIntegrationId:
@@ -17414,7 +17709,6 @@ components:
createdBy:
description: ID of the user who requested this return.
example: 123
- format: int64
title: Created By
type: integer
required:
@@ -17721,9 +18015,12 @@ components:
conditionIndex: 786
evaluationGroupMode: stackable
effectType: rejectCoupon
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
props: '{}'
+ selectedPrice: 100.0
evaluationGroupID: 3
triggeredForCatalogItem: 786
+ selectedPriceType: member
campaignRevisionId: 1
ruleName: Give 20% discount
triggeredByCoupon: 4928
@@ -17734,9 +18031,12 @@ components:
conditionIndex: 786
evaluationGroupMode: stackable
effectType: rejectCoupon
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
props: '{}'
+ selectedPrice: 100.0
evaluationGroupID: 3
triggeredForCatalogItem: 786
+ selectedPriceType: member
campaignRevisionId: 1
ruleName: Give 20% discount
triggeredByCoupon: 4928
@@ -18163,19 +18463,31 @@ components:
returnedQuantity: 1
length: 1.4658129805029452
weight: 1130.0
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
+ adjustmentEffectiveFrom: 2021-09-12T10:12:42Z
catalogItemID: 5
additionalCosts:
shipping:
price: 9
price: 99.99
+ selectedPriceType: member
name: Air Glide
width: 6.027456183070403
attributes:
image: 11.jpeg
material: leather
+ adjustmentEffectiveUntil: 2021-09-12T10:12:42Z
position: 5.962133916683182
sku: SKU1241028
category: shoes
+ prices:
+ member:
+ price: 90
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
+ effectiveFrom: 2025-05-25T00:00:00Z
+ effectiveUntil: 2025-05-30T00:00:00Z
+ base:
+ price: 100
height: 0.8008281904610115
- remainingQuantity: 1
product:
@@ -18184,19 +18496,31 @@ components:
returnedQuantity: 1
length: 1.4658129805029452
weight: 1130.0
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
+ adjustmentEffectiveFrom: 2021-09-12T10:12:42Z
catalogItemID: 5
additionalCosts:
shipping:
price: 9
price: 99.99
+ selectedPriceType: member
name: Air Glide
width: 6.027456183070403
attributes:
image: 11.jpeg
material: leather
+ adjustmentEffectiveUntil: 2021-09-12T10:12:42Z
position: 5.962133916683182
sku: SKU1241028
category: shoes
+ prices:
+ member:
+ price: 90
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
+ effectiveFrom: 2025-05-25T00:00:00Z
+ effectiveUntil: 2025-05-30T00:00:00Z
+ base:
+ price: 100
height: 0.8008281904610115
updated: 2020-02-08T14:15:22Z
firstSession: true
@@ -18426,9 +18750,12 @@ components:
conditionIndex: 786
evaluationGroupMode: stackable
effectType: rejectCoupon
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
props: '{}'
+ selectedPrice: 100.0
evaluationGroupID: 3
triggeredForCatalogItem: 786
+ selectedPriceType: member
campaignRevisionId: 1
ruleName: Give 20% discount
triggeredByCoupon: 4928
@@ -18439,9 +18766,12 @@ components:
conditionIndex: 786
evaluationGroupMode: stackable
effectType: rejectCoupon
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
props: '{}'
+ selectedPrice: 100.0
evaluationGroupID: 3
triggeredForCatalogItem: 786
+ selectedPriceType: member
campaignRevisionId: 1
ruleName: Give 20% discount
triggeredByCoupon: 4928
@@ -18469,7 +18799,6 @@ components:
- 2
- 4
items:
- format: int64
type: integer
title: Audiences to join
type: array
@@ -18478,7 +18807,6 @@ components:
example:
- 7
items:
- format: int64
type: integer
title: Audiences to leave
type: array
@@ -18523,7 +18851,6 @@ components:
- 10
- 12
items:
- format: int64
type: integer
title: Campaigns to evaluate
type: array
@@ -18559,9 +18886,12 @@ components:
conditionIndex: 786
evaluationGroupMode: stackable
effectType: rejectCoupon
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
props: '{}'
+ selectedPrice: 100.0
evaluationGroupID: 3
triggeredForCatalogItem: 786
+ selectedPriceType: member
campaignRevisionId: 1
ruleName: Give 20% discount
triggeredByCoupon: 4928
@@ -18572,9 +18902,12 @@ components:
conditionIndex: 786
evaluationGroupMode: stackable
effectType: rejectCoupon
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
props: '{}'
+ selectedPrice: 100.0
evaluationGroupID: 3
triggeredForCatalogItem: 786
+ selectedPriceType: member
campaignRevisionId: 1
ruleName: Give 20% discount
triggeredByCoupon: 4928
@@ -19496,12 +19829,10 @@ 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.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -19594,7 +19925,6 @@ 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
@@ -19636,6 +19966,42 @@ components:
required:
- integrationId
type: object
+ IntegrationCustomerProfileAudienceRequestItem:
+ properties:
+ action:
+ description: |
+ 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.
+ enum:
+ - add
+ - delete
+ example: add
+ type: string
+ profileIntegrationId:
+ description: The ID of this customer profile in the third-party integration.
+ example: R195412
+ maxLength: 1000
+ type: string
+ integrationId:
+ description: The ID of this audience in the third-party integration.
+ example: 382370BKDB946
+ type: string
+ required:
+ - action
+ - integrationId
+ - profileIntegrationId
+ type: object
+ IntegrationCustomerProfileAudienceRequest:
+ properties:
+ data:
+ items:
+ $ref: '#/components/schemas/IntegrationCustomerProfileAudienceRequestItem'
+ type: array
+ type: object
NewAttribute:
example:
editable: true
@@ -19751,7 +20117,6 @@ components:
- 4
- 9
items:
- format: int64
type: integer
type: array
subscribedCatalogsIds:
@@ -19760,7 +20125,6 @@ components:
- 2
- 5
items:
- format: int64
type: integer
type: array
allowedSubscriptions:
@@ -19820,9 +20184,8 @@ components:
entity: Event
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -19832,7 +20195,6 @@ 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
@@ -19921,7 +20283,6 @@ components:
- 4
- 9
items:
- format: int64
type: integer
type: array
subscribedCatalogsIds:
@@ -19930,7 +20291,6 @@ components:
- 2
- 5
items:
- format: int64
type: integer
type: array
allowedSubscriptions:
@@ -19950,7 +20310,6 @@ components:
type: array
eventTypeId:
example: 22
- format: int64
type: integer
required:
- accountId
@@ -19964,128 +20323,6 @@ components:
- title
- type
type: object
- EventV2:
- properties:
- profileId:
- description: |
- 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`.
- example: URNGV8294NV
- type: string
- storeIntegrationId:
- description: The integration ID of the store. You choose this ID when you
- create a store.
- example: STORE-001
- maxLength: 1000
- minLength: 1
- type: string
- evaluableCampaignIds:
- description: |
- 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.
- example:
- - 10
- - 12
- items:
- format: int64
- type: integer
- title: Campaigns to evaluate
- type: array
- type:
- description: |
- 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.
- example: pageViewed
- minLength: 1
- title: Event Type
- type: string
- attributes:
- description: 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).
- example:
- myAttribute: myValue
- properties: {}
- type: object
- required:
- - type
- type: object
- IntegrationEventV2Request:
- example:
- storeIntegrationId: STORE-001
- profileId: URNGV8294NV
- evaluableCampaignIds:
- - 10
- - 12
- attributes:
- myAttribute: myValue
- type: pageViewed
- responseContent:
- - triggeredCampaigns
- - customerProfile
- properties:
- profileId:
- description: |
- 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`.
- example: URNGV8294NV
- type: string
- storeIntegrationId:
- description: The integration ID of the store. You choose this ID when you
- create a store.
- example: STORE-001
- maxLength: 1000
- minLength: 1
- type: string
- evaluableCampaignIds:
- description: |
- 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.
- example:
- - 10
- - 12
- items:
- format: int64
- type: integer
- title: Campaigns to evaluate
- type: array
- type:
- description: |
- 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.
- example: pageViewed
- minLength: 1
- title: Event Type
- type: string
- attributes:
- description: 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).
- example:
- myAttribute: myValue
- properties: {}
- type: object
- responseContent:
- description: |
- Optional list of requested information to be present on the response related to the tracking custom event.
- example:
- - triggeredCampaigns
- - customerProfile
- items:
- enum:
- - customerProfile
- - triggeredCampaigns
- - loyalty
- - event
- - awardedGiveaways
- - ruleFailureReasons
- type: string
- type: array
- required:
- - type
- type: object
GetIntegrationCouponRequest:
properties:
campaignIds:
@@ -20095,13 +20332,10 @@ 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
@@ -20147,19 +20381,17 @@ components:
isReservationMandatory: false
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of the coupon.
example: 6
- format: int64
type: integer
created:
- description: The time this entity was created.
+ description: The time the coupon was created.
example: 2020-06-10T09:05:27.993483Z
format: date-time
type: string
campaignId:
description: The ID of the campaign that owns this entity.
example: 211
- format: int64
title: Campaign ID
type: integer
value:
@@ -20172,7 +20404,6 @@ 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
@@ -20180,14 +20411,13 @@ components:
description: |
The total discount value that the code can give. Typically used to represent a gift card value.
example: 30.0
- maximum: 999999
+ maximum: 1E+15
minimum: 0
type: number
reservationLimit:
description: |
The number of reservations that can be made with this coupon code.
example: 45
- format: int64
maximum: 999999
minimum: 0
type: integer
@@ -20215,7 +20445,6 @@ components:
usageCounter:
description: The number of times the coupon has been successfully redeemed.
example: 10
- format: int64
title: Total coupon redemptions
type: integer
discountCounter:
@@ -20243,7 +20472,6 @@ 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:
@@ -20256,7 +20484,6 @@ components:
importId:
description: The ID of the Import which created this coupon.
example: 4
- format: int64
title: Import ID
type: integer
reservation:
@@ -20289,7 +20516,6 @@ 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:
@@ -20315,6 +20541,136 @@ components:
- usageLimit
- value
type: object
+ EventV2:
+ properties:
+ profileId:
+ description: |
+ 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`.
+ example: URNGV8294NV
+ type: string
+ storeIntegrationId:
+ description: The integration ID of the store. You choose this ID when you
+ create a store.
+ example: STORE-001
+ maxLength: 1000
+ minLength: 1
+ type: string
+ evaluableCampaignIds:
+ description: |
+ 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.
+ example:
+ - 10
+ - 12
+ items:
+ type: integer
+ title: Campaigns to evaluate
+ type: array
+ type:
+ description: |
+ 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.
+ example: pageViewed
+ minLength: 1
+ title: Event Type
+ type: string
+ attributes:
+ description: 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).
+ example:
+ myAttribute: myValue
+ properties: {}
+ type: object
+ required:
+ - type
+ type: object
+ IntegrationEventV2Request:
+ example:
+ loyaltyCards:
+ - loyalty-card-1
+ storeIntegrationId: STORE-001
+ profileId: URNGV8294NV
+ evaluableCampaignIds:
+ - 10
+ - 12
+ attributes:
+ myAttribute: myValue
+ type: pageViewed
+ responseContent:
+ - triggeredCampaigns
+ - customerProfile
+ properties:
+ profileId:
+ description: |
+ 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`.
+ example: URNGV8294NV
+ type: string
+ storeIntegrationId:
+ description: The integration ID of the store. You choose this ID when you
+ create a store.
+ example: STORE-001
+ maxLength: 1000
+ minLength: 1
+ type: string
+ evaluableCampaignIds:
+ description: |
+ 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.
+ example:
+ - 10
+ - 12
+ items:
+ type: integer
+ title: Campaigns to evaluate
+ type: array
+ type:
+ description: |
+ 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.
+ example: pageViewed
+ minLength: 1
+ title: Event Type
+ type: string
+ attributes:
+ description: 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).
+ example:
+ myAttribute: myValue
+ properties: {}
+ type: object
+ loyaltyCards:
+ description: Identifier of the loyalty card used during this event.
+ example:
+ - loyalty-card-1
+ items:
+ type: string
+ maxItems: 1
+ type: array
+ responseContent:
+ description: |
+ Optional list of requested information to be present on the response related to the tracking custom event.
+ example:
+ - triggeredCampaigns
+ - customerProfile
+ items:
+ enum:
+ - customerProfile
+ - triggeredCampaigns
+ - loyalty
+ - event
+ - awardedGiveaways
+ - ruleFailureReasons
+ type: string
+ type: array
+ required:
+ - type
+ type: object
AddLoyaltyPoints:
description: Points to add.
example:
@@ -20412,7 +20768,6 @@ 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
@@ -20543,12 +20898,10 @@ 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: |
@@ -20579,7 +20932,6 @@ components:
- 132
- 97
items:
- format: int64
type: integer
type: array
defaultValidity:
@@ -20607,7 +20959,6 @@ 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:
@@ -20716,9 +21067,8 @@ components:
description: A tier in a loyalty program.
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -20728,7 +21078,6 @@ 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
@@ -20846,7 +21195,6 @@ components:
id:
description: The ID of loyalty program.
example: 139
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -20868,7 +21216,6 @@ components:
- 132
- 97
items:
- format: int64
type: integer
type: array
defaultValidity:
@@ -20896,7 +21243,6 @@ 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:
@@ -20986,7 +21332,6 @@ 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
@@ -21277,9 +21622,8 @@ components:
enablePartialDiscounts: false
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -21294,7 +21638,6 @@ 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.
@@ -21375,12 +21718,10 @@ 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: |
@@ -21456,9 +21797,8 @@ components:
MultipleAudiencesItem:
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -21497,7 +21837,6 @@ components:
accountId:
description: The ID of the account that owns this entity.
example: 3886
- format: int64
type: integer
audiences:
items:
@@ -21592,7 +21931,6 @@ components:
applicationId:
description: The ID of the Application that owns this entity.
example: 322
- format: int64
type: integer
profileId:
description: |
@@ -21764,9 +22102,12 @@ components:
conditionIndex: 786
evaluationGroupMode: stackable
effectType: rejectCoupon
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
props: '{}'
+ selectedPrice: 100.0
evaluationGroupID: 3
triggeredForCatalogItem: 786
+ selectedPriceType: member
campaignRevisionId: 1
ruleName: Give 20% discount
triggeredByCoupon: 4928
@@ -21777,9 +22118,12 @@ components:
conditionIndex: 786
evaluationGroupMode: stackable
effectType: rejectCoupon
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
props: '{}'
+ selectedPrice: 100.0
evaluationGroupID: 3
triggeredForCatalogItem: 786
+ selectedPriceType: member
campaignRevisionId: 1
ruleName: Give 20% discount
triggeredByCoupon: 4928
@@ -22540,7 +22884,6 @@ 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
@@ -22549,7 +22892,6 @@ 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:
@@ -22720,7 +23062,6 @@ components:
achievementId:
description: The internal ID of the achievement.
example: 3
- format: int64
type: integer
name:
description: |
@@ -22742,7 +23083,6 @@ 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
@@ -22754,9 +23094,11 @@ components:
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.
+ - `on_completion`: When the customer progress status reaches `completed`, the achievement resets and becomes available again.
enum:
- no_recurrence
- on_expiration
+ - on_completion
example: no_recurrence
type: string
achievementActivationPolicy:
@@ -23161,7 +23503,6 @@ components:
**Note**: Only applicable if the period is set to `Y`.
example: 11
- format: int64
maximum: 12
minimum: 1
type: integer
@@ -23171,7 +23512,6 @@ components:
**Note**: Only applicable if the period is set to `Y` or `M`.
example: 23
- format: int64
maximum: 31
minimum: 1
type: integer
@@ -23180,24 +23520,20 @@ 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
@@ -23266,9 +23602,11 @@ components:
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.
+ - `on_completion`: When the customer progress status reaches `completed`, the achievement resets and becomes available again.
enum:
- no_recurrence
- on_expiration
+ - on_completion
example: no_recurrence
type: string
activationPolicy:
@@ -23374,9 +23712,11 @@ components:
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.
+ - `on_completion`: When the customer progress status reaches `completed`, the achievement resets and becomes available again.
enum:
- no_recurrence
- on_expiration
+ - on_completion
example: no_recurrence
type: string
activationPolicy:
@@ -23438,9 +23778,8 @@ components:
status: active
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -23507,9 +23846,11 @@ components:
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.
+ - `on_completion`: When the customer progress status reaches `completed`, the achievement resets and becomes available again.
enum:
- no_recurrence
- on_expiration
+ - on_completion
example: no_recurrence
type: string
activationPolicy:
@@ -23539,7 +23880,6 @@ 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.
@@ -23813,7 +24153,6 @@ components:
programId:
description: ID of the loyalty program.
example: 324
- format: int64
type: integer
cardIdentifier:
description: |
@@ -23870,13 +24209,11 @@ 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.
@@ -23928,7 +24265,6 @@ 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.
@@ -23978,13 +24314,11 @@ 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.
@@ -24020,7 +24354,6 @@ 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.
@@ -24029,7 +24362,6 @@ 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.
@@ -24095,7 +24427,6 @@ 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.
@@ -24104,7 +24435,6 @@ 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.
@@ -24280,7 +24610,6 @@ 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.
@@ -24324,7 +24653,6 @@ components:
- 1
- 3
items:
- format: int64
type: integer
type: array
type:
@@ -24351,14 +24679,12 @@ 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:
@@ -24374,7 +24700,6 @@ 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
@@ -24418,7 +24743,6 @@ components:
activeRulesetId:
description: The ID of the ruleset this campaign template will use.
example: 5
- format: int64
nullable: true
type: integer
tags:
@@ -24457,28 +24781,21 @@ 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.
@@ -24511,7 +24828,6 @@ components:
activeRulesetId:
description: The ID of the ruleset this campaign template will use.
example: 5
- format: int64
nullable: true
type: integer
tags:
@@ -24559,31 +24875,25 @@ 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'
@@ -24605,7 +24915,6 @@ components:
- 2
- 3
items:
- format: int64
type: integer
maxItems: 5
type: array
@@ -24629,7 +24938,6 @@ components:
description: The ID of the parent group that contains the campaign evaluation
group.
example: 2
- format: int64
minimum: 1
type: integer
description:
@@ -24669,7 +24977,6 @@ 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.
@@ -24679,7 +24986,6 @@ components:
description: The ID of the parent group that contains the campaign evaluation
group.
example: 2
- format: int64
minimum: 1
type: integer
description:
@@ -24711,7 +25017,6 @@ 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
@@ -24732,7 +25037,6 @@ components:
description: The ID of the parent group that contains the campaign evaluation
group.
example: 2
- format: int64
minimum: 1
type: integer
description:
@@ -24793,7 +25097,6 @@ 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.
@@ -24835,7 +25138,6 @@ components:
type: string
campaignId:
description: ID of the campaign
- format: int64
type: integer
required:
- campaignId
@@ -24854,17 +25156,14 @@ 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.
+ description: The 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:
@@ -24884,12 +25183,10 @@ 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:
@@ -25056,7 +25353,6 @@ 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.
@@ -25100,14 +25396,12 @@ 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
@@ -25133,7 +25427,6 @@ components:
- 2
- 3
items:
- format: int64
type: integer
type: array
required:
@@ -25170,7 +25463,6 @@ components:
- 2
- 3
items:
- format: int64
type: integer
type: array
description:
@@ -25203,7 +25495,6 @@ components:
description: The ID of the campaign evaluation group the campaign belongs
to.
example: 2
- format: int64
type: integer
required:
- applicationIds
@@ -25218,7 +25509,22 @@ components:
- 2
- 3
items:
- format: int64
+ type: integer
+ maxItems: 5
+ type: array
+ required:
+ - userIds
+ type: object
+ CampaignDeactivationRequest:
+ properties:
+ userIds:
+ description: The list of IDs of the users receiving the deactivation request
+ emails.
+ example:
+ - 1
+ - 2
+ - 3
+ items:
type: integer
maxItems: 5
type: array
@@ -25242,7 +25548,6 @@ components:
- 2
- 3
items:
- format: int64
type: integer
maxItems: 50
type: array
@@ -25262,7 +25567,6 @@ components:
id:
description: Unique ID for this entity.
example: 6
- format: int64
type: integer
name:
description: Name of the outgoing integration.
@@ -25383,17 +25687,14 @@ 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
@@ -25410,12 +25711,10 @@ 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.
@@ -25480,12 +25779,10 @@ 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.
@@ -25559,7 +25856,6 @@ components:
- 2
- 3
items:
- format: int64
type: integer
type: array
required:
@@ -25616,7 +25912,6 @@ 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
@@ -25634,7 +25929,6 @@ 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:
@@ -25646,6 +25940,10 @@ components:
description: A description of the webhook.
example: A webhook to send a coupon to the user.
type: string
+ draft:
+ description: Indicates if the webhook is a draft.
+ example: false
+ type: boolean
verb:
description: API method for this webhook.
enum:
@@ -25686,6 +25984,7 @@ components:
type: boolean
required:
- applicationIds
+ - draft
- enabled
- headers
- params
@@ -25698,12 +25997,9 @@ components:
headers:
- '{"Authorization": "Basic bmF2ZWVua3VtYXIU="}'
- '{"Content-Type": "application/json"}'
- payload: "{\n\t\"message\": \"${message}\"\n}"
created: 2020-06-10T09:05:27.993483Z
verb: POST
- modified: 2021-09-12T10:12:42Z
description: A webhook to send a coupon to the user.
- id: 6
title: Send message
params: []
url: www.my-company.com/my-endpoint-name
@@ -25711,11 +26007,14 @@ components:
applicationIds:
- 0
- 0
+ payload: "{\n\t\"message\": \"${message}\"\n}"
+ draft: false
+ modified: 2021-09-12T10:12:42Z
+ id: 6
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -25732,7 +26031,6 @@ 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:
@@ -25744,6 +26042,10 @@ components:
description: A description of the webhook.
example: A webhook to send a coupon to the user.
type: string
+ draft:
+ description: Indicates if the webhook is a draft.
+ example: false
+ type: boolean
verb:
description: API method for this webhook.
enum:
@@ -25785,6 +26087,7 @@ components:
required:
- applicationIds
- created
+ - draft
- enabled
- headers
- id
@@ -25798,7 +26101,6 @@ components:
properties:
amount:
description: The amount of period.
- format: int64
minimum: 0
type: integer
period:
@@ -25831,11 +26133,9 @@ 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
@@ -25845,7 +26145,6 @@ components:
properties:
amount:
description: The amount of period.
- format: int64
minimum: 1
type: integer
period:
@@ -25878,11 +26177,9 @@ 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
@@ -25892,7 +26189,6 @@ components:
properties:
amount:
description: The amount of period.
- format: int64
minimum: 1
type: integer
period:
@@ -25925,11 +26221,9 @@ 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
@@ -25979,6 +26273,50 @@ components:
- name
- scopes
type: object
+ AddedDeductedPointsBalancesNotificationPolicy:
+ properties:
+ name:
+ description: Notification name.
+ example: Christmas Sale
+ minLength: 1
+ type: string
+ scopes:
+ items:
+ enum:
+ - all
+ - campaign_manager
+ - management_api
+ - rule_engine
+ type: string
+ maxItems: 4
+ minItems: 1
+ type: array
+ required:
+ - name
+ - scopes
+ type: object
+ CardAddedDeductedPointsBalancesNotificationPolicy:
+ properties:
+ name:
+ description: Notification name.
+ example: Christmas Sale
+ minLength: 1
+ type: string
+ scopes:
+ items:
+ enum:
+ - all
+ - campaign_manager
+ - management_api
+ - rule_engine
+ type: string
+ maxItems: 4
+ minItems: 1
+ type: array
+ required:
+ - name
+ - scopes
+ type: object
CouponsNotificationPolicy:
properties:
name:
@@ -26008,11 +26346,9 @@ 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
@@ -26028,7 +26364,6 @@ 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
@@ -26048,11 +26383,9 @@ 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
@@ -26070,11 +26403,9 @@ 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
@@ -26092,11 +26423,9 @@ 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
@@ -26114,11 +26443,9 @@ 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
@@ -26127,7 +26454,6 @@ components:
properties:
amount:
description: The amount of period.
- format: int64
type: integer
period:
description: Notification period indicated by a letter; "w" means week,
@@ -26153,11 +26479,9 @@ 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:
@@ -26209,9 +26533,8 @@ components:
BaseNotificationWebhook:
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -26260,7 +26583,6 @@ components:
id:
description: Unique ID for this entity.
example: 6
- format: int64
minimum: 1
type: integer
type:
@@ -26269,6 +26591,8 @@ components:
- campaign
- loyalty_added_deducted_points
- card_added_deducted_points
+ - loyalty_added_deducted_points_balances
+ - loyalty_card_added_deducted_points_balances
- coupon
- expiring_coupons
- expiring_points
@@ -26338,7 +26662,6 @@ components:
effectId:
description: ID of the effect.
example: 1
- format: int64
type: integer
name:
description: The type of the custom effect.
@@ -26362,19 +26685,16 @@ 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.
@@ -26409,7 +26729,6 @@ components:
campaignsIDs:
description: The campaign IDs that got fetched for the evaluation process.
items:
- format: int64
type: integer
type: array
effects:
@@ -26419,6 +26738,97 @@ components:
$ref: '#/components/schemas/StrikethroughEffect'
type: array
type: object
+ PriceType:
+ properties:
+ id:
+ description: The internal ID of this entity.
+ example: 6
+ type: integer
+ created:
+ description: The time this entity was created.
+ example: 2020-06-10T09:05:27.993483Z
+ format: date-time
+ type: string
+ accountId:
+ description: The ID of the account that owns this price type.
+ example: 1
+ type: integer
+ name:
+ description: The API name of the price type. This is an immutable value.
+ example: member
+ pattern: ^[A-Za-z]\w*$
+ type: string
+ title:
+ description: The title of the price type.
+ example: Member Price
+ type: string
+ description:
+ description: The description of the price type.
+ example: Price available exclusively to members.
+ type: string
+ modified:
+ description: The date and time when the price type was last modified.
+ example: 2021-09-12T10:12:42Z
+ format: date-time
+ type: string
+ subscribedCatalogsIds:
+ description: A list of the IDs of the catalogs that are subscribed to this
+ price type.
+ example:
+ - 1
+ - 2
+ - 3
+ items:
+ type: integer
+ type: array
+ targetedAudiencesIds:
+ description: A list of the IDs of the audiences that are targeted by this
+ price type.
+ example:
+ - 1
+ - 2
+ - 3
+ items:
+ type: integer
+ type: array
+ required:
+ - created
+ - id
+ - modified
+ - name
+ - subscribedCatalogsIds
+ - targetedAudiencesIds
+ - title
+ type: object
+ NewPriceType:
+ properties:
+ name:
+ description: The API name of the price type. This is an immutable value.
+ example: member
+ pattern: ^[A-Za-z]\w*$
+ type: string
+ title:
+ description: The title of the price type.
+ example: Member Price
+ type: string
+ description:
+ description: The description of the price type.
+ example: Price available exclusively to members.
+ type: string
+ targetedAudiencesIds:
+ description: A list of the IDs of the audiences that are targeted by this
+ price type.
+ example:
+ - 1
+ - 2
+ - 3
+ items:
+ type: integer
+ type: array
+ required:
+ - name
+ - title
+ type: object
NewMessageTest:
properties:
type:
@@ -26427,6 +26837,8 @@ components:
- campaign
- loyalty_added_deducted_points
- card_added_deducted_points
+ - loyalty_added_deducted_points_balances
+ - loyalty_card_added_deducted_points_balances
- coupon
- expiring_coupons
- expiring_points
@@ -26494,7 +26906,6 @@ components:
httpStatus:
description: The returned http status code.
example: 200
- format: int64
type: integer
required:
- httpResponse
@@ -26514,9 +26925,12 @@ components:
type: object
Binding:
example:
+ attributeId: 100
+ minValue: 0.0
expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
@@ -26551,6 +26965,19 @@ components:
- `boolean`
example: string
type: string
+ minValue:
+ description: The minimum value allowed for this placeholder.
+ example: 0.0
+ type: number
+ maxValue:
+ description: The maximum value allowed for this placeholder.
+ example: 19.9
+ type: number
+ attributeId:
+ description: Id of the attribute attached to the placeholder.
+ example: 100
+ title: Attribute ID
+ type: integer
required:
- expression
- name
@@ -26573,15 +27000,21 @@ components:
- 10
- 100
bindings:
- - expression:
+ - attributeId: 100
+ minValue: 0.0
+ expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
- - expression:
+ - attributeId: 100
+ minValue: 0.0
+ expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
@@ -26709,15 +27142,21 @@ components:
- 10
- 100
bindings:
- - expression:
+ - attributeId: 100
+ minValue: 0.0
+ expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
- - expression:
+ - attributeId: 100
+ minValue: 0.0
+ expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
@@ -26741,15 +27180,21 @@ components:
- 10
- 100
bindings:
- - expression:
+ - attributeId: 100
+ minValue: 0.0
+ expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
- - expression:
+ - attributeId: 100
+ minValue: 0.0
+ expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
@@ -26775,15 +27220,21 @@ components:
- 10
- 100
bindings:
- - expression:
+ - attributeId: 100
+ minValue: 0.0
+ expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
- - expression:
+ - attributeId: 100
+ minValue: 0.0
+ expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
@@ -26807,15 +27258,21 @@ components:
- 10
- 100
bindings:
- - expression:
+ - attributeId: 100
+ minValue: 0.0
+ expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
- - expression:
+ - attributeId: 100
+ minValue: 0.0
+ expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
@@ -26827,9 +27284,8 @@ components:
userId: 388
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -26839,7 +27295,6 @@ 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.
@@ -26872,13 +27327,11 @@ 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:
@@ -26906,7 +27359,6 @@ 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
@@ -26914,14 +27366,13 @@ components:
description: |
The total discount value that the code can give. Typically used to represent a gift card value.
example: 30.0
- maximum: 999999
+ maximum: 1E+15
minimum: 0
type: number
reservationLimit:
description: |
The number of reservations that can be made with this coupon code.
example: 45
- format: int64
maximum: 999999
minimum: 0
type: integer
@@ -26986,7 +27437,6 @@ 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
@@ -26994,14 +27444,13 @@ components:
description: |
The total discount value that the code can give. Typically used to represent a gift card value.
example: 30.0
- maximum: 999999
+ maximum: 1E+15
minimum: 0
type: number
reservationLimit:
description: |
The number of reservations that can be made with this coupon code.
example: 45
- format: int64
maximum: 999999
minimum: 0
type: integer
@@ -27030,7 +27479,6 @@ 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: |
@@ -27132,7 +27580,6 @@ 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
@@ -27140,14 +27587,13 @@ components:
description: |
The total discount value that the code can give. Typically used to represent a gift card value.
example: 30.0
- maximum: 999999
+ maximum: 1E+15
minimum: 0
type: number
reservationLimit:
description: |
The number of reservations that can be made with this coupon code.
example: 45
- format: int64
maximum: 999999
minimum: 0
type: integer
@@ -27277,7 +27723,6 @@ 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
@@ -27285,14 +27730,13 @@ components:
description: |
The total discount value that the code can give. Typically used to represent a gift card value.
example: 30.0
- maximum: 999999
+ maximum: 1E+15
minimum: 0
type: number
reservationLimit:
description: |
The number of reservations that can be made with this coupon code.
example: 45
- format: int64
maximum: 999999
minimum: 0
type: integer
@@ -27310,7 +27754,6 @@ 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
@@ -27418,7 +27861,6 @@ 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
@@ -27464,7 +27906,6 @@ 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
@@ -27475,7 +27916,6 @@ components:
$ref: '#/components/schemas/CouponDeletionFilters'
campaignids:
items:
- format: int64
type: integer
type: array
required:
@@ -27509,7 +27949,6 @@ 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
@@ -27517,14 +27956,13 @@ components:
description: |
The total discount value that the code can give. Typically used to represent a gift card value.
example: 30.0
- maximum: 999999
+ maximum: 1E+15
minimum: 0
type: number
reservationLimit:
description: |
The number of reservations that can be made with this coupon code.
example: 45
- format: int64
maximum: 999999
minimum: 0
type: integer
@@ -27611,7 +28049,6 @@ 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
@@ -27650,7 +28087,6 @@ 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
@@ -27679,7 +28115,6 @@ components:
- 2
- 3
items:
- format: int64
type: integer
type: array
campaignIds:
@@ -27690,7 +28125,6 @@ components:
- 6
- 8
items:
- format: int64
type: integer
type: array
required:
@@ -27715,9 +28149,8 @@ components:
- 8
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -27732,7 +28165,6 @@ 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.
@@ -27751,7 +28183,6 @@ components:
- 2
- 3
items:
- format: int64
type: integer
type: array
campaignIds:
@@ -27762,7 +28193,6 @@ components:
- 6
- 8
items:
- format: int64
type: integer
type: array
required:
@@ -27791,7 +28221,6 @@ components:
- 2
- 3
items:
- format: int64
type: integer
type: array
campaignIds:
@@ -27802,7 +28231,6 @@ components:
- 6
- 8
items:
- format: int64
type: integer
type: array
required:
@@ -27811,9 +28239,8 @@ components:
Role:
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -27828,14 +28255,12 @@ 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.
@@ -27853,7 +28278,6 @@ components:
- 475
- 18
items:
- format: int64
type: integer
type: array
acl:
@@ -27880,7 +28304,6 @@ components:
description: |
The number of reservations that can be made with this coupon code.
example: 45
- format: int64
maximum: 999999
minimum: 0
type: integer
@@ -27973,7 +28396,6 @@ components:
attributeId:
description: ID of the corresponding attribute.
example: 42
- format: int64
type: integer
required:
- description
@@ -28038,7 +28460,6 @@ 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.
@@ -28086,7 +28507,6 @@ components:
- 2
- 3
items:
- format: int64
type: integer
type: array
campaignCollections:
@@ -28098,7 +28518,6 @@ components:
defaultCampaignGroupId:
description: The default campaign group ID.
example: 42
- format: int64
type: integer
campaignType:
default: advanced
@@ -28261,9 +28680,8 @@ components:
updated: 2022-08-24T14:15:22Z
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -28273,12 +28691,10 @@ 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.
@@ -28318,7 +28734,6 @@ 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.
@@ -28369,7 +28784,6 @@ components:
- 2
- 3
items:
- format: int64
type: integer
type: array
campaignCollections:
@@ -28381,7 +28795,6 @@ components:
defaultCampaignGroupId:
description: The default campaign group ID.
example: 42
- format: int64
type: integer
campaignType:
default: advanced
@@ -28412,7 +28825,6 @@ components:
- 2
- 3
items:
- format: int64
type: integer
type: array
isUserFavorite:
@@ -28512,7 +28924,6 @@ components:
defaultCampaignGroupId:
description: The default campaign group ID.
example: 42
- format: int64
type: integer
campaignType:
default: advanced
@@ -28554,15 +28965,21 @@ components:
limit: 1000.0
action: createCoupon
templateParamValues:
- - expression:
+ - attributeId: 100
+ minValue: 0.0
+ expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
- - expression:
+ - attributeId: 100
+ minValue: 0.0
+ expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
@@ -28588,7 +29005,6 @@ 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
@@ -28614,7 +29030,6 @@ components:
- 1
- 3
items:
- format: int64
type: integer
type: array
tags:
@@ -28632,7 +29047,6 @@ components:
description: The ID of the campaign evaluation group the campaign belongs
to.
example: 2
- format: int64
type: integer
linkedStoreIds:
description: |
@@ -28646,7 +29060,6 @@ components:
- 2
- 3
items:
- format: int64
type: integer
type: array
required:
@@ -28673,7 +29086,6 @@ components:
- 2
- 3
items:
- format: int64
type: integer
type: array
type: object
@@ -28698,7 +29110,6 @@ components:
- 2
- 3
items:
- format: int64
type: integer
type: array
name:
@@ -28728,9 +29139,8 @@ components:
applicationId: 1
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -28740,7 +29150,6 @@ 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.
@@ -28759,7 +29168,6 @@ components:
- 2
- 3
items:
- format: int64
type: integer
type: array
name:
@@ -28771,22 +29179,18 @@ 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
@@ -28817,9 +29221,8 @@ components:
applicationId: 1
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -28829,7 +29232,6 @@ 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.
@@ -28848,7 +29250,6 @@ components:
- 2
- 3
items:
- format: int64
type: integer
type: array
name:
@@ -28860,22 +29261,18 @@ 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.
@@ -28955,15 +29352,21 @@ components:
- 10
- 100
bindings:
- - expression:
+ - attributeId: 100
+ minValue: 0.0
+ expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
- - expression:
+ - attributeId: 100
+ minValue: 0.0
+ expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
@@ -28987,15 +29390,21 @@ components:
- 10
- 100
bindings:
- - expression:
+ - attributeId: 100
+ minValue: 0.0
+ expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
- - expression:
+ - attributeId: 100
+ minValue: 0.0
+ expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
@@ -29021,15 +29430,21 @@ components:
- 10
- 100
bindings:
- - expression:
+ - attributeId: 100
+ minValue: 0.0
+ expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
- - expression:
+ - attributeId: 100
+ minValue: 0.0
+ expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
@@ -29053,15 +29468,21 @@ components:
- 10
- 100
bindings:
- - expression:
+ - attributeId: 100
+ minValue: 0.0
+ expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
- - expression:
+ - attributeId: 100
+ minValue: 0.0
+ expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
@@ -29255,7 +29676,6 @@ components:
- 132
- 97
items:
- format: int64
type: integer
type: array
defaultValidity:
@@ -29283,7 +29703,6 @@ 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:
@@ -29420,7 +29839,6 @@ components:
- 132
- 97
items:
- format: int64
type: integer
type: array
defaultValidity:
@@ -29448,7 +29866,6 @@ 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:
@@ -29547,7 +29964,6 @@ components:
id:
description: The internal ID of the tier.
example: 6
- format: int64
type: integer
name:
description: The name of the tier.
@@ -29657,9 +30073,8 @@ components:
entity: AttributeAllowedList
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -29669,12 +30084,10 @@ 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: |
@@ -29684,7 +30097,6 @@ components:
amount:
description: The number of values that were imported.
example: 10
- format: int64
minimum: 0
type: integer
required:
@@ -29721,21 +30133,18 @@ 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: |
@@ -29771,7 +30180,6 @@ 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.
@@ -30267,7 +30675,6 @@ components:
applicationId:
description: ID of the Application that is connected to the loyalty program.
example: 322
- format: int64
type: integer
required:
- points
@@ -30298,17 +30705,14 @@ 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.
@@ -30374,13 +30778,11 @@ 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
@@ -30391,7 +30793,6 @@ 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
@@ -30459,7 +30860,6 @@ components:
numberOfCards:
description: Number of loyalty cards in the batch.
example: 5000
- format: int64
type: integer
batchId:
description: ID of the loyalty card batch.
@@ -30489,7 +30889,6 @@ components:
numberOfCardsGenerated:
description: Number of loyalty cards in the batch.
example: 5000
- format: int64
type: integer
batchId:
description: ID of the loyalty card batch.
@@ -30556,7 +30955,6 @@ components:
programId:
description: ID of the loyalty program.
example: 324
- format: int64
type: integer
cardIdentifier:
description: |
@@ -30568,13 +30966,11 @@ 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.
@@ -30624,7 +31020,6 @@ components:
id:
description: ID of the loyalty ledger entry.
example: 123
- format: int64
type: integer
required:
- amount
@@ -30675,7 +31070,6 @@ components:
- 2
- 4
items:
- format: int64
type: integer
type: array
sandbox:
@@ -30692,9 +31086,8 @@ components:
description: Giveaways pools is an entity for managing multiple similar giveaways.
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -30704,7 +31097,6 @@ 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.
@@ -30721,7 +31113,6 @@ components:
- 2
- 4
items:
- format: int64
type: integer
type: array
sandbox:
@@ -30736,11 +31127,9 @@ 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
@@ -30755,23 +31144,19 @@ 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.
@@ -30780,7 +31165,6 @@ 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
@@ -30791,7 +31175,6 @@ 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.
@@ -30800,7 +31183,6 @@ 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.
@@ -30836,7 +31218,6 @@ components:
applicationIds:
description: The IDs of the Applications that are related to this entity.
items:
- format: int64
type: integer
minItems: 1
type: array
@@ -30848,7 +31229,6 @@ components:
applicationIds:
description: The IDs of the Applications that are related to this entity.
items:
- format: int64
type: integer
minItems: 1
type: array
@@ -30888,9 +31268,8 @@ components:
CustomEffect:
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -30900,7 +31279,6 @@ 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.
@@ -30910,7 +31288,6 @@ components:
applicationIds:
description: The IDs of the Applications that are related to this entity.
items:
- format: int64
type: integer
minItems: 1
type: array
@@ -30943,12 +31320,10 @@ 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
@@ -30993,9 +31368,8 @@ components:
Picklist:
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -31025,17 +31399,14 @@ 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
@@ -31177,15 +31548,12 @@ 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
@@ -31224,7 +31592,6 @@ components:
id:
description: ID of the SAML login endpoint.
example: 2
- format: int64
type: integer
name:
description: ID of the SAML service.
@@ -31244,7 +31611,6 @@ 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.
@@ -31288,7 +31654,6 @@ 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.
@@ -31317,9 +31682,8 @@ components:
This is most often the SP Entity ID of your application. When not specified, the ACS URL will be used.
type: string
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -31347,7 +31711,6 @@ 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.
@@ -31440,12 +31803,10 @@ 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.
@@ -31471,7 +31832,6 @@ 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
@@ -31558,7 +31918,6 @@ components:
status:
description: HTTP status code of response.
example: 200
- format: int64
type: integer
method:
description: HTTP method of request.
@@ -31622,7 +31981,6 @@ components:
- 1
- 2
items:
- format: int64
type: integer
type: array
webhooks:
@@ -31631,7 +31989,6 @@ components:
- 3
- 4
items:
- format: int64
type: integer
type: array
type: object
@@ -31701,56 +32058,44 @@ 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
@@ -31824,9 +32169,8 @@ components:
id: 2
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of the customer profile.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -31849,14 +32193,12 @@ 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.
+ description: The total number of closed sessions. Does not include closed
+ sessions that have been cancelled or reopened. See the [docs](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions#customer-session-states).
example: 3
- format: int64
title: Closed sessions
type: integer
totalSales:
@@ -31936,7 +32278,6 @@ components:
type: array
profileIDs:
items:
- format: int64
type: integer
type: array
type: object
@@ -31973,7 +32314,6 @@ 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.
@@ -31981,15 +32321,12 @@ 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.
@@ -31999,11 +32336,9 @@ 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.
@@ -32035,23 +32370,18 @@ 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.
@@ -32074,7 +32404,6 @@ components:
description: The globally unique Talon.One ID of the customer that created
this entity.
example: 138
- format: int64
type: integer
type: object
ApplicationSession:
@@ -32102,19 +32431,31 @@ components:
returnedQuantity: 1
length: 1.4658129805029452
weight: 1130.0
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
+ adjustmentEffectiveFrom: 2021-09-12T10:12:42Z
catalogItemID: 5
additionalCosts:
shipping:
price: 9
price: 99.99
+ selectedPriceType: member
name: Air Glide
width: 6.027456183070403
attributes:
image: 11.jpeg
material: leather
+ adjustmentEffectiveUntil: 2021-09-12T10:12:42Z
position: 5.962133916683182
sku: SKU1241028
category: shoes
+ prices:
+ member:
+ price: 90
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
+ effectiveFrom: 2025-05-25T00:00:00Z
+ effectiveUntil: 2025-05-30T00:00:00Z
+ base:
+ price: 100
height: 0.8008281904610115
- remainingQuantity: 1
product:
@@ -32123,25 +32464,36 @@ components:
returnedQuantity: 1
length: 1.4658129805029452
weight: 1130.0
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
+ adjustmentEffectiveFrom: 2021-09-12T10:12:42Z
catalogItemID: 5
additionalCosts:
shipping:
price: 9
price: 99.99
+ selectedPriceType: member
name: Air Glide
width: 6.027456183070403
attributes:
image: 11.jpeg
material: leather
+ adjustmentEffectiveUntil: 2021-09-12T10:12:42Z
position: 5.962133916683182
sku: SKU1241028
category: shoes
+ prices:
+ member:
+ price: 90
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
+ effectiveFrom: 2025-05-25T00:00:00Z
+ effectiveUntil: 2025-05-30T00:00:00Z
+ base:
+ price: 100
height: 0.8008281904610115
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -32164,13 +32516,11 @@ 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.
@@ -32247,7 +32597,6 @@ components:
properties:
storeId:
description: The ID of the store.
- format: int64
type: integer
type: object
ApplicationEvent:
@@ -32260,9 +32609,12 @@ components:
conditionIndex: 786
evaluationGroupMode: stackable
effectType: rejectCoupon
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
props: '{}'
+ selectedPrice: 100.0
evaluationGroupID: 3
triggeredForCatalogItem: 786
+ selectedPriceType: member
campaignRevisionId: 1
ruleName: Give 20% discount
triggeredByCoupon: 4928
@@ -32273,9 +32625,12 @@ components:
conditionIndex: 786
evaluationGroupMode: stackable
effectType: rejectCoupon
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
props: '{}'
+ selectedPrice: 100.0
evaluationGroupID: 3
triggeredForCatalogItem: 786
+ selectedPriceType: member
campaignRevisionId: 1
ruleName: Give 20% discount
triggeredByCoupon: 4928
@@ -32319,9 +32674,8 @@ components:
campaignName: campaignName
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -32331,17 +32685,14 @@ 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
@@ -32353,7 +32704,6 @@ 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
@@ -32392,20 +32742,17 @@ 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:
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of the customer profile.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -32428,14 +32775,12 @@ 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.
+ description: The total number of closed sessions. Does not include closed
+ sessions that have been cancelled or reopened. See the [docs](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions#customer-session-states).
example: 3
- format: int64
title: Closed sessions
type: integer
totalSales:
@@ -32487,7 +32832,6 @@ components:
- 2
- 3
items:
- format: int64
type: integer
type: array
connectedAudiences:
@@ -32498,7 +32842,6 @@ components:
- 2
- 3
items:
- format: int64
type: integer
type: array
required:
@@ -32523,7 +32866,6 @@ 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
@@ -32647,9 +32989,8 @@ components:
TemplateDef:
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -32659,7 +33000,6 @@ 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
@@ -32713,12 +33053,10 @@ 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: |
@@ -32769,9 +33107,8 @@ components:
status: inprogress
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -32838,9 +33175,11 @@ components:
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.
+ - `on_completion`: When the customer progress status reaches `completed`, the achievement resets and becomes available again.
enum:
- no_recurrence
- on_expiration
+ - on_completion
example: no_recurrence
type: string
activationPolicy:
@@ -32870,12 +33209,10 @@ 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: |
@@ -32939,7 +33276,6 @@ components:
- 3
- 13
items:
- format: int64
type: integer
type: array
type:
@@ -32974,9 +33310,8 @@ components:
type: session
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -32986,7 +33321,6 @@ 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.
@@ -33011,7 +33345,6 @@ components:
- 3
- 13
items:
- format: int64
type: integer
type: array
type:
@@ -33049,18 +33382,15 @@ 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
@@ -33073,9 +33403,8 @@ components:
ApplicationCIF:
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -33094,18 +33423,15 @@ 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
@@ -33115,7 +33441,6 @@ components:
applicationId:
description: The ID of the Application that owns this entity.
example: 322
- format: int64
type: integer
required:
- applicationId
@@ -33126,9 +33451,8 @@ components:
Environment:
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -33138,7 +33462,6 @@ 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.
@@ -33202,6 +33525,11 @@ components:
items:
$ref: '#/components/schemas/ApplicationCIF'
type: array
+ priceTypes:
+ description: The price types that this Application can use.
+ items:
+ $ref: '#/components/schemas/PriceType'
+ type: array
required:
- applicationId
- created
@@ -33320,7 +33648,6 @@ 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.
@@ -33365,7 +33692,6 @@ components:
- 2
- 3
items:
- format: int64
type: integer
type: array
required:
@@ -33388,9 +33714,8 @@ components:
version: 6
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -33400,7 +33725,6 @@ 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.
@@ -33423,18 +33747,15 @@ 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
@@ -33455,7 +33776,6 @@ components:
attributeid:
description: The ID of the attribute of the item.
example: 6
- format: int64
type: integer
name:
description: The name of the attribute.
@@ -33487,9 +33807,8 @@ components:
version: 5
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -33508,12 +33827,10 @@ 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:
@@ -33657,6 +33974,61 @@ components:
$ref: '#/components/schemas/CatalogActionFilter'
type: array
type: object
+ NewPriceAdjustment:
+ properties:
+ priceType:
+ description: The price type (e.g. the price for members only) to apply to
+ a given SKU.
+ example: member
+ type: string
+ price:
+ description: The value of the price type applied to the SKU. When set to
+ `null`, the defined price type no longer applies to the SKU.
+ example: 100.0
+ nullable: true
+ type: number
+ referenceId:
+ description: A unique reference identifier, e.g. a UUID.
+ example: 68851723-e6fa-488f-ace9-112581e6c19b
+ type: string
+ calculatedAt:
+ description: The time at which this price was calculated. If provided, this
+ is used to determine the most recent price adjustment to choose if price
+ adjustments overlap. Defaults to internal creation time if not provided.
+ example: 2021-09-12T10:12:42Z
+ format: date-time
+ type: string
+ effectiveFrom:
+ description: The date and time from which the price adjustment is effective.
+ example: 2021-09-12T10:12:42Z
+ format: date-time
+ type: string
+ effectiveUntil:
+ description: The date and time until which the price adjustment is effective.
+ example: 2021-09-12T10:12:42Z
+ format: date-time
+ type: string
+ required:
+ - priceType
+ - referenceId
+ type: object
+ AddPriceAdjustmentCatalogAction:
+ description: |
+ The specific properties of the "ADD_PRICE_ADJUSTMENT" catalog sync action.
+ properties:
+ sku:
+ description: The SKU of the item for which the price is being adjusted.
+ example: SKU1241028
+ type: string
+ adjustments:
+ description: A list of adjustments to apply to a given item.
+ items:
+ $ref: '#/components/schemas/NewPriceAdjustment'
+ type: array
+ required:
+ - adjustments
+ - sku
+ type: object
CatalogActionPayload:
type: object
CatalogAction:
@@ -33674,6 +34046,7 @@ components:
- PATCH_MANY
- REMOVE
- REMOVE_MANY
+ - ADD_PRICE_ADJUSTMENT
example: ADD
type: string
payload:
@@ -33706,7 +34079,6 @@ components:
version:
description: The version number of the catalog to apply the actions on.
example: 244
- format: int64
minimum: 1
type: integer
required:
@@ -33731,13 +34103,13 @@ components:
outgoingIntegrationTypeId: 1
outgoingIntegrationTypeName: Braze
payload: "{\n\t\"message\": \"${message}\"\n}"
+ draft: false
modified: 2021-09-12T10:12:42Z
id: 6
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -33754,7 +34126,6 @@ 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:
@@ -33766,6 +34137,10 @@ components:
description: A description of the webhook.
example: A webhook to send a coupon to the user.
type: string
+ draft:
+ description: Indicates if the webhook is a draft.
+ example: false
+ type: boolean
verb:
description: API method for this webhook.
enum:
@@ -33807,12 +34182,10 @@ 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.
@@ -33821,6 +34194,7 @@ components:
required:
- applicationIds
- created
+ - draft
- enabled
- headers
- id
@@ -33830,6 +34204,112 @@ components:
- url
- verb
type: object
+ WebhookAuthenticationWebhookRef:
+ properties:
+ id:
+ description: The internal ID of this entity.
+ example: 6
+ type: integer
+ title:
+ description: The title of the webhook authentication.
+ example: Send message
+ pattern: ^[A-Za-z][A-Za-z0-9_.!~*'() -]*$
+ type: string
+ description:
+ description: A description of the webhook authentication.
+ example: A webhook to send a coupon to the user.
+ type: string
+ required:
+ - id
+ - title
+ type: object
+ WebhookAuthenticationDataBasic:
+ properties:
+ username:
+ description: The Basic HTTP username.
+ type: string
+ password:
+ description: The Basic HTTP password.
+ type: string
+ required:
+ - password
+ - username
+ type: object
+ WebhookAuthenticationDataCustom:
+ properties:
+ headers:
+ additionalProperties:
+ type: string
+ type: object
+ required:
+ - headers
+ type: object
+ WebhookAuthenticationBase:
+ properties:
+ name:
+ description: The name of the webhook authentication.
+ example: My basic auth
+ type: string
+ type:
+ enum:
+ - basic
+ - custom
+ type: string
+ data:
+ type: object
+ required:
+ - data
+ - name
+ - type
+ type: object
+ WebhookAuthentication:
+ properties:
+ createdBy:
+ description: The name of the user who created the webhook authentication.
+ type: string
+ modifiedBy:
+ description: The name of the user who last modified the webhook authentication.
+ type: string
+ webhooks:
+ items:
+ $ref: '#/components/schemas/WebhookAuthenticationWebhookRef'
+ type: array
+ name:
+ description: The name of the webhook authentication.
+ example: My basic auth
+ type: string
+ type:
+ enum:
+ - basic
+ - custom
+ type: string
+ data:
+ type: object
+ id:
+ description: The internal ID of this entity.
+ example: 6
+ type: integer
+ created:
+ description: The time this entity was created.
+ example: 2020-06-10T09:05:27.993483Z
+ format: date-time
+ type: string
+ modified:
+ description: The time this entity was last modified.
+ example: 2021-09-12T10:12:42Z
+ format: date-time
+ type: string
+ required:
+ - created
+ - createdBy
+ - data
+ - id
+ - modified
+ - modifiedBy
+ - name
+ - type
+ - webhooks
+ type: object
WebhookActivationLogEntry:
description: Log of activated webhooks.
example:
@@ -33847,17 +34327,14 @@ 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
@@ -33900,12 +34377,10 @@ 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.
@@ -33925,7 +34400,6 @@ components:
status:
description: HTTP status code of response.
example: 204
- format: int64
type: integer
requestTime:
description: Timestamp of request
@@ -33987,7 +34461,6 @@ components:
status:
description: HTTP status code of the response.
example: 200
- format: int64
type: integer
type: object
MessageLogEntry:
@@ -34029,7 +34502,6 @@ components:
notificationId:
description: ID of the notification.
example: 101
- format: int64
type: integer
notificationName:
description: The name of the notification.
@@ -34038,7 +34510,6 @@ components:
webhookId:
description: ID of the webhook.
example: 101
- format: int64
type: integer
webhookName:
description: The name of the webhook.
@@ -34069,19 +34540,16 @@ 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:
@@ -34183,9 +34651,8 @@ components:
title: Survey Completed
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -34247,9 +34714,8 @@ components:
additionalAttributes: {}
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -34269,7 +34735,6 @@ components:
accountId:
description: The ID of the account that owns this entity.
example: 3886
- format: int64
type: integer
name:
description: Name of the user.
@@ -34305,7 +34770,6 @@ components:
example:
- 71
items:
- format: int64
type: integer
type: array
authMethod:
@@ -34393,7 +34857,6 @@ components:
- 1
- 3
items:
- format: int64
type: integer
type: array
applicationNotificationSubscriptions:
@@ -34454,6 +34917,158 @@ components:
required:
- data
type: object
+ ScimGroupMember:
+ description: Member of the SCIM group. In Talon.One, the member is a [user](https://docs.talon.one/docs/product/account/account-settings/managing-users)
+ assigned to a specific role.
+ example:
+ display: john.doe@example.com
+ value: "258"
+ properties:
+ value:
+ description: Unique identifier of the member.
+ example: "258"
+ type: string
+ display:
+ description: Identifier of the user. This is usually an email address.
+ example: john.doe@example.com
+ type: string
+ type: object
+ ScimBaseGroup:
+ description: Define the schema for base fields in a group using the SCIM provisioning
+ protocol. Talon.One uses this schema to create roles.
+ example:
+ displayName: Manager
+ members:
+ - display: john.doe@example.com
+ value: "258"
+ - display: john.doe@example.com
+ value: "258"
+ properties:
+ displayName:
+ description: Display name of the group (Talon.One role).
+ example: Manager
+ type: string
+ members:
+ description: List of members to assign to the new Talon.One role.
+ items:
+ $ref: '#/components/schemas/ScimGroupMember'
+ type: array
+ type: object
+ ScimGroup:
+ description: |-
+ Define the schema for groups created using the SCIM provisioning protocol.
+ In Talon.One, a `Group` corresponds to a [role](https://docs.talon.one/docs/product/account/account-settings/managing-roles), and `members` are the [users](https://docs.talon.one/docs/product/account/account-settings/managing-users) assigned to that role.
+ example:
+ displayName: Manager
+ members:
+ - display: john.doe@example.com
+ value: "258"
+ - display: john.doe@example.com
+ value: "258"
+ id: "359"
+ properties:
+ displayName:
+ description: Display name of the group (Talon.One role).
+ example: Manager
+ type: string
+ members:
+ description: List of members to assign to the new Talon.One role.
+ items:
+ $ref: '#/components/schemas/ScimGroupMember'
+ type: array
+ id:
+ description: ID of the group.
+ example: "359"
+ type: string
+ required:
+ - id
+ type: object
+ ScimGroupsListResponse:
+ description: |-
+ List of groups created using the SCIM provisioning protocol with an identity provider, for example, Microsoft Entra ID.
+ In Talon.One, a `Group` corresponds to a [role](https://docs.talon.one/docs/product/account/account-settings/managing-roles), and `members` are the [users](https://docs.talon.one/docs/product/account/account-settings/managing-users) assigned to that role.
+ example:
+ Resources:
+ - displayName: Manager Role
+ id: "283"
+ meta:
+ resourceType: Group
+ created: 2024-06-25T17:43:46+02:00
+ members:
+ - value: "15"
+ display: john.doe@example.com
+ schemas:
+ - urn:ietf:params:scim:schemas:core:2.0:Group
+ schemas:
+ - urn:ietf:params:scim:api:messages:2.0:ListResponse
+ totalResults: 1
+ properties:
+ Resources:
+ items:
+ $ref: '#/components/schemas/ScimGroup'
+ type: array
+ schemas:
+ description: SCIM schema for the given resource.
+ items:
+ example: urn:ietf:params:scim:api:messages:2.0:ListResponse
+ type: string
+ type: array
+ totalResults:
+ description: Number of results in the response.
+ type: integer
+ required:
+ - Resources
+ type: object
+ ScimPatchOperation:
+ description: Patch operation that is used to update the information.
+ example:
+ op: add
+ path: nickName
+ value: John
+ properties:
+ op:
+ description: The method that should be used in the operation.
+ enum:
+ - add
+ - remove
+ - replace
+ type: string
+ path:
+ description: The path specifying the attribute that should be updated.
+ type: string
+ value:
+ description: The value that should be updated. Required if `op` is `add`
+ or `replace`.
+ type: string
+ required:
+ - op
+ type: object
+ ScimPatchRequest:
+ description: SCIM Patch request
+ example:
+ Operations:
+ - op: replace
+ path: active
+ value: test
+ - op: add
+ path: nickName
+ value: johndoe
+ schemas:
+ - urn:ietf:params:scim:api:messages:2.0:PatchOp
+ properties:
+ schemas:
+ description: SCIM schema for the given resource.
+ items:
+ example: urn:ietf:params:scim:api:messages:2.0:PatchOp
+ type: string
+ type: array
+ Operations:
+ items:
+ $ref: '#/components/schemas/ScimPatchOperation'
+ type: array
+ required:
+ - Operations
+ type: object
ScimBaseUser:
description: Schema definition for base user fields, provisioned using the SCIM
protocol and used by Talon.One.
@@ -34564,61 +35179,10 @@ components:
type: array
totalResults:
description: Number of total results in the response.
- format: int64
type: integer
required:
- Resources
type: object
- ScimPatchOperation:
- description: Patch operation that is used to update the information.
- example:
- op: add
- path: nickName
- value: John
- properties:
- op:
- description: The method that should be used in the operation.
- enum:
- - add
- - remove
- - replace
- type: string
- path:
- description: The path specifying the attribute that should be updated.
- type: string
- value:
- description: The value that should be updated. Required if `op` is `add`
- or `replace`.
- type: string
- required:
- - op
- type: object
- ScimPatchRequest:
- description: SCIM Patch request
- example:
- Operations:
- - op: replace
- path: active
- value: test
- - op: add
- path: nickName
- value: johndoe
- schemas:
- - urn:ietf:params:scim:api:messages:2.0:PatchOp
- properties:
- schemas:
- description: SCIM schema for the given resource.
- items:
- example: urn:ietf:params:scim:api:messages:2.0:PatchOp
- type: string
- type: array
- Operations:
- items:
- $ref: '#/components/schemas/ScimPatchOperation'
- type: array
- required:
- - Operations
- type: object
ScimResource:
description: Resource definition for the SCIM provisioning protocol.
example:
@@ -34766,7 +35330,6 @@ components:
type: array
totalResults:
description: Number of total results in the response.
- format: int64
type: integer
required:
- Resources
@@ -34879,9 +35442,8 @@ components:
managementKeyId: 3
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -34891,12 +35453,10 @@ 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.
@@ -34924,7 +35484,6 @@ components:
managementKeyId:
description: ID of management key used to perform changes.
example: 3
- format: int64
type: integer
required:
- created
@@ -34960,7 +35519,6 @@ components:
description: A list of the IDs of the roles assigned to the user.
items:
example: 13
- format: int64
type: integer
type: array
acl:
@@ -35114,9 +35672,8 @@ components:
userLimit: 6
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -35153,37 +35710,29 @@ 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.
@@ -35228,97 +35777,78 @@ 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.
@@ -35351,48 +35881,37 @@ 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.
@@ -35423,9 +35942,8 @@ components:
entity: Coupon
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -35435,12 +35953,10 @@ 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.
@@ -35469,7 +35985,6 @@ components:
ManagerConfig:
properties:
schemaVersion:
- format: int64
type: integer
required:
- schemaVersion
@@ -35479,27 +35994,21 @@ 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
@@ -35536,7 +36045,6 @@ components:
- 475
- 18
items:
- format: int64
type: integer
type: array
type: object
@@ -35563,7 +36071,6 @@ components:
- 475
- 18
items:
- format: int64
type: integer
type: array
required:
@@ -35581,7 +36088,6 @@ components:
- 475
- 18
items:
- format: int64
type: integer
type: array
roles:
@@ -35590,7 +36096,6 @@ components:
- 128
- 147
items:
- format: int64
type: integer
type: array
required:
@@ -35851,7 +36356,6 @@ components:
- 10
- 12
items:
- format: int64
type: integer
type: array
type: object
@@ -35905,9 +36409,8 @@ components:
id: 6
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -35922,7 +36425,6 @@ components:
accountId:
description: The ID of the account that owns this entity.
example: 3886
- format: int64
type: integer
name:
description: Name of the role.
@@ -35941,7 +36443,6 @@ components:
- 10
- 12
items:
- format: int64
type: integer
type: array
required:
@@ -35969,7 +36470,6 @@ components:
- 10
- 12
items:
- format: int64
type: integer
type: array
required:
@@ -36019,7 +36519,6 @@ 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
@@ -36068,27 +36567,22 @@ 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.
@@ -36147,27 +36641,22 @@ 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.
@@ -36194,7 +36683,6 @@ 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
@@ -36203,7 +36691,6 @@ components:
properties:
id:
description: id of the notification.
- format: int64
type: integer
name:
description: name of the notification.
@@ -36225,7 +36712,6 @@ components:
notificationId:
description: The ID of the notification.
example: 1
- format: int64
type: integer
notificationName:
description: The name of the notification.
@@ -36236,7 +36722,6 @@ 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.
@@ -36286,7 +36771,6 @@ components:
- 2
- 3
items:
- format: int64
type: integer
type: array
required:
@@ -36319,23 +36803,19 @@ 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.
@@ -36381,23 +36861,19 @@ 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.
@@ -36431,7 +36907,6 @@ 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
@@ -36440,11 +36915,9 @@ 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
@@ -36532,9 +37005,8 @@ components:
updated: 2021-09-23T10:12:42Z
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -36571,7 +37043,6 @@ 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.
@@ -36586,7 +37057,6 @@ components:
- 6
- 8
items:
- format: int64
type: integer
type: array
required:
@@ -36604,7 +37074,6 @@ 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.
@@ -36619,7 +37088,6 @@ 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.
@@ -36637,13 +37105,11 @@ 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
@@ -36656,12 +37122,10 @@ 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
@@ -36687,9 +37151,8 @@ components:
ApplicationCIFExpression:
properties:
id:
- description: Internal ID of this entity.
+ description: The internal ID of this entity.
example: 6
- format: int64
type: integer
created:
description: The time this entity was created.
@@ -36699,12 +37162,10 @@ 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
@@ -36729,7 +37190,6 @@ components:
applicationId:
description: The ID of the Application that owns this entity.
example: 322
- format: int64
type: integer
required:
- applicationId
@@ -36737,9 +37197,12 @@ components:
- id
type: object
ListCampaignStoreBudgetsStore:
+ example:
+ name: name
+ integrationId: integrationId
+ id: 0
properties:
id:
- format: int64
type: integer
integrationId:
type: string
@@ -36751,11 +37214,18 @@ components:
- name
type: object
ListCampaignStoreBudgets:
+ example:
+ period: period
+ limit: 6
+ action: action
+ store:
+ name: name
+ integrationId: integrationId
+ id: 0
properties:
store:
$ref: '#/components/schemas/ListCampaignStoreBudgetsStore'
limit:
- format: int64
type: integer
action:
type: string
@@ -36767,13 +37237,15 @@ components:
- store
type: object
NewCampaignStoreBudgetStoreLimit:
+ example:
+ limit: 1000.0
+ storeId: 17
properties:
storeId:
description: |
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.
@@ -36784,6 +37256,14 @@ components:
- storeId
type: object
NewCampaignStoreBudget:
+ example:
+ period: daily
+ action: setDiscount
+ storeLimits:
+ - limit: 1000.0
+ storeId: 17
+ - limit: 1000.0
+ storeId: 17
properties:
action:
enum:
@@ -36806,6 +37286,11 @@ components:
- storeLimits
type: object
SummaryCampaignStoreBudget:
+ example:
+ period: overall
+ imported: true
+ storeCount: 0
+ action: redeemCoupon
properties:
action:
enum:
@@ -36834,7 +37319,6 @@ components:
- yearly
type: string
storeCount:
- format: int64
type: integer
imported:
type: boolean
@@ -36921,9 +37405,11 @@ components:
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.
+ - `on_completion`: When the customer progress status reaches `completed`, the achievement resets and becomes available again.
enum:
- no_recurrence
- on_expiration
+ - on_completion
example: no_recurrence
type: string
activationPolicy:
@@ -37054,7 +37540,6 @@ components:
campaignId:
description: The ID of the campaign.
example: 1
- format: int64
type: integer
campaignName:
description: The name of the campaign.
@@ -37109,7 +37594,6 @@ 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
@@ -37120,7 +37604,6 @@ 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
@@ -37130,7 +37613,6 @@ components:
id:
description: The ID of the product.
example: 1
- format: int64
type: integer
name:
description: The name of the product.
@@ -37140,7 +37622,6 @@ 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'
@@ -37165,7 +37646,6 @@ components:
productId:
description: The ID of the product.
example: 1
- format: int64
type: integer
productName:
description: The name of the product.
@@ -37195,7 +37675,6 @@ 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.
@@ -37252,7 +37731,6 @@ components:
properties:
rulesetID:
description: ID of a ruleset.
- format: int64
type: integer
currency:
description: Currency for the campaign.
@@ -37265,7 +37743,6 @@ components:
properties:
rulesetID:
description: ID of a ruleset.
- format: int64
type: integer
required:
- rulesetID
@@ -37303,7 +37780,6 @@ components:
applicationId:
description: The ID of the Application whose campaign evaluation tree changed.
example: 78
- format: int64
type: integer
oldEvaluationTree:
$ref: '#/components/schemas/CampaignSet'
@@ -37367,7 +37843,6 @@ 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
@@ -37377,7 +37852,6 @@ components:
position:
description: The position of the campaign node in its parent group.
example: 2
- format: int64
type: integer
required:
- groupId
@@ -37440,7 +37914,6 @@ 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.
@@ -37478,12 +37951,10 @@ 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.
@@ -37492,7 +37963,6 @@ components:
version:
description: The version of the changed item.
example: 6
- format: int64
minimum: 1
type: integer
price:
@@ -37551,7 +38021,6 @@ components:
properties:
totalResultSize:
example: 1
- format: int64
type: integer
data:
items:
@@ -37609,7 +38078,6 @@ components:
properties:
totalResultSize:
example: 1
- format: int64
type: integer
data:
items:
@@ -37675,7 +38143,6 @@ components:
properties:
totalResultSize:
example: 1
- format: int64
type: integer
data:
items:
@@ -37701,7 +38168,6 @@ components:
properties:
totalResultSize:
example: 1
- format: int64
type: integer
data:
items:
@@ -38275,7 +38741,6 @@ components:
properties:
totalResultSize:
example: 1
- format: int64
type: integer
data:
items:
@@ -38595,7 +39060,6 @@ components:
properties:
totalResultSize:
example: 1
- format: int64
type: integer
data:
items:
@@ -38630,15 +39094,21 @@ components:
- 10
- 100
bindings:
- - expression:
+ - attributeId: 100
+ minValue: 0.0
+ expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
- - expression:
+ - attributeId: 100
+ minValue: 0.0
+ expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
@@ -38662,15 +39132,21 @@ components:
- 10
- 100
bindings:
- - expression:
+ - attributeId: 100
+ minValue: 0.0
+ expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
- - expression:
+ - attributeId: 100
+ minValue: 0.0
+ expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
@@ -38696,15 +39172,21 @@ components:
- 10
- 100
bindings:
- - expression:
+ - attributeId: 100
+ minValue: 0.0
+ expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
- - expression:
+ - attributeId: 100
+ minValue: 0.0
+ expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
@@ -38728,15 +39210,21 @@ components:
- 10
- 100
bindings:
- - expression:
+ - attributeId: 100
+ minValue: 0.0
+ expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
- - expression:
+ - attributeId: 100
+ minValue: 0.0
+ expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
@@ -38769,15 +39257,21 @@ components:
- 10
- 100
bindings:
- - expression:
+ - attributeId: 100
+ minValue: 0.0
+ expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
- - expression:
+ - attributeId: 100
+ minValue: 0.0
+ expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
@@ -38801,15 +39295,21 @@ components:
- 10
- 100
bindings:
- - expression:
+ - attributeId: 100
+ minValue: 0.0
+ expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
- - expression:
+ - attributeId: 100
+ minValue: 0.0
+ expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
@@ -38835,15 +39335,21 @@ components:
- 10
- 100
bindings:
- - expression:
+ - attributeId: 100
+ minValue: 0.0
+ expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
- - expression:
+ - attributeId: 100
+ minValue: 0.0
+ expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
@@ -38867,15 +39373,21 @@ components:
- 10
- 100
bindings:
- - expression:
+ - attributeId: 100
+ minValue: 0.0
+ expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
- - expression:
+ - attributeId: 100
+ minValue: 0.0
+ expression:
- string1
- string2
+ maxValue: 19.9
valueType: string
name: my property
type: templateParameter
@@ -38889,7 +39401,6 @@ components:
properties:
totalResultSize:
example: 1
- format: int64
type: integer
data:
items:
@@ -38969,7 +39480,6 @@ components:
properties:
totalResultSize:
example: 1
- format: int64
type: integer
data:
items:
@@ -39137,7 +39647,6 @@ components:
properties:
totalResultSize:
example: 1
- format: int64
type: integer
data:
items:
@@ -39612,7 +40121,6 @@ components:
properties:
totalResultSize:
example: 1
- format: int64
type: integer
data:
items:
@@ -39654,7 +40162,6 @@ components:
properties:
totalResultSize:
example: 1
- format: int64
type: integer
data:
items:
@@ -39916,7 +40423,6 @@ components:
type: boolean
totalResultSize:
example: 1
- format: int64
type: integer
data:
items:
@@ -40037,7 +40543,6 @@ components:
properties:
totalResultSize:
example: 1
- format: int64
type: integer
data:
items:
@@ -40098,7 +40603,6 @@ components:
properties:
totalResultSize:
example: 1
- format: int64
type: integer
hasMore:
type: boolean
@@ -40161,7 +40665,6 @@ components:
hasMore:
type: boolean
totalResultSize:
- format: int64
type: integer
data:
items:
@@ -40220,7 +40723,6 @@ components:
hasMore:
type: boolean
totalResultSize:
- format: int64
type: integer
data:
items:
@@ -40350,19 +40852,31 @@ components:
returnedQuantity: 1
length: 1.4658129805029452
weight: 1130.0
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
+ adjustmentEffectiveFrom: 2021-09-12T10:12:42Z
catalogItemID: 5
additionalCosts:
shipping:
price: 9
price: 99.99
+ selectedPriceType: member
name: Air Glide
width: 6.027456183070403
attributes:
image: 11.jpeg
material: leather
+ adjustmentEffectiveUntil: 2021-09-12T10:12:42Z
position: 5.962133916683182
sku: SKU1241028
category: shoes
+ prices:
+ member:
+ price: 90
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
+ effectiveFrom: 2025-05-25T00:00:00Z
+ effectiveUntil: 2025-05-30T00:00:00Z
+ base:
+ price: 100
height: 0.8008281904610115
- remainingQuantity: 1
product:
@@ -40371,19 +40885,31 @@ components:
returnedQuantity: 1
length: 1.4658129805029452
weight: 1130.0
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
+ adjustmentEffectiveFrom: 2021-09-12T10:12:42Z
catalogItemID: 5
additionalCosts:
shipping:
price: 9
price: 99.99
+ selectedPriceType: member
name: Air Glide
width: 6.027456183070403
attributes:
image: 11.jpeg
material: leather
+ adjustmentEffectiveUntil: 2021-09-12T10:12:42Z
position: 5.962133916683182
sku: SKU1241028
category: shoes
+ prices:
+ member:
+ price: 90
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
+ effectiveFrom: 2025-05-25T00:00:00Z
+ effectiveUntil: 2025-05-30T00:00:00Z
+ base:
+ price: 100
height: 0.8008281904610115
- coupon: BKDB946
created: 2020-02-07T08:15:22Z
@@ -40408,19 +40934,31 @@ components:
returnedQuantity: 1
length: 1.4658129805029452
weight: 1130.0
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
+ adjustmentEffectiveFrom: 2021-09-12T10:12:42Z
catalogItemID: 5
additionalCosts:
shipping:
price: 9
price: 99.99
+ selectedPriceType: member
name: Air Glide
width: 6.027456183070403
attributes:
image: 11.jpeg
material: leather
+ adjustmentEffectiveUntil: 2021-09-12T10:12:42Z
position: 5.962133916683182
sku: SKU1241028
category: shoes
+ prices:
+ member:
+ price: 90
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
+ effectiveFrom: 2025-05-25T00:00:00Z
+ effectiveUntil: 2025-05-30T00:00:00Z
+ base:
+ price: 100
height: 0.8008281904610115
- remainingQuantity: 1
product:
@@ -40429,19 +40967,31 @@ components:
returnedQuantity: 1
length: 1.4658129805029452
weight: 1130.0
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
+ adjustmentEffectiveFrom: 2021-09-12T10:12:42Z
catalogItemID: 5
additionalCosts:
shipping:
price: 9
price: 99.99
+ selectedPriceType: member
name: Air Glide
width: 6.027456183070403
attributes:
image: 11.jpeg
material: leather
+ adjustmentEffectiveUntil: 2021-09-12T10:12:42Z
position: 5.962133916683182
sku: SKU1241028
category: shoes
+ prices:
+ member:
+ price: 90
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
+ effectiveFrom: 2025-05-25T00:00:00Z
+ effectiveUntil: 2025-05-30T00:00:00Z
+ base:
+ price: 100
height: 0.8008281904610115
hasMore: true
properties:
@@ -40464,9 +41014,12 @@ components:
conditionIndex: 786
evaluationGroupMode: stackable
effectType: rejectCoupon
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
props: '{}'
+ selectedPrice: 100.0
evaluationGroupID: 3
triggeredForCatalogItem: 786
+ selectedPriceType: member
campaignRevisionId: 1
ruleName: Give 20% discount
triggeredByCoupon: 4928
@@ -40477,9 +41030,12 @@ components:
conditionIndex: 786
evaluationGroupMode: stackable
effectType: rejectCoupon
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
props: '{}'
+ selectedPrice: 100.0
evaluationGroupID: 3
triggeredForCatalogItem: 786
+ selectedPriceType: member
campaignRevisionId: 1
ruleName: Give 20% discount
triggeredByCoupon: 4928
@@ -40529,9 +41085,12 @@ components:
conditionIndex: 786
evaluationGroupMode: stackable
effectType: rejectCoupon
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
props: '{}'
+ selectedPrice: 100.0
evaluationGroupID: 3
triggeredForCatalogItem: 786
+ selectedPriceType: member
campaignRevisionId: 1
ruleName: Give 20% discount
triggeredByCoupon: 4928
@@ -40542,9 +41101,12 @@ components:
conditionIndex: 786
evaluationGroupMode: stackable
effectType: rejectCoupon
+ adjustmentReferenceId: 68851723-e6fa-488f-ace9-112581e6c19b
props: '{}'
+ selectedPrice: 100.0
evaluationGroupID: 3
triggeredForCatalogItem: 786
+ selectedPriceType: member
campaignRevisionId: 1
ruleName: Give 20% discount
triggeredByCoupon: 4928
@@ -40606,7 +41168,6 @@ components:
properties:
totalResultSize:
example: 1
- format: int64
type: integer
data:
items:
@@ -40645,7 +41206,6 @@ components:
type: boolean
totalResultSize:
example: 1
- format: int64
type: integer
data:
items:
@@ -40747,7 +41307,6 @@ components:
type: boolean
totalResultSize:
example: 1
- format: int64
type: integer
data:
items:
@@ -40820,7 +41379,6 @@ components:
properties:
totalResultSize:
example: 1
- format: int64
type: integer
data:
items:
@@ -40869,7 +41427,6 @@ components:
type: boolean
totalResultSize:
example: 1
- format: int64
type: integer
data:
items:
@@ -40904,7 +41461,6 @@ components:
properties:
totalResultSize:
example: 1
- format: int64
type: integer
data:
items:
@@ -40933,6 +41489,7 @@ components:
outgoingIntegrationTypeId: 1
outgoingIntegrationTypeName: Braze
payload: "{\n\t\"message\": \"${message}\"\n}"
+ draft: false
modified: 2021-09-12T10:12:42Z
id: 6
- headers:
@@ -40952,13 +41509,13 @@ components:
outgoingIntegrationTypeId: 1
outgoingIntegrationTypeName: Braze
payload: "{\n\t\"message\": \"${message}\"\n}"
+ draft: false
modified: 2021-09-12T10:12:42Z
id: 6
totalResultSize: 1
properties:
totalResultSize:
example: 1
- format: int64
type: integer
data:
items:
@@ -40984,7 +41541,6 @@ components:
properties:
totalResultSize:
example: 1
- format: int64
type: integer
data:
items:
@@ -41026,7 +41582,6 @@ components:
properties:
totalResultSize:
example: 1
- format: int64
type: integer
data:
items:
@@ -41052,7 +41607,6 @@ components:
properties:
totalResultSize:
example: 1
- format: int64
type: integer
data:
items:
@@ -41106,7 +41660,6 @@ components:
properties:
totalResultSize:
example: 1
- format: int64
type: integer
data:
items:
@@ -41157,7 +41710,6 @@ components:
properties:
totalResultSize:
example: 1
- format: int64
type: integer
hasMore:
type: boolean
@@ -41186,7 +41738,6 @@ components:
properties:
totalResultSize:
example: 1
- format: int64
type: integer
data:
items:
@@ -41294,7 +41845,6 @@ components:
properties:
totalResultSize:
example: 1
- format: int64
type: integer
data:
items:
@@ -41341,7 +41891,6 @@ components:
type: boolean
totalResultSize:
example: 1
- format: int64
type: integer
data:
items:
@@ -41350,6 +41899,44 @@ components:
required:
- data
inline_response_200_48:
+ example:
+ data:
+ - period: period
+ limit: 6
+ action: action
+ store:
+ name: name
+ integrationId: integrationId
+ id: 0
+ - period: period
+ limit: 6
+ action: action
+ store:
+ name: name
+ integrationId: integrationId
+ id: 0
+ properties:
+ data:
+ items:
+ $ref: '#/components/schemas/ListCampaignStoreBudgets'
+ type: array
+ inline_response_200_49:
+ example:
+ data:
+ - period: overall
+ imported: true
+ storeCount: 0
+ action: redeemCoupon
+ - period: overall
+ imported: true
+ storeCount: 0
+ action: redeemCoupon
+ properties:
+ data:
+ items:
+ $ref: '#/components/schemas/SummaryCampaignStoreBudget'
+ type: array
+ inline_response_200_50:
example:
data:
- period: 1Y
@@ -41406,7 +41993,7 @@ components:
type: array
required:
- data
- inline_response_200_49:
+ inline_response_200_51:
example:
data:
- endDate: 2000-01-23T04:56:07.000+00:00
@@ -41499,12 +42086,10 @@ 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.
@@ -41523,7 +42108,6 @@ 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 6aaaca43..ab112bb3 100644
--- a/build.gradle
+++ b/build.gradle
@@ -3,7 +3,7 @@ apply plugin: 'eclipse'
apply plugin: 'java'
group = 'one.talon'
-version = '12.0.0'
+version = '0.0.0'
buildscript {
repositories {
@@ -102,7 +102,7 @@ dependencies {
compile "com.google.code.findbugs:jsr305:3.0.2"
compile 'com.squareup.okhttp3:okhttp:3.14.7'
compile 'com.squareup.okhttp3:logging-interceptor:3.14.7'
- compile 'com.google.code.gson:gson:2.13.0'
+ compile 'com.google.code.gson:gson:2.8.6'
compile 'io.gsonfire:gson-fire:1.8.4'
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.10'
compile 'org.threeten:threetenbp:1.4.3'
diff --git a/build.sbt b/build.sbt
index 0f1d76e2..ff48a2a9 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 := "12.0.0",
+ version := "0.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 18bd6335..ace849e4 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** | **Long** | HTTP status code of response. |
+**status** | **Integer** | 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 a7225212..f7fe8398 100644
--- a/docs/Account.md
+++ b/docs/Account.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The 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** | **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. |
+**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. |
**attributes** | [**Object**](.md) | Arbitrary properties associated with this campaign. | [optional]
diff --git a/docs/AccountAdditionalCost.md b/docs/AccountAdditionalCost.md
index b33ce618..6859bbd6 100644
--- a/docs/AccountAdditionalCost.md
+++ b/docs/AccountAdditionalCost.md
@@ -6,13 +6,13 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
-**accountId** | **Long** | The ID of the account that owns this entity. |
+**accountId** | **Integer** | 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<Long>** | A list of the IDs of the applications that are subscribed to this additional cost. | [optional]
+**subscribedApplicationsIds** | **List<Integer>** | 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 4021c107..7ed9e219 100644
--- a/docs/AccountAnalytics.md
+++ b/docs/AccountAnalytics.md
@@ -6,25 +6,25 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**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. |
+**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. |
**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 19c0b8fc..a727d02a 100644
--- a/docs/AccountDashboardStatisticCampaigns.md
+++ b/docs/AccountDashboardStatisticCampaigns.md
@@ -6,9 +6,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**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. |
+**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. |
diff --git a/docs/AccountEntity.md b/docs/AccountEntity.md
index 6b677e46..51f7598c 100644
--- a/docs/AccountEntity.md
+++ b/docs/AccountEntity.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**accountId** | **Long** | The ID of the account that owns this entity. |
+**accountId** | **Integer** | The ID of the account that owns this entity. |
diff --git a/docs/AccountLimits.md b/docs/AccountLimits.md
index 3b1f4c78..945c85d7 100644
--- a/docs/AccountLimits.md
+++ b/docs/AccountLimits.md
@@ -6,17 +6,17 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**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. |
+**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. |
**promotionTypes** | **List<String>** | Array of promotion types that are employed in the account. |
diff --git a/docs/Achievement.md b/docs/Achievement.md
index 31fac2fc..7adeb2e2 100644
--- a/docs/Achievement.md
+++ b/docs/Achievement.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The 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. |
@@ -14,12 +14,12 @@ Name | Type | Description | Notes
**target** | [**BigDecimal**](BigDecimal.md) | The required number of actions or the transactional milestone to complete the achievement. |
**period** | **String** | The relative duration after which the achievement ends and resets for a particular customer profile. **Note**: The `period` does not start when the achievement is created. The period is a **positive real number** followed by one letter indicating the time unit. Examples: `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 also round certain units down to the beginning of period and up to the end of period.: - `_D` for rounding down days only. Signifies the start of the day. Example: `30D_D` - `_U` for rounding up days, weeks, months and years. Signifies the end of the day, week, month or year. Example: `23W_U` **Note**: You can either use the round down and round up option or set an absolute period. | [optional]
**periodEndOverride** | [**TimePoint**](TimePoint.md) | | [optional]
-**recurrencePolicy** | [**RecurrencePolicyEnum**](#RecurrencePolicyEnum) | 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. | [optional]
+**recurrencePolicy** | [**RecurrencePolicyEnum**](#RecurrencePolicyEnum) | 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. - `on_completion`: When the customer progress status reaches `completed`, the achievement resets and becomes available again. | [optional]
**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** | **Long** | The ID of the campaign the achievement belongs to. |
-**userId** | **Long** | ID of the user that created this achievement. |
+**campaignId** | **Integer** | The ID of the campaign the achievement belongs to. |
+**userId** | **Integer** | 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]
@@ -32,6 +32,7 @@ Name | Value
---- | -----
NO_RECURRENCE | "no_recurrence"
ON_EXPIRATION | "on_expiration"
+ON_COMPLETION | "on_completion"
diff --git a/docs/AchievementAdditionalProperties.md b/docs/AchievementAdditionalProperties.md
index c0e74bd4..ee0d3e2c 100644
--- a/docs/AchievementAdditionalProperties.md
+++ b/docs/AchievementAdditionalProperties.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**campaignId** | **Long** | The ID of the campaign the achievement belongs to. |
-**userId** | **Long** | ID of the user that created this achievement. |
+**campaignId** | **Integer** | The ID of the campaign the achievement belongs to. |
+**userId** | **Integer** | 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/AchievementBase.md b/docs/AchievementBase.md
index 049729a0..20c9d4ce 100644
--- a/docs/AchievementBase.md
+++ b/docs/AchievementBase.md
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
**target** | [**BigDecimal**](BigDecimal.md) | The required number of actions or the transactional milestone to complete the achievement. | [optional]
**period** | **String** | The relative duration after which the achievement ends and resets for a particular customer profile. **Note**: The `period` does not start when the achievement is created. The period is a **positive real number** followed by one letter indicating the time unit. Examples: `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 also round certain units down to the beginning of period and up to the end of period.: - `_D` for rounding down days only. Signifies the start of the day. Example: `30D_D` - `_U` for rounding up days, weeks, months and years. Signifies the end of the day, week, month or year. Example: `23W_U` **Note**: You can either use the round down and round up option or set an absolute period. | [optional]
**periodEndOverride** | [**TimePoint**](TimePoint.md) | | [optional]
-**recurrencePolicy** | [**RecurrencePolicyEnum**](#RecurrencePolicyEnum) | 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. | [optional]
+**recurrencePolicy** | [**RecurrencePolicyEnum**](#RecurrencePolicyEnum) | 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. - `on_completion`: When the customer progress status reaches `completed`, the achievement resets and becomes available again. | [optional]
**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]
@@ -25,6 +25,7 @@ Name | Value
---- | -----
NO_RECURRENCE | "no_recurrence"
ON_EXPIRATION | "on_expiration"
+ON_COMPLETION | "on_completion"
diff --git a/docs/AchievementProgressWithDefinition.md b/docs/AchievementProgressWithDefinition.md
index adc274ab..93d47acc 100644
--- a/docs/AchievementProgressWithDefinition.md
+++ b/docs/AchievementProgressWithDefinition.md
@@ -12,13 +12,13 @@ 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** | **Long** | The internal ID of the achievement. |
+**achievementId** | **Integer** | 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** | **Long** | The ID of the campaign the achievement belongs to. |
+**campaignId** | **Integer** | 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. |
+**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. - `on_completion`: When the customer progress status reaches `completed`, the achievement resets 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. |
**achievementFixedStartDate** | [**OffsetDateTime**](OffsetDateTime.md) | The achievement's start date when `achievementActivationPolicy` is equal to `fixed_schedule`. **Note:** It is an RFC3339 timestamp string. | [optional]
**achievementEndDate** | [**OffsetDateTime**](OffsetDateTime.md) | The achievement's end date. If defined, customers cannot participate in the achievement after this date. **Note:** It is an RFC3339 timestamp string. | [optional]
@@ -42,6 +42,7 @@ Name | Value
---- | -----
NO_RECURRENCE | "no_recurrence"
ON_EXPIRATION | "on_expiration"
+ON_COMPLETION | "on_completion"
diff --git a/docs/AchievementStatusEntry.md b/docs/AchievementStatusEntry.md
index fa44fd9f..7c87feba 100644
--- a/docs/AchievementStatusEntry.md
+++ b/docs/AchievementStatusEntry.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The 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. |
@@ -14,11 +14,11 @@ Name | Type | Description | Notes
**target** | [**BigDecimal**](BigDecimal.md) | The required number of actions or the transactional milestone to complete the achievement. |
**period** | **String** | The relative duration after which the achievement ends and resets for a particular customer profile. **Note**: The `period` does not start when the achievement is created. The period is a **positive real number** followed by one letter indicating the time unit. Examples: `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 also round certain units down to the beginning of period and up to the end of period.: - `_D` for rounding down days only. Signifies the start of the day. Example: `30D_D` - `_U` for rounding up days, weeks, months and years. Signifies the end of the day, week, month or year. Example: `23W_U` **Note**: You can either use the round down and round up option or set an absolute period. | [optional]
**periodEndOverride** | [**TimePoint**](TimePoint.md) | | [optional]
-**recurrencePolicy** | [**RecurrencePolicyEnum**](#RecurrencePolicyEnum) | 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. | [optional]
+**recurrencePolicy** | [**RecurrencePolicyEnum**](#RecurrencePolicyEnum) | 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. - `on_completion`: When the customer progress status reaches `completed`, the achievement resets and becomes available again. | [optional]
**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** | **Long** | The ID of the campaign the achievement belongs to. | [optional]
+**campaignId** | **Integer** | The ID of the campaign the achievement belongs to. | [optional]
**status** | [**StatusEnum**](#StatusEnum) | The status of the achievement. | [optional]
**currentProgress** | [**AchievementProgress**](AchievementProgress.md) | | [optional]
@@ -30,6 +30,7 @@ Name | Value
---- | -----
NO_RECURRENCE | "no_recurrence"
ON_EXPIRATION | "on_expiration"
+ON_COMPLETION | "on_completion"
diff --git a/docs/AddFreeItemEffectProps.md b/docs/AddFreeItemEffectProps.md
index 602629d9..21b04439 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** | **Long** | The original quantity in case a partial reward was applied. | [optional]
+**desiredQuantity** | **Integer** | The original quantity in case a partial reward was applied. | [optional]
diff --git a/docs/AddLoyaltyPoints.md b/docs/AddLoyaltyPoints.md
index c7b8a9bb..bf2da991 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** | **Long** | ID of the Application that is connected to the loyalty program. It is displayed in your Talon.One deployment URL. | [optional]
+**applicationId** | **Integer** | 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 ada3b99d..2757cd22 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** | **Long** | The ID of the loyalty program where these points were added. |
+**programId** | **Integer** | 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** | **Long** | The position of the bundle in a list of item bundles created from the same bundle definition. | [optional]
+**bundleIndex** | **Integer** | 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/AddPriceAdjustmentCatalogAction.md b/docs/AddPriceAdjustmentCatalogAction.md
new file mode 100644
index 00000000..329d41a2
--- /dev/null
+++ b/docs/AddPriceAdjustmentCatalogAction.md
@@ -0,0 +1,14 @@
+
+
+# AddPriceAdjustmentCatalogAction
+
+The specific properties of the \"ADD_PRICE_ADJUSTMENT\" catalog sync action.
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**sku** | **String** | The SKU of the item for which the price is being adjusted. |
+**adjustments** | [**List<NewPriceAdjustment>**](NewPriceAdjustment.md) | A list of adjustments to apply to a given item. |
+
+
+
diff --git a/docs/AddToAudienceEffectProps.md b/docs/AddToAudienceEffectProps.md
index e75e7fbc..47a83438 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** | **Long** | The internal ID of the audience. | [optional]
+**audienceId** | **Integer** | 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** | **Long** | The internal ID of the customer profile. | [optional]
+**profileId** | **Integer** | The internal ID of the customer profile. | [optional]
diff --git a/docs/AddedDeductedPointsBalancesNotificationPolicy.md b/docs/AddedDeductedPointsBalancesNotificationPolicy.md
new file mode 100644
index 00000000..6d029fbf
--- /dev/null
+++ b/docs/AddedDeductedPointsBalancesNotificationPolicy.md
@@ -0,0 +1,24 @@
+
+
+# AddedDeductedPointsBalancesNotificationPolicy
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**name** | **String** | Notification name. |
+**scopes** | [**List<ScopesEnum>**](#List<ScopesEnum>) | |
+
+
+
+## Enum: List<ScopesEnum>
+
+Name | Value
+---- | -----
+ALL | "all"
+CAMPAIGN_MANAGER | "campaign_manager"
+MANAGEMENT_API | "management_api"
+RULE_ENGINE | "rule_engine"
+
+
+
diff --git a/docs/AdditionalCampaignProperties.md b/docs/AdditionalCampaignProperties.md
index 341deb1a..639d47cc 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** | **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]
+**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]
**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** | **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]
+**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]
**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** | **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]
+**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]
**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** | **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]
+**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]
**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** | **Long** | The ID of the Campaign Template this Campaign was created from. | [optional]
+**templateId** | **Integer** | 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<Long>** | A list of value map IDs for the campaign. | [optional]
+**valueMapsIds** | **List<Integer>** | A list of value map IDs for the campaign. | [optional]
diff --git a/docs/AnalyticsProduct.md b/docs/AnalyticsProduct.md
index fc08da1b..b42d1478 100644
--- a/docs/AnalyticsProduct.md
+++ b/docs/AnalyticsProduct.md
@@ -6,9 +6,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | The ID of the product. |
+**id** | **Integer** | The ID of the product. |
**name** | **String** | The name of the product. |
-**catalogId** | **Long** | The ID of the catalog. You can find the ID in the Campaign Manager in **Account** > **Tools** > **Cart item catalogs**. |
+**catalogId** | **Integer** | 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 c0590672..8b1bf70f 100644
--- a/docs/AnalyticsSKU.md
+++ b/docs/AnalyticsSKU.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | The ID of the SKU linked to the application. |
+**id** | **Integer** | 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 8a48a665..f3e5787f 100644
--- a/docs/Application.md
+++ b/docs/Application.md
@@ -6,10 +6,10 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The 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** | **Long** | The ID of the account that owns this entity. |
+**accountId** | **Integer** | 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** | **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]
+**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]
**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 bf35028a..8a7622e3 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** | **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. |
+**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. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The date the API key was created. |
diff --git a/docs/ApplicationCIF.md b/docs/ApplicationCIF.md
index 0ca112c6..c57d6ba3 100644
--- a/docs/ApplicationCIF.md
+++ b/docs/ApplicationCIF.md
@@ -6,15 +6,15 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The 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** | **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]
+**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]
**modified** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp of the most recent update to the Application cart item filter. | [optional]
-**applicationId** | **Long** | The ID of the Application that owns this entity. |
+**applicationId** | **Integer** | The ID of the Application that owns this entity. |
diff --git a/docs/ApplicationCIFExpression.md b/docs/ApplicationCIFExpression.md
index 47591c76..cc645ee7 100644
--- a/docs/ApplicationCIFExpression.md
+++ b/docs/ApplicationCIFExpression.md
@@ -6,12 +6,12 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
-**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]
+**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]
**expression** | **List<Object>** | Arbitrary additional JSON data associated with the Application cart item filter. | [optional]
-**applicationId** | **Long** | The ID of the Application that owns this entity. |
+**applicationId** | **Integer** | The ID of the Application that owns this entity. |
diff --git a/docs/ApplicationCIFReferences.md b/docs/ApplicationCIFReferences.md
index 1e847b33..6b32b1c8 100644
--- a/docs/ApplicationCIFReferences.md
+++ b/docs/ApplicationCIFReferences.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**applicationCartItemFilterId** | **Long** | The ID of the Application Cart Item Filter that is referenced by a campaign. | [optional]
+**applicationCartItemFilterId** | **Integer** | 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 94aa70c3..b7cdda8d 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** | **Long** | The ID of the campaign. |
+**campaignId** | **Integer** | 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 a1125f33..6427b729 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** | **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. |
+**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. |
diff --git a/docs/ApplicationCustomer.md b/docs/ApplicationCustomer.md
index fe05c12d..d924d1f0 100644
--- a/docs/ApplicationCustomer.md
+++ b/docs/ApplicationCustomer.md
@@ -6,12 +6,12 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The internal ID of the customer profile. |
**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** | **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. |
+**accountId** | **Integer** | The ID of the Talon.One account that owns this profile. |
+**closedSessions** | **Integer** | The total number of closed sessions. Does not include closed sessions that have been cancelled or reopened. See the [docs](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions#customer-session-states). |
**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 65584939..1f4aa81a 100644
--- a/docs/ApplicationCustomerEntity.md
+++ b/docs/ApplicationCustomerEntity.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**profileId** | **Long** | The globally unique Talon.One ID of the customer that created this entity. | [optional]
+**profileId** | **Integer** | 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 be4d1e7e..36ea30be 100644
--- a/docs/ApplicationEntity.md
+++ b/docs/ApplicationEntity.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**applicationId** | **Long** | The ID of the Application that owns this entity. |
+**applicationId** | **Integer** | The ID of the Application that owns this entity. |
diff --git a/docs/ApplicationEvent.md b/docs/ApplicationEvent.md
index a4012c5f..3497b31a 100644
--- a/docs/ApplicationEvent.md
+++ b/docs/ApplicationEvent.md
@@ -6,13 +6,13 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
-**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]
+**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]
**storeIntegrationId** | **String** | The integration ID of the store. You choose this ID when you create a store. | [optional]
-**sessionId** | **Long** | The globally unique Talon.One ID of the session that contains this event. | [optional]
+**sessionId** | **Integer** | 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 ff135584..46322b37 100644
--- a/docs/ApplicationReferee.md
+++ b/docs/ApplicationReferee.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**applicationId** | **Long** | The ID of the Application that owns this entity. |
+**applicationId** | **Integer** | 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 63cc076c..a9c19379 100644
--- a/docs/ApplicationSession.md
+++ b/docs/ApplicationSession.md
@@ -6,12 +6,12 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The 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** | **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]
+**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]
**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 09f6ebc8..e41ccf7e 100644
--- a/docs/ApplicationSessionEntity.md
+++ b/docs/ApplicationSessionEntity.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**sessionId** | **Long** | The globally unique Talon.One ID of the session where this entity was created. |
+**sessionId** | **Integer** | 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 e33fc69e..672fa75b 100644
--- a/docs/ApplicationStoreEntity.md
+++ b/docs/ApplicationStoreEntity.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**storeId** | **Long** | The ID of the store. | [optional]
+**storeId** | **Integer** | The ID of the store. | [optional]
diff --git a/docs/AsyncCouponDeletionJobResponse.md b/docs/AsyncCouponDeletionJobResponse.md
index d0f114d7..440aad48 100644
--- a/docs/AsyncCouponDeletionJobResponse.md
+++ b/docs/AsyncCouponDeletionJobResponse.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**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. |
+**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. |
diff --git a/docs/Attribute.md b/docs/Attribute.md
index 1ec79752..50e5e14e 100644
--- a/docs/Attribute.md
+++ b/docs/Attribute.md
@@ -6,9 +6,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
-**accountId** | **Long** | The ID of the account that owns this entity. |
+**accountId** | **Integer** | 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<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]
+**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]
**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** | **Long** | | [optional]
+**eventTypeId** | **Integer** | | [optional]
diff --git a/docs/Audience.md b/docs/Audience.md
index 082417a3..6fafba4a 100644
--- a/docs/Audience.md
+++ b/docs/Audience.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**accountId** | **Long** | The ID of the account that owns this entity. |
-**id** | **Long** | Internal ID of this entity. |
+**accountId** | **Integer** | The ID of the account that owns this entity. |
+**id** | **Integer** | The 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 08b874c0..e2307465 100644
--- a/docs/AudienceAnalytics.md
+++ b/docs/AudienceAnalytics.md
@@ -7,8 +7,8 @@ The audiences and their member count.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**audienceId** | **Long** | The ID of the audience. | [optional]
-**membersCount** | **Long** | The member count of the audience. | [optional]
+**audienceId** | **Integer** | The ID of the audience. | [optional]
+**membersCount** | **Integer** | The member count of the audience. | [optional]
diff --git a/docs/AudienceCustomer.md b/docs/AudienceCustomer.md
index 4f6a02d8..6ac026f3 100644
--- a/docs/AudienceCustomer.md
+++ b/docs/AudienceCustomer.md
@@ -6,19 +6,19 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The internal ID of the customer profile. |
**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** | **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. |
+**accountId** | **Integer** | The ID of the Talon.One account that owns this profile. |
+**closedSessions** | **Integer** | The total number of closed sessions. Does not include closed sessions that have been cancelled or reopened. See the [docs](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions#customer-session-states). |
**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<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]
+**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]
diff --git a/docs/AudienceMembership.md b/docs/AudienceMembership.md
index c4d1aa78..11333372 100644
--- a/docs/AudienceMembership.md
+++ b/docs/AudienceMembership.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | The ID of the audience belonging to this entity. |
+**id** | **Integer** | 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 9b68d10c..75585efd 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** | **Long** | The ID of the giveaways pool the code was taken from. |
+**poolId** | **Integer** | 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** | **Long** | The internal ID for the giveaway that was awarded. |
+**giveawayId** | **Integer** | 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 cb1bf76c..bf4ec0da 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** | **Long** | [ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this campaign applies on customer session evaluation. | [optional]
+**activeRulesetId** | **Integer** | [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<Long>** | The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/managing-campaign-groups) this campaign belongs to. | [optional]
+**campaignGroups** | **List<Integer>** | 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<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]
+**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]
diff --git a/docs/BaseLoyaltyProgram.md b/docs/BaseLoyaltyProgram.md
index 3ad90ab1..117e9fc8 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<Long>** | A list containing the IDs of all applications that are subscribed to this Loyalty Program. | [optional]
+**subscribedApplications** | **List<Integer>** | 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** | **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]
+**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]
**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 47d86cd7..bae205ec 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** | **Long** | Unique ID for this entity. |
+**id** | **Integer** | Unique ID for this entity. |
**type** | [**TypeEnum**](#TypeEnum) | The notification type. |
@@ -21,6 +21,8 @@ Name | Value
CAMPAIGN | "campaign"
LOYALTY_ADDED_DEDUCTED_POINTS | "loyalty_added_deducted_points"
CARD_ADDED_DEDUCTED_POINTS | "card_added_deducted_points"
+LOYALTY_ADDED_DEDUCTED_POINTS_BALANCES | "loyalty_added_deducted_points_balances"
+LOYALTY_CARD_ADDED_DEDUCTED_POINTS_BALANCES | "loyalty_card_added_deducted_points_balances"
COUPON | "coupon"
EXPIRING_COUPONS | "expiring_coupons"
EXPIRING_POINTS | "expiring_points"
diff --git a/docs/BaseNotificationWebhook.md b/docs/BaseNotificationWebhook.md
index 2328c9fe..ad4943bd 100644
--- a/docs/BaseNotificationWebhook.md
+++ b/docs/BaseNotificationWebhook.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The 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 292970d1..6f133dda 100644
--- a/docs/BaseSamlConnection.md
+++ b/docs/BaseSamlConnection.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**accountId** | **Long** | The ID of the account that owns this entity. |
+**accountId** | **Integer** | 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/Binding.md b/docs/Binding.md
index 013c57ca..688dfea6 100644
--- a/docs/Binding.md
+++ b/docs/Binding.md
@@ -10,6 +10,9 @@ Name | Type | Description | Notes
**type** | **String** | The kind of binding. Possible values are: - `bundle` - `cartItemFilter` - `subledgerBalance` - `templateParameter` | [optional]
**expression** | **List<Object>** | A Talang expression that will be evaluated and its result attached to the name of the binding. |
**valueType** | **String** | Can be one of the following: - `string` - `number` - `boolean` | [optional]
+**minValue** | [**BigDecimal**](BigDecimal.md) | The minimum value allowed for this placeholder. | [optional]
+**maxValue** | [**BigDecimal**](BigDecimal.md) | The maximum value allowed for this placeholder. | [optional]
+**attributeId** | **Integer** | Id of the attribute attached to the placeholder. | [optional]
diff --git a/docs/BulkApplicationNotification.md b/docs/BulkApplicationNotification.md
index 79e14da5..b016460d 100644
--- a/docs/BulkApplicationNotification.md
+++ b/docs/BulkApplicationNotification.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | |
+**totalResultSize** | **Integer** | |
**data** | [**List<ApplicationNotification>**](ApplicationNotification.md) | |
diff --git a/docs/BulkCampaignNotification.md b/docs/BulkCampaignNotification.md
index b87c67ff..41e12e06 100644
--- a/docs/BulkCampaignNotification.md
+++ b/docs/BulkCampaignNotification.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | |
+**totalResultSize** | **Integer** | |
**data** | [**List<CampaignNotification>**](CampaignNotification.md) | |
diff --git a/docs/BulkOperationOnCampaigns.md b/docs/BulkOperationOnCampaigns.md
index fa94453b..7eb0ecb7 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<Long>** | The list of campaign IDs on which the operation will be performed. |
+**campaignIds** | **List<Integer>** | 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 b4db452e..992e00ba 100644
--- a/docs/Campaign.md
+++ b/docs/Campaign.md
@@ -6,55 +6,55 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Unique ID for this entity. |
+**id** | **Integer** | Unique ID for this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The exact moment this entity was created. |
-**applicationId** | **Long** | The ID of the Application that owns this entity. |
-**userId** | **Long** | The ID of the user associated with this entity. |
+**applicationId** | **Integer** | The ID of the Application that owns this entity. |
+**userId** | **Integer** | 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** | **Long** | [ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this campaign applies on customer session evaluation. | [optional]
+**activeRulesetId** | **Integer** | [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<Long>** | The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/managing-campaign-groups) this campaign belongs to. | [optional]
+**campaignGroups** | **List<Integer>** | 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<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]
+**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]
**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** | **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]
+**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]
**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** | **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]
+**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]
**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** | **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]
+**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]
**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** | **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]
+**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]
**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** | **Long** | The ID of the Campaign Template this Campaign was created from. | [optional]
+**templateId** | **Integer** | 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<Long>** | A list of value map IDs for the campaign. | [optional]
+**valueMapsIds** | **List<Integer>** | A list of value map IDs for the campaign. | [optional]
**revisionFrontendState** | [**RevisionFrontendStateEnum**](#RevisionFrontendStateEnum) | The campaign revision state displayed in the Campaign Manager. | [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]
+**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]
**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 48874ee8..0eac1a96 100644
--- a/docs/CampaignActivationRequest.md
+++ b/docs/CampaignActivationRequest.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**userIds** | **List<Long>** | The list of IDs of the users who will receive the activation request. |
+**userIds** | **List<Integer>** | The list of IDs of the users who will receive the activation request. |
diff --git a/docs/CampaignAnalytics.md b/docs/CampaignAnalytics.md
index a411fe50..6db38b31 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** | **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. |
+**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. |
**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 3ba437f1..9c817f6a 100644
--- a/docs/CampaignCollection.md
+++ b/docs/CampaignCollection.md
@@ -6,16 +6,16 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
-**accountId** | **Long** | The ID of the account that owns this entity. |
+**accountId** | **Integer** | 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** | **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]
+**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]
**payload** | **List<String>** | The content of the collection. | [optional]
diff --git a/docs/CampaignCollectionWithoutPayload.md b/docs/CampaignCollectionWithoutPayload.md
index eb6aa0a8..91e0318e 100644
--- a/docs/CampaignCollectionWithoutPayload.md
+++ b/docs/CampaignCollectionWithoutPayload.md
@@ -6,16 +6,16 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
-**accountId** | **Long** | The ID of the account that owns this entity. |
+**accountId** | **Integer** | 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** | **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]
+**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]
diff --git a/docs/CampaignCopy.md b/docs/CampaignCopy.md
index 49e0267a..9970c410 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<Long>** | Application IDs of the applications to which a campaign should be copied to. |
+**applicationIds** | **List<Integer>** | 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** | **Long** | The ID of the campaign evaluation group the campaign belongs to. | [optional]
+**evaluationGroupId** | **Integer** | The ID of the campaign evaluation group the campaign belongs to. | [optional]
diff --git a/docs/CampaignDeactivationRequest.md b/docs/CampaignDeactivationRequest.md
new file mode 100644
index 00000000..8b466b22
--- /dev/null
+++ b/docs/CampaignDeactivationRequest.md
@@ -0,0 +1,12 @@
+
+
+# CampaignDeactivationRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**userIds** | **List<Integer>** | The list of IDs of the users receiving the deactivation request emails. |
+
+
+
diff --git a/docs/CampaignDetail.md b/docs/CampaignDetail.md
index 9dc7c68b..4364170a 100644
--- a/docs/CampaignDetail.md
+++ b/docs/CampaignDetail.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**campaignId** | **Long** | The ID of the campaign that references the application cart item filter. | [optional]
+**campaignId** | **Integer** | 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 5d848d21..877cfe4e 100644
--- a/docs/CampaignEntity.md
+++ b/docs/CampaignEntity.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**campaignId** | **Long** | The ID of the campaign that owns this entity. |
+**campaignId** | **Integer** | The ID of the campaign that owns this entity. |
diff --git a/docs/CampaignEvaluationGroup.md b/docs/CampaignEvaluationGroup.md
index a7dad089..0a04730e 100644
--- a/docs/CampaignEvaluationGroup.md
+++ b/docs/CampaignEvaluationGroup.md
@@ -6,14 +6,14 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**applicationId** | **Long** | The ID of the Application that owns this entity. |
+**applicationId** | **Integer** | The ID of the Application that owns this entity. |
**name** | **String** | The name of the campaign evaluation group. |
-**parentId** | **Long** | The ID of the parent group that contains the campaign evaluation group. |
+**parentId** | **Integer** | 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** | **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. |
+**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. |
diff --git a/docs/CampaignEvaluationPosition.md b/docs/CampaignEvaluationPosition.md
index 5f2fb0be..961997e1 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** | **Long** | The ID of the campaign evaluation group the campaign belongs to. |
+**groupId** | **Integer** | 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** | **Long** | The position of the campaign node in its parent group. |
+**position** | **Integer** | The position of the campaign node in its parent group. |
diff --git a/docs/CampaignEvaluationTreeChangedNotification.md b/docs/CampaignEvaluationTreeChangedNotification.md
index 5713d5d1..3821ce17 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** | **Long** | The ID of the Application whose campaign evaluation tree changed. |
+**applicationId** | **Integer** | 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 49f7bae8..f5fff0f6 100644
--- a/docs/CampaignGroup.md
+++ b/docs/CampaignGroup.md
@@ -6,14 +6,14 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The 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** | **Long** | The ID of the account that owns this entity. |
+**accountId** | **Integer** | 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<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]
+**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]
diff --git a/docs/CampaignGroupEntity.md b/docs/CampaignGroupEntity.md
index 9ea91d60..4187641b 100644
--- a/docs/CampaignGroupEntity.md
+++ b/docs/CampaignGroupEntity.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**campaignGroups** | **List<Long>** | The IDs of the campaign groups that own this entity. | [optional]
+**campaignGroups** | **List<Integer>** | The IDs of the campaign groups that own this entity. | [optional]
diff --git a/docs/CampaignNotificationPolicy.md b/docs/CampaignNotificationPolicy.md
index 6b8c0fad..111c2979 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** | **Long** | The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. | [optional]
+**batchSize** | **Integer** | 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 24275c4d..ff6ccdaf 100644
--- a/docs/CampaignSet.md
+++ b/docs/CampaignSet.md
@@ -6,9 +6,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**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. |
+**applicationId** | **Integer** | The ID of the Application that owns this entity. |
+**id** | **Integer** | The internal ID of this entity. |
+**version** | **Integer** | 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 00aad37e..5773bc22 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** | **Long** | The ID of the campaign set. |
+**groupId** | **Integer** | 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 27bef4ae..4676b637 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** | **Long** | ID of the campaign |
+**campaignId** | **Integer** | ID of the campaign |
diff --git a/docs/CampaignStoreBudget.md b/docs/CampaignStoreBudget.md
index a7f3bd54..283266bd 100644
--- a/docs/CampaignStoreBudget.md
+++ b/docs/CampaignStoreBudget.md
@@ -6,10 +6,10 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
-**campaignId** | **Long** | The ID of the campaign that owns this entity. |
-**storeId** | **Long** | The ID of the store. |
+**campaignId** | **Integer** | The ID of the campaign that owns this entity. |
+**storeId** | **Integer** | 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 6d3b0b7f..cba5c9ba 100644
--- a/docs/CampaignTemplate.md
+++ b/docs/CampaignTemplate.md
@@ -6,17 +6,17 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
-**accountId** | **Long** | The ID of the account that owns this entity. |
-**userId** | **Long** | The ID of the user associated with this entity. |
+**accountId** | **Integer** | The ID of the account that owns this entity. |
+**userId** | **Integer** | 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** | **Long** | The ID of the ruleset this campaign template will use. | [optional]
+**activeRulesetId** | **Integer** | 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<Long>** | A list of IDs of the Applications that are subscribed to this campaign template. |
+**applicationsIds** | **List<Integer>** | 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** | **Long** | The default campaign group ID. | [optional]
+**defaultCampaignGroupId** | **Integer** | 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<Long>** | The IDs of the Applications that are related to this entity. |
+**validApplicationIds** | **List<Integer>** | 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 ff0d40f4..d04b8952 100644
--- a/docs/CampaignTemplateCouponReservationSettings.md
+++ b/docs/CampaignTemplateCouponReservationSettings.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**reservationLimit** | **Long** | The number of reservations that can be made with this coupon code. | [optional]
+**reservationLimit** | **Integer** | 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 76dfb911..d78a9cb2 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** | **Long** | ID of the corresponding attribute. | [optional]
+**attributeId** | **Integer** | ID of the corresponding attribute. | [optional]
diff --git a/docs/CampaignVersions.md b/docs/CampaignVersions.md
index ebbf96c5..cb06e69a 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** | **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]
+**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]
**stageRevision** | **Boolean** | Flag for determining whether we use current revision when sending requests with staging API key. | [optional]
diff --git a/docs/CardAddedDeductedPointsBalancesNotificationPolicy.md b/docs/CardAddedDeductedPointsBalancesNotificationPolicy.md
new file mode 100644
index 00000000..26c3c7f5
--- /dev/null
+++ b/docs/CardAddedDeductedPointsBalancesNotificationPolicy.md
@@ -0,0 +1,24 @@
+
+
+# CardAddedDeductedPointsBalancesNotificationPolicy
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**name** | **String** | Notification name. |
+**scopes** | [**List<ScopesEnum>**](#List<ScopesEnum>) | |
+
+
+
+## Enum: List<ScopesEnum>
+
+Name | Value
+---- | -----
+ALL | "all"
+CAMPAIGN_MANAGER | "campaign_manager"
+MANAGEMENT_API | "management_api"
+RULE_ENGINE | "rule_engine"
+
+
+
diff --git a/docs/CardExpiringPointsNotificationPolicy.md b/docs/CardExpiringPointsNotificationPolicy.md
index 4cf701b7..c3fb6db4 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** | **Long** | The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. | [optional]
+**batchSize** | **Integer** | 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 0e73922c..27e5bcf3 100644
--- a/docs/CardExpiringPointsNotificationTrigger.md
+++ b/docs/CardExpiringPointsNotificationTrigger.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**amount** | **Long** | The amount of period. |
+**amount** | **Integer** | 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 1afef1ff..a91e1fe5 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** | **Long** | ID of the transaction that adds loyalty points. |
+**id** | **Integer** | ID of the transaction that adds loyalty points. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | Date and time the loyalty card points were added. |
-**programId** | **Long** | ID of the loyalty program. |
+**programId** | **Integer** | 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 464d557a..0d4dc900 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** | **Long** | ID of the loyalty program. |
+**programId** | **Integer** | ID of the loyalty program. |
**cardIdentifier** | **String** | The alphanumeric identifier of the loyalty card. |
-**applicationId** | **Long** | The ID of the Application that owns this entity. | [optional]
-**sessionId** | **Long** | The **internal** ID of the session. | [optional]
+**applicationId** | **Integer** | The ID of the Application that owns this entity. | [optional]
+**sessionId** | **Integer** | 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** | **Long** | ID of the loyalty ledger entry. |
+**id** | **Integer** | ID of the loyalty ledger entry. |
diff --git a/docs/CardLedgerTransactionLogEntryIntegrationAPI.md b/docs/CardLedgerTransactionLogEntryIntegrationAPI.md
index 5314c9d9..b707d2c7 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** | **Long** | ID of the loyalty program. |
+**programId** | **Integer** | 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** | **Long** | ID of the loyalty ledger transaction. |
-**rulesetId** | **Long** | The ID of the ruleset containing the rule that triggered this effect. | [optional]
+**id** | **Integer** | ID of the loyalty ledger transaction. |
+**rulesetId** | **Integer** | 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 fff32208..9c9cdf3f 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** | **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]
+**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]
**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,12 @@ 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** | **Long** | The [catalog item ID](https://docs.talon.one/docs/product/account/dev-tools/managing-cart-item-catalogs/#synchronizing-a-cart-item-catalog). | [optional]
+**catalogItemID** | **Integer** | The catalog item ID. | [optional]
+**selectedPriceType** | **String** | The selected price type for this cart item (e.g. the price for members only). | [optional]
+**adjustmentReferenceId** | [**UUID**](UUID.md) | The reference identifier of the selected price adjustment for this cart item. This is only returned if the `selectedPrice` resulted from a price adjustment. | [optional]
+**adjustmentEffectiveFrom** | [**OffsetDateTime**](OffsetDateTime.md) | The date and time from which the price adjustment is effective. This is only returned if the `selectedPrice` resulted from a price adjustment that contains this field. | [optional]
+**adjustmentEffectiveUntil** | [**OffsetDateTime**](OffsetDateTime.md) | The date and time until which the price adjustment is effective. This is only returned if the `selectedPrice` resulted from a price adjustment that contains this field. | [optional]
+**prices** | [**Map<String, PriceDetail>**](PriceDetail.md) | A map of keys and values representing the price types and related price adjustment details for this cart item. The keys correspond to the `priceType` names. | [optional]
diff --git a/docs/Catalog.md b/docs/Catalog.md
index cb2cf8cc..a539de3e 100644
--- a/docs/Catalog.md
+++ b/docs/Catalog.md
@@ -6,15 +6,15 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
-**accountId** | **Long** | The ID of the account that owns this entity. |
+**accountId** | **Integer** | 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<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. |
+**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. |
diff --git a/docs/CatalogAction.md b/docs/CatalogAction.md
index 9ed94318..d6c78874 100644
--- a/docs/CatalogAction.md
+++ b/docs/CatalogAction.md
@@ -21,6 +21,7 @@ PATCH | "PATCH"
PATCH_MANY | "PATCH_MANY"
REMOVE | "REMOVE"
REMOVE_MANY | "REMOVE_MANY"
+ADD_PRICE_ADJUSTMENT | "ADD_PRICE_ADJUSTMENT"
diff --git a/docs/CatalogItem.md b/docs/CatalogItem.md
index 1a4f3020..8af62b4c 100644
--- a/docs/CatalogItem.md
+++ b/docs/CatalogItem.md
@@ -6,12 +6,12 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The 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** | **Long** | The ID of the catalog the item belongs to. |
-**version** | **Long** | The version of the catalog item. |
+**catalogid** | **Integer** | The ID of the catalog the item belongs to. |
+**version** | **Integer** | 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 94bafcc3..575f85b9 100644
--- a/docs/CatalogSyncRequest.md
+++ b/docs/CatalogSyncRequest.md
@@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**actions** | [**List<CatalogAction>**](CatalogAction.md) | |
-**version** | **Long** | The version number of the catalog to apply the actions on. | [optional]
+**version** | **Integer** | The version number of the catalog to apply the actions on. | [optional]
diff --git a/docs/CatalogsStrikethroughNotificationPolicy.md b/docs/CatalogsStrikethroughNotificationPolicy.md
index e73851ab..1cac89d4 100644
--- a/docs/CatalogsStrikethroughNotificationPolicy.md
+++ b/docs/CatalogsStrikethroughNotificationPolicy.md
@@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **String** | Notification name. |
-**aheadOfDaysTrigger** | **Long** | The number of days in advance that strikethrough pricing updates should be sent. | [optional]
+**aheadOfDaysTrigger** | **Integer** | 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 40a62011..33108895 100644
--- a/docs/Change.md
+++ b/docs/Change.md
@@ -6,14 +6,14 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
-**userId** | **Long** | The ID of the user associated with this entity. |
-**applicationId** | **Long** | ID of application associated with change. | [optional]
+**userId** | **Integer** | The ID of the user associated with this entity. |
+**applicationId** | **Integer** | 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** | **Long** | ID of management key used to perform changes. | [optional]
+**managementKeyId** | **Integer** | ID of management key used to perform changes. | [optional]
diff --git a/docs/ChangeLoyaltyTierLevelEffectProps.md b/docs/ChangeLoyaltyTierLevelEffectProps.md
index f9356324..d1047ef5 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** | **Long** | The ID of the loyalty program where these points were added. |
+**programId** | **Integer** | 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 87327e1a..df905e80 100644
--- a/docs/Collection.md
+++ b/docs/Collection.md
@@ -6,17 +6,17 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
-**accountId** | **Long** | The ID of the account that owns this entity. |
+**accountId** | **Integer** | 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<Long>** | A list of the IDs of the Applications where this collection is enabled. | [optional]
+**subscribedApplicationsIds** | **List<Integer>** | A list of the IDs of the Applications where this collection is enabled. | [optional]
**name** | **String** | The name of this collection. |
-**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]
+**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]
**payload** | **List<String>** | The content of the collection. | [optional]
diff --git a/docs/CollectionWithoutPayload.md b/docs/CollectionWithoutPayload.md
index 76426dc8..e93d029e 100644
--- a/docs/CollectionWithoutPayload.md
+++ b/docs/CollectionWithoutPayload.md
@@ -6,17 +6,17 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
-**accountId** | **Long** | The ID of the account that owns this entity. |
+**accountId** | **Integer** | 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<Long>** | A list of the IDs of the Applications where this collection is enabled. | [optional]
+**subscribedApplicationsIds** | **List<Integer>** | A list of the IDs of the Applications where this collection is enabled. | [optional]
**name** | **String** | The name of this collection. |
-**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]
+**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]
diff --git a/docs/Coupon.md b/docs/Coupon.md
index 913e2a3c..e7ff4d98 100644
--- a/docs/Coupon.md
+++ b/docs/Coupon.md
@@ -6,24 +6,24 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
-**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
-**campaignId** | **Long** | The ID of the campaign that owns this entity. |
+**id** | **Integer** | The internal ID of the coupon. |
+**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time the coupon was created. |
+**campaignId** | **Integer** | The ID of the campaign that owns this entity. |
**value** | **String** | The coupon code. |
-**usageLimit** | **Long** | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. |
+**usageLimit** | **Integer** | 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** | **Long** | The number of reservations that can be made with this coupon code. | [optional]
+**reservationLimit** | **Integer** | 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** | **Long** | The number of times the coupon has been successfully redeemed. |
+**usageCounter** | **Integer** | 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** | **Long** | The integration ID of the referring customer (if any) for whom this coupon was created as an effect. | [optional]
+**referralId** | **Integer** | 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** | **Long** | The ID of the Import which created this coupon. | [optional]
+**importId** | **Integer** | 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 d5c7d44a..199de7ac 100644
--- a/docs/CouponConstraints.md
+++ b/docs/CouponConstraints.md
@@ -6,9 +6,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**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]
+**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]
**discountLimit** | [**BigDecimal**](BigDecimal.md) | The total discount value that the code can give. Typically used to represent a gift card value. | [optional]
-**reservationLimit** | **Long** | The number of reservations that can be made with this coupon code. | [optional]
+**reservationLimit** | **Integer** | 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 ef1e7721..e8c828aa 100644
--- a/docs/CouponCreationJob.md
+++ b/docs/CouponCreationJob.md
@@ -6,28 +6,28 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
-**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. |
+**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. |
**discountLimit** | [**BigDecimal**](BigDecimal.md) | The total discount value that the code can give. Typically used to represent a gift card value. | [optional]
-**reservationLimit** | **Long** | The number of reservations that can be made with this coupon code. | [optional]
+**reservationLimit** | **Integer** | 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** | **Long** | The number of new coupon codes to generate for the campaign. |
+**numberOfCoupons** | **Integer** | 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** | **Long** | The number of coupon codes that were already created for this request. |
-**failCount** | **Long** | The number of times this job failed. |
+**createdAmount** | **Integer** | The number of coupon codes that were already created for this request. |
+**failCount** | **Integer** | The number of times this job failed. |
**errors** | **List<String>** | An array of individual problems encountered during the request. |
-**createdBy** | **Long** | ID of the user who created this effect. |
+**createdBy** | **Integer** | 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** | **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]
+**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]
diff --git a/docs/CouponDeletionFilters.md b/docs/CouponDeletionFilters.md
index a3fc139b..ca21fae6 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** | **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]
+**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]
**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 96dafc44..949b4d98 100644
--- a/docs/CouponDeletionJob.md
+++ b/docs/CouponDeletionJob.md
@@ -6,18 +6,18 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
-**applicationId** | **Long** | The ID of the Application that owns this entity. |
-**accountId** | **Long** | The ID of the account 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. |
**filters** | [**CouponDeletionFilters**](CouponDeletionFilters.md) | |
**status** | **String** | The current status of this request. Possible values: - `not_ready` - `pending` - `completed` - `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. |
+**deletedAmount** | **Integer** | The number of coupon codes that were already deleted for this request. | [optional]
+**failCount** | **Integer** | The number of times this job failed. |
**errors** | **List<String>** | An array of individual problems encountered during the request. |
-**createdBy** | **Long** | ID of the user who created this effect. |
+**createdBy** | **Integer** | 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<Long>** | | [optional]
+**campaignIDs** | **List<Integer>** | | [optional]
diff --git a/docs/CouponEntity.md b/docs/CouponEntity.md
new file mode 100644
index 00000000..525f0f33
--- /dev/null
+++ b/docs/CouponEntity.md
@@ -0,0 +1,13 @@
+
+
+# CouponEntity
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **Integer** | The internal ID of the coupon. |
+**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time the coupon was created. |
+
+
+
diff --git a/docs/CouponRejectionReason.md b/docs/CouponRejectionReason.md
index 97d21790..f5d5698c 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** | **Long** | |
-**couponId** | **Long** | |
+**campaignId** | **Integer** | |
+**couponId** | **Integer** | |
**reason** | [**ReasonEnum**](#ReasonEnum) | |
diff --git a/docs/CouponsNotificationPolicy.md b/docs/CouponsNotificationPolicy.md
index d8334096..0b0175c0 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** | **Long** | The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. | [optional]
+**batchSize** | **Integer** | The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. | [optional]
diff --git a/docs/CreateAchievement.md b/docs/CreateAchievement.md
index 89b8f9c0..1fbfb220 100644
--- a/docs/CreateAchievement.md
+++ b/docs/CreateAchievement.md
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
**target** | [**BigDecimal**](BigDecimal.md) | The required number of actions or the transactional milestone to complete the achievement. |
**period** | **String** | The relative duration after which the achievement ends and resets for a particular customer profile. **Note**: The `period` does not start when the achievement is created. The period is a **positive real number** followed by one letter indicating the time unit. Examples: `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 also round certain units down to the beginning of period and up to the end of period.: - `_D` for rounding down days only. Signifies the start of the day. Example: `30D_D` - `_U` for rounding up days, weeks, months and years. Signifies the end of the day, week, month or year. Example: `23W_U` **Note**: You can either use the round down and round up option or set an absolute period. | [optional]
**periodEndOverride** | [**TimePoint**](TimePoint.md) | | [optional]
-**recurrencePolicy** | [**RecurrencePolicyEnum**](#RecurrencePolicyEnum) | 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. | [optional]
+**recurrencePolicy** | [**RecurrencePolicyEnum**](#RecurrencePolicyEnum) | 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. - `on_completion`: When the customer progress status reaches `completed`, the achievement resets and becomes available again. | [optional]
**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]
@@ -25,6 +25,7 @@ Name | Value
---- | -----
NO_RECURRENCE | "no_recurrence"
ON_EXPIRATION | "on_expiration"
+ON_COMPLETION | "on_completion"
diff --git a/docs/CreateApplicationAPIKey.md b/docs/CreateApplicationAPIKey.md
index d34444c6..0d8ced5d 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** | **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]
+**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]
diff --git a/docs/CreateManagementKey.md b/docs/CreateManagementKey.md
index c1978a7e..d513ee45 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<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]
+**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]
diff --git a/docs/CreateTemplateCampaign.md b/docs/CreateTemplateCampaign.md
index 2d9afa5b..6a446708 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** | **Long** | The ID of the Campaign Template which will be used in order to create the Campaign. |
+**templateId** | **Integer** | 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<Long>** | 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<Integer>** | 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** | **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]
+**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]
diff --git a/docs/CustomEffect.md b/docs/CustomEffect.md
index 51032138..091933dc 100644
--- a/docs/CustomEffect.md
+++ b/docs/CustomEffect.md
@@ -6,11 +6,11 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
-**accountId** | **Long** | The ID of the account that owns this entity. |
+**accountId** | **Integer** | The ID of the account that owns this entity. |
**modified** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was last modified. |
-**applicationIds** | **List<Long>** | The IDs of the Applications that are related to this entity. |
+**applicationIds** | **List<Integer>** | 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** | **Long** | ID of the user who last updated this effect if available. | [optional]
-**createdBy** | **Long** | ID of the user who created this effect. |
+**modifiedBy** | **Integer** | ID of the user who last updated this effect if available. | [optional]
+**createdBy** | **Integer** | ID of the user who created this effect. |
diff --git a/docs/CustomEffectProps.md b/docs/CustomEffectProps.md
index 2209dfc1..aa4a5a5f 100644
--- a/docs/CustomEffectProps.md
+++ b/docs/CustomEffectProps.md
@@ -7,11 +7,11 @@ Effect containing custom payload.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**effectId** | **Long** | The ID of the custom effect that was triggered. |
+**effectId** | **Integer** | 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** | **Long** | The position of the bundle in a list of item bundles created from the same bundle definition. | [optional]
+**bundleIndex** | **Integer** | 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 80bb8134..c84488ce 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** | **Long** | The internal Talon.One ID of the customer. |
+**customerId** | **Integer** | The internal Talon.One ID of the customer. |
**lastActivity** | [**OffsetDateTime**](OffsetDateTime.md) | The last activity of the customer. | [optional]
-**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. |
+**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. |
**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** | **Long** | Number of orders in all customer campaigns. |
-**totalOrdersNoCoupon** | **Long** | Number of orders without coupon used 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. |
**campaignName** | **String** | The name of the campaign this customer belongs to. |
diff --git a/docs/CustomerAnalytics.md b/docs/CustomerAnalytics.md
index bd4e1e06..1bf509a2 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** | **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. |
+**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. |
**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 06fafffa..d6574584 100644
--- a/docs/CustomerProfile.md
+++ b/docs/CustomerProfile.md
@@ -6,12 +6,12 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The internal ID of the customer profile. |
**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** | **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. |
+**accountId** | **Integer** | The ID of the Talon.One account that owns this profile. |
+**closedSessions** | **Integer** | The total number of closed sessions. Does not include closed sessions that have been cancelled or reopened. See the [docs](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions#customer-session-states). |
**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 6cad277b..35b4a2ec 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** | **Long** | The ID of the audience. You get it via the `id` property when [creating an audience](#operation/createAudienceV2). |
+**audienceId** | **Integer** | The ID of the audience. You get it via the `id` property when [creating an audience](#operation/createAudienceV2). |
diff --git a/docs/CustomerProfileEntity.md b/docs/CustomerProfileEntity.md
new file mode 100644
index 00000000..b16fb76f
--- /dev/null
+++ b/docs/CustomerProfileEntity.md
@@ -0,0 +1,13 @@
+
+
+# CustomerProfileEntity
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **Integer** | The internal ID of the customer profile. |
+**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time the customer profile was created. |
+
+
+
diff --git a/docs/CustomerProfileIntegrationRequestV2.md b/docs/CustomerProfileIntegrationRequestV2.md
index 67166c88..8ce26dcd 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<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]
+**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]
**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 7a45d762..12512698 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<Long>** | | [optional]
+**profileIDs** | **List<Integer>** | | [optional]
diff --git a/docs/CustomerSession.md b/docs/CustomerSession.md
index 00870960..2cbb2691 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** | **Long** | The ID of the Application that owns this entity. |
+**applicationId** | **Integer** | 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 c8657440..44970cec 100644
--- a/docs/CustomerSessionV2.md
+++ b/docs/CustomerSessionV2.md
@@ -7,13 +7,13 @@ The representation of the customer session.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The 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** | **Long** | The ID of the Application that owns this entity. |
+**applicationId** | **Integer** | 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<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]
+**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]
**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 06b9129b..e1508003 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** | **Long** | ID of the Application that is connected to the loyalty program. | [optional]
+**applicationId** | **Integer** | ID of the Application that is connected to the loyalty program. | [optional]
diff --git a/docs/DeductLoyaltyPointsEffectProps.md b/docs/DeductLoyaltyPointsEffectProps.md
index 0fd8df94..cd34b15f 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** | **Long** | The ID of the loyalty program where these points were added. |
+**programId** | **Integer** | 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 5ba627e5..b30fa2b6 100644
--- a/docs/Effect.md
+++ b/docs/Effect.md
@@ -7,18 +7,21 @@ A generic effect that is fired by a triggered campaign. The props property will
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**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. |
+**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. |
**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** | **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]
+**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]
**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** | **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]
+**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]
+**selectedPriceType** | **String** | The selected price type for the SKU targeted by this effect. | [optional]
+**selectedPrice** | [**BigDecimal**](BigDecimal.md) | The value of the selected price type to apply to the SKU targeted by this effect, before any discounts are applied. | [optional]
+**adjustmentReferenceId** | [**UUID**](UUID.md) | The reference identifier of the selected price adjustment for this SKU. This is only returned if the `selectedPrice` resulted from a price adjustment. | [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 28953626..11617e78 100644
--- a/docs/EffectEntity.md
+++ b/docs/EffectEntity.md
@@ -7,18 +7,21 @@ Definition of all properties that are present on all effects, independent of the
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**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. |
+**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. |
**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** | **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]
+**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]
**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** | **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]
+**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]
+**selectedPriceType** | **String** | The selected price type for the SKU targeted by this effect. | [optional]
+**selectedPrice** | [**BigDecimal**](BigDecimal.md) | The value of the selected price type to apply to the SKU targeted by this effect, before any discounts are applied. | [optional]
+**adjustmentReferenceId** | [**UUID**](UUID.md) | The reference identifier of the selected price adjustment for this SKU. This is only returned if the `selectedPrice` resulted from a price adjustment. | [optional]
diff --git a/docs/Entity.md b/docs/Entity.md
index 707445ec..24aba8df 100644
--- a/docs/Entity.md
+++ b/docs/Entity.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The 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 1d74f55f..be250ce5 100644
--- a/docs/EntityWithTalangVisibleID.md
+++ b/docs/EntityWithTalangVisibleID.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Unique ID for this entity. |
+**id** | **Integer** | 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 a617508a..68ef9c55 100644
--- a/docs/Environment.md
+++ b/docs/Environment.md
@@ -6,9 +6,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
-**applicationId** | **Long** | The ID of the Application that owns this entity. |
+**applicationId** | **Integer** | 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. |
@@ -21,6 +21,7 @@ Name | Type | Description | Notes
**audiences** | [**List<Audience>**](Audience.md) | The audiences contained in the account which the application belongs to. | [optional]
**collections** | [**List<Collection>**](Collection.md) | The account-level collections that the application is subscribed to. | [optional]
**applicationCartItemFilters** | [**List<ApplicationCIF>**](ApplicationCIF.md) | The cart item filters belonging to the Application. | [optional]
+**priceTypes** | [**List<PriceType>**](PriceType.md) | The price types that this Application can use. | [optional]
diff --git a/docs/ErrorResponseWithStatus.md b/docs/ErrorResponseWithStatus.md
index f8ba17a6..4508f3e8 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** | **Long** | The error code | [optional]
+**statusCode** | **Integer** | The error code | [optional]
diff --git a/docs/EvaluableCampaignIds.md b/docs/EvaluableCampaignIds.md
index 006899ec..dfc4ee15 100644
--- a/docs/EvaluableCampaignIds.md
+++ b/docs/EvaluableCampaignIds.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**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]
+**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]
diff --git a/docs/Event.md b/docs/Event.md
index 20a703c3..fe6aab0e 100644
--- a/docs/Event.md
+++ b/docs/Event.md
@@ -6,9 +6,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
-**applicationId** | **Long** | The ID of the Application that owns this entity. |
+**applicationId** | **Integer** | 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 e0a406be..deaadaa0 100644
--- a/docs/EventType.md
+++ b/docs/EventType.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The 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 190c1e92..2a692493 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<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]
+**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]
**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 cd500043..94c154e0 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** | **Long** | The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. | [optional]
+**batchSize** | **Integer** | 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 041eb082..92660fa2 100644
--- a/docs/ExpiringCouponsNotificationTrigger.md
+++ b/docs/ExpiringCouponsNotificationTrigger.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**amount** | **Long** | The amount of period. |
+**amount** | **Integer** | 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 bb70889a..d32e5cc9 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** | **Long** | The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. | [optional]
+**batchSize** | **Integer** | 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 b998f680..2dbe548e 100644
--- a/docs/ExpiringPointsNotificationTrigger.md
+++ b/docs/ExpiringPointsNotificationTrigger.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**amount** | **Long** | The amount of period. |
+**amount** | **Integer** | 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 669afcbd..37b23cc9 100644
--- a/docs/Export.md
+++ b/docs/Export.md
@@ -6,10 +6,10 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
-**accountId** | **Long** | The ID of the account that owns this entity. |
-**userId** | **Long** | The ID of the user associated with this entity. |
+**accountId** | **Integer** | The ID of the account that owns this entity. |
+**userId** | **Integer** | 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/ExtendLoyaltyPointsExpiryDateEffectProps.md b/docs/ExtendLoyaltyPointsExpiryDateEffectProps.md
new file mode 100644
index 00000000..3ccce28a
--- /dev/null
+++ b/docs/ExtendLoyaltyPointsExpiryDateEffectProps.md
@@ -0,0 +1,17 @@
+
+
+# ExtendLoyaltyPointsExpiryDateEffectProps
+
+The properties specific to the \"extendLoyaltyPointsExpiryDate\" effect. This gets triggered when a validated rule contains the \"extend expiry date\" effect. The current expiry date gets extended by the time frame given in the effect.
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**programId** | **Integer** | ID of the loyalty program that contains these points. |
+**subLedgerId** | **String** | API name of the loyalty program subledger that contains these points. added. |
+**extensionDuration** | **String** | Time frame by which the expiry date extends. The time format is either: - immediate, or - an **integer** followed by a 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. |
+**transactionUUIDs** | **List<String>** | The list of identifiers of transactions affected affected by the extension. | [optional]
+**previousExpirationDate** | [**OffsetDateTime**](OffsetDateTime.md) | Expiry date before applying the extension. |
+
+
+
diff --git a/docs/GenerateCampaignDescription.md b/docs/GenerateCampaignDescription.md
index dfbc8adc..09e950ee 100644
--- a/docs/GenerateCampaignDescription.md
+++ b/docs/GenerateCampaignDescription.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**rulesetID** | **Long** | ID of a ruleset. |
+**rulesetID** | **Integer** | ID of a ruleset. |
**currency** | **String** | Currency for the campaign. |
diff --git a/docs/GenerateCampaignTags.md b/docs/GenerateCampaignTags.md
index 729ac14f..29620daa 100644
--- a/docs/GenerateCampaignTags.md
+++ b/docs/GenerateCampaignTags.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**rulesetID** | **Long** | ID of a ruleset. |
+**rulesetID** | **Integer** | ID of a ruleset. |
diff --git a/docs/GetIntegrationCouponRequest.md b/docs/GetIntegrationCouponRequest.md
index 78a2f60b..c52da1eb 100644
--- a/docs/GetIntegrationCouponRequest.md
+++ b/docs/GetIntegrationCouponRequest.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**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. |
+**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. |
diff --git a/docs/Giveaway.md b/docs/Giveaway.md
index 8ff6f2c6..bbe41739 100644
--- a/docs/Giveaway.md
+++ b/docs/Giveaway.md
@@ -6,17 +6,17 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**code** | **String** | The code value of this giveaway. |
-**poolId** | **Long** | The ID of the pool to return giveaway codes from. |
+**poolId** | **Integer** | 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** | **Long** | The ID of the Import which created this giveaway. | [optional]
+**importId** | **Integer** | 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** | **Long** | The internal ID of the customer profile that was awarded the giveaway, if the giveaway was awarded and an internal ID exists. | [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]
diff --git a/docs/GiveawaysPool.md b/docs/GiveawaysPool.md
index 426f6637..d60f3556 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** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
-**accountId** | **Long** | The ID of the account that owns this entity. |
+**accountId** | **Integer** | 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<Long>** | A list of the IDs of the applications that this giveaways pool is enabled for. | [optional]
+**subscribedApplicationsIds** | **List<Integer>** | 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** | **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]
+**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]
diff --git a/docs/HiddenConditionsEffects.md b/docs/HiddenConditionsEffects.md
index 837e2f97..c5807e96 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<Long>** | List of the IDs of hidden custom effects. | [optional]
-**webhooks** | **List<Long>** | List of the IDs of hidden webhooks. | [optional]
+**customEffects** | **List<Integer>** | List of the IDs of hidden custom effects. | [optional]
+**webhooks** | **List<Integer>** | List of the IDs of hidden webhooks. | [optional]
diff --git a/docs/IdentifiableEntity.md b/docs/IdentifiableEntity.md
index 1b7f7ee3..a4f78340 100644
--- a/docs/IdentifiableEntity.md
+++ b/docs/IdentifiableEntity.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**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. |
+**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. |
diff --git a/docs/ImportEntity.md b/docs/ImportEntity.md
index e3c2a4b3..418b1708 100644
--- a/docs/ImportEntity.md
+++ b/docs/ImportEntity.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**importId** | **Long** | The ID of the Import which created this referral. | [optional]
+**importId** | **Integer** | The ID of the Import which created this referral. | [optional]
diff --git a/docs/IncreaseAchievementProgressEffectProps.md b/docs/IncreaseAchievementProgressEffectProps.md
index 93c88f38..b0e7992e 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** | **Long** | The internal ID of the achievement. |
+**achievementId** | **Integer** | The internal ID of the achievement. |
**achievementName** | **String** | The name of the achievement. |
-**progressTrackerId** | **Long** | The internal ID of the achievement progress tracker. | [optional]
+**progressTrackerId** | **Integer** | 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 b91a6717..2f5a9a3d 100644
--- a/docs/InlineResponse200.md
+++ b/docs/InlineResponse200.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | |
+**totalResultSize** | **Integer** | |
**data** | [**List<CustomerProfile>**](CustomerProfile.md) | |
diff --git a/docs/InlineResponse2001.md b/docs/InlineResponse2001.md
index 63fd5662..6b209555 100644
--- a/docs/InlineResponse2001.md
+++ b/docs/InlineResponse2001.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | |
+**totalResultSize** | **Integer** | |
**data** | [**List<AchievementStatusEntry>**](AchievementStatusEntry.md) | |
diff --git a/docs/InlineResponse20010.md b/docs/InlineResponse20010.md
index e3f25d69..fbe81327 100644
--- a/docs/InlineResponse20010.md
+++ b/docs/InlineResponse20010.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | |
+**totalResultSize** | **Integer** | |
**data** | [**List<Coupon>**](Coupon.md) | |
diff --git a/docs/InlineResponse20013.md b/docs/InlineResponse20013.md
index 69a43ac4..28c9e417 100644
--- a/docs/InlineResponse20013.md
+++ b/docs/InlineResponse20013.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | |
+**totalResultSize** | **Integer** | |
**data** | [**List<CampaignGroup>**](CampaignGroup.md) | |
diff --git a/docs/InlineResponse20015.md b/docs/InlineResponse20015.md
index 80e9704d..7c533913 100644
--- a/docs/InlineResponse20015.md
+++ b/docs/InlineResponse20015.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | |
+**totalResultSize** | **Integer** | |
**data** | [**List<LoyaltyProgram>**](LoyaltyProgram.md) | |
diff --git a/docs/InlineResponse20016.md b/docs/InlineResponse20016.md
index 83a15fbb..0f1a3f5b 100644
--- a/docs/InlineResponse20016.md
+++ b/docs/InlineResponse20016.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | |
+**totalResultSize** | **Integer** | |
**data** | [**List<LoyaltyDashboardData>**](LoyaltyDashboardData.md) | |
diff --git a/docs/InlineResponse2002.md b/docs/InlineResponse2002.md
index e6049688..fbeb9c67 100644
--- a/docs/InlineResponse2002.md
+++ b/docs/InlineResponse2002.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | |
+**totalResultSize** | **Integer** | |
**data** | [**List<AchievementProgress>**](AchievementProgress.md) | |
diff --git a/docs/InlineResponse20020.md b/docs/InlineResponse20020.md
index f6179802..73cf2e6f 100644
--- a/docs/InlineResponse20020.md
+++ b/docs/InlineResponse20020.md
@@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**hasMore** | **Boolean** | | [optional]
-**totalResultSize** | **Long** | | [optional]
+**totalResultSize** | **Integer** | | [optional]
**data** | [**List<CollectionWithoutPayload>**](CollectionWithoutPayload.md) | |
diff --git a/docs/InlineResponse20023.md b/docs/InlineResponse20023.md
index 5dd633aa..cf263cd4 100644
--- a/docs/InlineResponse20023.md
+++ b/docs/InlineResponse20023.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | |
+**totalResultSize** | **Integer** | |
**data** | [**List<CampaignAnalytics>**](CampaignAnalytics.md) | |
diff --git a/docs/InlineResponse20024.md b/docs/InlineResponse20024.md
index 53aee5a1..3069eab1 100644
--- a/docs/InlineResponse20024.md
+++ b/docs/InlineResponse20024.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | | [optional]
+**totalResultSize** | **Integer** | | [optional]
**hasMore** | **Boolean** | | [optional]
**data** | [**List<ApplicationCustomer>**](ApplicationCustomer.md) | |
diff --git a/docs/InlineResponse20025.md b/docs/InlineResponse20025.md
index 5ef800ec..40220f63 100644
--- a/docs/InlineResponse20025.md
+++ b/docs/InlineResponse20025.md
@@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**hasMore** | **Boolean** | | [optional]
-**totalResultSize** | **Long** | | [optional]
+**totalResultSize** | **Integer** | | [optional]
**data** | [**List<ApplicationCustomer>**](ApplicationCustomer.md) | |
diff --git a/docs/InlineResponse20026.md b/docs/InlineResponse20026.md
index d783ea33..a598d4f5 100644
--- a/docs/InlineResponse20026.md
+++ b/docs/InlineResponse20026.md
@@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**hasMore** | **Boolean** | | [optional]
-**totalResultSize** | **Long** | | [optional]
+**totalResultSize** | **Integer** | | [optional]
**data** | [**List<CustomerProfile>**](CustomerProfile.md) | |
diff --git a/docs/InlineResponse20031.md b/docs/InlineResponse20031.md
index 7312e701..8c8fad3b 100644
--- a/docs/InlineResponse20031.md
+++ b/docs/InlineResponse20031.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | |
+**totalResultSize** | **Integer** | |
**data** | **List<String>** | |
diff --git a/docs/InlineResponse20032.md b/docs/InlineResponse20032.md
index a727b244..b04d3548 100644
--- a/docs/InlineResponse20032.md
+++ b/docs/InlineResponse20032.md
@@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**hasMore** | **Boolean** | | [optional]
-**totalResultSize** | **Long** | | [optional]
+**totalResultSize** | **Integer** | | [optional]
**data** | [**List<Audience>**](Audience.md) | |
diff --git a/docs/InlineResponse20035.md b/docs/InlineResponse20035.md
index 4f0dfdf4..aa4c8bd3 100644
--- a/docs/InlineResponse20035.md
+++ b/docs/InlineResponse20035.md
@@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**hasMore** | **Boolean** | | [optional]
-**totalResultSize** | **Long** | | [optional]
+**totalResultSize** | **Integer** | | [optional]
**data** | [**List<ApplicationReferee>**](ApplicationReferee.md) | |
diff --git a/docs/InlineResponse20036.md b/docs/InlineResponse20036.md
index 4fbbf04d..c35fa228 100644
--- a/docs/InlineResponse20036.md
+++ b/docs/InlineResponse20036.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | |
+**totalResultSize** | **Integer** | |
**data** | [**List<Attribute>**](Attribute.md) | |
diff --git a/docs/InlineResponse20037.md b/docs/InlineResponse20037.md
index f7e3566a..ff316f17 100644
--- a/docs/InlineResponse20037.md
+++ b/docs/InlineResponse20037.md
@@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**hasMore** | **Boolean** | | [optional]
-**totalResultSize** | **Long** | | [optional]
+**totalResultSize** | **Integer** | | [optional]
**data** | [**List<CatalogItem>**](CatalogItem.md) | |
diff --git a/docs/InlineResponse20038.md b/docs/InlineResponse20038.md
index 807b6eb1..2c337da8 100644
--- a/docs/InlineResponse20038.md
+++ b/docs/InlineResponse20038.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | |
+**totalResultSize** | **Integer** | |
**data** | [**List<AccountAdditionalCost>**](AccountAdditionalCost.md) | |
diff --git a/docs/InlineResponse20039.md b/docs/InlineResponse20039.md
index df470b34..88c8ef31 100644
--- a/docs/InlineResponse20039.md
+++ b/docs/InlineResponse20039.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | |
+**totalResultSize** | **Integer** | |
**data** | [**List<WebhookWithOutgoingIntegrationDetails>**](WebhookWithOutgoingIntegrationDetails.md) | |
diff --git a/docs/InlineResponse20040.md b/docs/InlineResponse20040.md
index b3860e5b..2c3f8170 100644
--- a/docs/InlineResponse20040.md
+++ b/docs/InlineResponse20040.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | |
+**totalResultSize** | **Integer** | |
**data** | [**List<WebhookActivationLogEntry>**](WebhookActivationLogEntry.md) | |
diff --git a/docs/InlineResponse20041.md b/docs/InlineResponse20041.md
index 396d94c9..0b439bc3 100644
--- a/docs/InlineResponse20041.md
+++ b/docs/InlineResponse20041.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | |
+**totalResultSize** | **Integer** | |
**data** | [**List<WebhookLogEntry>**](WebhookLogEntry.md) | |
diff --git a/docs/InlineResponse20042.md b/docs/InlineResponse20042.md
index 56ff961a..288c66e5 100644
--- a/docs/InlineResponse20042.md
+++ b/docs/InlineResponse20042.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | |
+**totalResultSize** | **Integer** | |
**data** | [**List<EventType>**](EventType.md) | |
diff --git a/docs/InlineResponse20043.md b/docs/InlineResponse20043.md
index 4d69f414..2fa864b7 100644
--- a/docs/InlineResponse20043.md
+++ b/docs/InlineResponse20043.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | |
+**totalResultSize** | **Integer** | |
**data** | [**List<User>**](User.md) | |
diff --git a/docs/InlineResponse20044.md b/docs/InlineResponse20044.md
index 5af1b6d0..5cb71ae6 100644
--- a/docs/InlineResponse20044.md
+++ b/docs/InlineResponse20044.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | | [optional]
+**totalResultSize** | **Integer** | | [optional]
**hasMore** | **Boolean** | | [optional]
**data** | [**List<Change>**](Change.md) | |
diff --git a/docs/InlineResponse20045.md b/docs/InlineResponse20045.md
index 3712756c..c909fc95 100644
--- a/docs/InlineResponse20045.md
+++ b/docs/InlineResponse20045.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | |
+**totalResultSize** | **Integer** | |
**data** | [**List<Export>**](Export.md) | |
diff --git a/docs/InlineResponse20046.md b/docs/InlineResponse20046.md
index 20110f99..4571d938 100644
--- a/docs/InlineResponse20046.md
+++ b/docs/InlineResponse20046.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | |
+**totalResultSize** | **Integer** | |
**data** | [**List<RoleV2>**](RoleV2.md) | |
diff --git a/docs/InlineResponse20047.md b/docs/InlineResponse20047.md
index c994c7d7..d151232d 100644
--- a/docs/InlineResponse20047.md
+++ b/docs/InlineResponse20047.md
@@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**hasMore** | **Boolean** | | [optional]
-**totalResultSize** | **Long** | | [optional]
+**totalResultSize** | **Integer** | | [optional]
**data** | [**List<Store>**](Store.md) | |
diff --git a/docs/InlineResponse20048.md b/docs/InlineResponse20048.md
index c7e4b31e..e614c01b 100644
--- a/docs/InlineResponse20048.md
+++ b/docs/InlineResponse20048.md
@@ -6,8 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**hasMore** | **Boolean** | | [optional]
-**data** | [**List<Achievement>**](Achievement.md) | |
+**data** | [**List<ListCampaignStoreBudgets>**](ListCampaignStoreBudgets.md) | | [optional]
diff --git a/docs/InlineResponse20049.md b/docs/InlineResponse20049.md
index 6e71e2ee..11e9d0a2 100644
--- a/docs/InlineResponse20049.md
+++ b/docs/InlineResponse20049.md
@@ -6,8 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**hasMore** | **Boolean** | |
-**data** | [**List<AchievementProgressWithDefinition>**](AchievementProgressWithDefinition.md) | |
+**data** | [**List<SummaryCampaignStoreBudget>**](SummaryCampaignStoreBudget.md) | | [optional]
diff --git a/docs/InlineResponse20050.md b/docs/InlineResponse20050.md
new file mode 100644
index 00000000..eca147aa
--- /dev/null
+++ b/docs/InlineResponse20050.md
@@ -0,0 +1,13 @@
+
+
+# InlineResponse20050
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**hasMore** | **Boolean** | | [optional]
+**data** | [**List<Achievement>**](Achievement.md) | |
+
+
+
diff --git a/docs/InlineResponse20051.md b/docs/InlineResponse20051.md
new file mode 100644
index 00000000..836b7a79
--- /dev/null
+++ b/docs/InlineResponse20051.md
@@ -0,0 +1,13 @@
+
+
+# InlineResponse20051
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**hasMore** | **Boolean** | |
+**data** | [**List<AchievementProgressWithDefinition>**](AchievementProgressWithDefinition.md) | |
+
+
+
diff --git a/docs/InlineResponse2007.md b/docs/InlineResponse2007.md
index 9eb0b785..bc41ed7b 100644
--- a/docs/InlineResponse2007.md
+++ b/docs/InlineResponse2007.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | |
+**totalResultSize** | **Integer** | |
**data** | [**List<Application>**](Application.md) | |
diff --git a/docs/InlineResponse2008.md b/docs/InlineResponse2008.md
index ad294e9b..30e0574d 100644
--- a/docs/InlineResponse2008.md
+++ b/docs/InlineResponse2008.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | |
+**totalResultSize** | **Integer** | |
**data** | [**List<Campaign>**](Campaign.md) | |
diff --git a/docs/InlineResponse2009.md b/docs/InlineResponse2009.md
index 9f44a248..51f8fdf8 100644
--- a/docs/InlineResponse2009.md
+++ b/docs/InlineResponse2009.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | |
+**totalResultSize** | **Integer** | |
**data** | [**List<Ruleset>**](Ruleset.md) | |
diff --git a/docs/InlineResponse201.md b/docs/InlineResponse201.md
index 13137f39..814dcb6c 100644
--- a/docs/InlineResponse201.md
+++ b/docs/InlineResponse201.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | |
+**totalResultSize** | **Integer** | |
**data** | [**List<Referral>**](Referral.md) | |
diff --git a/docs/IntegrationApi.md b/docs/IntegrationApi.md
index 0cbf44e3..7e2800c9 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);
- Long audienceId = 56L; // Long | The ID of the audience.
+ Integer audienceId = 56; // Integer | The ID of the audience.
try {
apiInstance.deleteAudienceMembershipsV2(audienceId);
} catch (ApiException e) {
@@ -391,7 +391,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **audienceId** | **Long**| The ID of the audience. |
+ **audienceId** | **Integer**| 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);
- Long audienceId = 56L; // Long | The ID of the audience.
+ Integer audienceId = 56; // Integer | The ID of the audience.
try {
apiInstance.deleteAudienceV2(audienceId);
} catch (ApiException e) {
@@ -464,7 +464,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **audienceId** | **Long**| The ID of the audience. |
+ **audienceId** | **Integer**| 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);
- 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.
+ 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.
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** | **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. |
+ **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. |
**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.
- Long achievementId = 56L; // Long | The achievement identifier.
+ Integer achievementId = 56; // Integer | 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.
- 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.
+ 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.
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** | **Long**| The achievement identifier. |
+ **achievementId** | **Integer**| 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** | **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]
+ **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]
### 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.
- 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.
+ 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.
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** | **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]
+ **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]
### Return type cool
@@ -1078,7 +1078,7 @@ public class Example {
//api_key_v1.setApiKeyPrefix("Token");
IntegrationApi apiInstance = new IntegrationApi(defaultClient);
- 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.
+ 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.
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** | **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. |
+ **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. |
**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);
- 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.
+ 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.
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** | **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. |
+ **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. |
**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);
- 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.
+ 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.
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.
- 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.
+ 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.
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** | **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. |
+ **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. |
**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** | **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]
+ **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]
### Return type cool
@@ -1329,14 +1329,14 @@ public class Example {
//api_key_v1.setApiKeyPrefix("Token");
IntegrationApi apiInstance = new IntegrationApi(defaultClient);
- 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.
+ 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.
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.
- 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.
+ 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.
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** | **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. |
+ **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. |
**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** | **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]
+ **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]
### Return type cool
@@ -1418,12 +1418,12 @@ public class Example {
//api_key_v1.setApiKeyPrefix("Token");
IntegrationApi apiInstance = new IntegrationApi(defaultClient);
- 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.
+ 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.
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.
- 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.
+ 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.
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** | **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. |
+ **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. |
**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** | **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]
+ **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]
### Return type cool
@@ -1503,14 +1503,14 @@ public class Example {
//api_key_v1.setApiKeyPrefix("Token");
IntegrationApi apiInstance = new IntegrationApi(defaultClient);
- 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.
+ 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.
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.
- 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.
+ 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.
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** | **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. |
+ **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. |
**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** | **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]
+ **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]
### Return type cool
@@ -1667,7 +1667,7 @@ public class Example {
//api_key_v1.setApiKeyPrefix("Token");
IntegrationApi apiInstance = new IntegrationApi(defaultClient);
- 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.
+ 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.
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** | **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. |
+ **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. |
**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);
- Long catalogId = 56L; // Long | The ID of the catalog. You can find the ID in the Campaign Manager in **Account** > **Tools** > **Cart item catalogs**.
+ Integer catalogId = 56; // Integer | 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** | **Long**| The ID of the catalog. You can find the ID in the Campaign Manager in **Account** > **Tools** > **Cart item catalogs**. |
+ **catalogId** | **Integer**| 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
@@ -1950,7 +1950,7 @@ Name | Type | Description | Notes
Track event
-Triggers a custom event. To use this endpoint: 1. Define a [custom event](https://docs.talon.one/docs/dev/concepts/entities/events#creating-a-custom-event) in the Campaign Manager. 1. Update or create a rule to check for this event. 1. Trigger the event with this endpoint. After you have successfully sent an event to Talon.One, you can list the received events in the **Events** view in the Campaign Manager. Talon.One also offers a set of [built-in events](https://docs.talon.one/docs/dev/concepts/entities/events). Ensure you do not create a custom event when you can use a built-in event. For example, use this endpoint to trigger an event when a customer shares a link to a product. See the [tutorial](https://docs.talon.one/docs/product/tutorials/referrals/incentivizing-product-link-sharing). <div class=\"redoc-section\"> <p class=\"title\">Important</p> 1. `profileId` is required even though the schema does not say it. 1. If the customer profile ID is new, a new profile is automatically created but the `customer_profile_created` [built-in event ](https://docs.talon.one/docs/dev/concepts/entities/events) is **not** triggered. 1. We recommend sending requests sequentially. See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests). </div>
+Triggers a custom event. To use this endpoint: 1. Define a [custom event](https://docs.talon.one/docs/dev/concepts/entities/events#creating-a-custom-event) in the Campaign Manager. 1. Update or create a rule to check for this event. 1. Trigger the event with this endpoint. After you have successfully sent an event to Talon.One, you can list the received events in the **Events** view in the Campaign Manager. Talon.One also offers a set of [built-in events](https://docs.talon.one/docs/dev/concepts/entities/events). Ensure you do not create a custom event when you can use a built-in event. For example, use this endpoint to trigger an event when a customer shares a link to a product. See the [tutorial](https://docs.talon.one/docs/product/tutorials/referrals/incentivizing-product-link-sharing). <div class=\"redoc-section\"> <p class=\"title\">Important</p> 1. `profileId` is required even though the schema does not specify it. 1. If the customer profile ID is new, a new profile is automatically created but the `customer_profile_created` [built-in event ](https://docs.talon.one/docs/dev/concepts/entities/events) is **not** triggered. 1. We recommend sending requests sequentially. See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests). 1. [Archived campaigns](https://docs.talon.one/docs/product/campaigns/managing-campaigns#archiving-a-campaign) are not considered in rule evaluation. </div>
### Example
@@ -2056,7 +2056,7 @@ public class Example {
//api_key_v1.setApiKeyPrefix("Token");
IntegrationApi apiInstance = new IntegrationApi(defaultClient);
- Long audienceId = 56L; // Long | The ID of the audience.
+ Integer audienceId = 56; // Integer | 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** | **Long**| The ID of the audience. |
+ **audienceId** | **Integer**| 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);
- Long audienceId = 56L; // Long | The ID of the audience.
+ Integer audienceId = 56; // Integer | 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** | **Long**| The ID of the audience. |
+ **audienceId** | **Integer**| The ID of the audience. |
**body** | [**UpdateAudience**](UpdateAudience.md)| body |
### Return type cool
@@ -2256,7 +2256,7 @@ null (empty response body)
Update customer profile
-Update or create a [Customer Profile](https://docs.talon.one/docs/dev/concepts/entities/customer-profiles). This endpoint triggers the Rule Builder. You can use this endpoint to: - Set attributes on the given customer profile. Ensure you create the attributes in the Campaign Manager, first. - Modify the audience the customer profile is a member of. <div class=\"redoc-section\"> <p class=\"title\">Performance tips</p> - Updating a customer profile returns a response with the requested integration state. - You can use the `responseContent` property to save yourself extra API calls. For example, you can get the customer profile details directly without extra requests. - We recommend sending requests sequentially. See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests). </div>
+Update or create a [Customer Profile](https://docs.talon.one/docs/dev/concepts/entities/customer-profiles). This endpoint triggers the Rule Builder. You can use this endpoint to: - Set attributes on the given customer profile. Ensure you create the attributes in the Campaign Manager, first. - Modify the audience the customer profile is a member of. **Note:** [Archived campaigns](https://docs.talon.one/docs/product/campaigns/managing-campaigns#archiving-a-campaign) are not considered in rule evaluation when `runRuleEngine` is `true`. <div class=\"redoc-section\"> <p class=\"title\">Performance tips</p> - Updating a customer profile returns a response with the requested integration state. - You can use the `responseContent` property to save yourself extra API calls. For example, you can get the customer profile details directly without extra requests. - We recommend sending requests sequentially. See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests). </div>
### Example
@@ -2413,7 +2413,7 @@ Name | Type | Description | Notes
Update customer session
-Update or create a [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). The endpoint responds with the potential promotion rule [effects](https://docs.talon.one/docs/dev/integration-api/api-effects) that match the current cart. For example, use this endpoint to share the contents of a customer's cart with Talon.One. **Note:** The currency for the session and the cart items in the session is the currency set for the Application that owns this session. ### Session management To use this endpoint, start by learning about [customer sessions](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions) and their states and refer to the `state` parameter documentation the request body schema docs below. ### Sessions and customer profiles - To link a session to a customer profile, set the `profileId` parameter in the request body to a customer profile's `integrationId`. - While you can create an anonymous session with `profileId=\"\"`, we recommend you use a guest ID instead. - A profile can be linked to simultaneous sessions in different Applications. Either: - Use unique session integration IDs or, - Use the same session integration ID across all of the Applications. **Note:** If the specified profile does not exist, an empty profile is **created automatically**. You can update it with [Update customer profile](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/updateCustomerProfileV2). <div class=\"redoc-section\"> <p class=\"title\">Performance tips</p> - Updating a customer session returns a response with the new integration state. Use the `responseContent` property to save yourself extra API calls. For example, you can get the customer profile details directly without extra requests. - We recommend sending requests sequentially. See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests). </div> For more information, see: - The introductory video in [Getting started](https://docs.talon.one/docs/dev/getting-started/overview). - The [integration tutorial](https://docs.talon.one/docs/dev/tutorials/integrating-talon-one).
+Update or create a [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). The endpoint responds with the potential promotion rule [effects](https://docs.talon.one/docs/dev/integration-api/api-effects) that match the current cart. For example, use this endpoint to share the contents of a customer's cart with Talon.One. **Note:** - The currency for the session and the cart items in it is the currency set for the Application linked to this session. - [Archived campaigns](https://docs.talon.one/docs/product/campaigns/managing-campaigns#archiving-a-campaign) are not considered for rule evaluation. ### Session management To use this endpoint, start by learning about [customer sessions](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions) and their states and refer to the `state` parameter documentation the request body schema docs below. ### Sessions and customer profiles - To link a session to a customer profile, set the `profileId` parameter in the request body to a customer profile's `integrationId`. - While you can create an anonymous session with `profileId=\"\"`, we recommend you use a guest ID instead. - A profile can be linked to simultaneous sessions in different Applications. Either: - Use unique session integration IDs or, - Use the same session integration ID across all of the Applications. **Note:** If the specified profile does not exist, an empty profile is **created automatically**. You can update it with [Update customer profile](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/updateCustomerProfileV2). <div class=\"redoc-section\"> <p class=\"title\">Performance tips</p> - Updating a customer session returns a response with the new integration state. Use the `responseContent` property to save yourself extra API calls. For example, you can get the customer profile details directly without extra requests. - We recommend sending requests sequentially. See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests). </div> For more information, see: - The introductory video in [Getting started](https://docs.talon.one/docs/dev/getting-started/overview). - The [integration tutorial](https://docs.talon.one/docs/dev/tutorials/integrating-talon-one).
### Example
diff --git a/docs/IntegrationCoupon.md b/docs/IntegrationCoupon.md
index 1aa94805..c0fe85be 100644
--- a/docs/IntegrationCoupon.md
+++ b/docs/IntegrationCoupon.md
@@ -6,29 +6,29 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
-**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
-**campaignId** | **Long** | The ID of the campaign that owns this entity. |
+**id** | **Integer** | The internal ID of the coupon. |
+**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time the coupon was created. |
+**campaignId** | **Integer** | The ID of the campaign that owns this entity. |
**value** | **String** | The coupon code. |
-**usageLimit** | **Long** | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. |
+**usageLimit** | **Integer** | 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** | **Long** | The number of reservations that can be made with this coupon code. | [optional]
+**reservationLimit** | **Integer** | 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** | **Long** | The number of times the coupon has been successfully redeemed. |
+**usageCounter** | **Integer** | 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** | **Long** | The integration ID of the referring customer (if any) for whom this coupon was created as an effect. | [optional]
+**referralId** | **Integer** | 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** | **Long** | The ID of the Import which created this coupon. | [optional]
+**importId** | **Integer** | 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** | **Long** | The number of times the coupon was redeemed by the profile. |
+**profileRedemptionCount** | **Integer** | The number of times the coupon was redeemed by the profile. |
diff --git a/docs/IntegrationCustomerProfileAudienceRequest.md b/docs/IntegrationCustomerProfileAudienceRequest.md
new file mode 100644
index 00000000..1db44b7e
--- /dev/null
+++ b/docs/IntegrationCustomerProfileAudienceRequest.md
@@ -0,0 +1,12 @@
+
+
+# IntegrationCustomerProfileAudienceRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**data** | [**List<IntegrationCustomerProfileAudienceRequestItem>**](IntegrationCustomerProfileAudienceRequestItem.md) | | [optional]
+
+
+
diff --git a/docs/IntegrationCustomerProfileAudienceRequestItem.md b/docs/IntegrationCustomerProfileAudienceRequestItem.md
new file mode 100644
index 00000000..86a64460
--- /dev/null
+++ b/docs/IntegrationCustomerProfileAudienceRequestItem.md
@@ -0,0 +1,23 @@
+
+
+# IntegrationCustomerProfileAudienceRequestItem
+
+## Properties
+
+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. |
+**integrationId** | **String** | The ID of this audience in the third-party integration. |
+
+
+
+## Enum: ActionEnum
+
+Name | Value
+---- | -----
+ADD | "add"
+DELETE | "delete"
+
+
+
diff --git a/docs/IntegrationEventV2Request.md b/docs/IntegrationEventV2Request.md
index e9799354..ad4d3730 100644
--- a/docs/IntegrationEventV2Request.md
+++ b/docs/IntegrationEventV2Request.md
@@ -8,9 +8,10 @@ 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<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]
+**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]
**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]
+**loyaltyCards** | **List<String>** | Identifier of the loyalty card used during this event. | [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 e8ab92e2..69ec79b0 100644
--- a/docs/InventoryCoupon.md
+++ b/docs/InventoryCoupon.md
@@ -6,29 +6,29 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
-**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
-**campaignId** | **Long** | The ID of the campaign that owns this entity. |
+**id** | **Integer** | The internal ID of the coupon. |
+**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time the coupon was created. |
+**campaignId** | **Integer** | The ID of the campaign that owns this entity. |
**value** | **String** | The coupon code. |
-**usageLimit** | **Long** | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. |
+**usageLimit** | **Integer** | 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** | **Long** | The number of reservations that can be made with this coupon code. | [optional]
+**reservationLimit** | **Integer** | 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** | **Long** | The number of times the coupon has been successfully redeemed. |
+**usageCounter** | **Integer** | 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** | **Long** | The integration ID of the referring customer (if any) for whom this coupon was created as an effect. | [optional]
+**referralId** | **Integer** | 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** | **Long** | The ID of the Import which created this coupon. | [optional]
+**importId** | **Integer** | 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** | **Long** | The number of times the coupon was redeemed by the profile. |
+**profileRedemptionCount** | **Integer** | 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 7cdd72bd..8aef733d 100644
--- a/docs/InventoryReferral.md
+++ b/docs/InventoryReferral.md
@@ -6,18 +6,18 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The 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** | **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. |
+**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. |
**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** | **Long** | The ID of the Import which created this referral. | [optional]
+**importId** | **Integer** | The ID of the Import which created this referral. | [optional]
**code** | **String** | The referral code. |
-**usageCounter** | **Long** | The number of times this referral code has been successfully used. |
+**usageCounter** | **Integer** | 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 c23d1919..c9f4b3c6 100644
--- a/docs/ItemAttribute.md
+++ b/docs/ItemAttribute.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**attributeid** | **Long** | The ID of the attribute of the item. |
+**attributeid** | **Integer** | 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 bd18bd5e..2e12a338 100644
--- a/docs/LedgerEntry.md
+++ b/docs/LedgerEntry.md
@@ -7,16 +7,16 @@ Entry in the point ledger.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The 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** | **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. |
+**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. |
**reason** | **String** | reason for awarding/deducting points. |
**expiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | Expiration date of the points. |
-**referenceId** | **Long** | The ID of the balancing ledgerEntry. | [optional]
+**referenceId** | **Integer** | The ID of the balancing ledgerEntry. | [optional]
diff --git a/docs/LedgerInfo.md b/docs/LedgerInfo.md
index 7e82e266..95edb3d5 100644
--- a/docs/LedgerInfo.md
+++ b/docs/LedgerInfo.md
@@ -9,12 +9,12 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**currentBalance** | [**BigDecimal**](BigDecimal.md) | Sum of currently active points. |
**pendingBalance** | [**BigDecimal**](BigDecimal.md) | Sum of pending points. |
-**negativeBalance** | [**BigDecimal**](BigDecimal.md) | Sum of negative points. This implies that `currentBalance` is `0`. |
+**negativeBalance** | [**BigDecimal**](BigDecimal.md) | Sum of negative points. This implies that `currentBalance` is `0`. | [optional]
**expiredBalance** | [**BigDecimal**](BigDecimal.md) | **DEPRECATED** Value is shown as 0. |
**spentBalance** | [**BigDecimal**](BigDecimal.md) | **DEPRECATED** Value is shown as 0. |
**tentativeCurrentBalance** | [**BigDecimal**](BigDecimal.md) | The tentative points balance, reflecting the `currentBalance` and all point additions and deductions within the current open customer session. When the session is closed, the effects are applied and the `currentBalance` is updated to this value. **Note:** Tentative balances are specific to the current session and do not take into account other open sessions for the given customer. |
**tentativePendingBalance** | [**BigDecimal**](BigDecimal.md) | The tentative points balance, reflecting the `pendingBalance` and all point additions with a future activation date within the current open customer session. When the session is closed, the effects are applied and the `pendingBalance` is updated to this value. **Note:** Tentative balances are specific to the current session and do not take into account other open sessions for the given customer. | [optional]
-**tentativeNegativeBalance** | [**BigDecimal**](BigDecimal.md) | The tentative negative balance after all additions and deductions from the current customer session are applied to `negativeBalance`. When the session is closed, the tentative effects are applied and `negativeBalance` is updated to this value. **Note:** Tentative balances are specific to the current session and do not take into account other open sessions for the given customer. |
+**tentativeNegativeBalance** | [**BigDecimal**](BigDecimal.md) | The tentative negative balance after all additions and deductions from the current customer session are applied to `negativeBalance`. When the session is closed, the tentative effects are applied and `negativeBalance` is updated to this value. **Note:** Tentative balances are specific to the current session and do not take into account other open sessions for the given customer. | [optional]
**currentTier** | [**Tier**](Tier.md) | | [optional]
**pointsToNextTier** | [**BigDecimal**](BigDecimal.md) | Points required to move up a tier. | [optional]
diff --git a/docs/LedgerPointsEntryIntegrationAPI.md b/docs/LedgerPointsEntryIntegrationAPI.md
index df187124..67ac5854 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** | **Long** | ID of the transaction that adds loyalty points. |
+**id** | **Integer** | ID of the transaction that adds loyalty points. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | Date and time the loyalty points were added. |
-**programId** | **Long** | ID of the loyalty program. |
+**programId** | **Integer** | 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 66a0239e..93a6fa2c 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** | **Long** | ID of the loyalty program. |
+**programId** | **Integer** | 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** | **Long** | ID of the loyalty ledger transaction. |
-**rulesetId** | **Long** | The ID of the ruleset containing the rule that triggered this effect. | [optional]
+**id** | **Integer** | ID of the loyalty ledger transaction. |
+**rulesetId** | **Integer** | 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 3f6d5b2f..2aa6cf60 100644
--- a/docs/LimitCounter.md
+++ b/docs/LimitCounter.md
@@ -6,16 +6,16 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**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. |
+**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. |
**action** | **String** | The limitable action of the limit counter. |
-**profileId** | **Long** | The profile ID for which this limit counter is used. | [optional]
+**profileId** | **Integer** | 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** | **Long** | The internal coupon ID for which this limit counter is used. | [optional]
+**couponId** | **Integer** | 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** | **Long** | The referral ID for which this limit counter is used. | [optional]
+**referralId** | **Integer** | 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 31294362..810396ca 100644
--- a/docs/ListCampaignStoreBudgets.md
+++ b/docs/ListCampaignStoreBudgets.md
@@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**store** | [**ListCampaignStoreBudgetsStore**](ListCampaignStoreBudgetsStore.md) | |
-**limit** | **Long** | |
+**limit** | **Integer** | |
**action** | **String** | |
**period** | **String** | | [optional]
diff --git a/docs/ListCampaignStoreBudgetsStore.md b/docs/ListCampaignStoreBudgetsStore.md
index 562a90a5..2c9718e6 100644
--- a/docs/ListCampaignStoreBudgetsStore.md
+++ b/docs/ListCampaignStoreBudgetsStore.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | |
+**id** | **Integer** | |
**integrationId** | **String** | |
**name** | **String** | |
diff --git a/docs/LoyaltyCard.md b/docs/LoyaltyCard.md
index 29aad0a1..42b3c66e 100644
--- a/docs/LoyaltyCard.md
+++ b/docs/LoyaltyCard.md
@@ -6,15 +6,15 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
-**programID** | **Long** | The ID of the loyalty program that owns this entity. |
+**programID** | **Integer** | 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** | **Long** | The max amount of customer profiles that can be linked to the card. 0 means unlimited. |
+**usersPerCardLimit** | **Integer** | 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 893f4a2a..832edd26 100644
--- a/docs/LoyaltyCardBatch.md
+++ b/docs/LoyaltyCardBatch.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**numberOfCards** | **Long** | Number of loyalty cards in the batch. |
+**numberOfCards** | **Integer** | 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 44af636b..f4df85e8 100644
--- a/docs/LoyaltyCardBatchResponse.md
+++ b/docs/LoyaltyCardBatchResponse.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**numberOfCardsGenerated** | **Long** | Number of loyalty cards in the batch. |
+**numberOfCardsGenerated** | **Integer** | 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 802bf7c0..e178a70a 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** | **Long** | |
+**programID** | **Integer** | |
**customerProfileID** | **String** | | [optional]
-**cardID** | **Long** | | [optional]
+**cardID** | **Integer** | | [optional]
**customerSessionID** | **String** | | [optional]
-**eventID** | **Long** | | [optional]
+**eventID** | **Integer** | | [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** | **Long** | This is the ID of the user who created this entry, if the addition or subtraction was done manually. | [optional]
+**userID** | **Integer** | 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 add677ab..434299dd 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** | **Long** | The ID of the loyalty program belonging to this entity. |
+**loyaltyProgramId** | **Integer** | The ID of the loyalty program belonging to this entity. |
diff --git a/docs/LoyaltyProgram.md b/docs/LoyaltyProgram.md
index 0ffb7abf..1f329587 100644
--- a/docs/LoyaltyProgram.md
+++ b/docs/LoyaltyProgram.md
@@ -7,15 +7,15 @@ A Loyalty Program
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | The ID of loyalty program. |
+**id** | **Integer** | 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<Long>** | A list containing the IDs of all applications that are subscribed to this Loyalty Program. |
+**subscribedApplications** | **List<Integer>** | 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** | **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]
+**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]
**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** | **Long** | The ID of the Talon.One account that owns this program. |
+**accountID** | **Integer** | 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/LoyaltyProgramBalance.md b/docs/LoyaltyProgramBalance.md
index ab0dc1d5..0412d30f 100644
--- a/docs/LoyaltyProgramBalance.md
+++ b/docs/LoyaltyProgramBalance.md
@@ -9,12 +9,12 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**currentBalance** | [**BigDecimal**](BigDecimal.md) | Sum of currently active points. |
**pendingBalance** | [**BigDecimal**](BigDecimal.md) | Sum of pending points. |
-**negativeBalance** | [**BigDecimal**](BigDecimal.md) | Sum of negative points. This implies that `currentBalance` is `0`. |
+**negativeBalance** | [**BigDecimal**](BigDecimal.md) | Sum of negative points. This implies that `currentBalance` is `0`. | [optional]
**expiredBalance** | [**BigDecimal**](BigDecimal.md) | **DEPRECATED** Value is shown as 0. |
**spentBalance** | [**BigDecimal**](BigDecimal.md) | **DEPRECATED** Value is shown as 0. |
**tentativeCurrentBalance** | [**BigDecimal**](BigDecimal.md) | The tentative points balance, reflecting the `currentBalance` and all point additions and deductions within the current open customer session. When the session is closed, the effects are applied and the `currentBalance` is updated to this value. **Note:** Tentative balances are specific to the current session and do not take into account other open sessions for the given customer. |
**tentativePendingBalance** | [**BigDecimal**](BigDecimal.md) | The tentative points balance, reflecting the `pendingBalance` and all point additions with a future activation date within the current open customer session. When the session is closed, the effects are applied and the `pendingBalance` is updated to this value. **Note:** Tentative balances are specific to the current session and do not take into account other open sessions for the given customer. | [optional]
-**tentativeNegativeBalance** | [**BigDecimal**](BigDecimal.md) | The tentative negative balance after all additions and deductions from the current customer session are applied to `negativeBalance`. When the session is closed, the tentative effects are applied and `negativeBalance` is updated to this value. **Note:** Tentative balances are specific to the current session and do not take into account other open sessions for the given customer. |
+**tentativeNegativeBalance** | [**BigDecimal**](BigDecimal.md) | The tentative negative balance after all additions and deductions from the current customer session are applied to `negativeBalance`. When the session is closed, the tentative effects are applied and `negativeBalance` is updated to this value. **Note:** Tentative balances are specific to the current session and do not take into account other open sessions for the given customer. | [optional]
diff --git a/docs/LoyaltyProgramEntity.md b/docs/LoyaltyProgramEntity.md
index 7cea3d65..ccbfb0f9 100644
--- a/docs/LoyaltyProgramEntity.md
+++ b/docs/LoyaltyProgramEntity.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**programID** | **Long** | The ID of the loyalty program that owns this entity. |
+**programID** | **Integer** | 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 b05bd41d..b2bba196 100644
--- a/docs/LoyaltyProgramLedgers.md
+++ b/docs/LoyaltyProgramLedgers.md
@@ -7,7 +7,7 @@ Customer-specific information about loyalty points.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | The internal ID of loyalty program. |
+**id** | **Integer** | 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 7f0efc1e..adcaad66 100644
--- a/docs/LoyaltyProgramTransaction.md
+++ b/docs/LoyaltyProgramTransaction.md
@@ -6,9 +6,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | ID of the loyalty ledger transaction. |
-**programId** | **Long** | ID of the loyalty program. |
-**campaignId** | **Long** | ID of the campaign. | [optional]
+**id** | **Integer** | ID of the loyalty ledger transaction. |
+**programId** | **Integer** | ID of the loyalty program. |
+**campaignId** | **Integer** | 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** | **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]
+**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]
**userEmail** | **String** | The email of the Campaign Manager account that manually added or deducted points. Applies only to manual transactions. | [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]
+**rulesetId** | **Integer** | 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 641a4c1f..9300e148 100644
--- a/docs/LoyaltyTier.md
+++ b/docs/LoyaltyTier.md
@@ -7,9 +7,9 @@ A tier in a loyalty program.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
-**programID** | **Long** | The ID of the loyalty program that owns this entity. |
+**programID** | **Integer** | 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 1ae04732..d077955e 100644
--- a/docs/ManagementApi.md
+++ b/docs/ManagementApi.md
@@ -14,6 +14,7 @@ Method | HTTP request | Description
[**createAttribute**](ManagementApi.md#createAttribute) | **POST** /v1/attributes | Create custom attribute
[**createBatchLoyaltyCards**](ManagementApi.md#createBatchLoyaltyCards) | **POST** /v1/loyalty_programs/{loyaltyProgramId}/cards/batch | Create loyalty cards
[**createCampaignFromTemplate**](ManagementApi.md#createCampaignFromTemplate) | **POST** /v1/applications/{applicationId}/create_campaign_from_template | Create campaign from campaign template
+[**createCampaignStoreBudget**](ManagementApi.md#createCampaignStoreBudget) | **POST** /v1/applications/{applicationId}/campaigns/{campaignId}/stores/budgets | Create campaign store budget
[**createCollection**](ManagementApi.md#createCollection) | **POST** /v1/applications/{applicationId}/campaigns/{campaignId}/collections | Create campaign-level collection
[**createCoupons**](ManagementApi.md#createCoupons) | **POST** /v1/applications/{applicationId}/campaigns/{campaignId}/coupons | Create coupons
[**createCouponsAsync**](ManagementApi.md#createCouponsAsync) | **POST** /v1/applications/{applicationId}/campaigns/{campaignId}/coupons_async | Create coupons asynchronously
@@ -29,6 +30,7 @@ Method | HTTP request | Description
[**deleteAccountCollection**](ManagementApi.md#deleteAccountCollection) | **DELETE** /v1/collections/{collectionId} | Delete account-level collection
[**deleteAchievement**](ManagementApi.md#deleteAchievement) | **DELETE** /v1/applications/{applicationId}/campaigns/{campaignId}/achievements/{achievementId} | Delete achievement
[**deleteCampaign**](ManagementApi.md#deleteCampaign) | **DELETE** /v1/applications/{applicationId}/campaigns/{campaignId} | Delete campaign
+[**deleteCampaignStoreBudgets**](ManagementApi.md#deleteCampaignStoreBudgets) | **DELETE** /v1/applications/{applicationId}/campaigns/{campaignId}/stores/budgets | Delete campaign store budgets
[**deleteCollection**](ManagementApi.md#deleteCollection) | **DELETE** /v1/applications/{applicationId}/campaigns/{campaignId}/collections/{collectionId} | Delete campaign-level collection
[**deleteCoupon**](ManagementApi.md#deleteCoupon) | **DELETE** /v1/applications/{applicationId}/campaigns/{campaignId}/coupons/{couponId} | Delete coupon
[**deleteCoupons**](ManagementApi.md#deleteCoupons) | **DELETE** /v1/applications/{applicationId}/campaigns/{campaignId}/coupons | Delete coupons
@@ -42,6 +44,7 @@ Method | HTTP request | Description
[**exportAccountCollectionItems**](ManagementApi.md#exportAccountCollectionItems) | **GET** /v1/collections/{collectionId}/export | Export account-level collection's items
[**exportAchievements**](ManagementApi.md#exportAchievements) | **GET** /v1/applications/{applicationId}/campaigns/{campaignId}/achievements/{achievementId}/export | Export achievement customer data
[**exportAudiencesMemberships**](ManagementApi.md#exportAudiencesMemberships) | **GET** /v1/audiences/{audienceId}/memberships/export | Export audience members
+[**exportCampaignStoreBudgets**](ManagementApi.md#exportCampaignStoreBudgets) | **GET** /v1/applications/{applicationId}/campaigns/{campaignId}/stores/budgets/export | Export campaign store budgets
[**exportCampaignStores**](ManagementApi.md#exportCampaignStores) | **GET** /v1/applications/{applicationId}/campaigns/{campaignId}/stores/export | Export stores
[**exportCollectionItems**](ManagementApi.md#exportCollectionItems) | **GET** /v1/applications/{applicationId}/campaigns/{campaignId}/collections/{collectionId}/export | Export campaign-level collection's items
[**exportCoupons**](ManagementApi.md#exportCoupons) | **GET** /v1/applications/{applicationId}/export_coupons | Export coupons
@@ -123,6 +126,7 @@ Method | HTTP request | Description
[**importAccountCollection**](ManagementApi.md#importAccountCollection) | **POST** /v1/collections/{collectionId}/import | Import data into existing account-level collection
[**importAllowedList**](ManagementApi.md#importAllowedList) | **POST** /v1/attributes/{attributeId}/allowed_list/import | Import allowed values for attribute
[**importAudiencesMemberships**](ManagementApi.md#importAudiencesMemberships) | **POST** /v1/audiences/{audienceId}/memberships/import | Import audience members
+[**importCampaignStoreBudget**](ManagementApi.md#importCampaignStoreBudget) | **POST** /v1/applications/{applicationId}/campaigns/{campaignId}/stores/budgets/import | Import campaign store budgets
[**importCampaignStores**](ManagementApi.md#importCampaignStores) | **POST** /v1/applications/{applicationId}/campaigns/{campaignId}/stores/import | Import stores
[**importCollection**](ManagementApi.md#importCollection) | **POST** /v1/applications/{applicationId}/campaigns/{campaignId}/collections/{collectionId}/import | Import data into existing campaign-level collection
[**importCoupons**](ManagementApi.md#importCoupons) | **POST** /v1/applications/{applicationId}/campaigns/{campaignId}/import_coupons | Import coupons
@@ -135,6 +139,7 @@ Method | HTTP request | Description
[**listAccountCollections**](ManagementApi.md#listAccountCollections) | **GET** /v1/collections | List collections in account
[**listAchievements**](ManagementApi.md#listAchievements) | **GET** /v1/applications/{applicationId}/campaigns/{campaignId}/achievements | List achievements
[**listAllRolesV2**](ManagementApi.md#listAllRolesV2) | **GET** /v2/roles | List roles
+[**listCampaignStoreBudgetLimits**](ManagementApi.md#listCampaignStoreBudgetLimits) | **GET** /v1/applications/{applicationId}/campaigns/{campaignId}/stores/budgets | List campaign store budget limits
[**listCatalogItems**](ManagementApi.md#listCatalogItems) | **GET** /v1/catalogs/{catalogId}/items | List items in a catalog
[**listCollections**](ManagementApi.md#listCollections) | **GET** /v1/applications/{applicationId}/campaigns/{campaignId}/collections | List collections in campaign
[**listCollectionsInApplication**](ManagementApi.md#listCollectionsInApplication) | **GET** /v1/applications/{applicationId}/collections | List collections in Application
@@ -142,17 +147,24 @@ Method | HTTP request | Description
[**oktaEventHandlerChallenge**](ManagementApi.md#oktaEventHandlerChallenge) | **GET** /v1/provisioning/okta | Validate Okta API ownership
[**removeLoyaltyPoints**](ManagementApi.md#removeLoyaltyPoints) | **PUT** /v1/loyalty_programs/{loyaltyProgramId}/profile/{integrationId}/deduct_points | Deduct points from customer profile
[**resetPassword**](ManagementApi.md#resetPassword) | **POST** /v1/reset_password | Reset password
+[**scimCreateGroup**](ManagementApi.md#scimCreateGroup) | **POST** /v1/provisioning/scim/Groups | Create SCIM group
[**scimCreateUser**](ManagementApi.md#scimCreateUser) | **POST** /v1/provisioning/scim/Users | Create SCIM user
+[**scimDeleteGroup**](ManagementApi.md#scimDeleteGroup) | **DELETE** /v1/provisioning/scim/Groups/{groupId} | Delete SCIM group
[**scimDeleteUser**](ManagementApi.md#scimDeleteUser) | **DELETE** /v1/provisioning/scim/Users/{userId} | Delete SCIM user
+[**scimGetGroup**](ManagementApi.md#scimGetGroup) | **GET** /v1/provisioning/scim/Groups/{groupId} | Get SCIM group
+[**scimGetGroups**](ManagementApi.md#scimGetGroups) | **GET** /v1/provisioning/scim/Groups | List SCIM groups
[**scimGetResourceTypes**](ManagementApi.md#scimGetResourceTypes) | **GET** /v1/provisioning/scim/ResourceTypes | List supported SCIM resource types
[**scimGetSchemas**](ManagementApi.md#scimGetSchemas) | **GET** /v1/provisioning/scim/Schemas | List supported SCIM schemas
[**scimGetServiceProviderConfig**](ManagementApi.md#scimGetServiceProviderConfig) | **GET** /v1/provisioning/scim/ServiceProviderConfig | Get SCIM service provider configuration
[**scimGetUser**](ManagementApi.md#scimGetUser) | **GET** /v1/provisioning/scim/Users/{userId} | Get SCIM user
[**scimGetUsers**](ManagementApi.md#scimGetUsers) | **GET** /v1/provisioning/scim/Users | List SCIM users
+[**scimPatchGroup**](ManagementApi.md#scimPatchGroup) | **PATCH** /v1/provisioning/scim/Groups/{groupId} | Update SCIM group attributes
[**scimPatchUser**](ManagementApi.md#scimPatchUser) | **PATCH** /v1/provisioning/scim/Users/{userId} | Update SCIM user attributes
+[**scimReplaceGroupAttributes**](ManagementApi.md#scimReplaceGroupAttributes) | **PUT** /v1/provisioning/scim/Groups/{groupId} | Update SCIM group
[**scimReplaceUserAttributes**](ManagementApi.md#scimReplaceUserAttributes) | **PUT** /v1/provisioning/scim/Users/{userId} | Update SCIM user
[**searchCouponsAdvancedApplicationWideWithoutTotalCount**](ManagementApi.md#searchCouponsAdvancedApplicationWideWithoutTotalCount) | **POST** /v1/applications/{applicationId}/coupons_search_advanced/no_total | List coupons that match the given attributes (without total count)
[**searchCouponsAdvancedWithoutTotalCount**](ManagementApi.md#searchCouponsAdvancedWithoutTotalCount) | **POST** /v1/applications/{applicationId}/campaigns/{campaignId}/coupons_search_advanced/no_total | List coupons that match the given attributes in campaign (without total count)
+[**summarizeCampaignStoreBudget**](ManagementApi.md#summarizeCampaignStoreBudget) | **GET** /v1/applications/{applicationId}/campaigns/{campaignId}/stores/budgets/summary | Get summary of campaign store budgets
[**transferLoyaltyCard**](ManagementApi.md#transferLoyaltyCard) | **PUT** /v1/loyalty_programs/{loyaltyProgramId}/cards/{loyaltyCardId}/transfer | Transfer card data
[**updateAccountCollection**](ManagementApi.md#updateAccountCollection) | **PUT** /v1/collections/{collectionId} | Update account-level collection
[**updateAchievement**](ManagementApi.md#updateAchievement) | **PUT** /v1/applications/{applicationId}/campaigns/{campaignId}/achievements/{achievementId} | Update achievement
@@ -284,7 +296,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +317,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
**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 +464,8 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
CampaignCopy body = new CampaignCopy(); // CampaignCopy | body
try {
InlineResponse2008 result = apiInstance.copyCampaignToApplications(applicationId, campaignId, body);
@@ -474,8 +486,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
**body** | [**CampaignCopy**](CampaignCopy.md)| body |
### Return type cool
@@ -615,8 +627,8 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
CreateAchievement body = new CreateAchievement(); // CreateAchievement | body
try {
Achievement result = apiInstance.createAchievement(applicationId, campaignId, body);
@@ -637,8 +649,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
**body** | [**CreateAchievement**](CreateAchievement.md)| body |
### Return type cool
@@ -856,7 +868,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
LoyaltyCardBatch body = new LoyaltyCardBatch(); // LoyaltyCardBatch | body
try {
LoyaltyCardBatchResponse result = apiInstance.createBatchLoyaltyCards(loyaltyProgramId, body);
@@ -877,7 +889,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
**body** | [**LoyaltyCardBatch**](LoyaltyCardBatch.md)| body |
### Return type cool
@@ -939,7 +951,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL.
+ Integer applicationId = 56; // Integer | 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 +972,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
+ **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
**body** | [**CreateTemplateCampaign**](CreateTemplateCampaign.md)| body |
### Return type cool
@@ -982,6 +994,89 @@ Name | Type | Description | Notes
| **201** | Created | - |
+## createCampaignStoreBudget
+
+> createCampaignStoreBudget(applicationId, campaignId, body)
+
+Create campaign store budget
+
+Create a new store budget for a given campaign.
+
+### Example
+
+```java
+// Import classes:
+import one.talon.ApiClient;
+import one.talon.ApiException;
+import one.talon.Configuration;
+import one.talon.auth.*;
+import one.talon.models.*;
+import one.talon.api.ManagementApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://yourbaseurl.talon.one");
+
+ // Configure API key authorization: management_key
+ ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key");
+ management_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //management_key.setApiKeyPrefix("Token");
+
+ // Configure API key authorization: manager_auth
+ ApiKeyAuth manager_auth = (ApiKeyAuth) defaultClient.getAuthentication("manager_auth");
+ manager_auth.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //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.
+ NewCampaignStoreBudget body = new NewCampaignStoreBudget(); // NewCampaignStoreBudget | body
+ try {
+ apiInstance.createCampaignStoreBudget(applicationId, campaignId, body);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling ManagementApi#createCampaignStoreBudget");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+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. |
+ **body** | [**NewCampaignStoreBudget**](NewCampaignStoreBudget.md)| body |
+
+### Return type cool
+
+null (empty response body)
+
+### Authorization
+
+[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **201** | Created | - |
+| **400** | Bad request | - |
+| **409** | Conflict | - |
+
+
## createCollection
> Collection createCollection(applicationId, campaignId, body)
@@ -1019,8 +1114,8 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
NewCampaignCollection body = new NewCampaignCollection(); // NewCampaignCollection | body
try {
Collection result = apiInstance.createCollection(applicationId, campaignId, body);
@@ -1041,8 +1136,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
**body** | [**NewCampaignCollection**](NewCampaignCollection.md)| body |
### Return type cool
@@ -1101,8 +1196,8 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +1219,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
**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 +1281,8 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
NewCouponCreationJob body = new NewCouponCreationJob(); // NewCouponCreationJob | body
try {
AsyncCouponCreationResponse result = apiInstance.createCouponsAsync(applicationId, campaignId, body);
@@ -1208,8 +1303,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
**body** | [**NewCouponCreationJob**](NewCouponCreationJob.md)| body |
### Return type cool
@@ -1268,8 +1363,8 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
NewCouponDeletionJob body = new NewCouponDeletionJob(); // NewCouponDeletionJob | body
try {
AsyncCouponDeletionJobResponse result = apiInstance.createCouponsDeletionJob(applicationId, campaignId, body);
@@ -1290,8 +1385,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
**body** | [**NewCouponDeletionJob**](NewCouponDeletionJob.md)| body |
### Return type cool
@@ -1350,8 +1445,8 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +1468,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
**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 +1842,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL.
+ Integer applicationId = 56; // Integer | 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 +1863,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
+ **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
**body** | [**NewStore**](NewStore.md)| body |
### Return type cool
@@ -1906,7 +2001,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +2022,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
**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 +2085,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint.
+ Integer collectionId = 56; // Integer | 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 +2104,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. |
+ **collectionId** | **Integer**| The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. |
### Return type cool
@@ -2068,9 +2163,9 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
try {
apiInstance.deleteAchievement(applicationId, campaignId, achievementId);
} catch (ApiException e) {
@@ -2089,9 +2184,9 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
### Return type cool
@@ -2151,8 +2246,8 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
try {
apiInstance.deleteCampaign(applicationId, campaignId);
} catch (ApiException e) {
@@ -2171,8 +2266,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
### Return type cool
@@ -2193,6 +2288,90 @@ null (empty response body)
| **204** | No Content | - |
+## deleteCampaignStoreBudgets
+
+> deleteCampaignStoreBudgets(applicationId, campaignId, action, period)
+
+Delete campaign store budgets
+
+Delete the store budgets for a given campaign.
+
+### Example
+
+```java
+// Import classes:
+import one.talon.ApiClient;
+import one.talon.ApiException;
+import one.talon.Configuration;
+import one.talon.auth.*;
+import one.talon.models.*;
+import one.talon.api.ManagementApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://yourbaseurl.talon.one");
+
+ // Configure API key authorization: management_key
+ ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key");
+ management_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //management_key.setApiKeyPrefix("Token");
+
+ // Configure API key authorization: manager_auth
+ ApiKeyAuth manager_auth = (ApiKeyAuth) defaultClient.getAuthentication("manager_auth");
+ manager_auth.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //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.
+ String action = "action_example"; // String | The action that this budget is limiting.
+ String period = "period_example"; // String | The period to which the limit applies. **Note**: For budgets with no period, set this to `overall`.
+ try {
+ apiInstance.deleteCampaignStoreBudgets(applicationId, campaignId, action, period);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling ManagementApi#deleteCampaignStoreBudgets");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+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. |
+ **action** | **String**| The action that this budget is limiting. | [optional] [enum: setDiscount]
+ **period** | **String**| The period to which the limit applies. **Note**: For budgets with no period, set this to `overall`. | [optional] [enum: overall, daily, weekly, monthly, yearly]
+
+### Return type cool
+
+null (empty response body)
+
+### Authorization
+
+[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **204** | Deleted | - |
+| **400** | Bad request | - |
+
+
## deleteCollection
> deleteCollection(applicationId, campaignId, collectionId)
@@ -2230,9 +2409,9 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
try {
apiInstance.deleteCollection(applicationId, campaignId, collectionId);
} catch (ApiException e) {
@@ -2251,9 +2430,9 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
### Return type cool
@@ -2312,8 +2491,8 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +2512,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
**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 +2572,8 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +2584,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.
- 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.
+ 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.
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 +2605,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
**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 +2617,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** | **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]
+ **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]
**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 +2677,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +2697,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
**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 +2758,8 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
String referralId = "referralId_example"; // String | The ID of the referral code.
try {
apiInstance.deleteReferral(applicationId, campaignId, referralId);
@@ -2600,8 +2779,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
**referralId** | **String**| The ID of the referral code. |
### Return type cool
@@ -2660,7 +2839,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL.
+ Integer applicationId = 56; // Integer | 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 +2859,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
+ **applicationId** | **Integer**| 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 +2919,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long userId = 56L; // Long | The ID of the user.
+ Integer userId = 56; // Integer | The ID of the user.
try {
apiInstance.deleteUser(userId);
} catch (ApiException e) {
@@ -2759,7 +2938,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **userId** | **Long**| The ID of the user. |
+ **userId** | **Integer**| The ID of the user. |
### Return type cool
@@ -2967,8 +3146,8 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
try {
apiInstance.disconnectCampaignStores(applicationId, campaignId);
} catch (ApiException e) {
@@ -2987,8 +3166,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
### Return type cool
@@ -3049,7 +3228,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint.
+ Integer collectionId = 56; // Integer | 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 +3248,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. |
+ **collectionId** | **Integer**| The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. |
### Return type cool
@@ -3129,9 +3308,9 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
try {
String result = apiInstance.exportAchievements(applicationId, campaignId, achievementId);
System.out.println(result);
@@ -3151,9 +3330,9 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
### Return type cool
@@ -3214,7 +3393,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long audienceId = 56L; // Long | The ID of the audience.
+ Integer audienceId = 56; // Integer | The ID of the audience.
try {
String result = apiInstance.exportAudiencesMemberships(audienceId);
System.out.println(result);
@@ -3234,7 +3413,94 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **audienceId** | **Long**| The ID of the audience. |
+ **audienceId** | **Integer**| The ID of the audience. |
+
+### Return type cool
+
+**String**
+
+### Authorization
+
+[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/csv
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | OK | - |
+| **400** | Bad request | - |
+| **401** | Unauthorized - Invalid API key | - |
+| **404** | Not found | - |
+
+
+## exportCampaignStoreBudgets
+
+> String exportCampaignStoreBudgets(applicationId, campaignId, action, period)
+
+Export campaign store budgets
+
+Download a CSV file containing the store budgets for a given campaign. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/). The CSV file contains the following columns: - `store_integration_id`: The identifier of the store. - `limit`: The budget limit for the store.
+
+### Example
+
+```java
+// Import classes:
+import one.talon.ApiClient;
+import one.talon.ApiException;
+import one.talon.Configuration;
+import one.talon.auth.*;
+import one.talon.models.*;
+import one.talon.api.ManagementApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://yourbaseurl.talon.one");
+
+ // Configure API key authorization: management_key
+ ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key");
+ management_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //management_key.setApiKeyPrefix("Token");
+
+ // Configure API key authorization: manager_auth
+ ApiKeyAuth manager_auth = (ApiKeyAuth) defaultClient.getAuthentication("manager_auth");
+ manager_auth.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //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.
+ String action = "action_example"; // String | The action that this budget is limiting.
+ String period = "period_example"; // String | The period to which the limit applies. **Note**: For budgets with no period, set this to `overall`.
+ try {
+ String result = apiInstance.exportCampaignStoreBudgets(applicationId, campaignId, action, period);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling ManagementApi#exportCampaignStoreBudgets");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+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. |
+ **action** | **String**| The action that this budget is limiting. | [optional] [enum: setDiscount]
+ **period** | **String**| The period to which the limit applies. **Note**: For budgets with no period, set this to `overall`. | [optional] [enum: overall, daily, weekly, monthly, yearly]
### Return type cool
@@ -3295,8 +3561,8 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
try {
String result = apiInstance.exportCampaignStores(applicationId, campaignId);
System.out.println(result);
@@ -3316,8 +3582,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
### Return type cool
@@ -3378,9 +3644,9 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
try {
String result = apiInstance.exportCollectionItems(applicationId, campaignId, collectionId);
System.out.println(result);
@@ -3400,9 +3666,9 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
### Return type cool
@@ -3462,7 +3728,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL.
+ Integer applicationId = 56; // Integer | 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 +3736,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`.
- 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.
+ 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.
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 +3762,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
+ **applicationId** | **Integer**| 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 +3770,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** | **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]
+ **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]
**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]
@@ -3537,7 +3803,7 @@ Name | Type | Description | Notes
Export customer sessions
-Download a CSV file containing the customer sessions that match the request. **Important:** Archived sessions cannot be exported. See the [retention policy](https://docs.talon.one/docs/product/server-infrastructure-and-data-retention#data-retention-policy). **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/). - `id`: The internal ID of the session. - `firstsession`: Whether this is a first session. - `integrationid`: The integration ID of the session. - `applicationid`: The ID of the Application. - `profileid`: The internal ID of the customer profile. - `profileintegrationid`: The integration ID of the customer profile. - `created`: The timestamp when the session was created. - `state`: The [state](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions#customer-session-states) of the session. - `cartitems`: The cart items in the session. - `discounts`: The discounts in the session. - `total`: The total value of cart items and additional costs in the session, before any discounts are applied. - `attributes`: The attributes set in the session. - `closedat`: Timestamp when the session was closed. - `cancelledat`: Timestamp when the session was cancelled. - `referral`: The referral code in the session. - `identifiers`: The identifiers in the session. - `additional_costs`: The [additional costs](https://docs.talon.one/docs/product/account/dev-tools/managing-additional-costs) in the session. - `updated`: Timestamp of the last session update. - `store_integration_id`: The integration ID of the store. - `coupons`: Coupon codes in the session.
+Download a CSV file containing the customer sessions that match the request. **Important:** Archived sessions cannot be exported. See the [retention policy](https://docs.talon.one/docs/dev/server-infrastructure-and-data-retention). **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/). - `id`: The internal ID of the session. - `firstsession`: Whether this is a first session. - `integrationid`: The integration ID of the session. - `applicationid`: The ID of the Application. - `profileid`: The internal ID of the customer profile. - `profileintegrationid`: The integration ID of the customer profile. - `created`: The timestamp when the session was created. - `state`: The [state](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions#customer-session-states) of the session. - `cartitems`: The cart items in the session. - `discounts`: The discounts in the session. - `total`: The total value of cart items and additional costs in the session, before any discounts are applied. - `attributes`: The attributes set in the session. - `closedat`: Timestamp when the session was closed. - `cancelledat`: Timestamp when the session was cancelled. - `referral`: The referral code in the session. - `identifiers`: The identifiers in the session. - `additional_costs`: The [additional costs](https://docs.talon.one/docs/product/account/dev-tools/managing-additional-costs) in the session. - `updated`: Timestamp of the last session update. - `store_integration_id`: The integration ID of the store. - `coupons`: Coupon codes in the session.
### Example
@@ -3568,7 +3834,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL.
+ Integer applicationId = 56; // Integer | 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 +3859,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
+ **applicationId** | **Integer**| 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 +4004,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL.
+ Integer applicationId = 56; // Integer | 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 +4028,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
+ **applicationId** | **Integer**| 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 +4254,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +4275,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
**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 +4336,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +4360,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
**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 +4424,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +4446,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
**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 +4594,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long poolId = 56L; // Long | The ID of the pool. You can find it in the Campaign Manager, in the **Giveaways** section.
+ Integer poolId = 56; // Integer | 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 +4616,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **poolId** | **Long**| The ID of the pool. You can find it in the Campaign Manager, in the **Giveaways** section. |
+ **poolId** | **Integer**| 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 +4677,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL.
+ Integer applicationId = 56; // Integer | 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 +4704,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
+ **applicationId** | **Integer**| 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 +4769,14 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL.
+ Integer applicationId = 56; // Integer | 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.
- 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.
+ 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.
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 +4797,14 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
+ **applicationId** | **Integer**| 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** | **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]
+ **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]
**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 +4863,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
try {
Account result = apiInstance.getAccount(accountId);
System.out.println(result);
@@ -4617,7 +4883,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
### Return type cool
@@ -4675,7 +4941,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
try {
AccountAnalytics result = apiInstance.getAccountAnalytics(accountId);
System.out.println(result);
@@ -4695,7 +4961,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
### Return type cool
@@ -4753,7 +5019,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint.
+ Integer collectionId = 56; // Integer | 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 +5039,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. |
+ **collectionId** | **Integer**| The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. |
### Return type cool
@@ -4832,9 +5098,9 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
try {
Achievement result = apiInstance.getAchievement(applicationId, campaignId, achievementId);
System.out.println(result);
@@ -4854,9 +5120,9 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
### Return type cool
@@ -4916,7 +5182,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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**.
+ 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**.
try {
AccountAdditionalCost result = apiInstance.getAdditionalCost(additionalCostId);
System.out.println(result);
@@ -4936,7 +5202,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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**. |
+ **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**. |
### Return type cool
@@ -4994,8 +5260,8 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +5282,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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]
+ **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]
**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 +5342,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL.
+ Integer applicationId = 56; // Integer | 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 +5362,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
+ **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
### Return type cool
@@ -5154,7 +5420,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL.
+ Integer applicationId = 56; // Integer | 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 +5440,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
+ **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
### Return type cool
@@ -5232,8 +5498,8 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
try {
ApplicationCustomer result = apiInstance.getApplicationCustomer(applicationId, customerId);
System.out.println(result);
@@ -5253,8 +5519,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
### Return type cool
@@ -5312,10 +5578,10 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL.
+ Integer applicationId = 56; // Integer | 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.
- 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.
+ 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.
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 +5603,10 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
+ **applicationId** | **Integer**| 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** | **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]
+ **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]
**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 +5666,10 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL.
+ Integer applicationId = 56; // Integer | 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.
- 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.
+ 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.
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 +5690,10 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
+ **applicationId** | **Integer**| 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** | **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]
+ **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]
**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 +5752,10 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL.
+ Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL.
CustomerProfileSearchQuery body = new CustomerProfileSearchQuery(); // CustomerProfileSearchQuery | body
- 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.
+ 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.
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 +5776,10 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
+ **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
**body** | [**CustomerProfileSearchQuery**](CustomerProfileSearchQuery.md)| body |
- **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]
+ **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]
**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 +5838,9 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +5861,9 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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]
+ **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]
**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 +5922,9 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +5956,9 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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]
+ **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]
**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 +6028,8 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
try {
ApplicationSession result = apiInstance.getApplicationSession(applicationId, sessionId);
System.out.println(result);
@@ -5783,8 +6049,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
### Return type cool
@@ -5842,9 +6108,9 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +6139,9 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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]
+ **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]
**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 +6208,8 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +6230,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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]
+ **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]
**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 +6290,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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**.
+ 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**.
try {
Attribute result = apiInstance.getAttribute(attributeId);
System.out.println(result);
@@ -6044,7 +6310,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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**. |
+ **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**. |
### Return type cool
@@ -6102,8 +6368,8 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +6391,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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]
+ **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]
**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 +6452,9 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +6476,9 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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]
+ **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]
**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 +6539,8 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +6562,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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]
+ **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]
**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 +6703,8 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
try {
Campaign result = apiInstance.getCampaign(applicationId, campaignId);
System.out.println(result);
@@ -6458,8 +6724,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
### Return type cool
@@ -6517,8 +6783,8 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +6807,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
**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 +6869,10 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL.
+ Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL.
CampaignSearch body = new CampaignSearch(); // CampaignSearch | body
- 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.
+ 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.
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 +6894,10 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
+ **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
**body** | [**CampaignSearch**](CampaignSearch.md)| body |
- **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]
+ **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]
**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 +6957,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long campaignGroupId = 56L; // Long | The ID of the campaign access group.
+ Integer campaignGroupId = 56; // Integer | The ID of the campaign access group.
try {
CampaignGroup result = apiInstance.getCampaignGroup(campaignGroupId);
System.out.println(result);
@@ -6711,7 +6977,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **campaignGroupId** | **Long**| The ID of the campaign access group. |
+ **campaignGroupId** | **Integer**| The ID of the campaign access group. |
### Return type cool
@@ -6769,8 +7035,8 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +7057,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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]
+ **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]
**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 +7117,13 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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.
- Long userId = 56L; // Long | Filter results by user ID.
+ Integer userId = 56; // Integer | Filter results by user ID.
try {
InlineResponse20014 result = apiInstance.getCampaignTemplates(pageSize, skip, sort, state, name, tags, userId);
System.out.println(result);
@@ -6877,13 +7143,13 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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]
+ **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]
**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** | **Long**| Filter results by user ID. | [optional]
+ **userId** | **Integer**| Filter results by user ID. | [optional]
### Return type cool
@@ -6941,18 +7207,18 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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.
- 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.
+ 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.
try {
InlineResponse2008 result = apiInstance.getCampaigns(applicationId, pageSize, skip, sort, campaignState, name, tags, createdBefore, createdAfter, campaignGroupId, templateId, storeId);
System.out.println(result);
@@ -6972,18 +7238,18 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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]
+ **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]
**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** | **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]
+ **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]
### Return type cool
@@ -7042,16 +7308,16 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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
- Long userId = 56L; // Long | Filter results by user ID.
+ Integer userId = 56; // Integer | 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.
- Long managementKeyId = 56L; // Long | Filter results that match the given management key ID.
+ Integer managementKeyId = 56; // Integer | 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 +7338,16 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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]
+ **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]
**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** | **Long**| Filter results by user ID. | [optional]
+ **userId** | **Integer**| 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** | **Long**| Filter results that match the given management key ID. | [optional]
+ **managementKeyId** | **Integer**| 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 +7406,9 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
try {
Collection result = apiInstance.getCollection(applicationId, campaignId, collectionId);
System.out.println(result);
@@ -7162,9 +7428,9 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
### Return type cool
@@ -7223,9 +7489,9 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
try {
InlineResponse20021 result = apiInstance.getCollectionItems(collectionId, pageSize, skip);
System.out.println(result);
@@ -7245,9 +7511,9 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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]
+ **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]
### Return type cool
@@ -7306,10 +7572,10 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +7583,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.
- 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.
+ 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.
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 +7611,10 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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]
+ **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]
**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 +7622,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** | **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]
+ **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]
**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 +7690,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.
- 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.
+ 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.
try {
CustomerActivityReport result = apiInstance.getCustomerActivityReport(rangeStart, rangeEnd, applicationId, customerId, pageSize, skip);
System.out.println(result);
@@ -7449,10 +7715,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** | **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]
+ **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]
### Return type cool
@@ -7512,9 +7778,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.
- 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.
+ 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.
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 +7807,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** | **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]
+ **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]
**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 +7872,10 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +7896,10 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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]
+ **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]
**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 +7958,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
try {
CustomerProfile result = apiInstance.getCustomerProfile(customerId);
System.out.println(result);
@@ -7712,7 +7978,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
### Return type cool
@@ -7735,7 +8001,7 @@ Name | Type | Description | Notes
## getCustomerProfileAchievementProgress
-> InlineResponse20049 getCustomerProfileAchievementProgress(applicationId, integrationId, pageSize, skip, achievementId, title)
+> InlineResponse20051 getCustomerProfileAchievementProgress(applicationId, integrationId, pageSize, skip, achievementId, title)
List customer achievements
@@ -7770,14 +8036,14 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL.
+ Integer applicationId = 56; // Integer | 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.
- 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.
+ 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.
String title = "title_example"; // String | Filter results by the `title` of an achievement.
try {
- InlineResponse20049 result = apiInstance.getCustomerProfileAchievementProgress(applicationId, integrationId, pageSize, skip, achievementId, title);
+ InlineResponse20051 result = apiInstance.getCustomerProfileAchievementProgress(applicationId, integrationId, pageSize, skip, achievementId, title);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getCustomerProfileAchievementProgress");
@@ -7795,16 +8061,16 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
+ **applicationId** | **Integer**| 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** | **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]
+ **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]
**title** | **String**| Filter results by the `title` of an achievement. | [optional]
### Return type cool
-[**InlineResponse20049**](InlineResponse20049.md)
+[**InlineResponse20051**](InlineResponse20051.md)
### Authorization
@@ -7860,8 +8126,8 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +8148,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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]
+ **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]
**sandbox** | **Boolean**| Indicates whether you are pointing to a sandbox or live customer. | [optional] [default to false]
### Return type cool
@@ -7943,8 +8209,8 @@ public class Example {
ManagementApi apiInstance = new ManagementApi(defaultClient);
CustomerProfileSearchQuery body = new CustomerProfileSearchQuery(); // CustomerProfileSearchQuery | body
- 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.
+ 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.
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 +8232,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**body** | [**CustomerProfileSearchQuery**](CustomerProfileSearchQuery.md)| body |
- **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]
+ **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]
**sandbox** | **Boolean**| Indicates whether you are pointing to a sandbox or live customer. | [optional] [default to false]
### Return type cool
@@ -8026,7 +8292,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +8315,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
**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 +8378,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.
- 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.
+ 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.
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 +8402,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** | **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]
+ **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]
**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 +8462,10 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
BigDecimal applicationId = new BigDecimal(); // BigDecimal | Filter results by Application ID.
- Long campaignId = 56L; // Long | Filter by the campaign ID on which the limit counters are used.
+ Integer campaignId = 56; // Integer | 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 +8486,10 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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]
+ **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** | **BigDecimal**| Filter results by Application ID. | [optional]
- **campaignId** | **Long**| Filter by the campaign ID on which the limit counters are used. | [optional]
+ **campaignId** | **Integer**| 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 +8548,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +8569,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
**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 +8631,12 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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.
- 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.
+ 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.
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 +8657,12 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
**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** | **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]
+ **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]
**subledgerId** | **String**| The ID of the subledger by which we filter the data. | [optional]
### Return type cool
@@ -8457,12 +8723,12 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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.
- Long profileId = 56L; // Long | Filter results by customer profile ID.
+ Integer profileId = 56; // Integer | 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 +8749,12 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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]
+ **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]
**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** | **Long**| Filter results by customer profile ID. | [optional]
+ **profileId** | **Integer**| Filter results by customer profile ID. | [optional]
**batchId** | **String**| Filter results by loyalty card batch ID. | [optional]
### Return type cool
@@ -8629,7 +8895,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
try {
LoyaltyProgram result = apiInstance.getLoyaltyProgram(loyaltyProgramId);
System.out.println(result);
@@ -8649,7 +8915,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
### Return type cool
@@ -8707,13 +8973,13 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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.
- 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.
+ 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.
try {
InlineResponse20017 result = apiInstance.getLoyaltyProgramTransactions(loyaltyProgramId, loyaltyTransactionType, subledgerId, startDate, endDate, pageSize, skip);
System.out.println(result);
@@ -8733,13 +8999,13 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
**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** | **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]
+ **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]
### Return type cool
@@ -8874,7 +9140,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
try {
LoyaltyDashboardData result = apiInstance.getLoyaltyStatistics(loyaltyProgramId);
System.out.println(result);
@@ -8894,7 +9160,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
### Return type cool
@@ -8963,8 +9229,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.
- Long loyaltyProgramId = 56L; // Long | Identifier of the loyalty program.
- Long responseCode = 56L; // Long | Filter results by response status code.
+ Integer loyaltyProgramId = 56; // Integer | Identifier of the loyalty program.
+ Integer responseCode = 56; // Integer | 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);
@@ -8987,7 +9253,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**entityType** | **String**| The entity type the log is related to. | [enum: application, loyalty_program, webhook]
**messageID** | **String**| Filter results by message ID. | [optional]
- **changeType** | **String**| Filter results by change type. | [optional] [enum: CampaignEvaluationTreeChanged, CampaignNotification, CouponCreated, CouponUpdated, CouponDeleted, AsyncCouponsCreated, CouponsDeleted, CouponsUpdated, CouponCodeExpiring, StrikethroughPrice, LoyaltyPointsAdded, LoyaltyPointsDeducted, LoyaltyPointsExpiring, LoyaltyPointsPendingToActive, TierWillDowngrade, TierUpgrade, TierDowngrade, LoyaltyCardPointsAdded, LoyaltyCardPointsDeducted, LoyaltyCardPointsExpiring]
+ **changeType** | **String**| Filter results by change type. | [optional] [enum: CampaignEvaluationTreeChanged, CampaignNotification, CouponCreated, CouponUpdated, CouponDeleted, AsyncCouponsCreated, CouponsDeleted, CouponsUpdated, CouponCodeExpiring, StrikethroughPrice, LoyaltyPointsAdded, LoyaltyPointsDeducted, LoyaltyPointsExpiring, LoyaltyPointsPendingToActive, LoyaltyAddedDeductedPointsBalances, LoyaltyCardAddedDeductedPointsBalances, TierWillDowngrade, TierUpgrade, TierDowngrade, LoyaltyCardPointsAdded, LoyaltyCardPointsDeducted, LoyaltyCardPointsExpiring]
**notificationIDs** | **String**| Filter results by notification ID (include up to 30 values, separated by a comma). | [optional]
**createdBefore** | **OffsetDateTime**| Filter results where request and response times to return entries before 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 where request and response times to return entries after parameter value, expected to be an RFC3339 timestamp string. You can use any time zone setting. Talon.One will convert to UTC internally. | [optional]
@@ -8996,8 +9262,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** | **Long**| Identifier of the loyalty program. | [optional]
- **responseCode** | **Long**| Filter results by response status code. | [optional]
+ **loyaltyProgramId** | **Integer**| Identifier of the loyalty program. | [optional]
+ **responseCode** | **Integer**| 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 +9322,10 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +9352,10 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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]
+ **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]
**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 +9420,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
try {
RoleV2 result = apiInstance.getRoleV2(roleId);
System.out.println(result);
@@ -9174,7 +9440,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
### Return type cool
@@ -9232,9 +9498,9 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
try {
Ruleset result = apiInstance.getRuleset(applicationId, campaignId, rulesetId);
System.out.println(result);
@@ -9254,9 +9520,9 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
### Return type cool
@@ -9314,10 +9580,10 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +9604,10 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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]
+ **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]
**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 +9666,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL.
+ Integer applicationId = 56; // Integer | 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 +9687,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
+ **applicationId** | **Integer**| 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 +9747,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long userId = 56L; // Long | The ID of the user.
+ Integer userId = 56; // Integer | The ID of the user.
try {
User result = apiInstance.getUser(userId);
System.out.println(result);
@@ -9501,7 +9767,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **userId** | **Long**| The ID of the user. |
+ **userId** | **Integer**| The ID of the user. |
### Return type cool
@@ -9559,8 +9825,8 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +9847,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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]
+ **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]
**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 +9907,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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**.
+ 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**.
try {
Webhook result = apiInstance.getWebhook(webhookId);
System.out.println(result);
@@ -9661,7 +9927,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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**. |
+ **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**. |
### Return type cool
@@ -9719,8 +9985,8 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +10013,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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]
+ **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]
**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 +10079,8 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +10108,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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]
+ **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]
**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 +10177,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.
- 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.
+ 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.
String creationType = "creationType_example"; // String | Filter results by creation type.
String visibility = "visibility_example"; // String | Filter results by visibility.
- Long outgoingIntegrationsTypeId = 56L; // Long | Filter results by outgoing integration type ID.
+ Integer outgoingIntegrationsTypeId = 56; // Integer | 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 +10204,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** | **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]
+ **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]
**creationType** | **String**| Filter results by creation type. | [optional] [enum: templateWebhooks, webhooks]
**visibility** | **String**| Filter results by visibility. | [optional] [enum: visible, hidden]
- **outgoingIntegrationsTypeId** | **Long**| Filter results by outgoing integration type ID. | [optional]
+ **outgoingIntegrationsTypeId** | **Integer**| 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 +10267,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint.
+ Integer collectionId = 56; // Integer | 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 +10288,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. |
+ **collectionId** | **Integer**| 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 +10349,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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**.
+ 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**.
String upFile = "upFile_example"; // String | The file containing the data that is being imported.
try {
ModelImport result = apiInstance.importAllowedList(attributeId, upFile);
@@ -10104,7 +10370,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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**. |
+ **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**. |
**upFile** | **String**| The file containing the data that is being imported. | [optional]
### Return type cool
@@ -10166,7 +10432,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long audienceId = 56L; // Long | The ID of the audience.
+ Integer audienceId = 56; // Integer | 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 +10453,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **audienceId** | **Long**| The ID of the audience. |
+ **audienceId** | **Integer**| The ID of the audience. |
**upFile** | **String**| The file containing the data that is being imported. | [optional]
### Return type cool
@@ -10212,13 +10478,13 @@ Name | Type | Description | Notes
| **404** | Not found | - |
-## importCampaignStores
+## importCampaignStoreBudget
-> ModelImport importCampaignStores(applicationId, campaignId, upFile)
+> ModelImport importCampaignStoreBudget(applicationId, campaignId, action, period, upFile)
-Import stores
+Import campaign store budgets
-Upload a CSV file containing the stores you want to link to a specific campaign. Send the file as multipart data. The CSV file **must** only contain the following column: - `store_integration_id`: The identifier of the store. The import **replaces** the previous list of stores linked to the campaign.
+Upload a CSV file containing store budgets for a given campaign. Send the file as multipart data. The CSV file **must** only contain the following columns: - `store_integration_id`: The identifier of the store. - `limit`: The budget limit for the store. The import **replaces** the previous list of store budgets.
### Example
@@ -10249,14 +10515,16 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
+ String action = "action_example"; // String | The action that this budget is limiting.
+ String period = "period_example"; // String | The period to which the limit applies. **Note**: For budgets with no period, set this to `overall`.
String upFile = "upFile_example"; // String | The file containing the data that is being imported.
try {
- ModelImport result = apiInstance.importCampaignStores(applicationId, campaignId, upFile);
+ ModelImport result = apiInstance.importCampaignStoreBudget(applicationId, campaignId, action, period, upFile);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ManagementApi#importCampaignStores");
+ System.err.println("Exception when calling ManagementApi#importCampaignStoreBudget");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -10271,8 +10539,10 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
+ **action** | **String**| The action that this budget is limiting. | [optional] [enum: setDiscount]
+ **period** | **String**| The period to which the limit applies. **Note**: For budgets with no period, set this to `overall`. | [optional] [enum: overall, daily, weekly, monthly, yearly]
**upFile** | **String**| The file containing the data that is being imported. | [optional]
### Return type cool
@@ -10291,19 +10561,17 @@ Name | Type | Description | Notes
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | OK | - |
+| **201** | Created | - |
| **400** | Bad request | - |
-| **401** | Unauthorized - Invalid API key | - |
-| **404** | Not found | - |
-## importCollection
+## importCampaignStores
-> ModelImport importCollection(applicationId, campaignId, collectionId, upFile)
+> ModelImport importCampaignStores(applicationId, campaignId, upFile)
-Import data into existing campaign-level collection
+Import stores
-Upload a CSV file containing the collection of string values that should be attached as payload for collection. The file should be sent as multipart data. The import **replaces** the initial content of the collection. The CSV file **must** only contain the following column: - `item`: the values in your collection. A collection is limited to 500,000 items. Example: ``` item Addidas Nike Asics ``` **Note:** Before sending a request to this endpoint, ensure the data in the CSV to import is different from the data currently stored in the collection.
+Upload a CSV file containing the stores you want to link to a specific campaign. Send the file as multipart data. The CSV file **must** only contain the following column: - `store_integration_id`: The identifier of the store. The import **replaces** the previous list of stores linked to the campaign.
### Example
@@ -10334,15 +10602,14 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
String upFile = "upFile_example"; // String | The file containing the data that is being imported.
try {
- ModelImport result = apiInstance.importCollection(applicationId, campaignId, collectionId, upFile);
+ ModelImport result = apiInstance.importCampaignStores(applicationId, campaignId, upFile);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ManagementApi#importCollection");
+ System.err.println("Exception when calling ManagementApi#importCampaignStores");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -10357,9 +10624,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
**upFile** | **String**| The file containing the data that is being imported. | [optional]
### Return type cool
@@ -10379,16 +10645,18 @@ Name | Type | Description | Notes
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | OK | - |
-| **401** | Unauthorized | - |
+| **400** | Bad request | - |
+| **401** | Unauthorized - Invalid API key | - |
+| **404** | Not found | - |
-## importCoupons
+## importCollection
-> ModelImport importCoupons(applicationId, campaignId, skipDuplicates, upFile)
+> ModelImport importCollection(applicationId, campaignId, collectionId, upFile)
-Import coupons
+Import data into existing campaign-level collection
-Upload a CSV file containing the coupons that should be created. The file should be sent as multipart data. The CSV file contains the following columns: - `value` (required): The coupon code. - `expirydate`: The end date in RFC3339 of the code redemption period. - `startdate`: The start date in RFC3339 of the code redemption period. - `recipientintegrationid`: The integration ID of the recipient of the coupon. Only the customer with this integration ID can redeem this code. Available only for personal codes. - `limitval`: The maximum number of redemptions of this code. For unlimited redemptions, use `0`. Defaults to `1` when not provided. - `discountlimit`: The total discount value that the code can give. This is typically used to represent a gift card value. - `attributes`: A JSON object describing _custom_ coupon attribute names and their values, enclosed with double quotation marks. For example, if you created a [custom attribute](https://docs.talon.one/docs/dev/concepts/attributes#custom-attributes) called `category` associated with the coupon entity, the object in the CSV file, when opened in a text editor, must be: `\"{\"category\": \"10_off\"}\"`. You can use the time zone of your choice. It is converted to UTC internally by Talon.One. **Note:** We recommend limiting your file size to 500MB. **Example:** ```text \"value\",\"expirydate\",\"startdate\",\"recipientintegrationid\",\"limitval\",\"attributes\",\"discountlimit\" COUP1,2018-07-01T04:00:00Z,2018-05-01T04:00:00Z,cust123,1,\"{\"\"Category\"\": \"\"10_off\"\"}\",2.4 ``` Once imported, you can find the `batchId` in the Campaign Manager or by using [List coupons](#tag/Coupons/operation/getCouponsWithoutTotalCount).
+Upload a CSV file containing the collection of string values that should be attached as payload for collection. The file should be sent as multipart data. The import **replaces** the initial content of the collection. The CSV file **must** only contain the following column: - `item`: the values in your collection. A collection is limited to 500,000 items. Example: ``` item Addidas Nike Asics ``` **Note:** Before sending a request to this endpoint, ensure the data in the CSV to import is different from the data currently stored in the collection.
### Example
@@ -10419,15 +10687,15 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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`.
+ 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.
String upFile = "upFile_example"; // String | The file containing the data that is being imported.
try {
- ModelImport result = apiInstance.importCoupons(applicationId, campaignId, skipDuplicates, upFile);
+ ModelImport result = apiInstance.importCollection(applicationId, campaignId, collectionId, upFile);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ManagementApi#importCoupons");
+ System.err.println("Exception when calling ManagementApi#importCollection");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -10442,9 +10710,9 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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]
+ **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. |
**upFile** | **String**| The file containing the data that is being imported. | [optional]
### Return type cool
@@ -10464,9 +10732,94 @@ Name | Type | Description | Notes
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | OK | - |
+| **401** | Unauthorized | - |
-## importLoyaltyCards
+## importCoupons
+
+> ModelImport importCoupons(applicationId, campaignId, skipDuplicates, upFile)
+
+Import coupons
+
+Upload a CSV file containing the coupons that should be created. The file should be sent as multipart data. The CSV file contains the following columns: - `value` (required): The coupon code. - `expirydate`: The end date in RFC3339 of the code redemption period. - `startdate`: The start date in RFC3339 of the code redemption period. - `recipientintegrationid`: The integration ID of the recipient of the coupon. Only the customer with this integration ID can redeem this code. Available only for personal codes. - `limitval`: The maximum number of redemptions of this code. For unlimited redemptions, use `0`. Defaults to `1` when not provided. - `discountlimit`: The total discount value that the code can give. This is typically used to represent a gift card value. - `attributes`: A JSON object describing _custom_ coupon attribute names and their values, enclosed with double quotation marks. For example, if you created a [custom attribute](https://docs.talon.one/docs/dev/concepts/attributes#custom-attributes) called `category` associated with the coupon entity, the object in the CSV file, when opened in a text editor, must be: `\"{\"category\": \"10_off\"}\"`. You can use the time zone of your choice. It is converted to UTC internally by Talon.One. **Note:** We recommend limiting your file size to 500MB. **Example:** ```text \"value\",\"expirydate\",\"startdate\",\"recipientintegrationid\",\"limitval\",\"attributes\",\"discountlimit\" COUP1,2018-07-01T04:00:00Z,2018-05-01T04:00:00Z,cust123,1,\"{\"\"Category\"\": \"\"10_off\"\"}\",2.4 ``` Once imported, you can find the `batchId` in the Campaign Manager or by using [List coupons](#tag/Coupons/operation/getCouponsWithoutTotalCount).
+
+### Example
+
+```java
+// Import classes:
+import one.talon.ApiClient;
+import one.talon.ApiException;
+import one.talon.Configuration;
+import one.talon.auth.*;
+import one.talon.models.*;
+import one.talon.api.ManagementApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://yourbaseurl.talon.one");
+
+ // Configure API key authorization: management_key
+ ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key");
+ management_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //management_key.setApiKeyPrefix("Token");
+
+ // Configure API key authorization: manager_auth
+ ApiKeyAuth manager_auth = (ApiKeyAuth) defaultClient.getAuthentication("manager_auth");
+ manager_auth.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //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.
+ 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 {
+ ModelImport result = apiInstance.importCoupons(applicationId, campaignId, skipDuplicates, upFile);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling ManagementApi#importCoupons");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+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. |
+ **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]
+
+### Return type cool
+
+[**ModelImport**](ModelImport.md)
+
+### Authorization
+
+[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth)
+
+### HTTP request headers
+
+- **Content-Type**: multipart/form-data
+- **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | OK | - |
+
+
+## importLoyaltyCards
> ModelImport importLoyaltyCards(loyaltyProgramId, upFile)
@@ -10503,7 +10856,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
String upFile = "upFile_example"; // String | The file containing the data that is being imported.
try {
ModelImport result = apiInstance.importLoyaltyCards(loyaltyProgramId, upFile);
@@ -10524,7 +10877,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
**upFile** | **String**| The file containing the data that is being imported. | [optional]
### Return type cool
@@ -10585,7 +10938,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
String upFile = "upFile_example"; // String | The file containing the data that is being imported.
try {
ModelImport result = apiInstance.importLoyaltyCustomersTiers(loyaltyProgramId, upFile);
@@ -10606,7 +10959,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
**upFile** | **String**| The file containing the data that is being imported. | [optional]
### Return type cool
@@ -10633,7 +10986,7 @@ Name | Type | Description | Notes
## importLoyaltyPoints
-> ModelImport importLoyaltyPoints(loyaltyProgramId, upFile)
+> ModelImport importLoyaltyPoints(loyaltyProgramId, notificationsEnabled, upFile)
Import loyalty points
@@ -10668,10 +11021,11 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
+ Boolean notificationsEnabled = true; // Boolean | Indicates whether the points import triggers notifications about its effects. For example, a notification is sent if the import upgrades a customer's tier or offsets their negative points balance. This parameter is optional and defaults to `true`.
String upFile = "upFile_example"; // String | The file containing the data that is being imported.
try {
- ModelImport result = apiInstance.importLoyaltyPoints(loyaltyProgramId, upFile);
+ ModelImport result = apiInstance.importLoyaltyPoints(loyaltyProgramId, notificationsEnabled, upFile);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#importLoyaltyPoints");
@@ -10689,7 +11043,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
+ **notificationsEnabled** | **Boolean**| Indicates whether the points import triggers notifications about its effects. For example, a notification is sent if the import upgrades a customer's tier or offsets their negative points balance. This parameter is optional and defaults to `true`. | [optional]
**upFile** | **String**| The file containing the data that is being imported. | [optional]
### Return type cool
@@ -10748,7 +11103,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long poolId = 56L; // Long | The ID of the pool. You can find it in the Campaign Manager, in the **Giveaways** section.
+ Integer poolId = 56; // Integer | 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 +11124,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **poolId** | **Long**| The ID of the pool. You can find it in the Campaign Manager, in the **Giveaways** section. |
+ **poolId** | **Integer**| 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 +11183,8 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
String upFile = "upFile_example"; // String | The file containing the data that is being imported.
try {
ModelImport result = apiInstance.importReferrals(applicationId, campaignId, upFile);
@@ -10850,8 +11205,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
**upFile** | **String**| The file containing the data that is being imported. | [optional]
### Return type cool
@@ -10987,8 +11342,8 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +11366,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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]
+ **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]
**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]
@@ -11041,7 +11396,7 @@ Name | Type | Description | Notes
## listAchievements
-> InlineResponse20048 listAchievements(applicationId, campaignId, pageSize, skip, title)
+> InlineResponse20050 listAchievements(applicationId, campaignId, pageSize, skip, title)
List achievements
@@ -11076,13 +11431,13 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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);
+ InlineResponse20050 result = apiInstance.listAchievements(applicationId, campaignId, pageSize, skip, title);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#listAchievements");
@@ -11100,15 +11455,15 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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]
+ **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]
**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
-[**InlineResponse20048**](InlineResponse20048.md)
+[**InlineResponse20050**](InlineResponse20050.md)
### Authorization
@@ -11199,6 +11554,93 @@ This endpoint does not need any parameter.
| **200** | OK | - |
+## listCampaignStoreBudgetLimits
+
+> InlineResponse20048 listCampaignStoreBudgetLimits(applicationId, campaignId, action, period)
+
+List campaign store budget limits
+
+Return the store budget limits for a given campaign.
+
+### Example
+
+```java
+// Import classes:
+import one.talon.ApiClient;
+import one.talon.ApiException;
+import one.talon.Configuration;
+import one.talon.auth.*;
+import one.talon.models.*;
+import one.talon.api.ManagementApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://yourbaseurl.talon.one");
+
+ // Configure API key authorization: management_key
+ ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key");
+ management_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //management_key.setApiKeyPrefix("Token");
+
+ // Configure API key authorization: manager_auth
+ ApiKeyAuth manager_auth = (ApiKeyAuth) defaultClient.getAuthentication("manager_auth");
+ manager_auth.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //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.
+ String action = "action_example"; // String | The action that this budget is limiting.
+ String period = "period_example"; // String | The period to which the limit applies. **Note**: For budgets with no period, set this to `overall`.
+ try {
+ InlineResponse20048 result = apiInstance.listCampaignStoreBudgetLimits(applicationId, campaignId, action, period);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling ManagementApi#listCampaignStoreBudgetLimits");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+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. |
+ **action** | **String**| The action that this budget is limiting. | [optional] [enum: setDiscount]
+ **period** | **String**| The period to which the limit applies. **Note**: For budgets with no period, set this to `overall`. | [optional] [enum: overall, daily, weekly, monthly, yearly]
+
+### Return type cool
+
+[**InlineResponse20048**](InlineResponse20048.md)
+
+### Authorization
+
+[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | OK | - |
+| **400** | Bad request | - |
+| **401** | Unauthorized - Invalid API key | - |
+| **404** | Not found | - |
+
+
## listCatalogItems
> InlineResponse20037 listCatalogItems(catalogId, pageSize, skip, withTotalResultSize, sku, productNames)
@@ -11236,9 +11678,9 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +11703,9 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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]
+ **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]
**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 +11766,10 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +11792,10 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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]
+ **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]
**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 +11857,9 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +11882,9 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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]
+ **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]
**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 +11946,9 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +11974,9 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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]
+ **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]
**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]
@@ -11796,13 +12238,13 @@ Name | Type | Description | Notes
| **204** | Created | - |
-## scimCreateUser
+## scimCreateGroup
-> ScimUser scimCreateUser(body)
+> ScimGroup scimCreateGroup(body)
-Create SCIM user
+Create SCIM group
-Create a new Talon.One user using the SCIM provisioning protocol with an identity provider, for example, Microsoft Entra ID.
+Create a new Talon.One group using the SCIM Group provisioning protocol with an identity provider, for example, Microsoft Entra ID, and assign members from the payload to the new group. In Talon.One, a `Group` corresponds to a [role](https://docs.talon.one/docs/product/account/account-settings/managing-roles), and `members` are the [users](https://docs.talon.one/docs/product/account/account-settings/managing-users) assigned to that role.
### Example
@@ -11833,12 +12275,12 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- ScimNewUser body = new ScimNewUser(); // ScimNewUser | body
+ ScimBaseGroup body = new ScimBaseGroup(); // ScimBaseGroup | body
try {
- ScimUser result = apiInstance.scimCreateUser(body);
+ ScimGroup result = apiInstance.scimCreateGroup(body);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ManagementApi#scimCreateUser");
+ System.err.println("Exception when calling ManagementApi#scimCreateGroup");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -11853,11 +12295,11 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **body** | [**ScimNewUser**](ScimNewUser.md)| body |
+ **body** | [**ScimBaseGroup**](ScimBaseGroup.md)| body |
### Return type cool
-[**ScimUser**](ScimUser.md)
+[**ScimGroup**](ScimGroup.md)
### Authorization
@@ -11874,13 +12316,13 @@ Name | Type | Description | Notes
| **201** | Created | - |
-## scimDeleteUser
+## scimCreateUser
-> scimDeleteUser(userId)
+> ScimUser scimCreateUser(body)
-Delete SCIM user
+Create SCIM user
-Delete a specific Talon.One user created using the SCIM provisioning protocol with an identity provider, for example, Microsoft Entra ID.
+Create a new Talon.One user using the SCIM provisioning protocol with an identity provider, for example, Microsoft Entra ID.
### Example
@@ -11911,11 +12353,12 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long userId = 56L; // Long | The ID of the user.
+ ScimNewUser body = new ScimNewUser(); // ScimNewUser | body
try {
- apiInstance.scimDeleteUser(userId);
+ ScimUser result = apiInstance.scimCreateUser(body);
+ System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ManagementApi#scimDeleteUser");
+ System.err.println("Exception when calling ManagementApi#scimCreateUser");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -11930,11 +12373,11 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **userId** | **Long**| The ID of the user. |
+ **body** | [**ScimNewUser**](ScimNewUser.md)| body |
### Return type cool
-null (empty response body)
+[**ScimUser**](ScimUser.md)
### Authorization
@@ -11942,22 +12385,22 @@ null (empty response body)
### HTTP request headers
-- **Content-Type**: Not defined
-- **Accept**: Not defined
+- **Content-Type**: application/json
+- **Accept**: application/json
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **204** | No Content | - |
+| **201** | Created | - |
-## scimGetResourceTypes
+## scimDeleteGroup
-> ScimResourceTypesListResponse scimGetResourceTypes()
+> scimDeleteGroup(groupId)
-List supported SCIM resource types
+Delete SCIM group
-Retrieve a list of resource types supported by the SCIM provisioning protocol. Resource types define the various kinds of resources that can be managed via the SCIM API, such as users, groups, or custom-defined resources.
+Delete a specific group created using the SCIM provisioning protocol with an identity provider, for example, Microsoft Entra ID. In Talon.One, a `Group` corresponds to a [role](https://docs.talon.one/docs/product/account/account-settings/managing-roles), and `members` are the [users](https://docs.talon.one/docs/product/account/account-settings/managing-users) assigned to that role.
### Example
@@ -11988,11 +12431,11 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
+ Integer groupId = 56; // Integer | The ID of the group.
try {
- ScimResourceTypesListResponse result = apiInstance.scimGetResourceTypes();
- System.out.println(result);
+ apiInstance.scimDeleteGroup(groupId);
} catch (ApiException e) {
- System.err.println("Exception when calling ManagementApi#scimGetResourceTypes");
+ System.err.println("Exception when calling ManagementApi#scimDeleteGroup");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -12004,11 +12447,14 @@ public class Example {
### Parameters
-This endpoint does not need any parameter.
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **groupId** | **Integer**| The ID of the group. |
### Return type cool
-[**ScimResourceTypesListResponse**](ScimResourceTypesListResponse.md)
+null (empty response body)
### Authorization
@@ -12017,21 +12463,21 @@ This endpoint does not need any parameter.
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json
+- **Accept**: Not defined
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | List of resource types | - |
+| **204** | No Content | - |
-## scimGetSchemas
+## scimDeleteUser
-> ScimSchemasListResponse scimGetSchemas()
+> scimDeleteUser(userId)
-List supported SCIM schemas
+Delete SCIM user
-Retrieve a list of schemas supported by the SCIM provisioning protocol. Schemas define the structure and attributes of the different resources that can be managed via the SCIM API, such as users, groups, and any custom-defined resources.
+Delete a specific Talon.One user created using the SCIM provisioning protocol with an identity provider, for example, Microsoft Entra ID.
### Example
@@ -12062,11 +12508,11 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
+ Integer userId = 56; // Integer | The ID of the user.
try {
- ScimSchemasListResponse result = apiInstance.scimGetSchemas();
- System.out.println(result);
+ apiInstance.scimDeleteUser(userId);
} catch (ApiException e) {
- System.err.println("Exception when calling ManagementApi#scimGetSchemas");
+ System.err.println("Exception when calling ManagementApi#scimDeleteUser");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -12078,11 +12524,14 @@ public class Example {
### Parameters
-This endpoint does not need any parameter.
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **userId** | **Integer**| The ID of the user. |
### Return type cool
-[**ScimSchemasListResponse**](ScimSchemasListResponse.md)
+null (empty response body)
### Authorization
@@ -12091,21 +12540,21 @@ This endpoint does not need any parameter.
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json
+- **Accept**: Not defined
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | List of schemas supported by the SCIM provisioning protocol | - |
+| **204** | No Content | - |
-## scimGetServiceProviderConfig
+## scimGetGroup
-> ScimServiceProviderConfigResponse scimGetServiceProviderConfig()
+> ScimGroup scimGetGroup(groupId)
-Get SCIM service provider configuration
+Get SCIM group
-Retrieve the configuration settings of the SCIM service provider. It provides details about the features and capabilities supported by the SCIM API, such as the different operation settings.
+Retrieve data for a specific group created using the SCIM provisioning protocol with an identity provider, for example, Microsoft Entra ID. In Talon.One, a `Group` corresponds to a [role](https://docs.talon.one/docs/product/account/account-settings/managing-roles), and `members` are the [users](https://docs.talon.one/docs/product/account/account-settings/managing-users) assigned to that role.
### Example
@@ -12136,11 +12585,12 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
+ Integer groupId = 56; // Integer | The ID of the group.
try {
- ScimServiceProviderConfigResponse result = apiInstance.scimGetServiceProviderConfig();
+ ScimGroup result = apiInstance.scimGetGroup(groupId);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ManagementApi#scimGetServiceProviderConfig");
+ System.err.println("Exception when calling ManagementApi#scimGetGroup");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -12152,11 +12602,14 @@ public class Example {
### Parameters
-This endpoint does not need any parameter.
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **groupId** | **Integer**| The ID of the group. |
### Return type cool
-[**ScimServiceProviderConfigResponse**](ScimServiceProviderConfigResponse.md)
+[**ScimGroup**](ScimGroup.md)
### Authorization
@@ -12170,16 +12623,16 @@ This endpoint does not need any parameter.
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Service configuration | - |
+| **200** | Group details | - |
-## scimGetUser
+## scimGetGroups
-> ScimUser scimGetUser(userId)
+> ScimGroupsListResponse scimGetGroups()
-Get SCIM user
+List SCIM groups
-Retrieve data for a specific Talon.One user created using the SCIM provisioning protocol with an identity provider, for example, Microsoft Entra ID.
+Retrieve a paginated list of groups created using the SCIM protocol with an identity provider, for example, Microsoft Entra ID. In Talon.One, a `Group` corresponds to a [role](https://docs.talon.one/docs/product/account/account-settings/managing-roles), and `members` are the [users](https://docs.talon.one/docs/product/account/account-settings/managing-users) assigned to that role.
### Example
@@ -12210,12 +12663,11 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long userId = 56L; // Long | The ID of the user.
try {
- ScimUser result = apiInstance.scimGetUser(userId);
+ ScimGroupsListResponse result = apiInstance.scimGetGroups();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ManagementApi#scimGetUser");
+ System.err.println("Exception when calling ManagementApi#scimGetGroups");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -12227,14 +12679,11 @@ public class Example {
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **userId** | **Long**| The ID of the user. |
+This endpoint does not need any parameter.
### Return type cool
-[**ScimUser**](ScimUser.md)
+[**ScimGroupsListResponse**](ScimGroupsListResponse.md)
### Authorization
@@ -12248,14 +12697,314 @@ Name | Type | Description | Notes
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | User details | - |
+| **200** | List of SCIM groups | - |
-## scimGetUsers
+## scimGetResourceTypes
-> ScimUsersListResponse scimGetUsers()
+> ScimResourceTypesListResponse scimGetResourceTypes()
-List SCIM users
+List supported SCIM resource types
+
+Retrieve a list of resource types supported by the SCIM provisioning protocol. Resource types define the various kinds of resources that can be managed via the SCIM API, such as users, groups, or custom-defined resources.
+
+### Example
+
+```java
+// Import classes:
+import one.talon.ApiClient;
+import one.talon.ApiException;
+import one.talon.Configuration;
+import one.talon.auth.*;
+import one.talon.models.*;
+import one.talon.api.ManagementApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://yourbaseurl.talon.one");
+
+ // Configure API key authorization: management_key
+ ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key");
+ management_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //management_key.setApiKeyPrefix("Token");
+
+ // Configure API key authorization: manager_auth
+ ApiKeyAuth manager_auth = (ApiKeyAuth) defaultClient.getAuthentication("manager_auth");
+ manager_auth.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //manager_auth.setApiKeyPrefix("Token");
+
+ ManagementApi apiInstance = new ManagementApi(defaultClient);
+ try {
+ ScimResourceTypesListResponse result = apiInstance.scimGetResourceTypes();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling ManagementApi#scimGetResourceTypes");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+This endpoint does not need any parameter.
+
+### Return type cool
+
+[**ScimResourceTypesListResponse**](ScimResourceTypesListResponse.md)
+
+### Authorization
+
+[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | List of resource types | - |
+
+
+## scimGetSchemas
+
+> ScimSchemasListResponse scimGetSchemas()
+
+List supported SCIM schemas
+
+Retrieve a list of schemas supported by the SCIM provisioning protocol. Schemas define the structure and attributes of the different resources that can be managed via the SCIM API, such as users, groups, and any custom-defined resources.
+
+### Example
+
+```java
+// Import classes:
+import one.talon.ApiClient;
+import one.talon.ApiException;
+import one.talon.Configuration;
+import one.talon.auth.*;
+import one.talon.models.*;
+import one.talon.api.ManagementApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://yourbaseurl.talon.one");
+
+ // Configure API key authorization: management_key
+ ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key");
+ management_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //management_key.setApiKeyPrefix("Token");
+
+ // Configure API key authorization: manager_auth
+ ApiKeyAuth manager_auth = (ApiKeyAuth) defaultClient.getAuthentication("manager_auth");
+ manager_auth.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //manager_auth.setApiKeyPrefix("Token");
+
+ ManagementApi apiInstance = new ManagementApi(defaultClient);
+ try {
+ ScimSchemasListResponse result = apiInstance.scimGetSchemas();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling ManagementApi#scimGetSchemas");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+This endpoint does not need any parameter.
+
+### Return type cool
+
+[**ScimSchemasListResponse**](ScimSchemasListResponse.md)
+
+### Authorization
+
+[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | List of schemas supported by the SCIM provisioning protocol | - |
+
+
+## scimGetServiceProviderConfig
+
+> ScimServiceProviderConfigResponse scimGetServiceProviderConfig()
+
+Get SCIM service provider configuration
+
+Retrieve the configuration settings of the SCIM service provider. It provides details about the features and capabilities supported by the SCIM API, such as the different operation settings.
+
+### Example
+
+```java
+// Import classes:
+import one.talon.ApiClient;
+import one.talon.ApiException;
+import one.talon.Configuration;
+import one.talon.auth.*;
+import one.talon.models.*;
+import one.talon.api.ManagementApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://yourbaseurl.talon.one");
+
+ // Configure API key authorization: management_key
+ ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key");
+ management_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //management_key.setApiKeyPrefix("Token");
+
+ // Configure API key authorization: manager_auth
+ ApiKeyAuth manager_auth = (ApiKeyAuth) defaultClient.getAuthentication("manager_auth");
+ manager_auth.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //manager_auth.setApiKeyPrefix("Token");
+
+ ManagementApi apiInstance = new ManagementApi(defaultClient);
+ try {
+ ScimServiceProviderConfigResponse result = apiInstance.scimGetServiceProviderConfig();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling ManagementApi#scimGetServiceProviderConfig");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+This endpoint does not need any parameter.
+
+### Return type cool
+
+[**ScimServiceProviderConfigResponse**](ScimServiceProviderConfigResponse.md)
+
+### Authorization
+
+[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Service configuration | - |
+
+
+## scimGetUser
+
+> ScimUser scimGetUser(userId)
+
+Get SCIM user
+
+Retrieve data for a specific Talon.One user created using the SCIM provisioning protocol with an identity provider, for example, Microsoft Entra ID.
+
+### Example
+
+```java
+// Import classes:
+import one.talon.ApiClient;
+import one.talon.ApiException;
+import one.talon.Configuration;
+import one.talon.auth.*;
+import one.talon.models.*;
+import one.talon.api.ManagementApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://yourbaseurl.talon.one");
+
+ // Configure API key authorization: management_key
+ ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key");
+ management_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //management_key.setApiKeyPrefix("Token");
+
+ // Configure API key authorization: manager_auth
+ ApiKeyAuth manager_auth = (ApiKeyAuth) defaultClient.getAuthentication("manager_auth");
+ manager_auth.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //manager_auth.setApiKeyPrefix("Token");
+
+ ManagementApi apiInstance = new ManagementApi(defaultClient);
+ Integer userId = 56; // Integer | The ID of the user.
+ try {
+ ScimUser result = apiInstance.scimGetUser(userId);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling ManagementApi#scimGetUser");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **userId** | **Integer**| The ID of the user. |
+
+### Return type cool
+
+[**ScimUser**](ScimUser.md)
+
+### Authorization
+
+[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | User details | - |
+
+
+## scimGetUsers
+
+> ScimUsersListResponse scimGetUsers()
+
+List SCIM users
Retrieve a paginated list of users that have been provisioned using the SCIM protocol with an identity provider, for example, Microsoft Entra ID.
@@ -12325,6 +13074,86 @@ This endpoint does not need any parameter.
| **200** | List of SCIM users | - |
+## scimPatchGroup
+
+> ScimGroup scimPatchGroup(groupId, body)
+
+Update SCIM group attributes
+
+Update certain attributes of a group created using the SCIM provisioning protocol with an identity provider, for example, Microsoft Entra ID. This endpoint allows for selective adding, removing, or replacing of specific group attributes while other attributes remain unchanged. In Talon.One, a `Group` corresponds to a [role](https://docs.talon.one/docs/product/account/account-settings/managing-roles), and `members` are the [users](https://docs.talon.one/docs/product/account/account-settings/managing-users) assigned to that role.
+
+### Example
+
+```java
+// Import classes:
+import one.talon.ApiClient;
+import one.talon.ApiException;
+import one.talon.Configuration;
+import one.talon.auth.*;
+import one.talon.models.*;
+import one.talon.api.ManagementApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://yourbaseurl.talon.one");
+
+ // Configure API key authorization: management_key
+ ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key");
+ management_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //management_key.setApiKeyPrefix("Token");
+
+ // Configure API key authorization: manager_auth
+ ApiKeyAuth manager_auth = (ApiKeyAuth) defaultClient.getAuthentication("manager_auth");
+ manager_auth.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //manager_auth.setApiKeyPrefix("Token");
+
+ ManagementApi apiInstance = new ManagementApi(defaultClient);
+ Integer groupId = 56; // Integer | The ID of the group.
+ ScimPatchRequest body = new ScimPatchRequest(); // ScimPatchRequest | body
+ try {
+ ScimGroup result = apiInstance.scimPatchGroup(groupId, body);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling ManagementApi#scimPatchGroup");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **groupId** | **Integer**| The ID of the group. |
+ **body** | [**ScimPatchRequest**](ScimPatchRequest.md)| body |
+
+### Return type cool
+
+[**ScimGroup**](ScimGroup.md)
+
+### Authorization
+
+[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Group details | - |
+
+
## scimPatchUser
> ScimUser scimPatchUser(userId, body)
@@ -12362,7 +13191,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long userId = 56L; // Long | The ID of the user.
+ Integer userId = 56; // Integer | The ID of the user.
ScimPatchRequest body = new ScimPatchRequest(); // ScimPatchRequest | body
try {
ScimUser result = apiInstance.scimPatchUser(userId, body);
@@ -12383,7 +13212,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **userId** | **Long**| The ID of the user. |
+ **userId** | **Integer**| The ID of the user. |
**body** | [**ScimPatchRequest**](ScimPatchRequest.md)| body |
### Return type cool
@@ -12405,6 +13234,86 @@ Name | Type | Description | Notes
| **200** | User details | - |
+## scimReplaceGroupAttributes
+
+> ScimGroup scimReplaceGroupAttributes(groupId, body)
+
+Update SCIM group
+
+Update the details of a specific group created using the SCIM provisioning protocol with an identity provider, for example, Microsoft Entra ID. This endpoint replaces all attributes of the given group with the attributes provided in the request payload. In Talon.One, a `Group` corresponds to a [role](https://docs.talon.one/docs/product/account/account-settings/managing-roles), and `members` are the [users](https://docs.talon.one/docs/product/account/account-settings/managing-users) assigned to that role.
+
+### Example
+
+```java
+// Import classes:
+import one.talon.ApiClient;
+import one.talon.ApiException;
+import one.talon.Configuration;
+import one.talon.auth.*;
+import one.talon.models.*;
+import one.talon.api.ManagementApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://yourbaseurl.talon.one");
+
+ // Configure API key authorization: management_key
+ ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key");
+ management_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //management_key.setApiKeyPrefix("Token");
+
+ // Configure API key authorization: manager_auth
+ ApiKeyAuth manager_auth = (ApiKeyAuth) defaultClient.getAuthentication("manager_auth");
+ manager_auth.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //manager_auth.setApiKeyPrefix("Token");
+
+ ManagementApi apiInstance = new ManagementApi(defaultClient);
+ Integer groupId = 56; // Integer | The ID of the group.
+ ScimBaseGroup body = new ScimBaseGroup(); // ScimBaseGroup | body
+ try {
+ ScimGroup result = apiInstance.scimReplaceGroupAttributes(groupId, body);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling ManagementApi#scimReplaceGroupAttributes");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **groupId** | **Integer**| The ID of the group. |
+ **body** | [**ScimBaseGroup**](ScimBaseGroup.md)| body |
+
+### Return type cool
+
+[**ScimGroup**](ScimGroup.md)
+
+### Authorization
+
+[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Group details | - |
+
+
## scimReplaceUserAttributes
> ScimUser scimReplaceUserAttributes(userId, body)
@@ -12442,7 +13351,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long userId = 56L; // Long | The ID of the user.
+ Integer userId = 56; // Integer | The ID of the user.
ScimNewUser body = new ScimNewUser(); // ScimNewUser | body
try {
ScimUser result = apiInstance.scimReplaceUserAttributes(userId, body);
@@ -12463,7 +13372,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **userId** | **Long**| The ID of the user. |
+ **userId** | **Integer**| The ID of the user. |
**body** | [**ScimNewUser**](ScimNewUser.md)| body |
### Return type cool
@@ -12522,17 +13431,17 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL.
+ Integer applicationId = 56; // Integer | The ID of the Application. It is displayed in your Talon.One deployment URL.
Object body = null; // Object | body
- 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.
+ 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.
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`.
- 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.
+ 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.
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 +13465,17 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
+ **applicationId** | **Integer**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
**body** | **Object**| body |
- **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]
+ **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]
**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** | **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]
+ **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]
**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 +13537,18 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
Object body = null; // Object | body
- 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.
+ 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.
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`.
- 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.
+ 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.
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 +13571,18 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
**body** | **Object**| body |
- **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]
+ **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]
**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** | **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]
+ **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]
**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]
@@ -12697,6 +13606,89 @@ Name | Type | Description | Notes
| **200** | OK | - |
+## summarizeCampaignStoreBudget
+
+> InlineResponse20049 summarizeCampaignStoreBudget(applicationId, campaignId)
+
+Get summary of campaign store budgets
+
+Fetch a summary of all store budget information for a given campaign.
+
+### Example
+
+```java
+// Import classes:
+import one.talon.ApiClient;
+import one.talon.ApiException;
+import one.talon.Configuration;
+import one.talon.auth.*;
+import one.talon.models.*;
+import one.talon.api.ManagementApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://yourbaseurl.talon.one");
+
+ // Configure API key authorization: management_key
+ ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key");
+ management_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //management_key.setApiKeyPrefix("Token");
+
+ // Configure API key authorization: manager_auth
+ ApiKeyAuth manager_auth = (ApiKeyAuth) defaultClient.getAuthentication("manager_auth");
+ manager_auth.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //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.
+ try {
+ InlineResponse20049 result = apiInstance.summarizeCampaignStoreBudget(applicationId, campaignId);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling ManagementApi#summarizeCampaignStoreBudget");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+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. |
+
+### Return type cool
+
+[**InlineResponse20049**](InlineResponse20049.md)
+
+### Authorization
+
+[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | OK | - |
+| **400** | Bad request | - |
+| **401** | Unauthorized - Invalid API key | - |
+| **404** | Not found | - |
+
+
## transferLoyaltyCard
> transferLoyaltyCard(loyaltyProgramId, loyaltyCardId, body)
@@ -12734,7 +13726,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +13747,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
**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 +13810,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint.
+ Integer collectionId = 56; // Integer | 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 +13831,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. |
+ **collectionId** | **Integer**| 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 +13893,9 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
UpdateAchievement body = new UpdateAchievement(); // UpdateAchievement | body
try {
Achievement result = apiInstance.updateAchievement(applicationId, campaignId, achievementId, body);
@@ -12924,9 +13916,9 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
**body** | [**UpdateAchievement**](UpdateAchievement.md)| body |
### Return type cool
@@ -12988,7 +13980,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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**.
+ 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**.
NewAdditionalCost body = new NewAdditionalCost(); // NewAdditionalCost | body
try {
AccountAdditionalCost result = apiInstance.updateAdditionalCost(additionalCostId, body);
@@ -13009,7 +14001,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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**. |
+ **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**. |
**body** | [**NewAdditionalCost**](NewAdditionalCost.md)| body |
### Return type cool
@@ -13068,7 +14060,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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**.
+ 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**.
NewAttribute body = new NewAttribute(); // NewAttribute | body
try {
Attribute result = apiInstance.updateAttribute(attributeId, body);
@@ -13089,7 +14081,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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**. |
+ **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**. |
**body** | [**NewAttribute**](NewAttribute.md)| body |
### Return type cool
@@ -13148,8 +14140,8 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
UpdateCampaign body = new UpdateCampaign(); // UpdateCampaign | body
try {
Campaign result = apiInstance.updateCampaign(applicationId, campaignId, body);
@@ -13170,8 +14162,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
**body** | [**UpdateCampaign**](UpdateCampaign.md)| body |
### Return type cool
@@ -13230,9 +14222,9 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
UpdateCampaignCollection body = new UpdateCampaignCollection(); // UpdateCampaignCollection | body
try {
Collection result = apiInstance.updateCollection(applicationId, campaignId, collectionId, body);
@@ -13253,9 +14245,9 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
**body** | [**UpdateCampaignCollection**](UpdateCampaignCollection.md)| body |
### Return type cool
@@ -13315,8 +14307,8 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +14330,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
**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 +14391,8 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
UpdateCouponBatch body = new UpdateCouponBatch(); // UpdateCouponBatch | body
try {
apiInstance.updateCouponBatch(applicationId, campaignId, body);
@@ -13420,8 +14412,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
**body** | [**UpdateCouponBatch**](UpdateCouponBatch.md)| body |
### Return type cool
@@ -13480,7 +14472,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
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 +14494,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
**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 +14557,8 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
String referralId = "referralId_example"; // String | The ID of the referral code.
UpdateReferral body = new UpdateReferral(); // UpdateReferral | body
try {
@@ -13588,8 +14580,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
**referralId** | **String**| The ID of the referral code. |
**body** | [**UpdateReferral**](UpdateReferral.md)| body |
@@ -13649,7 +14641,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- 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.
+ 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.
RoleV2Base body = new RoleV2Base(); // RoleV2Base | body
try {
RoleV2 result = apiInstance.updateRoleV2(roleId, body);
@@ -13670,7 +14662,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **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. |
+ **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. |
**body** | [**RoleV2Base**](RoleV2Base.md)| body |
### Return type cool
@@ -13729,7 +14721,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL.
+ Integer applicationId = 56; // Integer | 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 +14743,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
+ **applicationId** | **Integer**| 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 +14805,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long userId = 56L; // Long | The ID of the user.
+ Integer userId = 56; // Integer | The ID of the user.
UpdateUser body = new UpdateUser(); // UpdateUser | body
try {
User result = apiInstance.updateUser(userId, body);
@@ -13834,7 +14826,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **userId** | **Long**| The ID of the user. |
+ **userId** | **Integer**| The ID of the user. |
**body** | [**UpdateUser**](UpdateUser.md)| body |
### Return type cool
diff --git a/docs/ManagementKey.md b/docs/ManagementKey.md
index ad412ce1..72a6f395 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<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. |
+**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. |
**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 d1f96bc9..649bfd3b 100644
--- a/docs/ManagerConfig.md
+++ b/docs/ManagerConfig.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**schemaVersion** | **Long** | |
+**schemaVersion** | **Integer** | |
diff --git a/docs/MessageLogEntry.md b/docs/MessageLogEntry.md
index 95535651..d237317e 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** | **Long** | ID of the notification. | [optional]
+**notificationId** | **Integer** | ID of the notification. | [optional]
**notificationName** | **String** | The name of the notification. | [optional]
-**webhookId** | **Long** | ID of the webhook. | [optional]
+**webhookId** | **Integer** | 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** | **Long** | Identifier of the Application. | [optional]
-**loyaltyProgramId** | **Long** | Identifier of the loyalty program. | [optional]
-**campaignId** | **Long** | Identifier of the campaign. | [optional]
+**applicationId** | **Integer** | Identifier of the Application. | [optional]
+**loyaltyProgramId** | **Integer** | Identifier of the loyalty program. | [optional]
+**campaignId** | **Integer** | Identifier of the campaign. | [optional]
diff --git a/docs/MessageLogResponse.md b/docs/MessageLogResponse.md
index 3f957a45..7f9e54db 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** | **Long** | HTTP status code of the response. | [optional]
+**status** | **Integer** | HTTP status code of the response. | [optional]
diff --git a/docs/MessageTest.md b/docs/MessageTest.md
index f72114b7..1c0a7668 100644
--- a/docs/MessageTest.md
+++ b/docs/MessageTest.md
@@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**httpResponse** | **String** | The returned http response. |
-**httpStatus** | **Long** | The returned http status code. |
+**httpStatus** | **Integer** | The returned http status code. |
diff --git a/docs/ModelImport.md b/docs/ModelImport.md
index 058e54cb..72e88028 100644
--- a/docs/ModelImport.md
+++ b/docs/ModelImport.md
@@ -6,12 +6,12 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
-**accountId** | **Long** | The ID of the account that owns this entity. |
-**userId** | **Long** | The ID of the user associated with this entity. |
+**accountId** | **Integer** | The ID of the account that owns this entity. |
+**userId** | **Integer** | The ID of the user associated with this entity. |
**entity** | **String** | The name of the entity that was imported. |
-**amount** | **Long** | The number of values that were imported. |
+**amount** | **Integer** | The number of values that were imported. |
diff --git a/docs/ModelReturn.md b/docs/ModelReturn.md
index 859360cb..a58d6fd2 100644
--- a/docs/ModelReturn.md
+++ b/docs/ModelReturn.md
@@ -6,17 +6,17 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
-**applicationId** | **Long** | The ID of the Application that owns this entity. |
-**accountId** | **Long** | The ID of the account 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. |
**returnedCartItems** | [**List<ReturnedCartItem>**](ReturnedCartItem.md) | List of cart items to be returned. |
-**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. |
+**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. |
**sessionIntegrationId** | **String** | The integration ID of the session this return was requested on. |
-**profileId** | **Long** | The internal ID of the profile this return was requested on. | [optional]
+**profileId** | **Integer** | 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** | **Long** | ID of the user who requested this return. | [optional]
+**createdBy** | **Integer** | ID of the user who requested this return. | [optional]
diff --git a/docs/MultiApplicationEntity.md b/docs/MultiApplicationEntity.md
index a6d5ddfc..9f8d6787 100644
--- a/docs/MultiApplicationEntity.md
+++ b/docs/MultiApplicationEntity.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**applicationIds** | **List<Long>** | The IDs of the Applications that are related to this entity. |
+**applicationIds** | **List<Integer>** | The IDs of the Applications that are related to this entity. |
diff --git a/docs/MultipleAudiences.md b/docs/MultipleAudiences.md
index f315b1f1..31c457e3 100644
--- a/docs/MultipleAudiences.md
+++ b/docs/MultipleAudiences.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**accountId** | **Long** | The ID of the account that owns this entity. |
+**accountId** | **Integer** | 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 49078163..9a6c2726 100644
--- a/docs/MultipleAudiencesItem.md
+++ b/docs/MultipleAudiencesItem.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The 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 c96a47d6..c0d41330 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<Long>** | A list of the IDs of the applications that are subscribed to this additional cost. | [optional]
+**subscribedApplicationsIds** | **List<Integer>** | 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 2783f6c6..8e23c0b0 100644
--- a/docs/NewAppWideCouponDeletionJob.md
+++ b/docs/NewAppWideCouponDeletionJob.md
@@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**filters** | [**CouponDeletionFilters**](CouponDeletionFilters.md) | |
-**campaignids** | **List<Long>** | |
+**campaignids** | **List<Integer>** | |
diff --git a/docs/NewApplicationAPIKey.md b/docs/NewApplicationAPIKey.md
index 4f435724..969ed30a 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** | **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. |
+**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. |
**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 75e2d88e..c24c9766 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** | **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]
+**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]
**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 caa782cf..d3a4fb2c 100644
--- a/docs/NewApplicationCIFExpression.md
+++ b/docs/NewApplicationCIFExpression.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**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]
+**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]
**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 6273b232..62dfb616 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<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]
+**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]
**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 b165eaee..5b727c5d 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** | **Long** | [ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this campaign applies on customer session evaluation. | [optional]
+**activeRulesetId** | **Integer** | [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<Long>** | The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/managing-campaign-groups) this campaign belongs to. | [optional]
+**campaignGroups** | **List<Integer>** | 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<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]
+**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]
diff --git a/docs/NewCampaignEvaluationGroup.md b/docs/NewCampaignEvaluationGroup.md
index 0fba1544..7de3f7c1 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** | **Long** | The ID of the parent group that contains the campaign evaluation group. |
+**parentId** | **Integer** | 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 0cb6c2c3..73199ce1 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<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]
+**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]
diff --git a/docs/NewCampaignSet.md b/docs/NewCampaignSet.md
index d28be787..9da24d74 100644
--- a/docs/NewCampaignSet.md
+++ b/docs/NewCampaignSet.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**applicationId** | **Long** | The ID of the Application that owns this entity. |
-**version** | **Long** | Version of the campaign set. |
+**applicationId** | **Integer** | The ID of the Application that owns this entity. |
+**version** | **Integer** | Version of the campaign set. |
**set** | [**CampaignSetBranchNode**](CampaignSetBranchNode.md) | |
diff --git a/docs/NewCampaignStoreBudgetStoreLimit.md b/docs/NewCampaignStoreBudgetStoreLimit.md
index 738dce65..a0730b27 100644
--- a/docs/NewCampaignStoreBudgetStoreLimit.md
+++ b/docs/NewCampaignStoreBudgetStoreLimit.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**storeId** | **Long** | The ID of the store. You can get this ID with the [List stores](#tag/Stores/operation/listStores) endpoint. |
+**storeId** | **Integer** | 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 138feb50..6df18fae 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** | **Long** | The default campaign group ID. | [optional]
+**defaultCampaignGroupId** | **Integer** | 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 9b920d1a..7eca3499 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<Long>** | A list of the IDs of the applications that are subscribed to this catalog. | [optional]
+**subscribedApplicationsIds** | **List<Integer>** | 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 1d74dec4..5b503b99 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<Long>** | A list of the IDs of the Applications where this collection is enabled. | [optional]
+**subscribedApplicationsIds** | **List<Integer>** | 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 aca9ab0d..b9802385 100644
--- a/docs/NewCouponCreationJob.md
+++ b/docs/NewCouponCreationJob.md
@@ -6,12 +6,12 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**usageLimit** | **Long** | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. |
+**usageLimit** | **Integer** | 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** | **Long** | The number of reservations that can be made with this coupon code. | [optional]
+**reservationLimit** | **Integer** | 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** | **Long** | The number of new coupon codes to generate for the campaign. |
+**numberOfCoupons** | **Integer** | 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 9178c9a1..d6a69d2d 100644
--- a/docs/NewCoupons.md
+++ b/docs/NewCoupons.md
@@ -6,13 +6,13 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**usageLimit** | **Long** | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. |
+**usageLimit** | **Integer** | 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** | **Long** | The number of reservations that can be made with this coupon code. | [optional]
+**reservationLimit** | **Integer** | 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** | **Long** | The number of new coupon codes to generate for the campaign. Must be at least 1. |
+**numberOfCoupons** | **Integer** | 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 f3bbb939..3434ce93 100644
--- a/docs/NewCouponsForMultipleRecipients.md
+++ b/docs/NewCouponsForMultipleRecipients.md
@@ -6,9 +6,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**usageLimit** | **Long** | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. |
+**usageLimit** | **Integer** | 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** | **Long** | The number of reservations that can be made with this coupon code. | [optional]
+**reservationLimit** | **Integer** | 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 ae9775af..649cb13d 100644
--- a/docs/NewCustomEffect.md
+++ b/docs/NewCustomEffect.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**applicationIds** | **List<Long>** | The IDs of the Applications that are related to this entity. |
+**applicationIds** | **List<Integer>** | 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 dacef5fe..6650355c 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<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]
+**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]
**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 e8a4a8cf..574d74b0 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<Long>** | A list of the IDs of the applications that this giveaways pool is enabled for. | [optional]
+**subscribedApplicationsIds** | **List<Integer>** | 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 4367c68d..9c8f4203 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<Long>** | A list of the IDs of the roles assigned to the user. | [optional]
+**roles** | **List<Integer>** | 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 8aa2e1e9..2f399616 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<Long>** | A list containing the IDs of all applications that are subscribed to this Loyalty Program. | [optional]
+**subscribedApplications** | **List<Integer>** | 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** | **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]
+**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]
**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 32b741bf..91c7b7ad 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<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. |
+**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. |
**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/NewMessageTest.md b/docs/NewMessageTest.md
index 8e7343c7..27920566 100644
--- a/docs/NewMessageTest.md
+++ b/docs/NewMessageTest.md
@@ -22,6 +22,8 @@ Name | Value
CAMPAIGN | "campaign"
LOYALTY_ADDED_DEDUCTED_POINTS | "loyalty_added_deducted_points"
CARD_ADDED_DEDUCTED_POINTS | "card_added_deducted_points"
+LOYALTY_ADDED_DEDUCTED_POINTS_BALANCES | "loyalty_added_deducted_points_balances"
+LOYALTY_CARD_ADDED_DEDUCTED_POINTS_BALANCES | "loyalty_card_added_deducted_points_balances"
COUPON | "coupon"
EXPIRING_COUPONS | "expiring_coupons"
EXPIRING_POINTS | "expiring_points"
diff --git a/docs/NewOutgoingIntegrationWebhook.md b/docs/NewOutgoingIntegrationWebhook.md
index 6ed702d4..ab5c3d85 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<Long>** | IDs of the Applications to which a webhook must be linked. |
+**applicationIds** | **List<Integer>** | IDs of the Applications to which a webhook must be linked. |
diff --git a/docs/NewPriceAdjustment.md b/docs/NewPriceAdjustment.md
new file mode 100644
index 00000000..6a58713d
--- /dev/null
+++ b/docs/NewPriceAdjustment.md
@@ -0,0 +1,17 @@
+
+
+# NewPriceAdjustment
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**priceType** | **String** | The price type (e.g. the price for members only) to apply to a given SKU. |
+**price** | [**BigDecimal**](BigDecimal.md) | The value of the price type applied to the SKU. When set to `null`, the defined price type no longer applies to the SKU. | [optional]
+**referenceId** | **String** | A unique reference identifier, e.g. a UUID. |
+**calculatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The time at which this price was calculated. If provided, this is used to determine the most recent price adjustment to choose if price adjustments overlap. Defaults to internal creation time if not provided. | [optional]
+**effectiveFrom** | [**OffsetDateTime**](OffsetDateTime.md) | The date and time from which the price adjustment is effective. | [optional]
+**effectiveUntil** | [**OffsetDateTime**](OffsetDateTime.md) | The date and time until which the price adjustment is effective. | [optional]
+
+
+
diff --git a/docs/NewPriceType.md b/docs/NewPriceType.md
new file mode 100644
index 00000000..d6fcf89e
--- /dev/null
+++ b/docs/NewPriceType.md
@@ -0,0 +1,15 @@
+
+
+# NewPriceType
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**name** | **String** | The API name of the price type. This is an immutable value. |
+**title** | **String** | The title of the price type. |
+**description** | **String** | The description of the price type. | [optional]
+**targetedAudiencesIds** | **List<Integer>** | A list of the IDs of the audiences that are targeted by this price type. | [optional]
+
+
+
diff --git a/docs/NewReferral.md b/docs/NewReferral.md
index 33c71f97..89539a34 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** | **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. |
+**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. |
**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 d44ed694..f81457bf 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** | **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. |
+**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. |
**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 cc7bc981..c1e8104d 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** | **Long** | The ID of the ruleset this campaign template will use. | [optional]
+**activeRulesetId** | **Integer** | 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 8f5a69b3..18efda13 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<Long>** | An array of user identifiers. |
+**members** | **List<Integer>** | An array of user identifiers. |
diff --git a/docs/NewRoleV2.md b/docs/NewRoleV2.md
index 8b602195..0b14d352 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<Long>** | A list of user IDs the role is assigned to. | [optional]
+**members** | **List<Integer>** | A list of user IDs the role is assigned to. | [optional]
diff --git a/docs/NewSamlConnection.md b/docs/NewSamlConnection.md
index 19b8e34c..fc26b121 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** | **Long** | The ID of the account that owns this entity. |
+**accountId** | **Integer** | 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 770b40bd..d7afc8ac 100644
--- a/docs/NewWebhook.md
+++ b/docs/NewWebhook.md
@@ -6,9 +6,10 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**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`. |
+**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`. |
**title** | **String** | Name or title for this webhook. |
**description** | **String** | A description of the webhook. | [optional]
+**draft** | **Boolean** | Indicates if the webhook is a draft. |
**verb** | [**VerbEnum**](#VerbEnum) | API method for this webhook. |
**url** | **String** | API URL (supports templating using parameters) for this webhook. |
**headers** | **List<String>** | List of API HTTP headers for this webhook. |
diff --git a/docs/Notification.md b/docs/Notification.md
index 531d20a2..c53c17f7 100644
--- a/docs/Notification.md
+++ b/docs/Notification.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | id of the notification. |
+**id** | **Integer** | 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 96056400..0e021bd9 100644
--- a/docs/NotificationListItem.md
+++ b/docs/NotificationListItem.md
@@ -6,9 +6,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**notificationId** | **Long** | The ID of the notification. |
+**notificationId** | **Integer** | The ID of the notification. |
**notificationName** | **String** | The name of the notification. |
-**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. |
+**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. |
**enabled** | **Boolean** | Indicates whether the notification is activated. |
diff --git a/docs/OneTimeCode.md b/docs/OneTimeCode.md
index 4fced140..b6ad8079 100644
--- a/docs/OneTimeCode.md
+++ b/docs/OneTimeCode.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**userId** | **Long** | The ID of the user. |
-**accountId** | **Long** | The ID of the account. |
+**userId** | **Integer** | The ID of the user. |
+**accountId** | **Integer** | 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 92e89621..1b93b0e3 100644
--- a/docs/OutgoingIntegrationConfiguration.md
+++ b/docs/OutgoingIntegrationConfiguration.md
@@ -6,9 +6,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**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. |
+**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. |
**policy** | [**Object**](.md) | The outgoing integration policy specific to each integration type. |
diff --git a/docs/OutgoingIntegrationTemplate.md b/docs/OutgoingIntegrationTemplate.md
index b598cec6..66982094 100644
--- a/docs/OutgoingIntegrationTemplate.md
+++ b/docs/OutgoingIntegrationTemplate.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Unique ID for this entity. |
-**integrationType** | **Long** | Unique ID of outgoing integration type. |
+**id** | **Integer** | Unique ID for this entity. |
+**integrationType** | **Integer** | 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 c63a957f..e938523d 100644
--- a/docs/OutgoingIntegrationTemplateWithConfigurationDetails.md
+++ b/docs/OutgoingIntegrationTemplateWithConfigurationDetails.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Unique ID for this entity. |
-**integrationType** | **Long** | Unique ID of outgoing integration type. |
+**id** | **Integer** | Unique ID for this entity. |
+**integrationType** | **Integer** | 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 32d1cb2a..65d59b52 100644
--- a/docs/OutgoingIntegrationType.md
+++ b/docs/OutgoingIntegrationType.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Unique ID for this entity. |
+**id** | **Integer** | 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 a0f97e41..a37a3c6c 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** | **Long** | The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. | [optional]
+**batchSize** | **Integer** | 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 bc923812..453525ff 100644
--- a/docs/Picklist.md
+++ b/docs/Picklist.md
@@ -6,13 +6,13 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The 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** | **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]
+**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]
**imported** | **Boolean** | Imported flag shows that a picklist is imported by a CSV file or not | [optional]
diff --git a/docs/PriceDetail.md b/docs/PriceDetail.md
new file mode 100644
index 00000000..8edbcac9
--- /dev/null
+++ b/docs/PriceDetail.md
@@ -0,0 +1,15 @@
+
+
+# PriceDetail
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**price** | **Float** | The value of this price type. | [optional]
+**adjustmentReferenceId** | [**UUID**](UUID.md) | The reference identifier of the selected price adjustment for this SKU. | [optional]
+**adjustmentEffectiveFrom** | [**OffsetDateTime**](OffsetDateTime.md) | The date and time from which the price adjustment is effective. | [optional]
+**adjustmentEffectiveUntil** | [**OffsetDateTime**](OffsetDateTime.md) | The date and time until which the price adjustment is effective. | [optional]
+
+
+
diff --git a/docs/PriceType.md b/docs/PriceType.md
new file mode 100644
index 00000000..9a478a9f
--- /dev/null
+++ b/docs/PriceType.md
@@ -0,0 +1,20 @@
+
+
+# PriceType
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **Integer** | The 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 price type. | [optional]
+**name** | **String** | The API name of the price type. This is an immutable value. |
+**title** | **String** | The title of the price type. |
+**description** | **String** | The description of the price type. | [optional]
+**modified** | [**OffsetDateTime**](OffsetDateTime.md) | The date and time when the price type was last modified. |
+**subscribedCatalogsIds** | **List<Integer>** | A list of the IDs of the catalogs that are subscribed to this price type. |
+**targetedAudiencesIds** | **List<Integer>** | A list of the IDs of the audiences that are targeted by this price type. |
+
+
+
diff --git a/docs/ProductSearchMatch.md b/docs/ProductSearchMatch.md
index 04e05906..38532320 100644
--- a/docs/ProductSearchMatch.md
+++ b/docs/ProductSearchMatch.md
@@ -6,9 +6,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**productId** | **Long** | The ID of the product. | [optional]
+**productId** | **Integer** | The ID of the product. | [optional]
**value** | **String** | The string matching the given value. Either a product name or SKU. |
-**productSkuId** | **Long** | The ID of the SKU linked to a product. If empty, this is an product. | [optional]
+**productSkuId** | **Integer** | 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 78594190..4ebeaa2c 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** | **Long** | The ID of the product. |
+**productId** | **Integer** | The ID of the product. |
**productName** | **String** | The name of the product. |
diff --git a/docs/ProfileAudiencesChanges.md b/docs/ProfileAudiencesChanges.md
index afbd48aa..f57da462 100644
--- a/docs/ProfileAudiencesChanges.md
+++ b/docs/ProfileAudiencesChanges.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**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. |
+**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. |
diff --git a/docs/RedeemReferralEffectProps.md b/docs/RedeemReferralEffectProps.md
index 150d11b9..1bf20890 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** | **Long** | The id of the referral code that was redeemed. |
+**id** | **Integer** | 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 1c94d1f6..a2c95074 100644
--- a/docs/Referral.md
+++ b/docs/Referral.md
@@ -6,18 +6,18 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The 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** | **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. |
+**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. |
**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** | **Long** | The ID of the Import which created this referral. | [optional]
+**importId** | **Integer** | The ID of the Import which created this referral. | [optional]
**code** | **String** | The referral code. |
-**usageCounter** | **Long** | The number of times this referral code has been successfully used. |
+**usageCounter** | **Integer** | 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 6922a5ab..cf6624f1 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** | **Long** | The number of times a referral code can be used. `0` means no limit but any campaign usage limits will still apply. | [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]
diff --git a/docs/ReferralRejectionReason.md b/docs/ReferralRejectionReason.md
index 0d938403..26e8584f 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** | **Long** | |
-**referralId** | **Long** | |
+**campaignId** | **Integer** | |
+**referralId** | **Integer** | |
**reason** | [**ReasonEnum**](#ReasonEnum) | |
diff --git a/docs/RejectCouponEffectProps.md b/docs/RejectCouponEffectProps.md
index 21e16c7b..7dad99ea 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** | **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]
+**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]
**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 ec3e5eff..c44ee07a 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** | **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]
+**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]
**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 5c4b229e..64112908 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** | **Long** | The internal ID of the audience. | [optional]
+**audienceId** | **Integer** | 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** | **Long** | The internal ID of the customer profile. | [optional]
+**profileId** | **Integer** | The internal ID of the customer profile. | [optional]
diff --git a/docs/ReturnedCartItem.md b/docs/ReturnedCartItem.md
index 095d36f3..89e52370 100644
--- a/docs/ReturnedCartItem.md
+++ b/docs/ReturnedCartItem.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**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]
+**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]
diff --git a/docs/Revision.md b/docs/Revision.md
index 861b4ad2..c0c9b496 100644
--- a/docs/Revision.md
+++ b/docs/Revision.md
@@ -6,15 +6,15 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**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. |
+**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. |
**activateAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
-**accountId** | **Long** | |
-**applicationId** | **Long** | |
-**campaignId** | **Long** | |
+**accountId** | **Integer** | |
+**applicationId** | **Integer** | |
+**campaignId** | **Integer** | |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | |
-**createdBy** | **Long** | |
+**createdBy** | **Integer** | |
**activatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
-**activatedBy** | **Long** | | [optional]
+**activatedBy** | **Integer** | | [optional]
**currentVersion** | [**RevisionVersion**](RevisionVersion.md) | | [optional]
diff --git a/docs/RevisionActivationRequest.md b/docs/RevisionActivationRequest.md
index 6ba3ae5a..1b518dc0 100644
--- a/docs/RevisionActivationRequest.md
+++ b/docs/RevisionActivationRequest.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**userIds** | **List<Long>** | The list of IDs of the users who will receive the activation request. |
+**userIds** | **List<Integer>** | 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 123c6168..d4f0d085 100644
--- a/docs/RevisionVersion.md
+++ b/docs/RevisionVersion.md
@@ -6,20 +6,20 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**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** | |
+**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** | |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | |
-**createdBy** | **Long** | |
-**revisionId** | **Long** | |
-**version** | **Long** | |
+**createdBy** | **Integer** | |
+**revisionId** | **Integer** | |
+**version** | **Integer** | |
**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** | **Long** | The ID of the ruleset this campaign template will use. | [optional]
+**activeRulesetId** | **Integer** | 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 de52c50f..68b70227 100644
--- a/docs/Role.md
+++ b/docs/Role.md
@@ -6,14 +6,14 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The 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** | **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]
+**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]
**name** | **String** | Name of the role. |
**description** | **String** | Description of the role. | [optional]
-**members** | **List<Long>** | A list of user identifiers assigned to this role. | [optional]
+**members** | **List<Integer>** | 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 3f5e5588..a91a102a 100644
--- a/docs/RoleAssign.md
+++ b/docs/RoleAssign.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**users** | **List<Long>** | An array of user IDs. |
-**roles** | **List<Long>** | An array of role IDs. |
+**users** | **List<Integer>** | An array of user IDs. |
+**roles** | **List<Integer>** | An array of role IDs. |
diff --git a/docs/RoleMembership.md b/docs/RoleMembership.md
index 044b456f..d64d274f 100644
--- a/docs/RoleMembership.md
+++ b/docs/RoleMembership.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**roleID** | **Long** | ID of role. |
-**userID** | **Long** | ID of User. |
+**roleID** | **Integer** | ID of role. |
+**userID** | **Integer** | ID of User. |
diff --git a/docs/RoleV2.md b/docs/RoleV2.md
index 2829c25d..b6c60ebc 100644
--- a/docs/RoleV2.md
+++ b/docs/RoleV2.md
@@ -6,14 +6,14 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The 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** | **Long** | The ID of the account that owns this entity. |
+**accountId** | **Integer** | 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<Long>** | A list of user IDs the role is assigned to. | [optional]
+**members** | **List<Integer>** | A list of user IDs the role is assigned to. | [optional]
diff --git a/docs/RoleV2Base.md b/docs/RoleV2Base.md
index 0197a861..2557f618 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<Long>** | A list of user IDs the role is assigned to. | [optional]
+**members** | **List<Integer>** | A list of user IDs the role is assigned to. | [optional]
diff --git a/docs/RollbackAddedLoyaltyPointsEffectProps.md b/docs/RollbackAddedLoyaltyPointsEffectProps.md
index ecc7667b..3054d608 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** | **Long** | The ID of the loyalty program where the points were originally added. |
+**programId** | **Integer** | 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 6f63f376..c4b03f74 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** | **Long** | The ID of the loyalty program where these points were reimbursed. |
+**programId** | **Integer** | 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 604c0457..41388635 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** | **Long** | The ID of the additional cost that was rolled back. | [optional]
+**additionalCostId** | **Integer** | 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 6d95ddf9..80e6519b 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** | **Long** | The internal ID of the achievement. |
+**achievementId** | **Integer** | The internal ID of the achievement. |
**achievementName** | **String** | The name of the achievement. |
-**progressTrackerId** | **Long** | The internal ID of the achievement progress tracker. |
+**progressTrackerId** | **Integer** | 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 04830bd8..8d65a4d7 100644
--- a/docs/RuleFailureReason.md
+++ b/docs/RuleFailureReason.md
@@ -7,19 +7,19 @@ Details about why a rule failed.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**campaignID** | **Long** | The ID of the campaign that contains the rule that failed. |
+**campaignID** | **Integer** | 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** | **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]
+**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]
**couponValue** | **String** | The code of the coupon 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]
+**referralID** | **Integer** | 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** | **Long** | The index of the rule that failed within the ruleset. |
+**ruleIndex** | **Integer** | The index of the rule that failed within the ruleset. |
**ruleName** | **String** | The name of the rule that failed within the ruleset. |
-**conditionIndex** | **Long** | The index of the condition that failed. | [optional]
-**effectIndex** | **Long** | The index of the effect that failed. | [optional]
+**conditionIndex** | **Integer** | The index of the condition that failed. | [optional]
+**effectIndex** | **Integer** | The index of the effect that failed. | [optional]
**details** | **String** | More details about the failure. | [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]
+**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]
**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 63ecf3cc..f1410343 100644
--- a/docs/Ruleset.md
+++ b/docs/Ruleset.md
@@ -6,16 +6,16 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
-**userId** | **Long** | The ID of the user associated with this entity. |
+**userId** | **Integer** | 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** | **Long** | The ID of the campaign that owns this entity. | [optional]
-**templateId** | **Long** | The ID of the campaign template that owns this entity. | [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]
**activatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp indicating when this Ruleset was activated. | [optional]
diff --git a/docs/SamlConnection.md b/docs/SamlConnection.md
index 971a6f74..72fcd0ea 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** | **Long** | The ID of the account that owns this entity. |
+**accountId** | **Integer** | 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** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The 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 d8f16a20..11e32a8b 100644
--- a/docs/SamlLoginEndpoint.md
+++ b/docs/SamlLoginEndpoint.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | ID of the SAML login endpoint. |
+**id** | **Integer** | ID of the SAML login endpoint. |
**name** | **String** | ID of the SAML service. |
**loginURL** | **String** | The single sign-on URL. |
diff --git a/docs/ScimBaseGroup.md b/docs/ScimBaseGroup.md
new file mode 100644
index 00000000..e2c9b4aa
--- /dev/null
+++ b/docs/ScimBaseGroup.md
@@ -0,0 +1,14 @@
+
+
+# ScimBaseGroup
+
+Define the schema for base fields in a group using the SCIM provisioning protocol. Talon.One uses this schema to create roles.
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**displayName** | **String** | Display name of the group (Talon.One role). | [optional]
+**members** | [**List<ScimGroupMember>**](ScimGroupMember.md) | List of members to assign to the new Talon.One role. | [optional]
+
+
+
diff --git a/docs/ScimGroup.md b/docs/ScimGroup.md
new file mode 100644
index 00000000..210b37f0
--- /dev/null
+++ b/docs/ScimGroup.md
@@ -0,0 +1,15 @@
+
+
+# ScimGroup
+
+Define the schema for groups created using the SCIM provisioning protocol. In Talon.One, a `Group` corresponds to a [role](https://docs.talon.one/docs/product/account/account-settings/managing-roles), and `members` are the [users](https://docs.talon.one/docs/product/account/account-settings/managing-users) assigned to that role.
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**displayName** | **String** | Display name of the group (Talon.One role). | [optional]
+**members** | [**List<ScimGroupMember>**](ScimGroupMember.md) | List of members to assign to the new Talon.One role. | [optional]
+**id** | **String** | ID of the group. |
+
+
+
diff --git a/docs/ScimGroupMember.md b/docs/ScimGroupMember.md
new file mode 100644
index 00000000..45ca5bba
--- /dev/null
+++ b/docs/ScimGroupMember.md
@@ -0,0 +1,14 @@
+
+
+# ScimGroupMember
+
+Member of the SCIM group. In Talon.One, the member is a [user](https://docs.talon.one/docs/product/account/account-settings/managing-users) assigned to a specific role.
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**value** | **String** | Unique identifier of the member. | [optional]
+**display** | **String** | Identifier of the user. This is usually an email address. | [optional]
+
+
+
diff --git a/docs/ScimGroupsListResponse.md b/docs/ScimGroupsListResponse.md
new file mode 100644
index 00000000..0b07306c
--- /dev/null
+++ b/docs/ScimGroupsListResponse.md
@@ -0,0 +1,15 @@
+
+
+# ScimGroupsListResponse
+
+List of groups created using the SCIM provisioning protocol with an identity provider, for example, Microsoft Entra ID. In Talon.One, a `Group` corresponds to a [role](https://docs.talon.one/docs/product/account/account-settings/managing-roles), and `members` are the [users](https://docs.talon.one/docs/product/account/account-settings/managing-users) assigned to that role.
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**resources** | [**List<ScimGroup>**](ScimGroup.md) | |
+**schemas** | **List<String>** | SCIM schema for the given resource. | [optional]
+**totalResults** | **Integer** | Number of results in the response. | [optional]
+
+
+
diff --git a/docs/ScimSchemasListResponse.md b/docs/ScimSchemasListResponse.md
index 57d88d2e..bec0115f 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** | **Long** | Number of total results in the response. | [optional]
+**totalResults** | **Integer** | Number of total results in the response. | [optional]
diff --git a/docs/ScimServiceProviderConfigResponseBulk.md b/docs/ScimServiceProviderConfigResponseBulk.md
index 3d5767a1..d5ac9118 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** | **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]
+**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]
**supported** | **Boolean** | Indicates whether the SCIM service provider supports bulk operations. | [optional]
diff --git a/docs/ScimServiceProviderConfigResponseFilter.md b/docs/ScimServiceProviderConfigResponseFilter.md
index c3a9d2a5..a9276b0f 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** | **Long** | The maximum number of resources that can be returned in a single filtered query response. | [optional]
+**maxResults** | **Integer** | 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 91c2f7ac..4c93df21 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** | **Long** | Number of total results in the response. | [optional]
+**totalResults** | **Integer** | Number of total results in the response. | [optional]
diff --git a/docs/Session.md b/docs/Session.md
index 3d2cf8d3..98524ded 100644
--- a/docs/Session.md
+++ b/docs/Session.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**userId** | **Long** | The ID of the user of this session. |
+**userId** | **Integer** | 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 d94246cf..2e7fd55f 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** | **Long** | The ID of the additional cost. |
+**additionalCostId** | **Integer** | 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 c67eb5dd..589a67fe 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** | **Long** | The ID of the additional cost. |
+**additionalCostId** | **Integer** | 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 df1fb4fa..18fffe2e 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** | **Long** | The position of the bundle in a list of item bundles created from the same bundle definition. | [optional]
+**bundleIndex** | **Integer** | 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 487fa591..dde14b62 100644
--- a/docs/Store.md
+++ b/docs/Store.md
@@ -6,15 +6,15 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The 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** | **Long** | The ID of the Application that owns this entity. |
+**applicationId** | **Integer** | The ID of the Application that owns this entity. |
**updated** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp of the most recent update on this entity. |
-**linkedCampaignIds** | **List<Long>** | A list of IDs of the campaigns that are linked with current store. | [optional]
+**linkedCampaignIds** | **List<Integer>** | 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 0bc2c67c..0985a414 100644
--- a/docs/StrikethroughChangedItem.md
+++ b/docs/StrikethroughChangedItem.md
@@ -7,10 +7,10 @@ The information of affected items.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**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. |
+**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. |
**sku** | **String** | The unique SKU of the changed item. |
-**version** | **Long** | The version of the changed item. |
+**version** | **Integer** | 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 cbf914a3..c2d97790 100644
--- a/docs/StrikethroughCustomEffectPerItemProps.md
+++ b/docs/StrikethroughCustomEffectPerItemProps.md
@@ -7,7 +7,7 @@ customEffectPerItem effect in strikethrough pricing payload.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**effectId** | **Long** | ID of the effect. |
+**effectId** | **Integer** | 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 b58f785a..c2a229b0 100644
--- a/docs/StrikethroughDebugResponse.md
+++ b/docs/StrikethroughDebugResponse.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**campaignsIDs** | **List<Long>** | The campaign IDs that got fetched for the evaluation process. | [optional]
+**campaignsIDs** | **List<Integer>** | 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 8fb4b48c..1ce465f1 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** | **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. |
+**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. |
**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 9e0652b8..f5fd6948 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** | **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. |
+**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. |
**trigger** | [**StrikethroughTrigger**](StrikethroughTrigger.md) | |
**changedItems** | [**List<StrikethroughChangedItem>**](StrikethroughChangedItem.md) | |
diff --git a/docs/StrikethroughTrigger.md b/docs/StrikethroughTrigger.md
index a0f6efc3..7db0f9f5 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** | **Long** | The ID of the event that triggered the strikethrough labeling. |
+**id** | **Integer** | 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 847a89d8..4f973d76 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** | **Long** | |
+**storeCount** | **Integer** | |
**imported** | **Boolean** | |
diff --git a/docs/TalangAttribute.md b/docs/TalangAttribute.md
index 34fafdc6..f39315e0 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** | **Long** | The number of campaigns that refer to the attribute. |
+**campaignsCount** | **Integer** | 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 c6317b6e..523ffdbd 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** | **Long** | ID of the picklist linked to a template. | [optional]
+**picklistID** | **Integer** | 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 043d3c5e..6e48a8fb 100644
--- a/docs/TemplateDef.md
+++ b/docs/TemplateDef.md
@@ -6,9 +6,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
-**applicationId** | **Long** | The ID of the Application that owns this entity. |
+**applicationId** | **Integer** | 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 a83a8aa0..fc02f3fa 100644
--- a/docs/Tier.md
+++ b/docs/Tier.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | The internal ID of the tier. |
+**id** | **Integer** | 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 e4238122..b97811ba 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** | **Long** | The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. | [optional]
+**batchSize** | **Integer** | 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 3eddda1d..42c95fb8 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** | **Long** | The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. | [optional]
+**batchSize** | **Integer** | 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 e5a365d8..3a410eff 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** | **Long** | The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. | [optional]
+**batchSize** | **Integer** | 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 5bf51b74..308371d1 100644
--- a/docs/TierWillDowngradeNotificationTrigger.md
+++ b/docs/TierWillDowngradeNotificationTrigger.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**amount** | **Long** | The amount of period. |
+**amount** | **Integer** | 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 75704e43..3e69e308 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** | **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. |
+**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. |
diff --git a/docs/UpdateAchievement.md b/docs/UpdateAchievement.md
index 36a4a266..5be21467 100644
--- a/docs/UpdateAchievement.md
+++ b/docs/UpdateAchievement.md
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
**target** | [**BigDecimal**](BigDecimal.md) | The required number of actions or the transactional milestone to complete the achievement. | [optional]
**period** | **String** | The relative duration after which the achievement ends and resets for a particular customer profile. **Note**: The `period` does not start when the achievement is created. The period is a **positive real number** followed by one letter indicating the time unit. Examples: `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 also round certain units down to the beginning of period and up to the end of period.: - `_D` for rounding down days only. Signifies the start of the day. Example: `30D_D` - `_U` for rounding up days, weeks, months and years. Signifies the end of the day, week, month or year. Example: `23W_U` **Note**: You can either use the round down and round up option or set an absolute period. | [optional]
**periodEndOverride** | [**TimePoint**](TimePoint.md) | | [optional]
-**recurrencePolicy** | [**RecurrencePolicyEnum**](#RecurrencePolicyEnum) | 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. | [optional]
+**recurrencePolicy** | [**RecurrencePolicyEnum**](#RecurrencePolicyEnum) | 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. - `on_completion`: When the customer progress status reaches `completed`, the achievement resets and becomes available again. | [optional]
**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]
@@ -25,6 +25,7 @@ Name | Value
---- | -----
NO_RECURRENCE | "no_recurrence"
ON_EXPIRATION | "on_expiration"
+ON_COMPLETION | "on_completion"
diff --git a/docs/UpdateApplication.md b/docs/UpdateApplication.md
index 41a96bdc..3cd2b2e4 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** | **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]
+**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]
**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 67fe23cc..b98defda 100644
--- a/docs/UpdateApplicationAPIKey.md
+++ b/docs/UpdateApplicationAPIKey.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**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. |
+**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. |
diff --git a/docs/UpdateApplicationCIF.md b/docs/UpdateApplicationCIF.md
index 4df9090f..4f91411e 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** | **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]
+**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]
**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 5a9a231c..c3c6a42f 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** | **Long** | [ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this campaign applies on customer session evaluation. | [optional]
+**activeRulesetId** | **Integer** | [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<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]
+**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]
**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<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]
+**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]
diff --git a/docs/UpdateCampaignEvaluationGroup.md b/docs/UpdateCampaignEvaluationGroup.md
index 3ede3a67..0408d666 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** | **Long** | The ID of the parent group that contains the campaign evaluation group. |
+**parentId** | **Integer** | 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 86972ccd..f1d2b0ad 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<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]
+**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]
diff --git a/docs/UpdateCampaignTemplate.md b/docs/UpdateCampaignTemplate.md
index 2036e4a4..08dcd55f 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** | **Long** | The ID of the ruleset this campaign template will use. | [optional]
+**activeRulesetId** | **Integer** | 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<Long>** | A list of IDs of the Applications that are subscribed to this campaign template. |
+**applicationsIds** | **List<Integer>** | 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** | **Long** | The default campaign group ID. | [optional]
+**defaultCampaignGroupId** | **Integer** | 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 4fb2f30a..265dd822 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<Long>** | A list of the IDs of the applications that are subscribed to this catalog. | [optional]
+**subscribedApplicationsIds** | **List<Integer>** | 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 ccbc9465..635623ad 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<Long>** | A list of the IDs of the Applications where this collection is enabled. | [optional]
+**subscribedApplicationsIds** | **List<Integer>** | 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 5ac442da..301154ae 100644
--- a/docs/UpdateCoupon.md
+++ b/docs/UpdateCoupon.md
@@ -6,9 +6,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**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]
+**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]
**discountLimit** | [**BigDecimal**](BigDecimal.md) | The total discount value that the code can give. Typically used to represent a gift card value. | [optional]
-**reservationLimit** | **Long** | The number of reservations that can be made with this coupon code. | [optional]
+**reservationLimit** | **Integer** | 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 5aa99a21..5a8078ae 100644
--- a/docs/UpdateCouponBatch.md
+++ b/docs/UpdateCouponBatch.md
@@ -6,9 +6,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**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]
+**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]
**discountLimit** | [**BigDecimal**](BigDecimal.md) | The total discount value that the code can give. Typically used to represent a gift card value. | [optional]
-**reservationLimit** | **Long** | The number of reservations that can be made with this coupon code. | [optional]
+**reservationLimit** | **Integer** | 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 9ac2c035..19475bf5 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<Long>** | A list containing the IDs of all applications that are subscribed to this Loyalty Program. | [optional]
+**subscribedApplications** | **List<Integer>** | 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** | **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]
+**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]
**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 6aa6c538..2e1bb290 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** | **Long** | The internal ID of the tier. |
+**id** | **Integer** | 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 53383707..8a2a5e89 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** | **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]
+**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]
**attributes** | [**Object**](.md) | Arbitrary properties associated with this item. | [optional]
diff --git a/docs/UpdateReferralBatch.md b/docs/UpdateReferralBatch.md
index b256e8f3..78a97d38 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** | **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]
+**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]
diff --git a/docs/UpdateRole.md b/docs/UpdateRole.md
index 0aa604c5..59852518 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<Long>** | An array of user identifiers. | [optional]
+**members** | **List<Integer>** | An array of user identifiers. | [optional]
diff --git a/docs/UpdateUser.md b/docs/UpdateUser.md
index 1b08a258..62735909 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<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]
+**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]
**applicationNotificationSubscriptions** | [**Object**](.md) | Application notifications that the user is subscribed to. | [optional]
diff --git a/docs/User.md b/docs/User.md
index fec8aac6..06529072 100644
--- a/docs/User.md
+++ b/docs/User.md
@@ -6,17 +6,17 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The 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** | **Long** | The ID of the account that owns this entity. |
+**accountId** | **Integer** | 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<Long>** | A list of the IDs of the roles assigned to the user. | [optional]
+**roles** | **List<Integer>** | 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 ed951e56..279e4bb1 100644
--- a/docs/UserEntity.md
+++ b/docs/UserEntity.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**userId** | **Long** | The ID of the user associated with this entity. |
+**userId** | **Integer** | The ID of the user associated with this entity. |
diff --git a/docs/ValueMap.md b/docs/ValueMap.md
index 84df5442..c0befac4 100644
--- a/docs/ValueMap.md
+++ b/docs/ValueMap.md
@@ -6,10 +6,10 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**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. |
+**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. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
-**createdBy** | **Long** | The ID of the user who created the value map. | [optional]
-**campaignId** | **Long** | |
+**createdBy** | **Integer** | The ID of the user who created the value map. | [optional]
+**campaignId** | **Integer** | |
diff --git a/docs/Webhook.md b/docs/Webhook.md
index 71010d5c..5e226201 100644
--- a/docs/Webhook.md
+++ b/docs/Webhook.md
@@ -6,12 +6,13 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The 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<Long>** | The IDs of the Applications in which this webhook is available. An empty array means the webhook is available in `All Applications`. |
+**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`. |
**title** | **String** | Name or title for this webhook. |
**description** | **String** | A description of the webhook. | [optional]
+**draft** | **Boolean** | Indicates if the webhook is a draft. |
**verb** | [**VerbEnum**](#VerbEnum) | API method for this webhook. |
**url** | **String** | API URL (supports templating using parameters) for this webhook. |
**headers** | **List<String>** | List of API HTTP headers for this webhook. |
diff --git a/docs/WebhookActivationLogEntry.md b/docs/WebhookActivationLogEntry.md
index 6d662252..eba02e14 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** | **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. |
+**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. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp of request |
diff --git a/docs/WebhookAuthentication.md b/docs/WebhookAuthentication.md
new file mode 100644
index 00000000..3cee30b8
--- /dev/null
+++ b/docs/WebhookAuthentication.md
@@ -0,0 +1,29 @@
+
+
+# WebhookAuthentication
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**createdBy** | **String** | The name of the user who created the webhook authentication. |
+**modifiedBy** | **String** | The name of the user who last modified the webhook authentication. |
+**webhooks** | [**List<WebhookAuthenticationWebhookRef>**](WebhookAuthenticationWebhookRef.md) | |
+**name** | **String** | The name of the webhook authentication. |
+**type** | [**TypeEnum**](#TypeEnum) | |
+**data** | [**Object**](.md) | |
+**id** | **Integer** | The 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. |
+
+
+
+## Enum: TypeEnum
+
+Name | Value
+---- | -----
+BASIC | "basic"
+CUSTOM | "custom"
+
+
+
diff --git a/docs/WebhookAuthenticationBase.md b/docs/WebhookAuthenticationBase.md
new file mode 100644
index 00000000..9790aff1
--- /dev/null
+++ b/docs/WebhookAuthenticationBase.md
@@ -0,0 +1,23 @@
+
+
+# WebhookAuthenticationBase
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**name** | **String** | The name of the webhook authentication. |
+**type** | [**TypeEnum**](#TypeEnum) | |
+**data** | [**Object**](.md) | |
+
+
+
+## Enum: TypeEnum
+
+Name | Value
+---- | -----
+BASIC | "basic"
+CUSTOM | "custom"
+
+
+
diff --git a/docs/WebhookAuthenticationDataBasic.md b/docs/WebhookAuthenticationDataBasic.md
new file mode 100644
index 00000000..ecf27e2c
--- /dev/null
+++ b/docs/WebhookAuthenticationDataBasic.md
@@ -0,0 +1,13 @@
+
+
+# WebhookAuthenticationDataBasic
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**username** | **String** | The Basic HTTP username. |
+**password** | **String** | The Basic HTTP password. |
+
+
+
diff --git a/docs/WebhookAuthenticationDataCustom.md b/docs/WebhookAuthenticationDataCustom.md
new file mode 100644
index 00000000..4df0c370
--- /dev/null
+++ b/docs/WebhookAuthenticationDataCustom.md
@@ -0,0 +1,12 @@
+
+
+# WebhookAuthenticationDataCustom
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**headers** | **Map<String, String>** | |
+
+
+
diff --git a/docs/WebhookAuthenticationWebhookRef.md b/docs/WebhookAuthenticationWebhookRef.md
new file mode 100644
index 00000000..148e70fc
--- /dev/null
+++ b/docs/WebhookAuthenticationWebhookRef.md
@@ -0,0 +1,14 @@
+
+
+# WebhookAuthenticationWebhookRef
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **Integer** | The internal ID of this entity. |
+**title** | **String** | The title of the webhook authentication. |
+**description** | **String** | A description of the webhook authentication. | [optional]
+
+
+
diff --git a/docs/WebhookLogEntry.md b/docs/WebhookLogEntry.md
index c192f194..bac9be49 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** | **Long** | ID of the webhook that triggered the request. |
-**applicationId** | **Long** | ID of the application that triggered the webhook. | [optional]
+**webhookId** | **Integer** | ID of the webhook that triggered the request. |
+**applicationId** | **Integer** | 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** | **Long** | HTTP status code of response. | [optional]
+**status** | **Integer** | 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 079324a7..867240a1 100644
--- a/docs/WebhookWithOutgoingIntegrationDetails.md
+++ b/docs/WebhookWithOutgoingIntegrationDetails.md
@@ -6,20 +6,21 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Long** | Internal ID of this entity. |
+**id** | **Integer** | The 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<Long>** | The IDs of the Applications in which this webhook is available. An empty array means the webhook is available in `All Applications`. |
+**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`. |
**title** | **String** | Name or title for this webhook. |
**description** | **String** | A description of the webhook. | [optional]
+**draft** | **Boolean** | Indicates if the webhook is a draft. |
**verb** | [**VerbEnum**](#VerbEnum) | API method for this webhook. |
**url** | **String** | API URL (supports templating using parameters) for this webhook. |
**headers** | **List<String>** | List of API HTTP headers for this webhook. |
**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** | **Long** | Identifier of the outgoing integration template. | [optional]
-**outgoingIntegrationTypeId** | **Long** | Identifier of the outgoing integration type. | [optional]
+**outgoingIntegrationTemplateId** | **Integer** | Identifier of the outgoing integration template. | [optional]
+**outgoingIntegrationTypeId** | **Integer** | 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 fc643303..64d4bd99 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** | **Long** | The ID of the giveaways pool the code will be taken from. |
+**poolId** | **Integer** | 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 48d73594..0c71a279 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
talon-one-client
jar
talon-one-client
- 12.0.0
+ 0.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 5f39512b..255e0d49 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/12.0.0/java");
+ setUserAgent("OpenAPI-Generator/0.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 cf736c4e..7177b1c3 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(Long audienceId, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call deleteAudienceMembershipsV2Call(Integer audienceId, final ApiCallback _callback) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@@ -639,7 +639,7 @@ public okhttp3.Call deleteAudienceMembershipsV2Call(Long audienceId, final ApiCa
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call deleteAudienceMembershipsV2ValidateBeforeCall(Long audienceId, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deleteAudienceMembershipsV2ValidateBeforeCall(Integer audienceId, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'audienceId' is set
if (audienceId == null) {
@@ -665,7 +665,7 @@ private okhttp3.Call deleteAudienceMembershipsV2ValidateBeforeCall(Long audience
| 404 | Not found | - |
*/
- public void deleteAudienceMembershipsV2(Long audienceId) throws ApiException {
+ public void deleteAudienceMembershipsV2(Integer audienceId) throws ApiException {
deleteAudienceMembershipsV2WithHttpInfo(audienceId);
}
@@ -683,7 +683,7 @@ public void deleteAudienceMembershipsV2(Long audienceId) throws ApiException {
| 404 | Not found | - |
*/
- public ApiResponse deleteAudienceMembershipsV2WithHttpInfo(Long audienceId) throws ApiException {
+ public ApiResponse deleteAudienceMembershipsV2WithHttpInfo(Integer audienceId) throws ApiException {
okhttp3.Call localVarCall = deleteAudienceMembershipsV2ValidateBeforeCall(audienceId, null);
return localVarApiClient.execute(localVarCall);
}
@@ -703,7 +703,7 @@ public ApiResponse deleteAudienceMembershipsV2WithHttpInfo(Long audienceId
| 404 | Not found | - |
*/
- public okhttp3.Call deleteAudienceMembershipsV2Async(Long audienceId, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call deleteAudienceMembershipsV2Async(Integer audienceId, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = deleteAudienceMembershipsV2ValidateBeforeCall(audienceId, _callback);
localVarApiClient.executeAsync(localVarCall, _callback);
@@ -724,7 +724,7 @@ public okhttp3.Call deleteAudienceMembershipsV2Async(Long audienceId, final ApiC
| 404 | Not found | - |
*/
- public okhttp3.Call deleteAudienceV2Call(Long audienceId, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call deleteAudienceV2Call(Integer audienceId, final ApiCallback _callback) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@@ -755,7 +755,7 @@ public okhttp3.Call deleteAudienceV2Call(Long audienceId, final ApiCallback _cal
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call deleteAudienceV2ValidateBeforeCall(Long audienceId, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deleteAudienceV2ValidateBeforeCall(Integer audienceId, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'audienceId' is set
if (audienceId == null) {
@@ -782,7 +782,7 @@ private okhttp3.Call deleteAudienceV2ValidateBeforeCall(Long audienceId, final A
| 404 | Not found | - |
*/
- public void deleteAudienceV2(Long audienceId) throws ApiException {
+ public void deleteAudienceV2(Integer audienceId) throws ApiException {
deleteAudienceV2WithHttpInfo(audienceId);
}
@@ -801,7 +801,7 @@ public void deleteAudienceV2(Long audienceId) throws ApiException {
| 404 | Not found | - |
*/
- public ApiResponse deleteAudienceV2WithHttpInfo(Long audienceId) throws ApiException {
+ public ApiResponse deleteAudienceV2WithHttpInfo(Integer audienceId) throws ApiException {
okhttp3.Call localVarCall = deleteAudienceV2ValidateBeforeCall(audienceId, null);
return localVarApiClient.execute(localVarCall);
}
@@ -822,7 +822,7 @@ public ApiResponse deleteAudienceV2WithHttpInfo(Long audienceId) throws Ap
| 404 | Not found | - |
*/
- public okhttp3.Call deleteAudienceV2Async(Long audienceId, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call deleteAudienceV2Async(Integer 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(Long loyaltyProgramId, GenerateLoyaltyCard body, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call generateLoyaltyCardCall(Integer loyaltyProgramId, GenerateLoyaltyCard body, final ApiCallback _callback) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
@@ -1117,7 +1117,7 @@ public okhttp3.Call generateLoyaltyCardCall(Long loyaltyProgramId, GenerateLoyal
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call generateLoyaltyCardValidateBeforeCall(Long loyaltyProgramId, GenerateLoyaltyCard body, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call generateLoyaltyCardValidateBeforeCall(Integer 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(Long loyaltyProgramId
| 401 | Unauthorized | - |
*/
- public LoyaltyCard generateLoyaltyCard(Long loyaltyProgramId, GenerateLoyaltyCard body) throws ApiException {
+ public LoyaltyCard generateLoyaltyCard(Integer loyaltyProgramId, GenerateLoyaltyCard body) throws ApiException {
ApiResponse localVarResp = generateLoyaltyCardWithHttpInfo(loyaltyProgramId, body);
return localVarResp.getData();
}
@@ -1170,7 +1170,7 @@ public LoyaltyCard generateLoyaltyCard(Long loyaltyProgramId, GenerateLoyaltyCar
| 401 | Unauthorized | - |
*/
- public ApiResponse generateLoyaltyCardWithHttpInfo(Long loyaltyProgramId, GenerateLoyaltyCard body) throws ApiException {
+ public ApiResponse generateLoyaltyCardWithHttpInfo(Integer 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(Long loyaltyProg
| 401 | Unauthorized | - |
*/
- public okhttp3.Call generateLoyaltyCardAsync(Long loyaltyProgramId, GenerateLoyaltyCard body, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call generateLoyaltyCardAsync(Integer 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(Long loyaltyProgramId, GenerateLoya
* @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 1000l)
+ * @param pageSize The number of items in the response. (optional, default to 1000)
* @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(Long loyaltyProgramId, GenerateLoya
| 404 | Not found | - |
*/
- public okhttp3.Call getCustomerAchievementHistoryCall(String integrationId, Long achievementId, List progressStatus, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call getCustomerAchievementHistoryCall(String integrationId, Integer achievementId, List progressStatus, OffsetDateTime startDate, OffsetDateTime endDate, Integer pageSize, Integer skip, final ApiCallback _callback) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@@ -1272,7 +1272,7 @@ public okhttp3.Call getCustomerAchievementHistoryCall(String integrationId, Long
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call getCustomerAchievementHistoryValidateBeforeCall(String integrationId, Long achievementId, List progressStatus, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getCustomerAchievementHistoryValidateBeforeCall(String integrationId, Integer achievementId, List progressStatus, OffsetDateTime startDate, OffsetDateTime endDate, Integer pageSize, Integer 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 1000l)
+ * @param pageSize The number of items in the response. (optional, default to 1000)
* @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, Long achievementId, List progressStatus, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip) throws ApiException {
+ public InlineResponse2002 getCustomerAchievementHistory(String integrationId, Integer achievementId, List progressStatus, OffsetDateTime startDate, OffsetDateTime endDate, Integer pageSize, Integer 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, Lo
* @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 1000l)
+ * @param pageSize The number of items in the response. (optional, default to 1000)
* @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, Lo
| 404 | Not found | - |
*/
- public ApiResponse getCustomerAchievementHistoryWithHttpInfo(String integrationId, Long achievementId, List progressStatus, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip) throws ApiException {
+ public ApiResponse getCustomerAchievementHistoryWithHttpInfo(String integrationId, Integer achievementId, List progressStatus, OffsetDateTime startDate, OffsetDateTime endDate, Integer pageSize, Integer 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 1000l)
+ * @param pageSize The number of items in the response. (optional, default to 1000)
* @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, Long achievementId, List progressStatus, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call getCustomerAchievementHistoryAsync(String integrationId, Integer achievementId, List progressStatus, OffsetDateTime startDate, OffsetDateTime endDate, Integer pageSize, Integer 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, Lon
* @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 1000l)
+ * @param pageSize The number of items in the response. (optional, default to 1000)
* @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, Lon
| 404 | Not found | - |
*/
- public okhttp3.Call getCustomerAchievementsCall(String integrationId, List campaignIds, List achievementIds, List achievementStatus, List currentProgressStatus, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call getCustomerAchievementsCall(String integrationId, List campaignIds, List achievementIds, List achievementStatus, List currentProgressStatus, Integer pageSize, Integer 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, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getCustomerAchievementsValidateBeforeCall(String integrationId, List campaignIds, List achievementIds, List achievementStatus, List currentProgressStatus, Integer pageSize, Integer 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 1000l)
+ * @param pageSize The number of items in the response. (optional, default to 1000)
* @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, Long pageSize, Long skip) throws ApiException {
+ public InlineResponse2001 getCustomerAchievements(String integrationId, List campaignIds, List achievementIds, List achievementStatus, List currentProgressStatus, Integer pageSize, Integer 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, Long pageSize, Long skip) throws ApiException {
+ public ApiResponse getCustomerAchievementsWithHttpInfo(String integrationId, List campaignIds, List achievementIds, List achievementStatus, List currentProgressStatus, Integer pageSize, Integer 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 1000l)
+ * @param pageSize The number of items in the response. (optional, default to 1000)
* @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, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call getCustomerAchievementsAsync(String integrationId, List campaignIds, List achievementIds, List achievementStatus, List currentProgressStatus, Integer pageSize, Integer 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(Long loyaltyProgramId, String integrationId, OffsetDateTime endDate, String subledgerId, Boolean includeTiers, Boolean includeProjectedTier, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call getLoyaltyBalancesCall(Integer 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(Long loyaltyProgramId, String integra
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call getLoyaltyBalancesValidateBeforeCall(Long loyaltyProgramId, String integrationId, OffsetDateTime endDate, String subledgerId, Boolean includeTiers, Boolean includeProjectedTier, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getLoyaltyBalancesValidateBeforeCall(Integer 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(Long loyaltyProgramId,
| 404 | Not found | - |
*/
- public LoyaltyBalancesWithTiers getLoyaltyBalances(Long loyaltyProgramId, String integrationId, OffsetDateTime endDate, String subledgerId, Boolean includeTiers, Boolean includeProjectedTier) throws ApiException {
+ public LoyaltyBalancesWithTiers getLoyaltyBalances(Integer 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(Long loyaltyProgramId, String
| 404 | Not found | - |
*/
- public ApiResponse getLoyaltyBalancesWithHttpInfo(Long loyaltyProgramId, String integrationId, OffsetDateTime endDate, String subledgerId, Boolean includeTiers, Boolean includeProjectedTier) throws ApiException {
+ public ApiResponse getLoyaltyBalancesWithHttpInfo(Integer 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(Long
| 404 | Not found | - |
*/
- public okhttp3.Call getLoyaltyBalancesAsync(Long loyaltyProgramId, String integrationId, OffsetDateTime endDate, String subledgerId, Boolean includeTiers, Boolean includeProjectedTier, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call getLoyaltyBalancesAsync(Integer 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(Long loyaltyProgramId, String integr
| 404 | Not found | - |
*/
- public okhttp3.Call getLoyaltyCardBalancesCall(Long loyaltyProgramId, String loyaltyCardId, OffsetDateTime endDate, List subledgerId, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call getLoyaltyCardBalancesCall(Integer 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(Long loyaltyProgramId, String loy
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call getLoyaltyCardBalancesValidateBeforeCall(Long loyaltyProgramId, String loyaltyCardId, OffsetDateTime endDate, List subledgerId, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getLoyaltyCardBalancesValidateBeforeCall(Integer 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(Long loyaltyProgra
| 404 | Not found | - |
*/
- public LoyaltyCardBalances getLoyaltyCardBalances(Long loyaltyProgramId, String loyaltyCardId, OffsetDateTime endDate, List subledgerId) throws ApiException {
+ public LoyaltyCardBalances getLoyaltyCardBalances(Integer 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(Long loyaltyProgramId, String
| 404 | Not found | - |
*/
- public ApiResponse getLoyaltyCardBalancesWithHttpInfo(Long loyaltyProgramId, String loyaltyCardId, OffsetDateTime endDate, List subledgerId) throws ApiException {
+ public ApiResponse getLoyaltyCardBalancesWithHttpInfo(Integer 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(Long
| 404 | Not found | - |
*/
- public okhttp3.Call getLoyaltyCardBalancesAsync(Long loyaltyProgramId, String loyaltyCardId, OffsetDateTime endDate, List subledgerId, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call getLoyaltyCardBalancesAsync(Integer 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(Long loyaltyProgramId, String lo
* @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 50l)
+ * @param pageSize The number of items in the response. (optional, default to 50)
* @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(Long loyaltyProgramId, String lo
| 404 | Not found | - |
*/
- public okhttp3.Call getLoyaltyCardPointsCall(Long loyaltyProgramId, String loyaltyCardId, String status, List subledgerId, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call getLoyaltyCardPointsCall(Integer loyaltyProgramId, String loyaltyCardId, String status, List subledgerId, Integer pageSize, Integer skip, final ApiCallback _callback) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@@ -2211,7 +2211,7 @@ public okhttp3.Call getLoyaltyCardPointsCall(Long loyaltyProgramId, String loyal
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call getLoyaltyCardPointsValidateBeforeCall(Long loyaltyProgramId, String loyaltyCardId, String status, List subledgerId, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getLoyaltyCardPointsValidateBeforeCall(Integer loyaltyProgramId, String loyaltyCardId, String status, List subledgerId, Integer pageSize, Integer skip, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'loyaltyProgramId' is set
if (loyaltyProgramId == null) {
@@ -2236,7 +2236,7 @@ private okhttp3.Call getLoyaltyCardPointsValidateBeforeCall(Long 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 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 50l)
+ * @param pageSize The number of items in the response. (optional, default to 50)
* @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(Long loyaltyProgramI
| 404 | Not found | - |
*/
- public InlineResponse2005 getLoyaltyCardPoints(Long loyaltyProgramId, String loyaltyCardId, String status, List subledgerId, Long pageSize, Long skip) throws ApiException {
+ public InlineResponse2005 getLoyaltyCardPoints(Integer loyaltyProgramId, String loyaltyCardId, String status, List subledgerId, Integer pageSize, Integer skip) throws ApiException {
ApiResponse localVarResp = getLoyaltyCardPointsWithHttpInfo(loyaltyProgramId, loyaltyCardId, status, subledgerId, pageSize, skip);
return localVarResp.getData();
}
@@ -2261,7 +2261,7 @@ public InlineResponse2005 getLoyaltyCardPoints(Long loyaltyProgramId, String 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 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 50l)
+ * @param pageSize The number of items in the response. (optional, default to 50)
* @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(Long loyaltyProgramId, String loy
| 404 | Not found | - |
*/
- public ApiResponse getLoyaltyCardPointsWithHttpInfo(Long loyaltyProgramId, String loyaltyCardId, String status, List subledgerId, Long pageSize, Long skip) throws ApiException {
+ public ApiResponse getLoyaltyCardPointsWithHttpInfo(Integer loyaltyProgramId, String loyaltyCardId, String status, List subledgerId, Integer pageSize, Integer 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(Long 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 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 50l)
+ * @param pageSize The number of items in the response. (optional, default to 50)
* @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(Long loy
| 404 | Not found | - |
*/
- public okhttp3.Call getLoyaltyCardPointsAsync(Long loyaltyProgramId, String loyaltyCardId, String status, List subledgerId, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call getLoyaltyCardPointsAsync(Integer loyaltyProgramId, String loyaltyCardId, String status, List subledgerId, Integer pageSize, Integer 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(Long loyaltyProgramId, String loya
* @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 50l)
+ * @param pageSize The number of items in the response. (optional, default to 50)
* @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(Long loyaltyProgramId, String loya
| 404 | Not found | - |
*/
- 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 {
+ 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 {
Object localVarPostBody = null;
// create path and map variables
@@ -2386,7 +2386,7 @@ public okhttp3.Call getLoyaltyCardTransactionsCall(Long loyaltyProgramId, String
}
@SuppressWarnings("rawtypes")
- 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 {
+ 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 {
// verify the required parameter 'loyaltyProgramId' is set
if (loyaltyProgramId == null) {
@@ -2413,7 +2413,7 @@ private okhttp3.Call getLoyaltyCardTransactionsValidateBeforeCall(Long 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 50l)
+ * @param pageSize The number of items in the response. (optional, default to 50)
* @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(Long loyaltyPr
| 404 | Not found | - |
*/
- public InlineResponse2003 getLoyaltyCardTransactions(Long loyaltyProgramId, String loyaltyCardId, List subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip) throws ApiException {
+ public InlineResponse2003 getLoyaltyCardTransactions(Integer loyaltyProgramId, String loyaltyCardId, List subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Integer pageSize, Integer skip) throws ApiException {
ApiResponse localVarResp = getLoyaltyCardTransactionsWithHttpInfo(loyaltyProgramId, loyaltyCardId, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip);
return localVarResp.getData();
}
@@ -2440,7 +2440,7 @@ public InlineResponse2003 getLoyaltyCardTransactions(Long loyaltyProgramId, Stri
* @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 50l)
+ * @param pageSize The number of items in the response. (optional, default to 50)
* @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(Long loyaltyProgramId, Stri
| 404 | Not found | - |
*/
- public ApiResponse getLoyaltyCardTransactionsWithHttpInfo(Long loyaltyProgramId, String loyaltyCardId, List subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip) throws ApiException {
+ public ApiResponse getLoyaltyCardTransactionsWithHttpInfo(Integer loyaltyProgramId, String loyaltyCardId, List subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Integer pageSize, Integer 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(Lo
* @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 50l)
+ * @param pageSize The number of items in the response. (optional, default to 50)
* @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(Lo
| 404 | Not found | - |
*/
- 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 {
+ 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 {
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(Long loyaltyProgramId, Strin
* @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 50l)
+ * @param pageSize The number of items in the response. (optional, default to 50)
* @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(Long loyaltyProgramId, Strin
| 404 | Not found | - |
*/
- public okhttp3.Call getLoyaltyProgramProfilePointsCall(Long loyaltyProgramId, String integrationId, String status, String subledgerId, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call getLoyaltyProgramProfilePointsCall(Integer loyaltyProgramId, String integrationId, String status, String subledgerId, Integer pageSize, Integer skip, final ApiCallback _callback) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@@ -2557,7 +2557,7 @@ public okhttp3.Call getLoyaltyProgramProfilePointsCall(Long loyaltyProgramId, St
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call getLoyaltyProgramProfilePointsValidateBeforeCall(Long loyaltyProgramId, String integrationId, String status, String subledgerId, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getLoyaltyProgramProfilePointsValidateBeforeCall(Integer loyaltyProgramId, String integrationId, String status, String subledgerId, Integer pageSize, Integer skip, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'loyaltyProgramId' is set
if (loyaltyProgramId == null) {
@@ -2582,7 +2582,7 @@ private okhttp3.Call getLoyaltyProgramProfilePointsValidateBeforeCall(Long loyal
* @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 50l)
+ * @param pageSize The number of items in the response. (optional, default to 50)
* @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(Long loyal
| 404 | Not found | - |
*/
- public InlineResponse2006 getLoyaltyProgramProfilePoints(Long loyaltyProgramId, String integrationId, String status, String subledgerId, Long pageSize, Long skip) throws ApiException {
+ public InlineResponse2006 getLoyaltyProgramProfilePoints(Integer loyaltyProgramId, String integrationId, String status, String subledgerId, Integer pageSize, Integer skip) throws ApiException {
ApiResponse localVarResp = getLoyaltyProgramProfilePointsWithHttpInfo(loyaltyProgramId, integrationId, status, subledgerId, pageSize, skip);
return localVarResp.getData();
}
@@ -2607,7 +2607,7 @@ public InlineResponse2006 getLoyaltyProgramProfilePoints(Long loyaltyProgramId,
* @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 50l)
+ * @param pageSize The number of items in the response. (optional, default to 50)
* @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(Long loyaltyProgramId,
| 404 | Not found | - |
*/
- public ApiResponse getLoyaltyProgramProfilePointsWithHttpInfo(Long loyaltyProgramId, String integrationId, String status, String subledgerId, Long pageSize, Long skip) throws ApiException {
+ public ApiResponse getLoyaltyProgramProfilePointsWithHttpInfo(Integer loyaltyProgramId, String integrationId, String status, String subledgerId, Integer pageSize, Integer 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 50l)
+ * @param pageSize The number of items in the response. (optional, default to 50)
* @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(Long loyaltyProgramId, String integrationId, String status, String subledgerId, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call getLoyaltyProgramProfilePointsAsync(Integer loyaltyProgramId, String integrationId, String status, String subledgerId, Integer pageSize, Integer 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(Long 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 50l)
+ * @param pageSize The number of items in the response. (optional, default to 50)
* @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(Long loyaltyProgramId, S
| 404 | Not found | - |
*/
- 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 {
+ 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 {
Object localVarPostBody = null;
// create path and map variables
@@ -2732,7 +2732,7 @@ public okhttp3.Call getLoyaltyProgramProfileTransactionsCall(Long loyaltyProgram
}
@SuppressWarnings("rawtypes")
- 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 {
+ 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 {
// verify the required parameter 'loyaltyProgramId' is set
if (loyaltyProgramId == null) {
@@ -2759,7 +2759,7 @@ private okhttp3.Call getLoyaltyProgramProfileTransactionsValidateBeforeCall(Long
* @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 50l)
+ * @param pageSize The number of items in the response. (optional, default to 50)
* @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(Long
| 404 | Not found | - |
*/
- public InlineResponse2004 getLoyaltyProgramProfileTransactions(Long loyaltyProgramId, String integrationId, String subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip) throws ApiException {
+ public InlineResponse2004 getLoyaltyProgramProfileTransactions(Integer loyaltyProgramId, String integrationId, String subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Integer pageSize, Integer skip) throws ApiException {
ApiResponse localVarResp = getLoyaltyProgramProfileTransactionsWithHttpInfo(loyaltyProgramId, integrationId, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip);
return localVarResp.getData();
}
@@ -2786,7 +2786,7 @@ public InlineResponse2004 getLoyaltyProgramProfileTransactions(Long loyaltyProgr
* @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 50l)
+ * @param pageSize The number of items in the response. (optional, default to 50)
* @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(Long loyaltyProgr
| 404 | Not found | - |
*/
- public ApiResponse getLoyaltyProgramProfileTransactionsWithHttpInfo(Long loyaltyProgramId, String integrationId, String subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip) throws ApiException {
+ public ApiResponse getLoyaltyProgramProfileTransactionsWithHttpInfo(Integer loyaltyProgramId, String integrationId, String subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Integer pageSize, Integer 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 50l)
+ * @param pageSize The number of items in the response. (optional, default to 50)
* @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(Long loyaltyProgramId, String integrationId, String subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException {
+ 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 {
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(Long loyaltyProgramId, String loyaltyCardId, LoyaltyCardRegistration body, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call linkLoyaltyCardToProfileCall(Integer 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(Long loyaltyProgramId, String l
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call linkLoyaltyCardToProfileValidateBeforeCall(Long loyaltyProgramId, String loyaltyCardId, LoyaltyCardRegistration body, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call linkLoyaltyCardToProfileValidateBeforeCall(Integer 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(Long loyaltyProg
| 404 | Not found | - |
*/
- public LoyaltyCard linkLoyaltyCardToProfile(Long loyaltyProgramId, String loyaltyCardId, LoyaltyCardRegistration body) throws ApiException {
+ public LoyaltyCard linkLoyaltyCardToProfile(Integer loyaltyProgramId, String loyaltyCardId, LoyaltyCardRegistration body) throws ApiException {
ApiResponse localVarResp = linkLoyaltyCardToProfileWithHttpInfo(loyaltyProgramId, loyaltyCardId, body);
return localVarResp.getData();
}
@@ -3069,7 +3069,7 @@ public LoyaltyCard linkLoyaltyCardToProfile(Long loyaltyProgramId, String loyalt
| 404 | Not found | - |
*/
- public ApiResponse linkLoyaltyCardToProfileWithHttpInfo(Long loyaltyProgramId, String loyaltyCardId, LoyaltyCardRegistration body) throws ApiException {
+ public ApiResponse linkLoyaltyCardToProfileWithHttpInfo(Integer 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(Long loyalt
| 404 | Not found | - |
*/
- public okhttp3.Call linkLoyaltyCardToProfileAsync(Long loyaltyProgramId, String loyaltyCardId, LoyaltyCardRegistration body, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call linkLoyaltyCardToProfileAsync(Integer 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(Long catalogId, CatalogSyncRequest body, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call syncCatalogCall(Integer catalogId, CatalogSyncRequest body, final ApiCallback _callback) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
@@ -3402,7 +3402,7 @@ public okhttp3.Call syncCatalogCall(Long catalogId, CatalogSyncRequest body, fin
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call syncCatalogValidateBeforeCall(Long catalogId, CatalogSyncRequest body, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call syncCatalogValidateBeforeCall(Integer 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(Long catalogId, CatalogSyncRe
| 404 | Not found | - |
*/
- public Catalog syncCatalog(Long catalogId, CatalogSyncRequest body) throws ApiException {
+ public Catalog syncCatalog(Integer catalogId, CatalogSyncRequest body) throws ApiException {
ApiResponse localVarResp = syncCatalogWithHttpInfo(catalogId, body);
return localVarResp.getData();
}
@@ -3457,7 +3457,7 @@ public Catalog syncCatalog(Long catalogId, CatalogSyncRequest body) throws ApiEx
| 404 | Not found | - |
*/
- public ApiResponse syncCatalogWithHttpInfo(Long catalogId, CatalogSyncRequest body) throws ApiException {
+ public ApiResponse syncCatalogWithHttpInfo(Integer 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(Long catalogId, CatalogSyncR
| 404 | Not found | - |
*/
- public okhttp3.Call syncCatalogAsync(Long catalogId, CatalogSyncRequest body, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call syncCatalogAsync(Integer catalogId, CatalogSyncRequest body, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = syncCatalogValidateBeforeCall(catalogId, body, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
@@ -3562,7 +3562,7 @@ private okhttp3.Call trackEventV2ValidateBeforeCall(IntegrationEventV2Request bo
/**
* Track event
- * Triggers a custom event. To use this endpoint: 1. Define a [custom event](https://docs.talon.one/docs/dev/concepts/entities/events#creating-a-custom-event) in the Campaign Manager. 1. Update or create a rule to check for this event. 1. Trigger the event with this endpoint. After you have successfully sent an event to Talon.One, you can list the received events in the **Events** view in the Campaign Manager. Talon.One also offers a set of [built-in events](https://docs.talon.one/docs/dev/concepts/entities/events). Ensure you do not create a custom event when you can use a built-in event. For example, use this endpoint to trigger an event when a customer shares a link to a product. See the [tutorial](https://docs.talon.one/docs/product/tutorials/referrals/incentivizing-product-link-sharing). <div class=\"redoc-section\"> <p class=\"title\">Important</p> 1. `profileId` is required even though the schema does not say it. 1. If the customer profile ID is new, a new profile is automatically created but the `customer_profile_created` [built-in event ](https://docs.talon.one/docs/dev/concepts/entities/events) is **not** triggered. 1. We recommend sending requests sequentially. See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests). </div>
+ * Triggers a custom event. To use this endpoint: 1. Define a [custom event](https://docs.talon.one/docs/dev/concepts/entities/events#creating-a-custom-event) in the Campaign Manager. 1. Update or create a rule to check for this event. 1. Trigger the event with this endpoint. After you have successfully sent an event to Talon.One, you can list the received events in the **Events** view in the Campaign Manager. Talon.One also offers a set of [built-in events](https://docs.talon.one/docs/dev/concepts/entities/events). Ensure you do not create a custom event when you can use a built-in event. For example, use this endpoint to trigger an event when a customer shares a link to a product. See the [tutorial](https://docs.talon.one/docs/product/tutorials/referrals/incentivizing-product-link-sharing). <div class=\"redoc-section\"> <p class=\"title\">Important</p> 1. `profileId` is required even though the schema does not specify it. 1. If the customer profile ID is new, a new profile is automatically created but the `customer_profile_created` [built-in event ](https://docs.talon.one/docs/dev/concepts/entities/events) is **not** triggered. 1. We recommend sending requests sequentially. See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests). 1. [Archived campaigns](https://docs.talon.one/docs/product/campaigns/managing-campaigns#archiving-a-campaign) are not considered in rule evaluation. </div>
* @param body body (required)
* @param silent 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")
* @param dry Indicates whether to persist the changes. Changes are ignored when `dry=true`. (optional)
@@ -3585,7 +3585,7 @@ public TrackEventV2Response trackEventV2(IntegrationEventV2Request body, String
/**
* Track event
- * Triggers a custom event. To use this endpoint: 1. Define a [custom event](https://docs.talon.one/docs/dev/concepts/entities/events#creating-a-custom-event) in the Campaign Manager. 1. Update or create a rule to check for this event. 1. Trigger the event with this endpoint. After you have successfully sent an event to Talon.One, you can list the received events in the **Events** view in the Campaign Manager. Talon.One also offers a set of [built-in events](https://docs.talon.one/docs/dev/concepts/entities/events). Ensure you do not create a custom event when you can use a built-in event. For example, use this endpoint to trigger an event when a customer shares a link to a product. See the [tutorial](https://docs.talon.one/docs/product/tutorials/referrals/incentivizing-product-link-sharing). <div class=\"redoc-section\"> <p class=\"title\">Important</p> 1. `profileId` is required even though the schema does not say it. 1. If the customer profile ID is new, a new profile is automatically created but the `customer_profile_created` [built-in event ](https://docs.talon.one/docs/dev/concepts/entities/events) is **not** triggered. 1. We recommend sending requests sequentially. See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests). </div>
+ * Triggers a custom event. To use this endpoint: 1. Define a [custom event](https://docs.talon.one/docs/dev/concepts/entities/events#creating-a-custom-event) in the Campaign Manager. 1. Update or create a rule to check for this event. 1. Trigger the event with this endpoint. After you have successfully sent an event to Talon.One, you can list the received events in the **Events** view in the Campaign Manager. Talon.One also offers a set of [built-in events](https://docs.talon.one/docs/dev/concepts/entities/events). Ensure you do not create a custom event when you can use a built-in event. For example, use this endpoint to trigger an event when a customer shares a link to a product. See the [tutorial](https://docs.talon.one/docs/product/tutorials/referrals/incentivizing-product-link-sharing). <div class=\"redoc-section\"> <p class=\"title\">Important</p> 1. `profileId` is required even though the schema does not specify it. 1. If the customer profile ID is new, a new profile is automatically created but the `customer_profile_created` [built-in event ](https://docs.talon.one/docs/dev/concepts/entities/events) is **not** triggered. 1. We recommend sending requests sequentially. See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests). 1. [Archived campaigns](https://docs.talon.one/docs/product/campaigns/managing-campaigns#archiving-a-campaign) are not considered in rule evaluation. </div>
* @param body body (required)
* @param silent 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")
* @param dry Indicates whether to persist the changes. Changes are ignored when `dry=true`. (optional)
@@ -3609,7 +3609,7 @@ public ApiResponse trackEventV2WithHttpInfo(IntegrationEve
/**
* Track event (asynchronously)
- * Triggers a custom event. To use this endpoint: 1. Define a [custom event](https://docs.talon.one/docs/dev/concepts/entities/events#creating-a-custom-event) in the Campaign Manager. 1. Update or create a rule to check for this event. 1. Trigger the event with this endpoint. After you have successfully sent an event to Talon.One, you can list the received events in the **Events** view in the Campaign Manager. Talon.One also offers a set of [built-in events](https://docs.talon.one/docs/dev/concepts/entities/events). Ensure you do not create a custom event when you can use a built-in event. For example, use this endpoint to trigger an event when a customer shares a link to a product. See the [tutorial](https://docs.talon.one/docs/product/tutorials/referrals/incentivizing-product-link-sharing). <div class=\"redoc-section\"> <p class=\"title\">Important</p> 1. `profileId` is required even though the schema does not say it. 1. If the customer profile ID is new, a new profile is automatically created but the `customer_profile_created` [built-in event ](https://docs.talon.one/docs/dev/concepts/entities/events) is **not** triggered. 1. We recommend sending requests sequentially. See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests). </div>
+ * Triggers a custom event. To use this endpoint: 1. Define a [custom event](https://docs.talon.one/docs/dev/concepts/entities/events#creating-a-custom-event) in the Campaign Manager. 1. Update or create a rule to check for this event. 1. Trigger the event with this endpoint. After you have successfully sent an event to Talon.One, you can list the received events in the **Events** view in the Campaign Manager. Talon.One also offers a set of [built-in events](https://docs.talon.one/docs/dev/concepts/entities/events). Ensure you do not create a custom event when you can use a built-in event. For example, use this endpoint to trigger an event when a customer shares a link to a product. See the [tutorial](https://docs.talon.one/docs/product/tutorials/referrals/incentivizing-product-link-sharing). <div class=\"redoc-section\"> <p class=\"title\">Important</p> 1. `profileId` is required even though the schema does not specify it. 1. If the customer profile ID is new, a new profile is automatically created but the `customer_profile_created` [built-in event ](https://docs.talon.one/docs/dev/concepts/entities/events) is **not** triggered. 1. We recommend sending requests sequentially. See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests). 1. [Archived campaigns](https://docs.talon.one/docs/product/campaigns/managing-campaigns#archiving-a-campaign) are not considered in rule evaluation. </div>
* @param body body (required)
* @param silent 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")
* @param dry Indicates whether to persist the changes. Changes are ignored when `dry=true`. (optional)
@@ -3648,7 +3648,7 @@ public okhttp3.Call trackEventV2Async(IntegrationEventV2Request body, String sil
| 404 | Not found | - |
*/
- public okhttp3.Call updateAudienceCustomersAttributesCall(Long audienceId, Object body, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call updateAudienceCustomersAttributesCall(Integer audienceId, Object body, final ApiCallback _callback) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
@@ -3679,7 +3679,7 @@ public okhttp3.Call updateAudienceCustomersAttributesCall(Long audienceId, Objec
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call updateAudienceCustomersAttributesValidateBeforeCall(Long audienceId, Object body, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call updateAudienceCustomersAttributesValidateBeforeCall(Integer 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(Long au
| 404 | Not found | - |
*/
- public void updateAudienceCustomersAttributes(Long audienceId, Object body) throws ApiException {
+ public void updateAudienceCustomersAttributes(Integer audienceId, Object body) throws ApiException {
updateAudienceCustomersAttributesWithHttpInfo(audienceId, body);
}
@@ -3730,7 +3730,7 @@ public void updateAudienceCustomersAttributes(Long audienceId, Object body) thro
| 404 | Not found | - |
*/
- public ApiResponse updateAudienceCustomersAttributesWithHttpInfo(Long audienceId, Object body) throws ApiException {
+ public ApiResponse updateAudienceCustomersAttributesWithHttpInfo(Integer audienceId, Object body) throws ApiException {
okhttp3.Call localVarCall = updateAudienceCustomersAttributesValidateBeforeCall(audienceId, body, null);
return localVarApiClient.execute(localVarCall);
}
@@ -3751,7 +3751,7 @@ public ApiResponse updateAudienceCustomersAttributesWithHttpInfo(Long audi
| 404 | Not found | - |
*/
- public okhttp3.Call updateAudienceCustomersAttributesAsync(Long audienceId, Object body, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call updateAudienceCustomersAttributesAsync(Integer 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(Long audienceId, Obje
| 404 | Not found | - |
*/
- public okhttp3.Call updateAudienceV2Call(Long audienceId, UpdateAudience body, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call updateAudienceV2Call(Integer audienceId, UpdateAudience body, final ApiCallback _callback) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
@@ -3803,7 +3803,7 @@ public okhttp3.Call updateAudienceV2Call(Long audienceId, UpdateAudience body, f
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call updateAudienceV2ValidateBeforeCall(Long audienceId, UpdateAudience body, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call updateAudienceV2ValidateBeforeCall(Integer 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(Long audienceId, UpdateA
| 404 | Not found | - |
*/
- public Audience updateAudienceV2(Long audienceId, UpdateAudience body) throws ApiException {
+ public Audience updateAudienceV2(Integer audienceId, UpdateAudience body) throws ApiException {
ApiResponse localVarResp = updateAudienceV2WithHttpInfo(audienceId, body);
return localVarResp.getData();
}
@@ -3856,7 +3856,7 @@ public Audience updateAudienceV2(Long audienceId, UpdateAudience body) throws Ap
| 404 | Not found | - |
*/
- public ApiResponse updateAudienceV2WithHttpInfo(Long audienceId, UpdateAudience body) throws ApiException {
+ public ApiResponse updateAudienceV2WithHttpInfo(Integer 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(Long audienceId, Updat
| 404 | Not found | - |
*/
- public okhttp3.Call updateAudienceV2Async(Long audienceId, UpdateAudience body, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call updateAudienceV2Async(Integer audienceId, UpdateAudience body, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = updateAudienceV2ValidateBeforeCall(audienceId, body, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
@@ -4080,7 +4080,7 @@ private okhttp3.Call updateCustomerProfileV2ValidateBeforeCall(String integratio
/**
* Update customer profile
- * Update or create a [Customer Profile](https://docs.talon.one/docs/dev/concepts/entities/customer-profiles). This endpoint triggers the Rule Builder. You can use this endpoint to: - Set attributes on the given customer profile. Ensure you create the attributes in the Campaign Manager, first. - Modify the audience the customer profile is a member of. <div class=\"redoc-section\"> <p class=\"title\">Performance tips</p> - Updating a customer profile returns a response with the requested integration state. - You can use the `responseContent` property to save yourself extra API calls. For example, you can get the customer profile details directly without extra requests. - We recommend sending requests sequentially. See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests). </div>
+ * Update or create a [Customer Profile](https://docs.talon.one/docs/dev/concepts/entities/customer-profiles). This endpoint triggers the Rule Builder. You can use this endpoint to: - Set attributes on the given customer profile. Ensure you create the attributes in the Campaign Manager, first. - Modify the audience the customer profile is a member of. **Note:** [Archived campaigns](https://docs.talon.one/docs/product/campaigns/managing-campaigns#archiving-a-campaign) are not considered in rule evaluation when `runRuleEngine` is `true`. <div class=\"redoc-section\"> <p class=\"title\">Performance tips</p> - Updating a customer profile returns a response with the requested integration state. - You can use the `responseContent` property to save yourself extra API calls. For example, you can get the customer profile details directly without extra requests. - We recommend sending requests sequentially. See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests). </div>
* @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 body body (required)
* @param runRuleEngine Indicates whether to run the Rule Engine. If `true`, the response includes: - The effects generated by the triggered campaigns are returned in the `effects` property. - The created coupons and referral objects. If `false`: - The rules are not executed and the `effects` property is always empty. - The response time improves. - You cannot use `responseContent` in the body. (optional, default to false)
@@ -4103,7 +4103,7 @@ public CustomerProfileIntegrationResponseV2 updateCustomerProfileV2(String integ
/**
* Update customer profile
- * Update or create a [Customer Profile](https://docs.talon.one/docs/dev/concepts/entities/customer-profiles). This endpoint triggers the Rule Builder. You can use this endpoint to: - Set attributes on the given customer profile. Ensure you create the attributes in the Campaign Manager, first. - Modify the audience the customer profile is a member of. <div class=\"redoc-section\"> <p class=\"title\">Performance tips</p> - Updating a customer profile returns a response with the requested integration state. - You can use the `responseContent` property to save yourself extra API calls. For example, you can get the customer profile details directly without extra requests. - We recommend sending requests sequentially. See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests). </div>
+ * Update or create a [Customer Profile](https://docs.talon.one/docs/dev/concepts/entities/customer-profiles). This endpoint triggers the Rule Builder. You can use this endpoint to: - Set attributes on the given customer profile. Ensure you create the attributes in the Campaign Manager, first. - Modify the audience the customer profile is a member of. **Note:** [Archived campaigns](https://docs.talon.one/docs/product/campaigns/managing-campaigns#archiving-a-campaign) are not considered in rule evaluation when `runRuleEngine` is `true`. <div class=\"redoc-section\"> <p class=\"title\">Performance tips</p> - Updating a customer profile returns a response with the requested integration state. - You can use the `responseContent` property to save yourself extra API calls. For example, you can get the customer profile details directly without extra requests. - We recommend sending requests sequentially. See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests). </div>
* @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 body body (required)
* @param runRuleEngine Indicates whether to run the Rule Engine. If `true`, the response includes: - The effects generated by the triggered campaigns are returned in the `effects` property. - The created coupons and referral objects. If `false`: - The rules are not executed and the `effects` property is always empty. - The response time improves. - You cannot use `responseContent` in the body. (optional, default to false)
@@ -4127,7 +4127,7 @@ public ApiResponse updateCustomerProfileV2
/**
* Update customer profile (asynchronously)
- * Update or create a [Customer Profile](https://docs.talon.one/docs/dev/concepts/entities/customer-profiles). This endpoint triggers the Rule Builder. You can use this endpoint to: - Set attributes on the given customer profile. Ensure you create the attributes in the Campaign Manager, first. - Modify the audience the customer profile is a member of. <div class=\"redoc-section\"> <p class=\"title\">Performance tips</p> - Updating a customer profile returns a response with the requested integration state. - You can use the `responseContent` property to save yourself extra API calls. For example, you can get the customer profile details directly without extra requests. - We recommend sending requests sequentially. See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests). </div>
+ * Update or create a [Customer Profile](https://docs.talon.one/docs/dev/concepts/entities/customer-profiles). This endpoint triggers the Rule Builder. You can use this endpoint to: - Set attributes on the given customer profile. Ensure you create the attributes in the Campaign Manager, first. - Modify the audience the customer profile is a member of. **Note:** [Archived campaigns](https://docs.talon.one/docs/product/campaigns/managing-campaigns#archiving-a-campaign) are not considered in rule evaluation when `runRuleEngine` is `true`. <div class=\"redoc-section\"> <p class=\"title\">Performance tips</p> - Updating a customer profile returns a response with the requested integration state. - You can use the `responseContent` property to save yourself extra API calls. For example, you can get the customer profile details directly without extra requests. - We recommend sending requests sequentially. See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests). </div>
* @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 body body (required)
* @param runRuleEngine Indicates whether to run the Rule Engine. If `true`, the response includes: - The effects generated by the triggered campaigns are returned in the `effects` property. - The created coupons and referral objects. If `false`: - The rules are not executed and the `effects` property is always empty. - The response time improves. - You cannot use `responseContent` in the body. (optional, default to false)
@@ -4354,7 +4354,7 @@ private okhttp3.Call updateCustomerSessionV2ValidateBeforeCall(String customerSe
/**
* Update customer session
- * Update or create a [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). The endpoint responds with the potential promotion rule [effects](https://docs.talon.one/docs/dev/integration-api/api-effects) that match the current cart. For example, use this endpoint to share the contents of a customer's cart with Talon.One. **Note:** The currency for the session and the cart items in the session is the currency set for the Application that owns this session. ### Session management To use this endpoint, start by learning about [customer sessions](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions) and their states and refer to the `state` parameter documentation the request body schema docs below. ### Sessions and customer profiles - To link a session to a customer profile, set the `profileId` parameter in the request body to a customer profile's `integrationId`. - While you can create an anonymous session with `profileId=\"\"`, we recommend you use a guest ID instead. - A profile can be linked to simultaneous sessions in different Applications. Either: - Use unique session integration IDs or, - Use the same session integration ID across all of the Applications. **Note:** If the specified profile does not exist, an empty profile is **created automatically**. You can update it with [Update customer profile](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/updateCustomerProfileV2). <div class=\"redoc-section\"> <p class=\"title\">Performance tips</p> - Updating a customer session returns a response with the new integration state. Use the `responseContent` property to save yourself extra API calls. For example, you can get the customer profile details directly without extra requests. - We recommend sending requests sequentially. See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests). </div> For more information, see: - The introductory video in [Getting started](https://docs.talon.one/docs/dev/getting-started/overview). - The [integration tutorial](https://docs.talon.one/docs/dev/tutorials/integrating-talon-one).
+ * Update or create a [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). The endpoint responds with the potential promotion rule [effects](https://docs.talon.one/docs/dev/integration-api/api-effects) that match the current cart. For example, use this endpoint to share the contents of a customer's cart with Talon.One. **Note:** - The currency for the session and the cart items in it is the currency set for the Application linked to this session. - [Archived campaigns](https://docs.talon.one/docs/product/campaigns/managing-campaigns#archiving-a-campaign) are not considered for rule evaluation. ### Session management To use this endpoint, start by learning about [customer sessions](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions) and their states and refer to the `state` parameter documentation the request body schema docs below. ### Sessions and customer profiles - To link a session to a customer profile, set the `profileId` parameter in the request body to a customer profile's `integrationId`. - While you can create an anonymous session with `profileId=\"\"`, we recommend you use a guest ID instead. - A profile can be linked to simultaneous sessions in different Applications. Either: - Use unique session integration IDs or, - Use the same session integration ID across all of the Applications. **Note:** If the specified profile does not exist, an empty profile is **created automatically**. You can update it with [Update customer profile](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/updateCustomerProfileV2). <div class=\"redoc-section\"> <p class=\"title\">Performance tips</p> - Updating a customer session returns a response with the new integration state. Use the `responseContent` property to save yourself extra API calls. For example, you can get the customer profile details directly without extra requests. - We recommend sending requests sequentially. See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests). </div> For more information, see: - The introductory video in [Getting started](https://docs.talon.one/docs/dev/getting-started/overview). - The [integration tutorial](https://docs.talon.one/docs/dev/tutorials/integrating-talon-one).
* @param customerSessionId The `integration ID` of the customer session. You set this ID when you create a customer session. You can see existing customer session integration IDs in the Campaign Manager's **Sessions** menu, or via the [List Application session](https://docs.talon.one/management-api#operation/getApplicationSessions) endpoint. (required)
* @param body body (required)
* @param dry Indicates whether to persist the changes. Changes are ignored when `dry=true`. When set to `true`: - The endpoint considers **only** the payload that you pass when **closing** the session. When you do not use the `dry` parameter, the endpoint behaves as a typical PUT endpoint. Each update builds upon the previous ones. - You can use the `evaluableCampaignIds` body property to select specific campaigns to run. [See the docs](https://docs.talon.one/docs/dev/integration-api/dry-requests). (optional)
@@ -4377,7 +4377,7 @@ public IntegrationStateV2 updateCustomerSessionV2(String customerSessionId, Inte
/**
* Update customer session
- * Update or create a [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). The endpoint responds with the potential promotion rule [effects](https://docs.talon.one/docs/dev/integration-api/api-effects) that match the current cart. For example, use this endpoint to share the contents of a customer's cart with Talon.One. **Note:** The currency for the session and the cart items in the session is the currency set for the Application that owns this session. ### Session management To use this endpoint, start by learning about [customer sessions](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions) and their states and refer to the `state` parameter documentation the request body schema docs below. ### Sessions and customer profiles - To link a session to a customer profile, set the `profileId` parameter in the request body to a customer profile's `integrationId`. - While you can create an anonymous session with `profileId=\"\"`, we recommend you use a guest ID instead. - A profile can be linked to simultaneous sessions in different Applications. Either: - Use unique session integration IDs or, - Use the same session integration ID across all of the Applications. **Note:** If the specified profile does not exist, an empty profile is **created automatically**. You can update it with [Update customer profile](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/updateCustomerProfileV2). <div class=\"redoc-section\"> <p class=\"title\">Performance tips</p> - Updating a customer session returns a response with the new integration state. Use the `responseContent` property to save yourself extra API calls. For example, you can get the customer profile details directly without extra requests. - We recommend sending requests sequentially. See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests). </div> For more information, see: - The introductory video in [Getting started](https://docs.talon.one/docs/dev/getting-started/overview). - The [integration tutorial](https://docs.talon.one/docs/dev/tutorials/integrating-talon-one).
+ * Update or create a [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). The endpoint responds with the potential promotion rule [effects](https://docs.talon.one/docs/dev/integration-api/api-effects) that match the current cart. For example, use this endpoint to share the contents of a customer's cart with Talon.One. **Note:** - The currency for the session and the cart items in it is the currency set for the Application linked to this session. - [Archived campaigns](https://docs.talon.one/docs/product/campaigns/managing-campaigns#archiving-a-campaign) are not considered for rule evaluation. ### Session management To use this endpoint, start by learning about [customer sessions](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions) and their states and refer to the `state` parameter documentation the request body schema docs below. ### Sessions and customer profiles - To link a session to a customer profile, set the `profileId` parameter in the request body to a customer profile's `integrationId`. - While you can create an anonymous session with `profileId=\"\"`, we recommend you use a guest ID instead. - A profile can be linked to simultaneous sessions in different Applications. Either: - Use unique session integration IDs or, - Use the same session integration ID across all of the Applications. **Note:** If the specified profile does not exist, an empty profile is **created automatically**. You can update it with [Update customer profile](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/updateCustomerProfileV2). <div class=\"redoc-section\"> <p class=\"title\">Performance tips</p> - Updating a customer session returns a response with the new integration state. Use the `responseContent` property to save yourself extra API calls. For example, you can get the customer profile details directly without extra requests. - We recommend sending requests sequentially. See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests). </div> For more information, see: - The introductory video in [Getting started](https://docs.talon.one/docs/dev/getting-started/overview). - The [integration tutorial](https://docs.talon.one/docs/dev/tutorials/integrating-talon-one).
* @param customerSessionId The `integration ID` of the customer session. You set this ID when you create a customer session. You can see existing customer session integration IDs in the Campaign Manager's **Sessions** menu, or via the [List Application session](https://docs.talon.one/management-api#operation/getApplicationSessions) endpoint. (required)
* @param body body (required)
* @param dry Indicates whether to persist the changes. Changes are ignored when `dry=true`. When set to `true`: - The endpoint considers **only** the payload that you pass when **closing** the session. When you do not use the `dry` parameter, the endpoint behaves as a typical PUT endpoint. Each update builds upon the previous ones. - You can use the `evaluableCampaignIds` body property to select specific campaigns to run. [See the docs](https://docs.talon.one/docs/dev/integration-api/dry-requests). (optional)
@@ -4401,7 +4401,7 @@ public ApiResponse updateCustomerSessionV2WithHttpInfo(Strin
/**
* Update customer session (asynchronously)
- * Update or create a [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). The endpoint responds with the potential promotion rule [effects](https://docs.talon.one/docs/dev/integration-api/api-effects) that match the current cart. For example, use this endpoint to share the contents of a customer's cart with Talon.One. **Note:** The currency for the session and the cart items in the session is the currency set for the Application that owns this session. ### Session management To use this endpoint, start by learning about [customer sessions](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions) and their states and refer to the `state` parameter documentation the request body schema docs below. ### Sessions and customer profiles - To link a session to a customer profile, set the `profileId` parameter in the request body to a customer profile's `integrationId`. - While you can create an anonymous session with `profileId=\"\"`, we recommend you use a guest ID instead. - A profile can be linked to simultaneous sessions in different Applications. Either: - Use unique session integration IDs or, - Use the same session integration ID across all of the Applications. **Note:** If the specified profile does not exist, an empty profile is **created automatically**. You can update it with [Update customer profile](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/updateCustomerProfileV2). <div class=\"redoc-section\"> <p class=\"title\">Performance tips</p> - Updating a customer session returns a response with the new integration state. Use the `responseContent` property to save yourself extra API calls. For example, you can get the customer profile details directly without extra requests. - We recommend sending requests sequentially. See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests). </div> For more information, see: - The introductory video in [Getting started](https://docs.talon.one/docs/dev/getting-started/overview). - The [integration tutorial](https://docs.talon.one/docs/dev/tutorials/integrating-talon-one).
+ * Update or create a [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). The endpoint responds with the potential promotion rule [effects](https://docs.talon.one/docs/dev/integration-api/api-effects) that match the current cart. For example, use this endpoint to share the contents of a customer's cart with Talon.One. **Note:** - The currency for the session and the cart items in it is the currency set for the Application linked to this session. - [Archived campaigns](https://docs.talon.one/docs/product/campaigns/managing-campaigns#archiving-a-campaign) are not considered for rule evaluation. ### Session management To use this endpoint, start by learning about [customer sessions](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions) and their states and refer to the `state` parameter documentation the request body schema docs below. ### Sessions and customer profiles - To link a session to a customer profile, set the `profileId` parameter in the request body to a customer profile's `integrationId`. - While you can create an anonymous session with `profileId=\"\"`, we recommend you use a guest ID instead. - A profile can be linked to simultaneous sessions in different Applications. Either: - Use unique session integration IDs or, - Use the same session integration ID across all of the Applications. **Note:** If the specified profile does not exist, an empty profile is **created automatically**. You can update it with [Update customer profile](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/updateCustomerProfileV2). <div class=\"redoc-section\"> <p class=\"title\">Performance tips</p> - Updating a customer session returns a response with the new integration state. Use the `responseContent` property to save yourself extra API calls. For example, you can get the customer profile details directly without extra requests. - We recommend sending requests sequentially. See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests). </div> For more information, see: - The introductory video in [Getting started](https://docs.talon.one/docs/dev/getting-started/overview). - The [integration tutorial](https://docs.talon.one/docs/dev/tutorials/integrating-talon-one).
* @param customerSessionId The `integration ID` of the customer session. You set this ID when you create a customer session. You can see existing customer session integration IDs in the Campaign Manager's **Sessions** menu, or via the [List Application session](https://docs.talon.one/management-api#operation/getApplicationSessions) endpoint. (required)
* @param body body (required)
* @param dry Indicates whether to persist the changes. Changes are ignored when `dry=true`. When set to `true`: - The endpoint considers **only** the payload that you pass when **closing** the session. When you do not use the `dry` parameter, the endpoint behaves as a typical PUT endpoint. Each update builds upon the previous ones. - You can use the `evaluableCampaignIds` body property to select specific campaigns to run. [See the docs](https://docs.talon.one/docs/dev/integration-api/dry-requests). (optional)
diff --git a/src/main/java/one/talon/api/ManagementApi.java b/src/main/java/one/talon/api/ManagementApi.java
index 2083a158..db5581e7 100644
--- a/src/main/java/one/talon/api/ManagementApi.java
+++ b/src/main/java/one/talon/api/ManagementApi.java
@@ -97,6 +97,8 @@
import one.talon.model.InlineResponse20047;
import one.talon.model.InlineResponse20048;
import one.talon.model.InlineResponse20049;
+import one.talon.model.InlineResponse20050;
+import one.talon.model.InlineResponse20051;
import one.talon.model.InlineResponse2007;
import one.talon.model.InlineResponse2008;
import one.talon.model.InlineResponse2009;
@@ -112,6 +114,7 @@
import one.talon.model.NewAdditionalCost;
import one.talon.model.NewAttribute;
import one.talon.model.NewCampaignCollection;
+import one.talon.model.NewCampaignStoreBudget;
import one.talon.model.NewCollection;
import one.talon.model.NewCouponCreationJob;
import one.talon.model.NewCouponDeletionJob;
@@ -128,6 +131,9 @@
import one.talon.model.RoleV2;
import one.talon.model.RoleV2Base;
import one.talon.model.Ruleset;
+import one.talon.model.ScimBaseGroup;
+import one.talon.model.ScimGroup;
+import one.talon.model.ScimGroupsListResponse;
import one.talon.model.ScimNewUser;
import one.talon.model.ScimPatchRequest;
import one.talon.model.ScimResourceTypesListResponse;
@@ -298,7 +304,7 @@ public okhttp3.Call activateUserByEmailAsync(DeleteUserRequest body, final ApiCa
| 404 | Not found | - |
*/
- public okhttp3.Call addLoyaltyCardPointsCall(Long loyaltyProgramId, String loyaltyCardId, AddLoyaltyPoints body, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call addLoyaltyCardPointsCall(Integer loyaltyProgramId, String loyaltyCardId, AddLoyaltyPoints body, final ApiCallback _callback) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
@@ -330,7 +336,7 @@ public okhttp3.Call addLoyaltyCardPointsCall(Long loyaltyProgramId, String loyal
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call addLoyaltyCardPointsValidateBeforeCall(Long loyaltyProgramId, String loyaltyCardId, AddLoyaltyPoints body, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call addLoyaltyCardPointsValidateBeforeCall(Integer loyaltyProgramId, String loyaltyCardId, AddLoyaltyPoints body, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'loyaltyProgramId' is set
if (loyaltyProgramId == null) {
@@ -369,7 +375,7 @@ private okhttp3.Call addLoyaltyCardPointsValidateBeforeCall(Long loyaltyProgramI
| 404 | Not found | - |
*/
- public void addLoyaltyCardPoints(Long loyaltyProgramId, String loyaltyCardId, AddLoyaltyPoints body) throws ApiException {
+ public void addLoyaltyCardPoints(Integer loyaltyProgramId, String loyaltyCardId, AddLoyaltyPoints body) throws ApiException {
addLoyaltyCardPointsWithHttpInfo(loyaltyProgramId, loyaltyCardId, body);
}
@@ -390,7 +396,7 @@ public void addLoyaltyCardPoints(Long loyaltyProgramId, String loyaltyCardId, Ad
| 404 | Not found | - |
*/
- public ApiResponse addLoyaltyCardPointsWithHttpInfo(Long loyaltyProgramId, String loyaltyCardId, AddLoyaltyPoints body) throws ApiException {
+ public ApiResponse addLoyaltyCardPointsWithHttpInfo(Integer loyaltyProgramId, String loyaltyCardId, AddLoyaltyPoints body) throws ApiException {
okhttp3.Call localVarCall = addLoyaltyCardPointsValidateBeforeCall(loyaltyProgramId, loyaltyCardId, body, null);
return localVarApiClient.execute(localVarCall);
}
@@ -413,7 +419,7 @@ public ApiResponse addLoyaltyCardPointsWithHttpInfo(Long loyaltyProgramId,
| 404 | Not found | - |
*/
- public okhttp3.Call addLoyaltyCardPointsAsync(Long loyaltyProgramId, String loyaltyCardId, AddLoyaltyPoints body, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call addLoyaltyCardPointsAsync(Integer loyaltyProgramId, String loyaltyCardId, AddLoyaltyPoints body, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = addLoyaltyCardPointsValidateBeforeCall(loyaltyProgramId, loyaltyCardId, body, _callback);
localVarApiClient.executeAsync(localVarCall, _callback);
@@ -571,7 +577,7 @@ public okhttp3.Call addLoyaltyPointsAsync(String loyaltyProgramId, String integr
| 200 | OK | - |
*/
- public okhttp3.Call copyCampaignToApplicationsCall(Long applicationId, Long campaignId, CampaignCopy body, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call copyCampaignToApplicationsCall(Integer applicationId, Integer campaignId, CampaignCopy body, final ApiCallback _callback) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
@@ -603,7 +609,7 @@ public okhttp3.Call copyCampaignToApplicationsCall(Long applicationId, Long camp
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call copyCampaignToApplicationsValidateBeforeCall(Long applicationId, Long campaignId, CampaignCopy body, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call copyCampaignToApplicationsValidateBeforeCall(Integer applicationId, Integer campaignId, CampaignCopy body, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'applicationId' is set
if (applicationId == null) {
@@ -640,7 +646,7 @@ private okhttp3.Call copyCampaignToApplicationsValidateBeforeCall(Long applicati
| 200 | OK | - |
*/
- public InlineResponse2008 copyCampaignToApplications(Long applicationId, Long campaignId, CampaignCopy body) throws ApiException {
+ public InlineResponse2008 copyCampaignToApplications(Integer applicationId, Integer campaignId, CampaignCopy body) throws ApiException {
ApiResponse localVarResp = copyCampaignToApplicationsWithHttpInfo(applicationId, campaignId, body);
return localVarResp.getData();
}
@@ -659,7 +665,7 @@ public InlineResponse2008 copyCampaignToApplications(Long applicationId, Long ca
| 200 | OK | - |
*/
- public ApiResponse copyCampaignToApplicationsWithHttpInfo(Long applicationId, Long campaignId, CampaignCopy body) throws ApiException {
+ public ApiResponse copyCampaignToApplicationsWithHttpInfo(Integer applicationId, Integer 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 +686,7 @@ public ApiResponse copyCampaignToApplicationsWithHttpInfo(Lo
| 200 | OK | - |
*/
- public okhttp3.Call copyCampaignToApplicationsAsync(Long applicationId, Long campaignId, CampaignCopy body, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call copyCampaignToApplicationsAsync(Integer applicationId, Integer campaignId, CampaignCopy body, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = copyCampaignToApplicationsValidateBeforeCall(applicationId, campaignId, body, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
@@ -826,7 +832,7 @@ public okhttp3.Call createAccountCollectionAsync(NewCollection body, final ApiCa
| 409 | Conflict. An achievement with this name or title already exists. | - |
*/
- public okhttp3.Call createAchievementCall(Long applicationId, Long campaignId, CreateAchievement body, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call createAchievementCall(Integer applicationId, Integer campaignId, CreateAchievement body, final ApiCallback _callback) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
@@ -858,7 +864,7 @@ public okhttp3.Call createAchievementCall(Long applicationId, Long campaignId, C
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call createAchievementValidateBeforeCall(Long applicationId, Long campaignId, CreateAchievement body, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call createAchievementValidateBeforeCall(Integer applicationId, Integer campaignId, CreateAchievement body, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'applicationId' is set
if (applicationId == null) {
@@ -898,7 +904,7 @@ private okhttp3.Call createAchievementValidateBeforeCall(Long applicationId, Lon
| 409 | Conflict. An achievement with this name or title already exists. | - |
*/
- public Achievement createAchievement(Long applicationId, Long campaignId, CreateAchievement body) throws ApiException {
+ public Achievement createAchievement(Integer applicationId, Integer campaignId, CreateAchievement body) throws ApiException {
ApiResponse localVarResp = createAchievementWithHttpInfo(applicationId, campaignId, body);
return localVarResp.getData();
}
@@ -920,7 +926,7 @@ public Achievement createAchievement(Long applicationId, Long campaignId, Create
| 409 | Conflict. An achievement with this name or title already exists. | - |
*/
- public ApiResponse createAchievementWithHttpInfo(Long applicationId, Long campaignId, CreateAchievement body) throws ApiException {
+ public ApiResponse createAchievementWithHttpInfo(Integer applicationId, Integer 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 +950,7 @@ public ApiResponse createAchievementWithHttpInfo(Long applicationId
| 409 | Conflict. An achievement with this name or title already exists. | - |
*/
- public okhttp3.Call createAchievementAsync(Long applicationId, Long campaignId, CreateAchievement body, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call createAchievementAsync(Integer applicationId, Integer campaignId, CreateAchievement body, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = createAchievementValidateBeforeCall(applicationId, campaignId, body, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
@@ -1187,7 +1193,7 @@ public okhttp3.Call createAttributeAsync(NewAttribute body, final ApiCallback 404 | Not found | - |
*/
- public okhttp3.Call createBatchLoyaltyCardsCall(Long loyaltyProgramId, LoyaltyCardBatch body, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call createBatchLoyaltyCardsCall(Integer loyaltyProgramId, LoyaltyCardBatch body, final ApiCallback _callback) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
@@ -1218,7 +1224,7 @@ public okhttp3.Call createBatchLoyaltyCardsCall(Long loyaltyProgramId, LoyaltyCa
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call createBatchLoyaltyCardsValidateBeforeCall(Long loyaltyProgramId, LoyaltyCardBatch body, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call createBatchLoyaltyCardsValidateBeforeCall(Integer loyaltyProgramId, LoyaltyCardBatch body, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'loyaltyProgramId' is set
if (loyaltyProgramId == null) {
@@ -1252,7 +1258,7 @@ private okhttp3.Call createBatchLoyaltyCardsValidateBeforeCall(Long loyaltyProgr
| 404 | Not found | - |
*/
- public LoyaltyCardBatchResponse createBatchLoyaltyCards(Long loyaltyProgramId, LoyaltyCardBatch body) throws ApiException {
+ public LoyaltyCardBatchResponse createBatchLoyaltyCards(Integer loyaltyProgramId, LoyaltyCardBatch body) throws ApiException {
ApiResponse localVarResp = createBatchLoyaltyCardsWithHttpInfo(loyaltyProgramId, body);
return localVarResp.getData();
}
@@ -1273,7 +1279,7 @@ public LoyaltyCardBatchResponse createBatchLoyaltyCards(Long loyaltyProgramId, L
| 404 | Not found | - |
*/
- public ApiResponse createBatchLoyaltyCardsWithHttpInfo(Long loyaltyProgramId, LoyaltyCardBatch body) throws ApiException {
+ public ApiResponse createBatchLoyaltyCardsWithHttpInfo(Integer loyaltyProgramId, LoyaltyCardBatch body) throws ApiException {
okhttp3.Call localVarCall = createBatchLoyaltyCardsValidateBeforeCall(loyaltyProgramId, body, null);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
@@ -1296,7 +1302,7 @@ public ApiResponse createBatchLoyaltyCardsWithHttpInfo
| 404 | Not found | - |
*/
- public okhttp3.Call createBatchLoyaltyCardsAsync(Long loyaltyProgramId, LoyaltyCardBatch body, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call createBatchLoyaltyCardsAsync(Integer loyaltyProgramId, LoyaltyCardBatch body, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = createBatchLoyaltyCardsValidateBeforeCall(loyaltyProgramId, body, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
@@ -1316,7 +1322,7 @@ public okhttp3.Call createBatchLoyaltyCardsAsync(Long loyaltyProgramId, LoyaltyC
| 201 | Created | - |
*/
- public okhttp3.Call createCampaignFromTemplateCall(Long applicationId, CreateTemplateCampaign body, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call createCampaignFromTemplateCall(Integer applicationId, CreateTemplateCampaign body, final ApiCallback _callback) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
@@ -1347,7 +1353,7 @@ public okhttp3.Call createCampaignFromTemplateCall(Long applicationId, CreateTem
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call createCampaignFromTemplateValidateBeforeCall(Long applicationId, CreateTemplateCampaign body, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call createCampaignFromTemplateValidateBeforeCall(Integer applicationId, CreateTemplateCampaign body, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'applicationId' is set
if (applicationId == null) {
@@ -1378,7 +1384,7 @@ private okhttp3.Call createCampaignFromTemplateValidateBeforeCall(Long applicati
| 201 | Created | - |
*/
- public CreateTemplateCampaignResponse createCampaignFromTemplate(Long applicationId, CreateTemplateCampaign body) throws ApiException {
+ public CreateTemplateCampaignResponse createCampaignFromTemplate(Integer applicationId, CreateTemplateCampaign body) throws ApiException {
ApiResponse localVarResp = createCampaignFromTemplateWithHttpInfo(applicationId, body);
return localVarResp.getData();
}
@@ -1396,7 +1402,7 @@ public CreateTemplateCampaignResponse createCampaignFromTemplate(Long applicatio
|