diff --git a/README.md b/README.md index b30abb28..181ab0ac 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Add this dependency to your project's POM: one.talon talon-one-client - 13.1.0 + 14.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:13.1.0" +compile "one.talon:talon-one-client:14.0.0" ``` ### Others @@ -191,6 +191,7 @@ All URLs are relative to `https://yourbaseurl.talon.one`. Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- +*IntegrationApi* | [**bestPriorPrice**](docs/IntegrationApi.md#bestPriorPrice) | **POST** /v1/best_prior_price | Fetch best prior price *IntegrationApi* | [**createAudienceV2**](docs/IntegrationApi.md#createAudienceV2) | **POST** /v2/audiences | Create audience *IntegrationApi* | [**createCouponReservation**](docs/IntegrationApi.md#createCouponReservation) | **POST** /v1/coupon_reservations/{couponValue} | Create coupon reservation *IntegrationApi* | [**createReferral**](docs/IntegrationApi.md#createReferral) | **POST** /v1/referrals | Create referral code for an advocate @@ -465,6 +466,7 @@ Class | Method | HTTP request | Description - [AudienceCustomer](docs/AudienceCustomer.md) - [AudienceIntegrationID](docs/AudienceIntegrationID.md) - [AudienceMembership](docs/AudienceMembership.md) +- [AudienceReference](docs/AudienceReference.md) - [AwardGiveawayEffectProps](docs/AwardGiveawayEffectProps.md) - [BaseCampaign](docs/BaseCampaign.md) - [BaseLoyaltyProgram](docs/BaseLoyaltyProgram.md) @@ -473,9 +475,12 @@ Class | Method | HTTP request | Description - [BaseNotificationWebhook](docs/BaseNotificationWebhook.md) - [BaseNotifications](docs/BaseNotifications.md) - [BaseSamlConnection](docs/BaseSamlConnection.md) +- [BestPriorPrice](docs/BestPriorPrice.md) +- [BestPriorPriceMetadata](docs/BestPriorPriceMetadata.md) +- [BestPriorPriceRequest](docs/BestPriorPriceRequest.md) +- [BestPriorPriceRequestTarget](docs/BestPriorPriceRequestTarget.md) - [Binding](docs/Binding.md) - [BulkApplicationNotification](docs/BulkApplicationNotification.md) -- [BulkCampaignNotification](docs/BulkCampaignNotification.md) - [BulkOperationOnCampaigns](docs/BulkOperationOnCampaigns.md) - [Campaign](docs/Campaign.md) - [CampaignActivationRequest](docs/CampaignActivationRequest.md) @@ -483,13 +488,17 @@ Class | Method | HTTP request | Description - [CampaignBudget](docs/CampaignBudget.md) - [CampaignCollection](docs/CampaignCollection.md) - [CampaignCollectionEditedNotification](docs/CampaignCollectionEditedNotification.md) +- [CampaignCollectionEditedNotificationItem](docs/CampaignCollectionEditedNotificationItem.md) - [CampaignCollectionWithoutPayload](docs/CampaignCollectionWithoutPayload.md) - [CampaignCopy](docs/CampaignCopy.md) - [CampaignCreatedNotification](docs/CampaignCreatedNotification.md) +- [CampaignCreatedNotificationItem](docs/CampaignCreatedNotificationItem.md) - [CampaignDeactivationRequest](docs/CampaignDeactivationRequest.md) - [CampaignDeletedNotification](docs/CampaignDeletedNotification.md) +- [CampaignDeletedNotificationItem](docs/CampaignDeletedNotificationItem.md) - [CampaignDetail](docs/CampaignDetail.md) - [CampaignEditedNotification](docs/CampaignEditedNotification.md) +- [CampaignEditedNotificationItem](docs/CampaignEditedNotificationItem.md) - [CampaignEntity](docs/CampaignEntity.md) - [CampaignEvaluationGroup](docs/CampaignEvaluationGroup.md) - [CampaignEvaluationPosition](docs/CampaignEvaluationPosition.md) @@ -497,17 +506,19 @@ Class | Method | HTTP request | Description - [CampaignEvaluationTreeChangedNotification](docs/CampaignEvaluationTreeChangedNotification.md) - [CampaignGroup](docs/CampaignGroup.md) - [CampaignGroupEntity](docs/CampaignGroupEntity.md) -- [CampaignNotification](docs/CampaignNotification.md) -- [CampaignNotificationData](docs/CampaignNotificationData.md) -- [CampaignNotificationMessage](docs/CampaignNotificationMessage.md) +- [CampaignNotificationBase](docs/CampaignNotificationBase.md) +- [CampaignNotificationGeneric](docs/CampaignNotificationGeneric.md) +- [CampaignNotificationItemBase](docs/CampaignNotificationItemBase.md) - [CampaignNotificationPolicy](docs/CampaignNotificationPolicy.md) - [CampaignRulesetChangedNotification](docs/CampaignRulesetChangedNotification.md) +- [CampaignRulesetChangedNotificationItem](docs/CampaignRulesetChangedNotificationItem.md) - [CampaignSearch](docs/CampaignSearch.md) - [CampaignSet](docs/CampaignSet.md) - [CampaignSetBranchNode](docs/CampaignSetBranchNode.md) - [CampaignSetLeafNode](docs/CampaignSetLeafNode.md) - [CampaignSetNode](docs/CampaignSetNode.md) - [CampaignStateChangedNotification](docs/CampaignStateChangedNotification.md) +- [CampaignStateChangedNotificationItem](docs/CampaignStateChangedNotificationItem.md) - [CampaignStoreBudget](docs/CampaignStoreBudget.md) - [CampaignStoreBudgetLimitConfig](docs/CampaignStoreBudgetLimitConfig.md) - [CampaignTemplate](docs/CampaignTemplate.md) @@ -608,12 +619,16 @@ Class | Method | HTTP request | Description - [FeaturesFeed](docs/FeaturesFeed.md) - [FuncArgDef](docs/FuncArgDef.md) - [FunctionDef](docs/FunctionDef.md) +- [GenerateAuditLogSummary](docs/GenerateAuditLogSummary.md) - [GenerateCampaignDescription](docs/GenerateCampaignDescription.md) - [GenerateCampaignTags](docs/GenerateCampaignTags.md) +- [GenerateCouponFailureDetailedSummary](docs/GenerateCouponFailureDetailedSummary.md) +- [GenerateCouponFailureSummary](docs/GenerateCouponFailureSummary.md) - [GenerateItemFilterDescription](docs/GenerateItemFilterDescription.md) - [GenerateLoyaltyCard](docs/GenerateLoyaltyCard.md) - [GenerateRuleTitle](docs/GenerateRuleTitle.md) - [GenerateRuleTitleRule](docs/GenerateRuleTitleRule.md) +- [GenerateUserSessionSummary](docs/GenerateUserSessionSummary.md) - [GetIntegrationCouponRequest](docs/GetIntegrationCouponRequest.md) - [Giveaway](docs/Giveaway.md) - [GiveawaysPool](docs/GiveawaysPool.md) @@ -687,6 +702,9 @@ Class | Method | HTTP request | Description - [InventoryCoupon](docs/InventoryCoupon.md) - [InventoryReferral](docs/InventoryReferral.md) - [ItemAttribute](docs/ItemAttribute.md) +- [JWT](docs/JWT.md) +- [LabelTargetAudience](docs/LabelTargetAudience.md) +- [LabelTargetNone](docs/LabelTargetNone.md) - [LedgerEntry](docs/LedgerEntry.md) - [LedgerInfo](docs/LedgerInfo.md) - [LedgerPointsEntryIntegrationAPI](docs/LedgerPointsEntryIntegrationAPI.md) @@ -712,6 +730,7 @@ Class | Method | HTTP request | Description - [LoyaltyDashboardPointsBreakdown](docs/LoyaltyDashboardPointsBreakdown.md) - [LoyaltyLedger](docs/LoyaltyLedger.md) - [LoyaltyLedgerEntry](docs/LoyaltyLedgerEntry.md) +- [LoyaltyLedgerEntryExpiryDateChange](docs/LoyaltyLedgerEntryExpiryDateChange.md) - [LoyaltyLedgerEntryFlags](docs/LoyaltyLedgerEntryFlags.md) - [LoyaltyLedgerTransactions](docs/LoyaltyLedgerTransactions.md) - [LoyaltyMembership](docs/LoyaltyMembership.md) @@ -829,6 +848,8 @@ Class | Method | HTTP request | Description - [Picklist](docs/Picklist.md) - [PriceDetail](docs/PriceDetail.md) - [PriceType](docs/PriceType.md) +- [PriceTypeReferenceDetail](docs/PriceTypeReferenceDetail.md) +- [PriceTypeReferences](docs/PriceTypeReferences.md) - [Product](docs/Product.md) - [ProductSearchMatch](docs/ProductSearchMatch.md) - [ProductUnitAnalytics](docs/ProductUnitAnalytics.md) @@ -904,6 +925,7 @@ Class | Method | HTTP request | Description - [SetDiscountPerAdditionalCostEffectProps](docs/SetDiscountPerAdditionalCostEffectProps.md) - [SetDiscountPerAdditionalCostPerItemEffectProps](docs/SetDiscountPerAdditionalCostPerItemEffectProps.md) - [SetDiscountPerItemEffectProps](docs/SetDiscountPerItemEffectProps.md) +- [SetLoyaltyPointsExpiryDateEffectProps](docs/SetLoyaltyPointsExpiryDateEffectProps.md) - [ShowBundleMetadataEffectProps](docs/ShowBundleMetadataEffectProps.md) - [ShowNotificationEffectProps](docs/ShowNotificationEffectProps.md) - [SkuUnitAnalytics](docs/SkuUnitAnalytics.md) @@ -960,6 +982,7 @@ Class | Method | HTTP request | Description - [UpdateLoyaltyProgram](docs/UpdateLoyaltyProgram.md) - [UpdateLoyaltyProgramTier](docs/UpdateLoyaltyProgramTier.md) - [UpdatePicklist](docs/UpdatePicklist.md) +- [UpdatePriceType](docs/UpdatePriceType.md) - [UpdateReferral](docs/UpdateReferral.md) - [UpdateReferralBatch](docs/UpdateReferralBatch.md) - [UpdateRole](docs/UpdateRole.md) diff --git a/api/openapi.yaml b/api/openapi.yaml index 244e0c83..c6496756 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -20,6 +20,7 @@ info: servers: - url: https://yourbaseurl.talon.one/ security: +- api_key_v1: [] - manager_auth: [] - management_key: [] tags: @@ -73,12 +74,13 @@ tags: **Note:** The value of the `NotificationType` property indicates the campaign change: - `CampaignNotification` signifies one of the following events: - - [Campaign created](#tag/Campaign-notifications/paths/campaign_created/post) - - [Campaign state changed](#tag/Campaign-notifications/paths/campaign_state_changed/post) - - [Campaign rules changed](#tag/Campaign-notifications/paths/campaign_rusleset_changed/post) - - [Campaign edited](#tag/Campaign-notifications/paths/campaign_edited/post) - - [Campaign deleted](#tag/Campaign-notifications/paths/campaign_deleted/post) - - `CampaignEvaluationTreeChanged` signifies [Campaign evaluation tree changed](#tag/Campaign-notifications/paths/campaign_evaluation_tree_changed/post). + - [Campaign created](#tag/Campaign-notifications/operation/campaignCreatedNotification) + - [Campaign state changed](#tag/Campaign-notifications/operation/campaignStateChangedNotification) + - [Campaign rules changed](#tag/Campaign-notifications/operation/campaignRulesetChangedNotification) + - [Campaign edited](#tag/Campaign-notifications/operation/campaignEditedNotification) + - [Campaign collection edited](#tag/Campaign-notifications/operation/campaignCollectionEditedNotification) + - [Campaign deleted](#tag/Campaign-notifications/operation/campaignDeletedNotification) + - `CampaignEvaluationTreeChanged` signifies [Campaign evaluation tree changed](#tag/Campaign-notifications/operation/campaignEvaluationTreeChangedNotification). name: Campaign notifications - description: | Represents templates used to generate campaigns from. @@ -412,37 +414,31 @@ paths: x-accepts: application/json /v2/customer_sessions/{customerSessionId}/reopen: put: - description: | - Reopen a closed [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). - For example, if a session has been completed but still needs to be edited, you can reopen it with this endpoint. - A reopen session is treated like a standard open session. - - When reopening a session: - - The `talon_session_reopened` event is triggered. You can see it in the **Events** view in the Campaign Manager. - - The session state is updated to `open`. - - Modified budgets and triggered effects when the session was closed are rolled back except for the list below. - -
- Effects and budgets unimpacted by a session reopening -
-

The following effects and budgets are left the way they were once the session was originally closed:

- -
-

To see an example of roll back, see the Cancelling a session with campaign budgets tutorial.

-
- - **Note:** If your order workflow requires you to create a new session instead of reopening a session, use the - [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint to cancel - a closed session and create a new one. + description: "Reopen a closed [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions).\n\ + For example, if a session has been completed but still needs to be edited,\ + \ you can reopen it with this endpoint.\nA reopen session is treated like\ + \ a standard open session.\n\nWhen reopening a session:\n- The `talon_session_reopened`\ + \ event is triggered. You can see it in the **Events** view in the Campaign\ + \ Manager.\n- The session state is updated to `open`.\n- Any modified budgets\ + \ and triggered effects are rolled back when the session closes.\n- Depending\ + \ on the [return policy](https://docs.talon.one/docs/product/loyalty-programs/managing-loyalty-programs#return-policy)\n\ + \ in your loyalty programs, points are rolled back in the following ways:\n\ + \ - Pending points are rolled back automatically.\n - If **Active points\ + \ deduction** setting is enabled, any points that were earned and activated\ + \ when the session closed \n are rolled back.\n - If **Negative balance**\ + \ is enabled, the rollback can create a negative points balance.\n\n\n
\n\ + \ Effects and budgets unimpacted by a session reopening\n\ + \
\n

The following effects and budgets remain in the state they\ + \ were in when the session closed:

\n \n
\n\n\n
\n

To see an example of\ + \ a rollback, see the Cancelling a session with campaign budgetstutorial.

\n\n**Note:**\ + \ If your order workflow requires you to create a new session instead of reopening\ + \ a session, use the\n[Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2)\ + \ endpoint to cancel\na closed session and create a new one.\n" operationId: reopenCustomerSession parameters: - description: | @@ -1918,6 +1914,29 @@ paths: schema: format: date-time type: string + - description: "Filter the results by a list of customer session IDs. \n\nTo\ + \ include multiple IDs, repeat the parameter for each one, for example,\ + \ \n`?customerSessionIDs=id1&customerSessionIDs=id2`.\n\nThe response contains\ + \ only data associated with the specified sessions.\n" + explode: true + in: query + name: customerSessionIDs + schema: + items: + type: string + type: array + style: form + - description: "Filter the results by a list of transaction UUIDs.\n\nTo include\ + \ multiple IDs, repeat the parameter for each one, for example, \n`?transactionUUIDs=uuid1&transactionUUIDs=uuid2`.\n\ + \nThe response contains only data associated with the specified transactions.\n" + explode: true + in: query + name: transactionUUIDs + schema: + items: + type: string + type: array + style: form - description: The number of items in the response. in: query name: pageSize @@ -1996,6 +2015,29 @@ paths: required: true schema: type: string + - description: "Filter the results by a list of customer session IDs. \n\nTo\ + \ include multiple IDs, repeat the parameter for each one, for example,\ + \ \n`?customerSessionIDs=id1&customerSessionIDs=id2`.\n\nThe response contains\ + \ only data associated with the specified sessions.\n" + explode: true + in: query + name: customerSessionIDs + schema: + items: + type: string + type: array + style: form + - description: "Filter the results by a list of transaction UUIDs.\n\nTo include\ + \ multiple IDs, repeat the parameter for each one, for example, \n`?transactionUUIDs=uuid1&transactionUUIDs=uuid2`.\n\ + \nThe response contains only data associated with the specified transactions.\n" + explode: true + in: query + name: transactionUUIDs + schema: + items: + type: string + type: array + style: form - description: The ID of the subledger by which we filter the data. in: query name: subledgerId @@ -2133,6 +2175,29 @@ paths: type: string type: array style: form + - description: "Filter the results by a list of customer session IDs. \n\nTo\ + \ include multiple IDs, repeat the parameter for each one, for example,\ + \ \n`?customerSessionIDs=id1&customerSessionIDs=id2`.\n\nThe response contains\ + \ only data associated with the specified sessions.\n" + explode: true + in: query + name: customerSessionIDs + schema: + items: + type: string + type: array + style: form + - description: "Filter the results by a list of transaction UUIDs.\n\nTo include\ + \ multiple IDs, repeat the parameter for each one, for example, \n`?transactionUUIDs=uuid1&transactionUUIDs=uuid2`.\n\ + \nThe response contains only data associated with the specified transactions.\n" + explode: true + in: query + name: transactionUUIDs + schema: + items: + type: string + type: array + style: form - description: The number of items in the response. in: query name: pageSize @@ -2149,6 +2214,19 @@ paths: schema: format: int64 type: integer + - description: "The field by which results should be sorted. You can enter one\ + \ of the following values:\n\n- `startDate`: Sorts the results by the start\ + \ date of the points.\n- `expiryDate`: Sorts the results by the expiry date\ + \ of the points.\n\nBy default, results are sorted in ascending order. \n\ + To sort them in descending order, prefix the field name with `-`.\n\n**Note:**\ + \ You can only sort by one field at a time.\n" + in: query + name: sort + schema: + enum: + - startDate + - expiryDate + type: string responses: "200": content: @@ -2226,6 +2304,29 @@ paths: name: subledgerId schema: type: string + - description: "Filter the results by a list of customer session IDs. \n\nTo\ + \ include multiple IDs, repeat the parameter for each one, for example,\ + \ \n`?customerSessionIDs=id1&customerSessionIDs=id2`.\n\nThe response contains\ + \ only data associated with the specified sessions.\n" + explode: true + in: query + name: customerSessionIDs + schema: + items: + type: string + type: array + style: form + - description: "Filter the results by a list of transaction UUIDs.\n\nTo include\ + \ multiple IDs, repeat the parameter for each one, for example, \n`?transactionUUIDs=uuid1&transactionUUIDs=uuid2`.\n\ + \nThe response contains only data associated with the specified transactions.\n" + explode: true + in: query + name: transactionUUIDs + schema: + items: + type: string + type: array + style: form - description: The number of items in the response. in: query name: pageSize @@ -2242,6 +2343,19 @@ paths: schema: format: int64 type: integer + - description: "The field by which results should be sorted. You can enter one\ + \ of the following values:\n\n- `startDate`: Sorts the results by the start\ + \ date of the points.\n- `expiryDate`: Sorts the results by the expiry date\ + \ of the points.\n\nBy default, results are sorted in ascending order. \n\ + To sort them in descending order, prefix the field name with `-`.\n\n**Note:**\ + \ You can only sort by one field at a time.\n" + in: query + name: sort + schema: + enum: + - startDate + - expiryDate + type: string responses: "200": content: @@ -4530,6 +4644,7 @@ paths: - `archived`: Whether the session related to the transaction is archived. - `campaignid`: The ID of the campaign. - `flags`: The flags of the transaction, when applicable. The `createsNegativeBalance` flag indicates whether the transaction results in a negative balance. + - `transactionUUID`: Unique identifier of the transaction in the UUID format. operationId: exportLoyaltyLedger parameters: - description: | @@ -4834,6 +4949,29 @@ paths: name: subledgerId schema: type: string + - description: "Filter the results by a list of customer session IDs. \n\nTo\ + \ include multiple IDs, repeat the parameter for each one, for example,\ + \ \n`?customerSessionIDs=id1&customerSessionIDs=id2`.\n\nThe response contains\ + \ only data associated with the specified sessions.\n" + explode: true + in: query + name: customerSessionIDs + schema: + items: + type: string + type: array + style: form + - description: "Filter the results by a list of transaction UUIDs.\n\nTo include\ + \ multiple IDs, repeat the parameter for each one, for example, \n`?transactionUUIDs=uuid1&transactionUUIDs=uuid2`.\n\ + \nThe response contains only data associated with the specified transactions.\n" + explode: true + in: query + name: transactionUUIDs + schema: + items: + type: string + type: array + style: form - description: | Date and time from which results are returned. Results are filtered by transaction creation date. @@ -4864,7 +5002,7 @@ paths: schema: default: 50 format: int64 - maximum: 50 + maximum: 1000 minimum: 1 type: integer - description: The number of items to skip when paging through large result @@ -5734,6 +5872,29 @@ paths: name: subledgerId schema: type: string + - description: "Filter the results by a list of customer session IDs. \n\nTo\ + \ include multiple IDs, repeat the parameter for each one, for example,\ + \ \n`?customerSessionIDs=id1&customerSessionIDs=id2`.\n\nThe response contains\ + \ only data associated with the specified sessions.\n" + explode: true + in: query + name: customerSessionIDs + schema: + items: + type: string + type: array + style: form + - description: "Filter the results by a list of transaction UUIDs.\n\nTo include\ + \ multiple IDs, repeat the parameter for each one, for example, \n`?transactionUUIDs=uuid1&transactionUUIDs=uuid2`.\n\ + \nThe response contains only data associated with the specified transactions.\n" + explode: true + in: query + name: transactionUUIDs + schema: + items: + type: string + type: array + style: form responses: "200": content: @@ -7700,6 +7861,11 @@ paths: name: campaignQuery schema: type: string + - description: The type of effect that was triggered. See [API effects](https://docs.talon.one/docs/dev/integration-api/api-effects). + in: query + name: effectType + schema: + type: string - description: The ID of the Application. It is displayed in your Talon.One deployment URL. in: path @@ -8092,6 +8258,31 @@ paths: tags: - management x-accepts: application/json + /v1/best_prior_price: + post: + description: | + Returns the best prior price based on historical pricing data for the specified SKUs within a defined timeframe. + operationId: bestPriorPrice + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/BestPriorPriceRequest' + description: body + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/BestPriorPriceResponse' + description: Ok + summary: Fetch best prior price + tags: + - integration + x-codegen-request-body-name: body + x-contentType: application/json + x-accepts: application/json /v1/attributes: get: description: | @@ -8946,16 +9137,16 @@ paths: schema: type: string - description: 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. + before parameter value, expected to be an RFC3339 timestamp string. Use + UTC time. in: query name: createdBefore schema: format: date-time type: string - description: 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. + after parameter value, expected to be an RFC3339 timestamp string. Use UTC + time. in: query name: createdAfter schema: @@ -11953,20 +12144,6 @@ components: - data - totalResultSize type: object - BulkCampaignNotification: - properties: - totalResultSize: - example: 1 - format: int64 - type: integer - data: - items: - $ref: '#/components/schemas/CampaignNotification' - type: array - required: - - data - - totalResultSize - type: object CampaignCollection: properties: id: @@ -12105,6 +12282,28 @@ components: type: integer type: array type: object + CampaignNotificationGeneric: + properties: + NotificationType: + description: The type of the notification + example: CampaignNotification + type: string + TotalResultSize: + description: The total size of the result set. + format: int64 + type: integer + Data: + description: A list of campaign notification data. + items: + properties: {} + type: object + type: array + x-fieldType: '[]interface{}' + required: + - Data + - NotificationType + - TotalResultSize + type: object CampaignStoreBudget: properties: id: @@ -12534,7 +12733,11 @@ components: items: $ref: '#/components/schemas/StrikethroughChangedItem' type: array + NotificationType: + description: The type of the notification + type: string required: + - NotificationType - applicationId - changedItems - currentBatch @@ -12729,6 +12932,10 @@ components: example: 90.0 format: float type: number + adjustmentContextId: + description: The context identifier of the selected price adjustment. + example: summer25 + type: string adjustmentReferenceId: description: The reference identifier of the selected price adjustment for this SKU. @@ -14477,6 +14684,29 @@ components: - progressTrackerId - target type: object + LoyaltyLedgerEntryExpiryDateChange: + description: The properties specific to effects for changing the expiry dates + of loyalty ledger entries. + properties: + transactionUUID: + description: The identifier of the transaction affected by the extension + or update. + format: uuid + type: string + previousExpiryDate: + description: Expiry date of the transactions before applying the extension + or update. + format: date-time + type: string + newExpiryDate: + description: Expiry date of the transaction after applying the extension + or update. + format: date-time + type: string + required: + - newExpiryDate + - transactionUUID + 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. @@ -14514,19 +14744,13 @@ components: - `_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. + affectedTransactions: + description: List of transactions affected by the expiry date update. items: - type: string + $ref: '#/components/schemas/LoyaltyLedgerEntryExpiryDateChange' type: array - previousExpirationDate: - description: Expiry date before applying the extension. - format: date-time - type: string required: - extensionDuration - - previousExpirationDate - programId - subLedgerId type: object @@ -15104,7 +15328,7 @@ components: type: number loyaltyMemberships: description: | - **DEPRECATED** A list of loyalty programs joined by the customer. + **DEPRECATED. Always returns `null`.** A list of loyalty programs joined by the customer. items: $ref: '#/components/schemas/LoyaltyMembership' title: Loyalty programed joined @@ -21247,9 +21471,10 @@ components: The time format is either: - `immediate` or, + - `on_action` or, - an **integer** followed by one letter indicating the time unit. - Examples: `immediate`, `30s`, `40m`, `1h`, `5D`, `7W`, `10M`, `15Y`. + Examples: `immediate`, `30s`, `40m`, `1h`, `5D`, `7W`, `10M`, `15Y`, `on_action`. Available units: @@ -21462,7 +21687,7 @@ components: type: string defaultPending: description: | - The default duration of the pending time after which points should be valid. Can be 'immediate' or a specific time. + The default duration of the pending time after which points should be valid. Accepted values: 'immediate', 'on_action' 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. @@ -21751,7 +21976,7 @@ components: type: string defaultPending: description: | - The default duration of the pending time after which points should be valid. Can be 'immediate' or a specific time. + The default duration of the pending time after which points should be valid. Accepted values: 'immediate', 'on_action' 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. @@ -23552,6 +23777,7 @@ components: description: The current progress of the customer in the achievement. example: endDate: 2000-01-23T04:56:07.000+00:00 + achievementAllowRollbackAfterCompletion: false campaignId: 3 achievementId: 3 description: 50% off for every 50th purchase in a year. @@ -23661,6 +23887,11 @@ components: **Note:** It is an RFC3339 timestamp string. format: date-time type: string + achievementAllowRollbackAfterCompletion: + description: When `true`, customer progress can be rolled back in completed + achievements. + example: false + type: boolean required: - achievementActivationPolicy - achievementId @@ -23676,6 +23907,7 @@ components: example: achievements: - endDate: 2000-01-23T04:56:07.000+00:00 + achievementAllowRollbackAfterCompletion: false campaignId: 3 achievementId: 3 description: 50% off for every 50th purchase in a year. @@ -23691,6 +23923,7 @@ components: startDate: 2000-01-23T04:56:07.000+00:00 status: completed - endDate: 2000-01-23T04:56:07.000+00:00 + achievementAllowRollbackAfterCompletion: false campaignId: 3 achievementId: 3 description: 50% off for every 50th purchase in a year. @@ -24175,6 +24408,11 @@ components: **Note:** It must be an RFC3339 timestamp string. format: date-time type: string + allowRollbackAfterCompletion: + description: When `true`, customer progress can be rolled back in completed + achievements. + example: false + type: boolean type: object CreateAchievement: example: @@ -24191,6 +24429,7 @@ components: description: 50% off for every 50th purchase in a year. activationPolicy: fixed_schedule title: 50% off on 50th purchase. + allowRollbackAfterCompletion: false target: 50.0 recurrencePolicy: no_recurrence properties: @@ -24285,6 +24524,11 @@ components: **Note:** It must be an RFC3339 timestamp string. format: date-time type: string + allowRollbackAfterCompletion: + description: When `true`, customer progress can be rolled back in completed + achievements. + example: false + type: boolean required: - description - name @@ -24306,6 +24550,7 @@ components: description: 50% off for every 50th purchase in a year. activationPolicy: fixed_schedule title: 50% off on 50th purchase. + allowRollbackAfterCompletion: false target: 50.0 fixedStartDate: 2000-01-23T04:56:07.000+00:00 name: Order50Discount @@ -24420,6 +24665,11 @@ components: **Note:** It must be an RFC3339 timestamp string. format: date-time type: string + allowRollbackAfterCompletion: + description: When `true`, customer progress can be rolled back in completed + achievements. + example: false + type: boolean campaignId: description: The ID of the campaign the achievement belongs to. example: 1 @@ -24683,6 +24933,7 @@ components: type: addition cardIdentifier: summer-loyalty-card-0543 expiryDate: 2022-08-02T15:04:05Z07:00 + transactionUUID: ce59f12a-f53b-4014-a745-636d93f2bd3f subledgerId: sub-123 name: Reward 10% points of a purchase's current total ruleName: Add 2 points @@ -24690,6 +24941,10 @@ components: programId: 324 startDate: 2022-01-02T15:04:05Z07:00 properties: + transactionUUID: + description: Unique identifier of the transaction in the UUID format. + example: ce59f12a-f53b-4014-a745-636d93f2bd3f + type: string created: description: Date and time the loyalty card transaction occurred. format: date-time @@ -24776,6 +25031,7 @@ components: - programId - startDate - subledgerId + - transactionUUID - type type: object LoyaltyLedgerEntryFlags: @@ -24788,7 +25044,7 @@ components: type: boolean type: object LedgerTransactionLogEntryIntegrationAPI: - description: Log entry for a given loyalty card transaction. + description: Log entry for a given loyalty profile transaction. example: rulesetId: 11 amount: 10.25 @@ -24798,6 +25054,7 @@ components: customerSessionId: 05c2da0d-48fa-4aa1-b629-898f58f1584d type: addition expiryDate: 2022-08-02T15:04:05Z07:00 + transactionUUID: ce59f12a-f53b-4014-a745-636d93f2bd3f subledgerId: sub-123 name: Reward 10% points of a purchase's current total ruleName: Add 2 points @@ -24805,6 +25062,10 @@ components: programId: 324 startDate: 2022-01-02T15:04:05Z07:00 properties: + transactionUUID: + description: Unique identifier of the transaction in the UUID format. + example: ce59f12a-f53b-4014-a745-636d93f2bd3f + type: string created: description: Date and time the loyalty transaction occurred. format: date-time @@ -24885,12 +25146,14 @@ components: - programId - startDate - subledgerId + - transactionUUID - type type: object CardLedgerPointsEntryIntegrationAPI: description: Loyalty card points with start and expiry dates. example: expiryDate: 2022-08-02T15:04:05Z07:00 + transactionUUID: ce59f12a-f53b-4014-a745-636d93f2bd3f amount: 10.25 customerProfileID: URNGV8294NV created: 2000-01-23T04:56:07.000+00:00 @@ -24906,6 +25169,10 @@ components: example: 123 format: int64 type: integer + transactionUUID: + description: Unique identifier of the transaction in the UUID format. + example: ce59f12a-f53b-4014-a745-636d93f2bd3f + type: string created: description: Date and time the loyalty card points were added. format: date-time @@ -24962,11 +25229,13 @@ components: - programId - startDate - subledgerId + - transactionUUID type: object LedgerPointsEntryIntegrationAPI: description: Loyalty profile points with start and expiry dates. example: expiryDate: 2022-08-02T15:04:05Z07:00 + transactionUUID: ce59f12a-f53b-4014-a745-636d93f2bd3f amount: 10.25 created: 2000-01-23T04:56:07.000+00:00 subledgerId: sub-123 @@ -24981,6 +25250,10 @@ components: example: 123 format: int64 type: integer + transactionUUID: + description: Unique identifier of the transaction in the UUID format. + example: ce59f12a-f53b-4014-a745-636d93f2bd3f + type: string created: description: Date and time the loyalty points were added. format: date-time @@ -25033,6 +25306,7 @@ components: - programId - startDate - subledgerId + - transactionUUID type: object NewApplication: properties: @@ -26997,6 +27271,12 @@ components: maximum: 3E+1 minimum: 1 type: integer + batchSize: + default: 1000 + description: The required size of each batch of data. + example: 1000 + format: int64 + type: integer required: - name type: object @@ -27323,6 +27603,50 @@ components: type: object StrikethroughEffectProps: type: object + LabelTargetNone: + description: Represents the target type when no entity is selected. + properties: + type: + enum: + - NONE + type: string + required: + - type + type: object + AudienceReference: + properties: + id: + description: The ID of the audience. + format: int64 + type: integer + integration: + description: The third-party integration of the audience. + type: string + integrationId: + description: The ID of this audience in the third-party integration. + example: 382370BKDB946 + maxLength: 1000 + minLength: 1 + type: string + required: + - id + type: object + LabelTargetAudience: + description: | + Represents the targeted audience. + properties: + type: + enum: + - AUDIENCE + type: string + audience: + $ref: '#/components/schemas/AudienceReference' + required: + - audience + - type + type: object + LabelTarget: + type: object StrikethroughEffect: description: The effect produced for the catalog item. properties: @@ -27363,6 +27687,26 @@ components: example: 2021-10-01T02:00:00Z format: date-time type: string + selectedPriceType: + description: The selected price type for this cart item (e.g. the price + for members only). + 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 cart item. + example: 68851723-e6fa-488f-ace9-112581e6c19b + type: string + targets: + description: A list of entities (e.g. audiences) targeted by this effect. + items: + $ref: '#/components/schemas/LabelTarget' + type: array required: - campaignId - props @@ -27409,12 +27753,12 @@ components: pattern: ^[A-Za-z]\w*$ type: string title: - description: The title of the price type. + description: The name displayed in the Campaign Manager for the price type. example: Member Price type: string description: - description: The description of the price type. - example: Price available exclusively to members. + description: A description of the price type. + example: The price available exclusively to members. type: string modified: description: The date and time when the price type was last modified. @@ -27433,8 +27777,7 @@ components: type: integer type: array targetedAudiencesIds: - description: A list of the IDs of the audiences that are targeted by this - price type. + description: A list of the IDs of the audiences targeted by this price type. example: - 1 - 2 @@ -27460,16 +27803,15 @@ components: pattern: ^[A-Za-z]\w*$ type: string title: - description: The title of the price type. + description: The name displayed in the Campaign Manager for the price type. example: Member Price type: string description: - description: The description of the price type. - example: Price available exclusively to members. + description: A description of the price type. + example: The price available exclusively to members. type: string targetedAudiencesIds: - description: A list of the IDs of the audiences that are targeted by this - price type. + description: A list of the IDs of the audiences targeted by this price type. example: - 1 - 2 @@ -27482,36 +27824,79 @@ components: - name - title type: object - NewMessageTest: + UpdatePriceType: properties: - type: - description: The message type. - enum: - - 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 - - pending_to_active_points - - strikethrough_pricing - - tier_downgrade - - tier_upgrade - - tier_will_downgrade - - card_expiring_points - - rule_engine_webhook - example: loyalty_added_deducted_points + title: + description: The name displayed in the Campaign Manager for the price type. + example: Member Price type: string - queryParams: - additionalProperties: - type: string - description: Array of query parameters. + description: + description: A description of the price type. + example: The price available exclusively to members. + type: string + targetedAudiencesIds: + description: A list of the IDs of the audiences targeted by this price type. example: - param1: value1 - param2: value2 - type: object + - 1 + - 2 + - 3 + items: + format: int64 + type: integer + type: array + uniqueItems: true + required: + - targetedAudiencesIds + - title + type: object + PriceTypeReferenceDetail: + properties: + referencingType: + description: The entity type that references the price type. For example, + a campaign or an Application cart item filter. + enum: + - Campaign + - ApplicationCartItemFilter + - Template + type: string + referencingId: + description: The ID of the entity that references the price type. + example: 1 + format: int64 + type: integer + referencingName: + description: The name of the entity that references the price type. + example: Summer promotions + type: string + applicationId: + description: The ID of the Application that contains the entity that references + the price type. + example: 322 + format: int64 + type: integer + required: + - referencingId + - referencingName + - referencingType + type: object + PriceTypeReferences: + properties: + priceTypeId: + description: The ID of the price type. + example: 6 + format: int64 + type: integer + references: + description: A list of entities that reference the price type, including + details about the entities. + items: + $ref: '#/components/schemas/PriceTypeReferenceDetail' + type: array + required: + - priceTypeId + type: object + NewMessageTest: + properties: headers: additionalProperties: type: string @@ -27537,8 +27922,21 @@ components: description: API payload of this message. example: "{\n\t\"integrationId\": \"${$Profile.IntegrationId}\"\n}" type: string + params: + description: Array of template argument definitions. + example: [] + items: + $ref: '#/components/schemas/TemplateArgDef' + type: array + applicationIds: + description: | + 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 required: - - type - url - verb type: object @@ -30436,7 +30834,7 @@ components: type: string defaultPending: description: | - The default duration of the pending time after which points should be valid. Can be 'immediate' or a specific time. + The default duration of the pending time after which points should be valid. Accepted values: 'immediate', 'on_action' 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. @@ -30601,7 +30999,7 @@ components: type: string defaultPending: description: | - The default duration of the pending time after which points should be valid. Can be 'immediate' or a specific time. + The default duration of the pending time after which points should be valid. Accepted values: 'immediate', 'on_action' 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. @@ -30767,6 +31165,7 @@ components: totalActivePoints: 9756.0 totalPendingPoints: 548.0 totalExpiredPoints: 1156.0 + totalNegativePoints: 32.0 newMembers: 3.0 earnedPoints: createdManually: 125.0 @@ -30792,6 +31191,10 @@ components: description: Total of expired points for this loyalty program. example: 1156.0 type: number + totalNegativePoints: + description: Total of negative points for this loyalty program. + example: 32.0 + type: number totalMembers: description: Number of loyalty program members. example: 2582.0 @@ -30812,6 +31215,7 @@ components: - totalActivePoints - totalExpiredPoints - totalMembers + - totalNegativePoints - totalPendingPoints - totalSpentPoints type: object @@ -31451,6 +31855,7 @@ components: userId: 5 cardIdentifier: summer-loyalty-card-0543 expiryDate: 2022-01-02T15:04:05Z07:00 + transactionUUID: ce59f12a-f53b-4014-a745-636d93f2bd3f importId: 4 customerProfileId: kda0fajs0-fad9f-fd9dfsa9-fd9dasjf9 subledgerId: sub-123 @@ -31466,6 +31871,10 @@ components: example: 123 format: int64 type: integer + transactionUUID: + description: Unique identifier of the transaction in the UUID format. + example: ce59f12a-f53b-4014-a745-636d93f2bd3f + type: string programId: description: ID of the loyalty program. example: 324 @@ -31575,6 +31984,7 @@ components: - programId - startDate - subledgerId + - transactionUUID - type type: object LoyaltyCardBatch: @@ -31708,6 +32118,7 @@ components: type: addition cardIdentifier: summer-loyalty-card-0543 expiryDate: 2022-08-02T15:04:05Z07:00 + transactionUUID: ce59f12a-f53b-4014-a745-636d93f2bd3f subledgerId: sub-123 name: Reward 10% points of a purchase's current total id: 123 @@ -31715,6 +32126,10 @@ components: programId: 324 startDate: 2022-01-02T15:04:05Z07:00 properties: + transactionUUID: + description: Unique identifier of the transaction in the UUID format. + example: ce59f12a-f53b-4014-a745-636d93f2bd3f + type: string created: description: Date and time the loyalty card transaction occurred. format: date-time @@ -31802,6 +32217,7 @@ components: - programId - startDate - subledgerId + - transactionUUID - type type: object TransferLoyaltyCard: @@ -33037,7 +33453,7 @@ components: type: number loyaltyMemberships: description: | - **DEPRECATED** A list of loyalty programs joined by the customer. + **DEPRECATED. Always returns `null`.** A list of loyalty programs joined by the customer. items: $ref: '#/components/schemas/LoyaltyMembership' title: Loyalty programed joined @@ -33646,7 +34062,7 @@ components: type: number loyaltyMemberships: description: | - **DEPRECATED** A list of loyalty programs joined by the customer. + **DEPRECATED. Always returns `null`.** A list of loyalty programs joined by the customer. items: $ref: '#/components/schemas/LoyaltyMembership' title: Loyalty programed joined @@ -33948,6 +34364,7 @@ components: description: 50% off for every 50th purchase in a year. activationPolicy: fixed_schedule title: 50% off on 50th purchase. + allowRollbackAfterCompletion: false userId: 1234 hasProgress: true target: 50.0 @@ -34065,6 +34482,11 @@ components: **Note:** It must be an RFC3339 timestamp string. format: date-time type: string + allowRollbackAfterCompletion: + description: When `true`, customer progress can be rolled back in completed + achievements. + example: false + type: boolean campaignId: description: The ID of the campaign the achievement belongs to. example: 1 @@ -34472,6 +34894,120 @@ components: - title - type type: object + BestPriorPriceRequest: + example: + timeframeEndDate: 2020-11-10T23:00:00Z + timeframe: "30" + skus: + - comma + - period + strictEndDate: true + target: + targetType: AUDIENCE + audienceID: 4 + properties: + skus: + description: List of product SKUs to check when determining the best prior + price. + example: + - comma + - period + items: + type: string + minItems: 1 + type: array + timeframeEndDate: + description: The end date and time that defines the latest time for retrieving + historical SKU prices. + example: 2020-11-10T23:00:00Z + format: date-time + type: string + timeframe: + description: The number of days prior to the timeframeEndDate. Only prices + within this look back period are considered for the best prior price evaluation. + example: "30" + format: integer + type: string + strictEndDate: + description: | + Indicates whether the timeframe includes the start of the current sale. + - When `false`, the timeframe includes the start date of the current sale. + - When `true`, the timeframe striclty uses the number of days specified in `timeframe`. + example: true + type: boolean + target: + $ref: '#/components/schemas/BestPriorPriceRequest_target' + required: + - skus + - strictEndDate + - timeframe + - timeframeEndDate + type: object + BestPriorPriceMetadata: + description: Auxiliary data for found price observation. + example: + influencingCampaignIDs: + - 0 + - 0 + adjustmentReferenceID: adjustmentReferenceID + properties: + influencingCampaignIDs: + items: + format: int64 + type: integer + type: array + adjustmentReferenceID: + description: Identifier related to the `referenceId` used during a `ADD_PRICE_ADJUSTMENT` + action using the [Sync cart item catalog endpoint](https://docs.talon.one/integration-api#tag/Catalogs/operation/syncCatalog). + type: string + type: object + BestPriorPrice: + example: + metadata: + influencingCampaignIDs: + - 0 + - 0 + adjustmentReferenceID: adjustmentReferenceID + observedAt: 2020-11-10T23:00:00Z + price: 99.99 + contextId: Summer Sale 2007 + sku: NVR-GN-GV-UUP + target: '{}' + properties: + sku: + description: sku + example: NVR-GN-GV-UUP + type: string + observedAt: + description: The date and time when the best price was observed. + example: 2020-11-10T23:00:00Z + format: date-time + type: string + contextId: + description: | + The context ID of the context active at the time of observation. + example: Summer Sale 2007 + type: string + price: + description: Price of the item. + example: 99.99 + type: number + metadata: + $ref: '#/components/schemas/BestPriorPriceMetadata' + target: + type: object + required: + - contextId + - metadata + - observedAt + - price + - sku + - target + type: object + BestPriorPriceResponse: + items: + $ref: '#/components/schemas/BestPriorPrice' + type: array TalangAttribute: properties: entity: @@ -34876,6 +35412,7 @@ components: referenceId: description: A unique reference identifier, e.g. a UUID. example: 68851723-e6fa-488f-ace9-112581e6c19b + minLength: 1 type: string calculatedAt: description: The time at which this price was calculated. If provided, this @@ -34894,6 +35431,11 @@ components: example: 2021-09-12T10:12:42Z format: date-time type: string + contextId: + description: Identifier of the context of this price adjustment (e.g. summer + sale). + example: Summer2025 + type: string required: - priceType - referenceId @@ -34915,8 +35457,6 @@ components: - adjustments - sku type: object - CatalogActionPayload: - type: object CatalogAction: description: Definition of all the properties that are needed for a single catalog sync action. @@ -34936,6 +35476,7 @@ components: example: ADD type: string payload: + properties: {} type: object required: - payload @@ -36766,7 +37307,7 @@ components: items: type: string type: array - secondaryDeploymentPrice: + SecondaryDeploymentPrice: description: The price for a secondary deployment according to contractual agreements. format: int64 @@ -36775,6 +37316,7 @@ components: description: The currency of the contract. type: string required: + - SecondaryDeploymentPrice - activeCampaigns - activeRules - apiVolume @@ -36786,7 +37328,6 @@ components: - referralCodes - sandboxApplications - sandboxLoyaltyPrograms - - secondaryDeploymentPrice - users - webhooks type: object @@ -37064,6 +37605,7 @@ components: "5": Campaign access group manager permission set loyaltyPrograms: "10": Loyalty program manager permission set + account: account applications: "1": application: Application permission set @@ -37108,6 +37650,9 @@ components: example: "5": Campaign access group manager permission set type: object + account: + description: Name of the account-level permission set + type: string type: object RoleV2Permissions: example: @@ -37137,6 +37682,7 @@ components: "5": Campaign access group manager permission set loyaltyPrograms: "10": Loyalty program manager permission set + account: account applications: "1": application: Application permission set @@ -37206,6 +37752,7 @@ components: "5": Campaign access group manager permission set loyaltyPrograms: "10": Loyalty program manager permission set + account: account applications: "1": application: Application permission set @@ -37274,6 +37821,7 @@ components: "5": Campaign access group manager permission set loyaltyPrograms: "10": Loyalty program manager permission set + account: account applications: "1": application: Application permission set @@ -37811,6 +38359,22 @@ components: - key - name type: object + JWT: + description: JSON web token used for accessing integrations in Prismatic + properties: + accessToken: + description: Access token used to authenticate a user in Talon.One. + example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9 + type: string + expiresIn: + description: Time until the token expires (in seconds). + example: 1000 + format: int64 + type: integer + required: + - accessToken + - expiresIn + type: object NewValueMap: type: object ValueMap: @@ -38274,6 +38838,7 @@ components: description: 50% off for every 50th purchase in a year. activationPolicy: fixed_schedule title: 50% off on 50th purchase. + allowRollbackAfterCompletion: false target: 50.0 recurrencePolicy: no_recurrence properties: @@ -38368,6 +38933,11 @@ components: **Note:** It must be an RFC3339 timestamp string. format: date-time type: string + allowRollbackAfterCompletion: + description: When `true`, customer progress can be rolled back in completed + achievements. + example: false + type: boolean type: object AnalyticsDataPoint: properties: @@ -38611,12 +39181,12 @@ components: AnalyticsSKU: properties: id: - description: The ID of the SKU linked to the application. + description: The ID of the SKU linked to the Application. example: 1 format: int64 type: integer sku: - description: The SKU linked to the application. + description: The SKU linked to the Application. example: SKU-123 type: string lastUpdated: @@ -38625,6 +39195,16 @@ components: example: 2024-02-01T00:00:00Z format: date-time type: string + catalogId: + description: The ID of the catalog that contains the SKU. + example: 1 + format: int64 + type: integer + productId: + description: The ID of the product that the SKU belongs to. + example: 1 + format: int64 + type: integer unitsSold: $ref: '#/components/schemas/AnalyticsDataPointWithTrend' required: @@ -38668,6 +39248,10 @@ components: type: object GenerateCampaignDescription: properties: + campaignID: + description: ID of a campaign. + format: int64 + type: integer rulesetID: description: ID of a ruleset. format: int64 @@ -38676,6 +39260,7 @@ components: description: Currency for the campaign. type: string required: + - campaignID - currency - rulesetID type: object @@ -38714,52 +39299,93 @@ components: required: - itemFilter type: object - CampaignStateChangedNotification: - description: A notification regarding a campaign whose state changed. + GenerateUserSessionSummary: properties: - campaign: - $ref: '#/components/schemas/Campaign' - oldState: - description: | - The campaign's old state. Can be one of the following: ['running', 'disabled', 'scheduled', 'expired', 'archived'] - example: disabled + sessionID: + description: The ID of the session. type: string - newState: - description: | - The campaign's new state. Can be one of the following: ['running', 'disabled', 'scheduled', 'expired', 'archived'] - example: running + applicationID: + description: The ID of the Application. It is displayed in your Talon.One + deployment URL. + type: number + required: + - applicationID + - sessionID + type: object + GenerateAuditLogSummary: + properties: + logID: + description: The ID of the audit log. + format: int64 + type: integer + required: + - logID + type: object + GenerateCouponFailureSummary: + properties: + eventID: + description: The ID of the event. + format: int64 + type: integer + language: + description: The language the summary will be generated in. + example: en type: string - ruleset: - $ref: '#/components/schemas/Ruleset' required: - - campaign - - newState - - oldState + - eventID type: object - CampaignRulesetChangedNotification: - description: A notification regarding a campaign whose ruleset was changed. + GenerateCouponFailureDetailedSummary: properties: - campaign: - $ref: '#/components/schemas/Campaign' - oldRuleset: - $ref: '#/components/schemas/Ruleset' - ruleset: - $ref: '#/components/schemas/Ruleset' + applicationID: + description: The ID of the Application. It is displayed in your Talon.One + deployment URL. + type: number + sessionID: + description: ID of the customer session where the coupon redemption failed. + example: 05c2da0d-48fa-4aa1-b629-898f58f1584d + maxLength: 255 + type: string + eventID: + description: The ID of the event for which the coupon redemption failed. + format: int64 + type: integer + coupon: + description: The coupon code that could not be redeemed. + example: BKDB946 + type: string + language: + description: The language of the summary. + example: en + type: string required: - - campaign + - applicationID + - coupon + - eventID + - sessionID type: object - CampaignEditedNotification: - description: A notification regarding a campaign which was edited. + CampaignNotificationBase: properties: - campaign: - $ref: '#/components/schemas/Campaign' - oldCampaign: - $ref: '#/components/schemas/Campaign' - ruleset: - $ref: '#/components/schemas/Ruleset' + NotificationType: + description: The type of the notification + example: CampaignNotification + type: string + TotalResultSize: + description: The total size of the result set. + format: int64 + type: integer required: - - campaign - - oldCampaign + - NotificationType + - TotalResultSize + type: object + CampaignNotificationItemBase: + properties: + Event: + description: | + The type of the event. Can be one of the following: ['campaign_state_changed', 'campaign_ruleset_changed', 'campaign_edited', 'campaign_created', 'campaign_deleted'] + example: campaign_state_changed + type: string + required: + - Event type: object CampaignEvaluationPosition: description: The campaign position within the evaluation tree. @@ -38785,9 +39411,14 @@ components: - groupName - position type: object - CampaignCreatedNotification: + CampaignCreatedNotificationItem: description: A notification regarding a campaign that was created. properties: + Event: + description: | + The type of the event. Can be one of the following: ['campaign_state_changed', 'campaign_ruleset_changed', 'campaign_edited', 'campaign_created', 'campaign_deleted'] + example: campaign_state_changed + type: string campaign: $ref: '#/components/schemas/Campaign' ruleset: @@ -38795,63 +39426,215 @@ components: evaluationPosition: $ref: '#/components/schemas/CampaignEvaluationPosition' required: + - Event - campaign - evaluationPosition type: object - CampaignDeletedNotification: - description: A notification regarding a campaign that was deleted. + CampaignCreatedNotification: + properties: + NotificationType: + description: The type of the notification + example: CampaignNotification + type: string + TotalResultSize: + description: The total size of the result set. + format: int64 + type: integer + Data: + description: A list of campaign notification data. + items: + $ref: '#/components/schemas/CampaignCreatedNotificationItem' + type: array + required: + - NotificationType + - TotalResultSize + type: object + CampaignStateChangedNotificationItem: + description: A notification regarding a campaign whose state changed. properties: + Event: + description: | + The type of the event. Can be one of the following: ['campaign_state_changed', 'campaign_ruleset_changed', 'campaign_edited', 'campaign_created', 'campaign_deleted'] + example: campaign_state_changed + type: string campaign: $ref: '#/components/schemas/Campaign' - deletedAt: - description: Time when the campaign was deleted. - example: 2022-11-10T23:00:00Z - format: date-time + oldState: + description: | + The campaign's old state. Can be one of the following: ['running', 'disabled', 'scheduled', 'expired', 'archived'] + example: disabled type: string + newState: + description: | + The campaign's new state. Can be one of the following: ['running', 'disabled', 'scheduled', 'expired', 'archived'] + example: running + type: string + ruleset: + $ref: '#/components/schemas/Ruleset' required: + - Event - campaign - - deletedAt + - newState + - oldState type: object - CampaignCollectionEditedNotification: - description: A notification regarding a collection that was edited. + CampaignStateChangedNotification: properties: + NotificationType: + description: The type of the notification + example: CampaignNotification + type: string + TotalResultSize: + description: The total size of the result set. + format: int64 + type: integer + Data: + description: A list of campaign notification data. + items: + $ref: '#/components/schemas/CampaignStateChangedNotificationItem' + type: array + required: + - NotificationType + - TotalResultSize + type: object + CampaignRulesetChangedNotificationItem: + description: A notification regarding a campaign whose ruleset was changed. + properties: + Event: + description: | + The type of the event. Can be one of the following: ['campaign_state_changed', 'campaign_ruleset_changed', 'campaign_edited', 'campaign_created', 'campaign_deleted'] + example: campaign_state_changed + type: string campaign: $ref: '#/components/schemas/Campaign' + oldRuleset: + $ref: '#/components/schemas/Ruleset' ruleset: $ref: '#/components/schemas/Ruleset' - collection: - $ref: '#/components/schemas/CollectionWithoutPayload' required: + - Event - campaign - - collection type: object - CampaignNotification: + CampaignRulesetChangedNotification: properties: - event: + NotificationType: + description: The type of the notification + example: CampaignNotification + type: string + TotalResultSize: + description: The total size of the result set. + format: int64 + type: integer + Data: + description: A list of campaign notification data. + items: + $ref: '#/components/schemas/CampaignRulesetChangedNotificationItem' + type: array + required: + - NotificationType + - TotalResultSize + type: object + CampaignEditedNotificationItem: + description: A notification regarding a campaign which was edited. + properties: + Event: description: | The type of the event. Can be one of the following: ['campaign_state_changed', 'campaign_ruleset_changed', 'campaign_edited', 'campaign_created', 'campaign_deleted'] example: campaign_state_changed type: string + campaign: + $ref: '#/components/schemas/Campaign' + oldCampaign: + $ref: '#/components/schemas/Campaign' + ruleset: + $ref: '#/components/schemas/Ruleset' required: - - event + - Event + - campaign + - oldCampaign type: object - CampaignNotificationData: + CampaignEditedNotification: properties: - Notification: - $ref: '#/components/schemas/CampaignNotification' - AccountID: + NotificationType: + description: The type of the notification + example: CampaignNotification + type: string + TotalResultSize: + description: The total size of the result set. format: int64 type: integer - ApplicationID: + Data: + description: A list of campaign notification data. + items: + $ref: '#/components/schemas/CampaignEditedNotificationItem' + type: array + required: + - NotificationType + - TotalResultSize + type: object + CampaignCollectionEditedNotificationItem: + description: A notification regarding a collection that was edited. + properties: + Event: + description: | + The type of the event. Can be one of the following: ['campaign_state_changed', 'campaign_ruleset_changed', 'campaign_edited', 'campaign_created', 'campaign_deleted'] + example: campaign_state_changed + type: string + campaign: + $ref: '#/components/schemas/Campaign' + ruleset: + $ref: '#/components/schemas/Ruleset' + collection: + $ref: '#/components/schemas/CollectionWithoutPayload' + required: + - Event + - campaign + - collection + type: object + CampaignCollectionEditedNotification: + properties: + NotificationType: + description: The type of the notification + example: CampaignNotification + type: string + TotalResultSize: + description: The total size of the result set. format: int64 type: integer + Data: + description: A list of campaign notification data. + items: + $ref: '#/components/schemas/CampaignCollectionEditedNotificationItem' + type: array required: - - AccountID - - ApplicationID - - Notification + - NotificationType + - TotalResultSize type: object - CampaignNotificationMessage: + CampaignDeletedNotificationItem: + description: A notification regarding a campaign that was deleted. properties: + Event: + description: | + The type of the event. Can be one of the following: ['campaign_state_changed', 'campaign_ruleset_changed', 'campaign_edited', 'campaign_created', 'campaign_deleted'] + example: campaign_state_changed + type: string + campaign: + $ref: '#/components/schemas/Campaign' + deletedAt: + description: Time when the campaign was deleted. + example: 2022-11-10T23:00:00Z + format: date-time + type: string + required: + - Event + - campaign + - deletedAt + type: object + CampaignDeletedNotification: + properties: + NotificationType: + description: The type of the notification + example: CampaignNotification + type: string TotalResultSize: description: The total size of the result set. format: int64 @@ -38859,10 +39642,10 @@ components: Data: description: A list of campaign notification data. items: - $ref: '#/components/schemas/CampaignNotificationData' + $ref: '#/components/schemas/CampaignDeletedNotificationItem' type: array required: - - Data + - NotificationType - TotalResultSize type: object CampaignEvaluationTreeChangedNotification: @@ -38884,15 +39667,22 @@ components: type: object CampaignEvaluationTreeChangedMessage: properties: + NotificationType: + description: The type of the notification + example: CampaignNotification + type: string + TotalResultSize: + description: The total size of the result set. + format: int64 + type: integer Data: description: The array of changes. items: $ref: '#/components/schemas/ApplicationNotification' type: array - TotalResultSize: - example: 1 - format: int64 - type: integer + required: + - NotificationType + - TotalResultSize type: object StrikethroughTrigger: description: Information about the event that triggered the strikethrough labeling. @@ -38959,6 +39749,21 @@ components: description: The price of the changed item. example: 99.99 type: number + 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 + adjustmentEffectiveFrom: 2025-05-25T00:00:00Z + adjustmentEffectiveUntil: 2025-05-30T00:00:00Z + base: + price: 100 + type: object evaluatedAt: description: The evaluation time of the changed item. example: 2020-06-10T09:05:27.993483Z @@ -39184,8 +39989,12 @@ components: description: "" example: Franziska Schneider type: string + NotificationType: + description: The type of the not + type: string required: - EmployeeName + - NotificationType - Operation - TypeOfChange type: object @@ -39193,12 +40002,15 @@ components: properties: TypeOfChange: description: The type of change that occurred. + example: campaign_manager type: string Operation: description: The operation performed. + example: CouponUpdated type: string EmployeeName: description: The name of the employee associated with the operation. + example: Franziska Schneider type: string data: description: A list of extended coupon data. @@ -39209,8 +40021,13 @@ components: example: 1 format: int64 type: integer + NotificationType: + description: The type of the notification + example: CouponUpdated + type: string required: - EmployeeName + - NotificationType - Operation - TypeOfChange type: object @@ -39235,9 +40052,13 @@ components: description: "" example: Franziska Schneider type: string + NotificationType: + description: The type of the notification + type: string required: - BatchID - EmployeeName + - NotificationType - Operation - TypeOfChange type: object @@ -39257,11 +40078,15 @@ components: type: string EmployeeName: type: string + NotificationType: + description: The type of the notification + type: string required: - ApplicationID - BatchID - CampaignID - EmployeeName + - NotificationType - Operation - TypeOfChange type: object @@ -39284,11 +40109,15 @@ components: TotalResultSize: format: int64 type: integer + NotificationType: + description: The type of the notification + type: string required: - ApplicationID - BatchID - CampaignID - EmployeeName + - NotificationType - Operation - TotalResultSize - TypeOfChange @@ -39982,6 +40811,34 @@ components: - UserID - UsersPerCardLimit type: object + SetLoyaltyPointsExpiryDateEffectProps: + description: | + The properties specific to the "setLoyaltyPointsExpiryDate" effect. This gets triggered when a validated rule contains the "set expiry date" effect. The current expiry date gets set to the date given in the effect. + properties: + programId: + description: ID of the loyalty program that contains these points. + format: int64 + type: integer + subLedgerId: + description: API name of the loyalty program subledger that contains these + points. + type: string + newExpiryDate: + description: The specified expiry date and time for all active and pending + point transactions in the loyalty program subledger. + example: 2024-07-24T14:15:22Z + format: date-time + type: string + affectedTransactions: + description: List of transactions affected by the expiry date update. + items: + $ref: '#/components/schemas/LoyaltyLedgerEntryExpiryDateChange' + type: array + required: + - newExpiryDate + - programId + - subLedgerId + type: object inline_response_201: example: data: @@ -40100,6 +40957,7 @@ components: description: 50% off for every 50th purchase in a year. activationPolicy: fixed_schedule title: 50% off on 50th purchase. + allowRollbackAfterCompletion: false target: 50.0 fixedStartDate: 2000-01-23T04:56:07.000+00:00 name: Order50Discount @@ -40125,6 +40983,7 @@ components: description: 50% off for every 50th purchase in a year. activationPolicy: fixed_schedule title: 50% off on 50th purchase. + allowRollbackAfterCompletion: false target: 50.0 fixedStartDate: 2000-01-23T04:56:07.000+00:00 name: Order50Discount @@ -40186,6 +41045,7 @@ components: type: addition cardIdentifier: summer-loyalty-card-0543 expiryDate: 2022-08-02T15:04:05Z07:00 + transactionUUID: ce59f12a-f53b-4014-a745-636d93f2bd3f subledgerId: sub-123 name: Reward 10% points of a purchase's current total ruleName: Add 2 points @@ -40199,6 +41059,7 @@ components: type: addition cardIdentifier: summer-loyalty-card-0543 expiryDate: 2022-08-02T15:04:05Z07:00 + transactionUUID: ce59f12a-f53b-4014-a745-636d93f2bd3f subledgerId: sub-123 name: Reward 10% points of a purchase's current total ruleName: Add 2 points @@ -40228,6 +41089,7 @@ components: customerSessionId: 05c2da0d-48fa-4aa1-b629-898f58f1584d type: addition expiryDate: 2022-08-02T15:04:05Z07:00 + transactionUUID: ce59f12a-f53b-4014-a745-636d93f2bd3f subledgerId: sub-123 name: Reward 10% points of a purchase's current total ruleName: Add 2 points @@ -40242,6 +41104,7 @@ components: customerSessionId: 05c2da0d-48fa-4aa1-b629-898f58f1584d type: addition expiryDate: 2022-08-02T15:04:05Z07:00 + transactionUUID: ce59f12a-f53b-4014-a745-636d93f2bd3f subledgerId: sub-123 name: Reward 10% points of a purchase's current total ruleName: Add 2 points @@ -40264,6 +41127,7 @@ components: example: data: - expiryDate: 2022-08-02T15:04:05Z07:00 + transactionUUID: ce59f12a-f53b-4014-a745-636d93f2bd3f amount: 10.25 customerProfileID: URNGV8294NV created: 2000-01-23T04:56:07.000+00:00 @@ -40274,6 +41138,7 @@ components: programId: 324 startDate: 2022-01-02T15:04:05Z07:00 - expiryDate: 2022-08-02T15:04:05Z07:00 + transactionUUID: ce59f12a-f53b-4014-a745-636d93f2bd3f amount: 10.25 customerProfileID: URNGV8294NV created: 2000-01-23T04:56:07.000+00:00 @@ -40299,6 +41164,7 @@ components: example: data: - expiryDate: 2022-08-02T15:04:05Z07:00 + transactionUUID: ce59f12a-f53b-4014-a745-636d93f2bd3f amount: 10.25 created: 2000-01-23T04:56:07.000+00:00 subledgerId: sub-123 @@ -40308,6 +41174,7 @@ components: programId: 324 startDate: 2022-01-02T15:04:05Z07:00 - expiryDate: 2022-08-02T15:04:05Z07:00 + transactionUUID: ce59f12a-f53b-4014-a745-636d93f2bd3f amount: 10.25 created: 2000-01-23T04:56:07.000+00:00 subledgerId: sub-123 @@ -42163,6 +43030,7 @@ components: totalActivePoints: 9756.0 totalPendingPoints: 548.0 totalExpiredPoints: 1156.0 + totalNegativePoints: 32.0 newMembers: 3.0 earnedPoints: createdManually: 125.0 @@ -42176,6 +43044,7 @@ components: totalActivePoints: 9756.0 totalPendingPoints: 548.0 totalExpiredPoints: 1156.0 + totalNegativePoints: 32.0 newMembers: 3.0 earnedPoints: createdManually: 125.0 @@ -42207,6 +43076,7 @@ components: userId: 5 cardIdentifier: summer-loyalty-card-0543 expiryDate: 2022-01-02T15:04:05Z07:00 + transactionUUID: ce59f12a-f53b-4014-a745-636d93f2bd3f importId: 4 customerProfileId: kda0fajs0-fad9f-fd9dfsa9-fd9dasjf9 subledgerId: sub-123 @@ -42227,6 +43097,7 @@ components: userId: 5 cardIdentifier: summer-loyalty-card-0543 expiryDate: 2022-01-02T15:04:05Z07:00 + transactionUUID: ce59f12a-f53b-4014-a745-636d93f2bd3f importId: 4 customerProfileId: kda0fajs0-fad9f-fd9dfsa9-fd9dasjf9 subledgerId: sub-123 @@ -42375,6 +43246,7 @@ components: type: addition cardIdentifier: summer-loyalty-card-0543 expiryDate: 2022-08-02T15:04:05Z07:00 + transactionUUID: ce59f12a-f53b-4014-a745-636d93f2bd3f subledgerId: sub-123 name: Reward 10% points of a purchase's current total id: 123 @@ -42388,6 +43260,7 @@ components: type: addition cardIdentifier: summer-loyalty-card-0543 expiryDate: 2022-08-02T15:04:05Z07:00 + transactionUUID: ce59f12a-f53b-4014-a745-636d93f2bd3f subledgerId: sub-123 name: Reward 10% points of a purchase's current total id: 123 @@ -43753,6 +44626,7 @@ components: "5": Campaign access group manager permission set loyaltyPrograms: "10": Loyalty program manager permission set + account: account applications: "1": application: Application permission set @@ -43799,6 +44673,7 @@ components: "5": Campaign access group manager permission set loyaltyPrograms: "10": Loyalty program manager permission set + account: account applications: "1": application: Application permission set @@ -43923,6 +44798,7 @@ components: description: 50% off for every 50th purchase in a year. activationPolicy: fixed_schedule title: 50% off on 50th purchase. + allowRollbackAfterCompletion: false userId: 1234 hasProgress: true target: 50.0 @@ -43945,6 +44821,7 @@ components: description: 50% off for every 50th purchase in a year. activationPolicy: fixed_schedule title: 50% off on 50th purchase. + allowRollbackAfterCompletion: false userId: 1234 hasProgress: true target: 50.0 @@ -43974,6 +44851,7 @@ components: example: data: - endDate: 2000-01-23T04:56:07.000+00:00 + achievementAllowRollbackAfterCompletion: false campaignId: 3 achievementId: 3 description: 50% off for every 50th purchase in a year. @@ -43989,6 +44867,7 @@ components: startDate: 2000-01-23T04:56:07.000+00:00 status: completed - endDate: 2000-01-23T04:56:07.000+00:00 + achievementAllowRollbackAfterCompletion: false campaignId: 3 achievementId: 3 description: 50% off for every 50th purchase in a year. @@ -44046,6 +44925,28 @@ components: type: object minItems: 1 type: array + BestPriorPriceRequest_target: + description: Specifies the target for which the best prior price calculation + is taken into consideration. + example: + targetType: AUDIENCE + audienceID: 4 + properties: + targetType: + description: The type of price target. + enum: + - NONE + - AUDIENCE + example: AUDIENCE + type: string + audienceID: + description: The AudienceID of an audience. Must be used with "AUDIENCE" + target type. + example: 4 + format: int64 + type: integer + required: + - targetType ScimBaseUser_name: description: The components of the user’s real name. example: diff --git a/build.gradle b/build.gradle index 8a34b20d..afd5f220 100644 --- a/build.gradle +++ b/build.gradle @@ -3,7 +3,7 @@ apply plugin: 'eclipse' apply plugin: 'java' group = 'one.talon' -version = '13.1.0' +version = '14.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.18.0' compile 'org.threeten:threetenbp:1.4.3' diff --git a/build.sbt b/build.sbt index fc6a5b0b..66be55cc 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 := "13.1.0", + version := "14.0.0", scalaVersion := "2.11.4", scalacOptions ++= Seq("-feature"), javacOptions in compile ++= Seq("-Xlint:deprecation"), diff --git a/docker-compose.yml b/docker-compose.yml index 5b651931..8eae3717 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -27,9 +27,9 @@ services: restart: "on-failure:10" database-service: - image: docker.io/bitnami/postgresql:15 + image: docker.io/bitnamilegacy/postgresql:15 volumes: - - 'postgresql_master_data:/bitnami/postgresql' + - "postgresql_master_data:/bitnami/postgresql" ports: - "5433:5432" environment: @@ -45,4 +45,3 @@ services: volumes: postgresql_master_data: - \ No newline at end of file diff --git a/docs/Achievement.md b/docs/Achievement.md index 97cb9597..6aec0383 100644 --- a/docs/Achievement.md +++ b/docs/Achievement.md @@ -18,6 +18,7 @@ Name | Type | Description | Notes **activationPolicy** | [**ActivationPolicyEnum**](#ActivationPolicyEnum) | The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule. | [optional] **fixedStartDate** | [**OffsetDateTime**](OffsetDateTime.md) | The achievement's start date when `activationPolicy` is set to `fixed_schedule`. **Note:** It must be an RFC3339 timestamp string. | [optional] **endDate** | [**OffsetDateTime**](OffsetDateTime.md) | The achievement's end date. If defined, customers cannot participate in the achievement after this date. **Note:** It must be an RFC3339 timestamp string. | [optional] +**allowRollbackAfterCompletion** | **Boolean** | When `true`, customer progress can be rolled back in completed achievements. | [optional] **campaignId** | **Long** | The ID of the campaign the achievement belongs to. | **userId** | **Long** | ID of the user that created this achievement. | **createdBy** | **String** | Name of the user that created the achievement. **Note**: This is not available if the user has been deleted. | [optional] diff --git a/docs/AchievementBase.md b/docs/AchievementBase.md index 20c9d4ce..4f655f8f 100644 --- a/docs/AchievementBase.md +++ b/docs/AchievementBase.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes **activationPolicy** | [**ActivationPolicyEnum**](#ActivationPolicyEnum) | The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule. | [optional] **fixedStartDate** | [**OffsetDateTime**](OffsetDateTime.md) | The achievement's start date when `activationPolicy` is set to `fixed_schedule`. **Note:** It must be an RFC3339 timestamp string. | [optional] **endDate** | [**OffsetDateTime**](OffsetDateTime.md) | The achievement's end date. If defined, customers cannot participate in the achievement after this date. **Note:** It must be an RFC3339 timestamp string. | [optional] +**allowRollbackAfterCompletion** | **Boolean** | When `true`, customer progress can be rolled back in completed achievements. | [optional] diff --git a/docs/AchievementProgressWithDefinition.md b/docs/AchievementProgressWithDefinition.md index 2a3415b6..303337cd 100644 --- a/docs/AchievementProgressWithDefinition.md +++ b/docs/AchievementProgressWithDefinition.md @@ -22,6 +22,7 @@ Name | Type | Description | Notes **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] +**achievementAllowRollbackAfterCompletion** | **Boolean** | When `true`, customer progress can be rolled back in completed achievements. | [optional] diff --git a/docs/AchievementStatusEntry.md b/docs/AchievementStatusEntry.md index 82a24235..fc91bb03 100644 --- a/docs/AchievementStatusEntry.md +++ b/docs/AchievementStatusEntry.md @@ -18,6 +18,7 @@ Name | Type | Description | Notes **activationPolicy** | [**ActivationPolicyEnum**](#ActivationPolicyEnum) | The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule. | [optional] **fixedStartDate** | [**OffsetDateTime**](OffsetDateTime.md) | The achievement's start date when `activationPolicy` is set to `fixed_schedule`. **Note:** It must be an RFC3339 timestamp string. | [optional] **endDate** | [**OffsetDateTime**](OffsetDateTime.md) | The achievement's end date. If defined, customers cannot participate in the achievement after this date. **Note:** It must be an RFC3339 timestamp string. | [optional] +**allowRollbackAfterCompletion** | **Boolean** | When `true`, customer progress can be rolled back in completed achievements. | [optional] **campaignId** | **Long** | The ID of the campaign the achievement belongs to. | [optional] **status** | [**StatusEnum**](#StatusEnum) | The status of the achievement. | [optional] **currentProgress** | [**AchievementProgress**](AchievementProgress.md) | | [optional] diff --git a/docs/AddLoyaltyPoints.md b/docs/AddLoyaltyPoints.md index c7b8a9bb..3f94b2b2 100644 --- a/docs/AddLoyaltyPoints.md +++ b/docs/AddLoyaltyPoints.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **name** | **String** | Name / reason for the point addition. | [optional] **validityDuration** | **String** | 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. If passed, `validUntil` should be omitted. | [optional] **validUntil** | [**OffsetDateTime**](OffsetDateTime.md) | Date and time when points should expire. The value should be provided in RFC 3339 format. If passed, `validityDuration` should be omitted. | [optional] -**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] +**pendingDuration** | **String** | The amount of time before the points are considered valid. The time format is either: - `immediate` or, - `on_action` or, - an **integer** followed by one letter indicating the time unit. Examples: `immediate`, `30s`, `40m`, `1h`, `5D`, `7W`, `10M`, `15Y`, `on_action`. 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] diff --git a/docs/AnalyticsSKU.md b/docs/AnalyticsSKU.md index c0590672..5882ce1e 100644 --- a/docs/AnalyticsSKU.md +++ b/docs/AnalyticsSKU.md @@ -6,9 +6,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Long** | The ID of the SKU linked to the application. | -**sku** | **String** | The SKU linked to the application. | +**id** | **Long** | The ID of the SKU linked to the Application. | +**sku** | **String** | The SKU linked to the Application. | **lastUpdated** | [**OffsetDateTime**](OffsetDateTime.md) | Values in UTC for the date the SKU linked to the product was last updated. | [optional] +**catalogId** | **Long** | The ID of the catalog that contains the SKU. | [optional] +**productId** | **Long** | The ID of the product that the SKU belongs to. | [optional] **unitsSold** | [**AnalyticsDataPointWithTrend**](AnalyticsDataPointWithTrend.md) | | [optional] diff --git a/docs/ApplicationCustomer.md b/docs/ApplicationCustomer.md index 453bee81..747b9887 100644 --- a/docs/ApplicationCustomer.md +++ b/docs/ApplicationCustomer.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes **accountId** | **Long** | The ID of the Talon.One account that owns this profile. | **closedSessions** | **Long** | 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] +**loyaltyMemberships** | [**List<LoyaltyMembership>**](LoyaltyMembership.md) | **DEPRECATED. Always returns `null`.** 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] diff --git a/docs/AsyncCouponsData.md b/docs/AsyncCouponsData.md index 4ec12b07..017bf0f1 100644 --- a/docs/AsyncCouponsData.md +++ b/docs/AsyncCouponsData.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **typeOfChange** | **String** | | **operation** | **String** | | **employeeName** | **String** | | +**notificationType** | **String** | The type of the notification | diff --git a/docs/AudienceCustomer.md b/docs/AudienceCustomer.md index 191d183f..fb8cc220 100644 --- a/docs/AudienceCustomer.md +++ b/docs/AudienceCustomer.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes **accountId** | **Long** | The ID of the Talon.One account that owns this profile. | **closedSessions** | **Long** | 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] +**loyaltyMemberships** | [**List<LoyaltyMembership>**](LoyaltyMembership.md) | **DEPRECATED. Always returns `null`.** 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] diff --git a/docs/AudienceReference.md b/docs/AudienceReference.md new file mode 100644 index 00000000..3160dd67 --- /dev/null +++ b/docs/AudienceReference.md @@ -0,0 +1,14 @@ + + +# AudienceReference + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **Long** | The ID of the audience. | +**integration** | **String** | The third-party integration of the audience. | [optional] +**integrationId** | **String** | The ID of this audience in the third-party integration. | [optional] + + + diff --git a/docs/BaseLoyaltyProgram.md b/docs/BaseLoyaltyProgram.md index 3ad90ab1..a464b994 100644 --- a/docs/BaseLoyaltyProgram.md +++ b/docs/BaseLoyaltyProgram.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **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] **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] +**defaultPending** | **String** | The default duration of the pending time after which points should be valid. Accepted values: 'immediate', 'on_action' 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] **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] diff --git a/docs/BestPriorPrice.md b/docs/BestPriorPrice.md new file mode 100644 index 00000000..bc257825 --- /dev/null +++ b/docs/BestPriorPrice.md @@ -0,0 +1,17 @@ + + +# BestPriorPrice + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**sku** | **String** | sku | +**observedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date and time when the best price was observed. | +**contextId** | **String** | The context ID of the context active at the time of observation. | +**price** | [**BigDecimal**](BigDecimal.md) | Price of the item. | +**metadata** | [**BestPriorPriceMetadata**](BestPriorPriceMetadata.md) | | +**target** | [**Object**](.md) | | + + + diff --git a/docs/BestPriorPriceMetadata.md b/docs/BestPriorPriceMetadata.md new file mode 100644 index 00000000..16a5f465 --- /dev/null +++ b/docs/BestPriorPriceMetadata.md @@ -0,0 +1,14 @@ + + +# BestPriorPriceMetadata + +Auxiliary data for found price observation. +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**influencingCampaignIDs** | **List<Long>** | | [optional] +**adjustmentReferenceID** | **String** | Identifier related to the `referenceId` used during a `ADD_PRICE_ADJUSTMENT` action using the [Sync cart item catalog endpoint](https://docs.talon.one/integration-api#tag/Catalogs/operation/syncCatalog). | [optional] + + + diff --git a/docs/BestPriorPriceRequest.md b/docs/BestPriorPriceRequest.md new file mode 100644 index 00000000..d96579b0 --- /dev/null +++ b/docs/BestPriorPriceRequest.md @@ -0,0 +1,16 @@ + + +# BestPriorPriceRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**skus** | **List<String>** | List of product SKUs to check when determining the best prior price. | +**timeframeEndDate** | [**OffsetDateTime**](OffsetDateTime.md) | The end date and time that defines the latest time for retrieving historical SKU prices. | +**timeframe** | **Integer** | The number of days prior to the timeframeEndDate. Only prices within this look back period are considered for the best prior price evaluation. | +**strictEndDate** | **Boolean** | Indicates whether the timeframe includes the start of the current sale. - When `false`, the timeframe includes the start date of the current sale. - When `true`, the timeframe striclty uses the number of days specified in `timeframe`. | +**target** | [**BestPriorPriceRequestTarget**](BestPriorPriceRequestTarget.md) | | [optional] + + + diff --git a/docs/BestPriorPriceRequestTarget.md b/docs/BestPriorPriceRequestTarget.md new file mode 100644 index 00000000..f1f8e828 --- /dev/null +++ b/docs/BestPriorPriceRequestTarget.md @@ -0,0 +1,23 @@ + + +# BestPriorPriceRequestTarget + +Specifies the target for which the best prior price calculation is taken into consideration. +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**targetType** | [**TargetTypeEnum**](#TargetTypeEnum) | The type of price target. | +**audienceID** | **Long** | The AudienceID of an audience. Must be used with \"AUDIENCE\" target type. | [optional] + + + +## Enum: TargetTypeEnum + +Name | Value +---- | ----- +NONE | "NONE" +AUDIENCE | "AUDIENCE" + + + diff --git a/docs/CampaignCollectionEditedNotification.md b/docs/CampaignCollectionEditedNotification.md index 575198fd..f5be4b07 100644 --- a/docs/CampaignCollectionEditedNotification.md +++ b/docs/CampaignCollectionEditedNotification.md @@ -2,14 +2,13 @@ # CampaignCollectionEditedNotification -A notification regarding a collection that was edited. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**campaign** | [**Campaign**](Campaign.md) | | -**ruleset** | [**Ruleset**](Ruleset.md) | | [optional] -**collection** | [**CollectionWithoutPayload**](CollectionWithoutPayload.md) | | +**notificationType** | **String** | The type of the notification | +**totalResultSize** | **Long** | The total size of the result set. | +**data** | [**List<CampaignCollectionEditedNotificationItem>**](CampaignCollectionEditedNotificationItem.md) | A list of campaign notification data. | [optional] diff --git a/docs/CampaignCollectionEditedNotificationItem.md b/docs/CampaignCollectionEditedNotificationItem.md new file mode 100644 index 00000000..72993efe --- /dev/null +++ b/docs/CampaignCollectionEditedNotificationItem.md @@ -0,0 +1,16 @@ + + +# CampaignCollectionEditedNotificationItem + +A notification regarding a collection that was edited. +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**event** | **String** | The type of the event. Can be one of the following: ['campaign_state_changed', 'campaign_ruleset_changed', 'campaign_edited', 'campaign_created', 'campaign_deleted'] | +**campaign** | [**Campaign**](Campaign.md) | | +**ruleset** | [**Ruleset**](Ruleset.md) | | [optional] +**collection** | [**CollectionWithoutPayload**](CollectionWithoutPayload.md) | | + + + diff --git a/docs/CampaignCreatedNotification.md b/docs/CampaignCreatedNotification.md index 05e65abc..67bb0ec3 100644 --- a/docs/CampaignCreatedNotification.md +++ b/docs/CampaignCreatedNotification.md @@ -2,14 +2,13 @@ # CampaignCreatedNotification -A notification regarding a campaign that was created. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**campaign** | [**Campaign**](Campaign.md) | | -**ruleset** | [**Ruleset**](Ruleset.md) | | [optional] -**evaluationPosition** | [**CampaignEvaluationPosition**](CampaignEvaluationPosition.md) | | +**notificationType** | **String** | The type of the notification | +**totalResultSize** | **Long** | The total size of the result set. | +**data** | [**List<CampaignCreatedNotificationItem>**](CampaignCreatedNotificationItem.md) | A list of campaign notification data. | [optional] diff --git a/docs/CampaignCreatedNotificationItem.md b/docs/CampaignCreatedNotificationItem.md new file mode 100644 index 00000000..dfeed27f --- /dev/null +++ b/docs/CampaignCreatedNotificationItem.md @@ -0,0 +1,16 @@ + + +# CampaignCreatedNotificationItem + +A notification regarding a campaign that was created. +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**event** | **String** | The type of the event. Can be one of the following: ['campaign_state_changed', 'campaign_ruleset_changed', 'campaign_edited', 'campaign_created', 'campaign_deleted'] | +**campaign** | [**Campaign**](Campaign.md) | | +**ruleset** | [**Ruleset**](Ruleset.md) | | [optional] +**evaluationPosition** | [**CampaignEvaluationPosition**](CampaignEvaluationPosition.md) | | + + + diff --git a/docs/CampaignDeletedNotification.md b/docs/CampaignDeletedNotification.md index 9f2d49be..f019b23d 100644 --- a/docs/CampaignDeletedNotification.md +++ b/docs/CampaignDeletedNotification.md @@ -2,13 +2,13 @@ # CampaignDeletedNotification -A notification regarding a campaign that was deleted. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**campaign** | [**Campaign**](Campaign.md) | | -**deletedAt** | [**OffsetDateTime**](OffsetDateTime.md) | Time when the campaign was deleted. | +**notificationType** | **String** | The type of the notification | +**totalResultSize** | **Long** | The total size of the result set. | +**data** | [**List<CampaignDeletedNotificationItem>**](CampaignDeletedNotificationItem.md) | A list of campaign notification data. | [optional] diff --git a/docs/CampaignDeletedNotificationItem.md b/docs/CampaignDeletedNotificationItem.md new file mode 100644 index 00000000..b059e8b8 --- /dev/null +++ b/docs/CampaignDeletedNotificationItem.md @@ -0,0 +1,15 @@ + + +# CampaignDeletedNotificationItem + +A notification regarding a campaign that was deleted. +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**event** | **String** | The type of the event. Can be one of the following: ['campaign_state_changed', 'campaign_ruleset_changed', 'campaign_edited', 'campaign_created', 'campaign_deleted'] | +**campaign** | [**Campaign**](Campaign.md) | | +**deletedAt** | [**OffsetDateTime**](OffsetDateTime.md) | Time when the campaign was deleted. | + + + diff --git a/docs/CampaignEditedNotification.md b/docs/CampaignEditedNotification.md index bae43911..27984768 100644 --- a/docs/CampaignEditedNotification.md +++ b/docs/CampaignEditedNotification.md @@ -2,14 +2,13 @@ # CampaignEditedNotification -A notification regarding a campaign which was edited. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**campaign** | [**Campaign**](Campaign.md) | | -**oldCampaign** | [**Campaign**](Campaign.md) | | -**ruleset** | [**Ruleset**](Ruleset.md) | | [optional] +**notificationType** | **String** | The type of the notification | +**totalResultSize** | **Long** | The total size of the result set. | +**data** | [**List<CampaignEditedNotificationItem>**](CampaignEditedNotificationItem.md) | A list of campaign notification data. | [optional] diff --git a/docs/CampaignEditedNotificationItem.md b/docs/CampaignEditedNotificationItem.md new file mode 100644 index 00000000..7cbbee39 --- /dev/null +++ b/docs/CampaignEditedNotificationItem.md @@ -0,0 +1,16 @@ + + +# CampaignEditedNotificationItem + +A notification regarding a campaign which was edited. +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**event** | **String** | The type of the event. Can be one of the following: ['campaign_state_changed', 'campaign_ruleset_changed', 'campaign_edited', 'campaign_created', 'campaign_deleted'] | +**campaign** | [**Campaign**](Campaign.md) | | +**oldCampaign** | [**Campaign**](Campaign.md) | | +**ruleset** | [**Ruleset**](Ruleset.md) | | [optional] + + + diff --git a/docs/CampaignEvaluationTreeChangedMessage.md b/docs/CampaignEvaluationTreeChangedMessage.md index f55c9841..360540d3 100644 --- a/docs/CampaignEvaluationTreeChangedMessage.md +++ b/docs/CampaignEvaluationTreeChangedMessage.md @@ -6,8 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**notificationType** | **String** | The type of the notification | +**totalResultSize** | **Long** | The total size of the result set. | **data** | [**List<ApplicationNotification>**](ApplicationNotification.md) | The array of changes. | [optional] -**totalResultSize** | **Long** | | [optional] diff --git a/docs/CampaignNotificationBase.md b/docs/CampaignNotificationBase.md new file mode 100644 index 00000000..1b0b62c3 --- /dev/null +++ b/docs/CampaignNotificationBase.md @@ -0,0 +1,13 @@ + + +# CampaignNotificationBase + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**notificationType** | **String** | The type of the notification | +**totalResultSize** | **Long** | The total size of the result set. | + + + diff --git a/docs/CampaignNotificationGeneric.md b/docs/CampaignNotificationGeneric.md new file mode 100644 index 00000000..c8640dbe --- /dev/null +++ b/docs/CampaignNotificationGeneric.md @@ -0,0 +1,14 @@ + + +# CampaignNotificationGeneric + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**notificationType** | **String** | The type of the notification | +**totalResultSize** | **Long** | The total size of the result set. | +**data** | **List<Object>** | A list of campaign notification data. | + + + diff --git a/docs/CampaignNotificationItemBase.md b/docs/CampaignNotificationItemBase.md new file mode 100644 index 00000000..8f9fe083 --- /dev/null +++ b/docs/CampaignNotificationItemBase.md @@ -0,0 +1,12 @@ + + +# CampaignNotificationItemBase + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**event** | **String** | The type of the event. Can be one of the following: ['campaign_state_changed', 'campaign_ruleset_changed', 'campaign_edited', 'campaign_created', 'campaign_deleted'] | + + + diff --git a/docs/CampaignRulesetChangedNotification.md b/docs/CampaignRulesetChangedNotification.md index 385319b1..50c0cb3d 100644 --- a/docs/CampaignRulesetChangedNotification.md +++ b/docs/CampaignRulesetChangedNotification.md @@ -2,14 +2,13 @@ # CampaignRulesetChangedNotification -A notification regarding a campaign whose ruleset was changed. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**campaign** | [**Campaign**](Campaign.md) | | -**oldRuleset** | [**Ruleset**](Ruleset.md) | | [optional] -**ruleset** | [**Ruleset**](Ruleset.md) | | [optional] +**notificationType** | **String** | The type of the notification | +**totalResultSize** | **Long** | The total size of the result set. | +**data** | [**List<CampaignRulesetChangedNotificationItem>**](CampaignRulesetChangedNotificationItem.md) | A list of campaign notification data. | [optional] diff --git a/docs/CampaignRulesetChangedNotificationItem.md b/docs/CampaignRulesetChangedNotificationItem.md new file mode 100644 index 00000000..fcd0760d --- /dev/null +++ b/docs/CampaignRulesetChangedNotificationItem.md @@ -0,0 +1,16 @@ + + +# CampaignRulesetChangedNotificationItem + +A notification regarding a campaign whose ruleset was changed. +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**event** | **String** | The type of the event. Can be one of the following: ['campaign_state_changed', 'campaign_ruleset_changed', 'campaign_edited', 'campaign_created', 'campaign_deleted'] | +**campaign** | [**Campaign**](Campaign.md) | | +**oldRuleset** | [**Ruleset**](Ruleset.md) | | [optional] +**ruleset** | [**Ruleset**](Ruleset.md) | | [optional] + + + diff --git a/docs/CampaignStateChangedNotification.md b/docs/CampaignStateChangedNotification.md index 9891e1b0..3f8e6f6c 100644 --- a/docs/CampaignStateChangedNotification.md +++ b/docs/CampaignStateChangedNotification.md @@ -2,15 +2,13 @@ # CampaignStateChangedNotification -A notification regarding a campaign whose state changed. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**campaign** | [**Campaign**](Campaign.md) | | -**oldState** | **String** | The campaign's old state. Can be one of the following: ['running', 'disabled', 'scheduled', 'expired', 'archived'] | -**newState** | **String** | The campaign's new state. Can be one of the following: ['running', 'disabled', 'scheduled', 'expired', 'archived'] | -**ruleset** | [**Ruleset**](Ruleset.md) | | [optional] +**notificationType** | **String** | The type of the notification | +**totalResultSize** | **Long** | The total size of the result set. | +**data** | [**List<CampaignStateChangedNotificationItem>**](CampaignStateChangedNotificationItem.md) | A list of campaign notification data. | [optional] diff --git a/docs/CampaignStateChangedNotificationItem.md b/docs/CampaignStateChangedNotificationItem.md new file mode 100644 index 00000000..16322f2e --- /dev/null +++ b/docs/CampaignStateChangedNotificationItem.md @@ -0,0 +1,17 @@ + + +# CampaignStateChangedNotificationItem + +A notification regarding a campaign whose state changed. +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**event** | **String** | The type of the event. Can be one of the following: ['campaign_state_changed', 'campaign_ruleset_changed', 'campaign_edited', 'campaign_created', 'campaign_deleted'] | +**campaign** | [**Campaign**](Campaign.md) | | +**oldState** | **String** | The campaign's old state. Can be one of the following: ['running', 'disabled', 'scheduled', 'expired', 'archived'] | +**newState** | **String** | The campaign's new state. Can be one of the following: ['running', 'disabled', 'scheduled', 'expired', 'archived'] | +**ruleset** | [**Ruleset**](Ruleset.md) | | [optional] + + + diff --git a/docs/CardLedgerPointsEntryIntegrationAPI.md b/docs/CardLedgerPointsEntryIntegrationAPI.md index 1afef1ff..e19b2a1e 100644 --- a/docs/CardLedgerPointsEntryIntegrationAPI.md +++ b/docs/CardLedgerPointsEntryIntegrationAPI.md @@ -8,6 +8,7 @@ Loyalty card points with start and expiry dates. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **Long** | ID of the transaction that adds loyalty points. | +**transactionUUID** | **String** | Unique identifier of the transaction in the UUID format. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | Date and time the loyalty card points were added. | **programId** | **Long** | ID of the loyalty program. | **customerProfileID** | **String** | Integration ID of the customer profile linked to the card. | [optional] diff --git a/docs/CardLedgerTransactionLogEntry.md b/docs/CardLedgerTransactionLogEntry.md index 464d557a..1dfdb546 100644 --- a/docs/CardLedgerTransactionLogEntry.md +++ b/docs/CardLedgerTransactionLogEntry.md @@ -7,6 +7,7 @@ Log entry for a given loyalty card transaction. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**transactionUUID** | **String** | Unique identifier of the transaction in the UUID format. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | Date and time the loyalty card transaction occurred. | **programId** | **Long** | ID of the loyalty program. | **cardIdentifier** | **String** | The alphanumeric identifier of the loyalty card. | diff --git a/docs/CardLedgerTransactionLogEntryIntegrationAPI.md b/docs/CardLedgerTransactionLogEntryIntegrationAPI.md index 5314c9d9..4165a4c5 100644 --- a/docs/CardLedgerTransactionLogEntryIntegrationAPI.md +++ b/docs/CardLedgerTransactionLogEntryIntegrationAPI.md @@ -7,6 +7,7 @@ Log entry for a given loyalty card transaction. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**transactionUUID** | **String** | Unique identifier of the transaction in the UUID format. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | Date and time the loyalty card transaction occurred. | **programId** | **Long** | ID of the loyalty program. | **cardIdentifier** | **String** | The alphanumeric identifier of the loyalty card. | diff --git a/docs/CatalogsStrikethroughNotificationPolicy.md b/docs/CatalogsStrikethroughNotificationPolicy.md index e73851ab..db536737 100644 --- a/docs/CatalogsStrikethroughNotificationPolicy.md +++ b/docs/CatalogsStrikethroughNotificationPolicy.md @@ -8,6 +8,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] +**batchSize** | **Long** | The required size of each batch of data. | [optional] diff --git a/docs/CouponsNotificationData.md b/docs/CouponsNotificationData.md index eaebfa27..d15f086e 100644 --- a/docs/CouponsNotificationData.md +++ b/docs/CouponsNotificationData.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **employeeName** | **String** | The name of the employee associated with the operation. | **data** | [**List<ExtendedCoupon>**](ExtendedCoupon.md) | A list of extended coupon data. | [optional] **totalResultSize** | **Long** | | [optional] +**notificationType** | **String** | The type of the notification | diff --git a/docs/CreateAchievement.md b/docs/CreateAchievement.md index 1fbfb220..c3ac5bbd 100644 --- a/docs/CreateAchievement.md +++ b/docs/CreateAchievement.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes **activationPolicy** | [**ActivationPolicyEnum**](#ActivationPolicyEnum) | The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule. | [optional] **fixedStartDate** | [**OffsetDateTime**](OffsetDateTime.md) | The achievement's start date when `activationPolicy` is set to `fixed_schedule`. **Note:** It must be an RFC3339 timestamp string. | [optional] **endDate** | [**OffsetDateTime**](OffsetDateTime.md) | The achievement's end date. If defined, customers cannot participate in the achievement after this date. **Note:** It must be an RFC3339 timestamp string. | [optional] +**allowRollbackAfterCompletion** | **Boolean** | When `true`, customer progress can be rolled back in completed achievements. | [optional] diff --git a/docs/CreateCouponData.md b/docs/CreateCouponData.md index f240cc25..09ed9ae3 100644 --- a/docs/CreateCouponData.md +++ b/docs/CreateCouponData.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **typeOfChange** | **String** | | **operation** | **String** | | **employeeName** | **String** | | +**notificationType** | **String** | The type of the not | diff --git a/docs/CustomerProfile.md b/docs/CustomerProfile.md index 5565f102..a104833f 100644 --- a/docs/CustomerProfile.md +++ b/docs/CustomerProfile.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes **accountId** | **Long** | The ID of the Talon.One account that owns this profile. | **closedSessions** | **Long** | 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] +**loyaltyMemberships** | [**List<LoyaltyMembership>**](LoyaltyMembership.md) | **DEPRECATED. Always returns `null`.** 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] diff --git a/docs/DeleteCouponsData.md b/docs/DeleteCouponsData.md index bc6f35a1..16c11836 100644 --- a/docs/DeleteCouponsData.md +++ b/docs/DeleteCouponsData.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **applicationID** | **Long** | | **campaignID** | **Long** | | **totalResultSize** | **Long** | | +**notificationType** | **String** | The type of the notification | diff --git a/docs/ExtendLoyaltyPointsExpiryDateEffectProps.md b/docs/ExtendLoyaltyPointsExpiryDateEffectProps.md index d98f9e0f..e00392dd 100644 --- a/docs/ExtendLoyaltyPointsExpiryDateEffectProps.md +++ b/docs/ExtendLoyaltyPointsExpiryDateEffectProps.md @@ -10,8 +10,7 @@ Name | Type | Description | Notes **programId** | **Long** | 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. | +**affectedTransactions** | [**List<LoyaltyLedgerEntryExpiryDateChange>**](LoyaltyLedgerEntryExpiryDateChange.md) | List of transactions affected by the expiry date update. | [optional] diff --git a/docs/GenerateAuditLogSummary.md b/docs/GenerateAuditLogSummary.md new file mode 100644 index 00000000..b3a11cf4 --- /dev/null +++ b/docs/GenerateAuditLogSummary.md @@ -0,0 +1,12 @@ + + +# GenerateAuditLogSummary + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**logID** | **Long** | The ID of the audit log. | + + + diff --git a/docs/GenerateCampaignDescription.md b/docs/GenerateCampaignDescription.md index dfbc8adc..64d15796 100644 --- a/docs/GenerateCampaignDescription.md +++ b/docs/GenerateCampaignDescription.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**campaignID** | **Long** | ID of a campaign. | **rulesetID** | **Long** | ID of a ruleset. | **currency** | **String** | Currency for the campaign. | diff --git a/docs/GenerateCouponFailureDetailedSummary.md b/docs/GenerateCouponFailureDetailedSummary.md new file mode 100644 index 00000000..9a363233 --- /dev/null +++ b/docs/GenerateCouponFailureDetailedSummary.md @@ -0,0 +1,16 @@ + + +# GenerateCouponFailureDetailedSummary + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**applicationID** | [**BigDecimal**](BigDecimal.md) | The ID of the Application. It is displayed in your Talon.One deployment URL. | +**sessionID** | **String** | ID of the customer session where the coupon redemption failed. | +**eventID** | **Long** | The ID of the event for which the coupon redemption failed. | +**coupon** | **String** | The coupon code that could not be redeemed. | +**language** | **String** | The language of the summary. | [optional] + + + diff --git a/docs/GenerateCouponFailureSummary.md b/docs/GenerateCouponFailureSummary.md new file mode 100644 index 00000000..19a59ef2 --- /dev/null +++ b/docs/GenerateCouponFailureSummary.md @@ -0,0 +1,13 @@ + + +# GenerateCouponFailureSummary + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**eventID** | **Long** | The ID of the event. | +**language** | **String** | The language the summary will be generated in. | [optional] + + + diff --git a/docs/GenerateUserSessionSummary.md b/docs/GenerateUserSessionSummary.md new file mode 100644 index 00000000..c6158195 --- /dev/null +++ b/docs/GenerateUserSessionSummary.md @@ -0,0 +1,13 @@ + + +# GenerateUserSessionSummary + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**sessionID** | **String** | The ID of the session. | +**applicationID** | [**BigDecimal**](BigDecimal.md) | The ID of the Application. It is displayed in your Talon.One deployment URL. | + + + diff --git a/docs/IntegrationApi.md b/docs/IntegrationApi.md index 1d90729e..71687fe6 100644 --- a/docs/IntegrationApi.md +++ b/docs/IntegrationApi.md @@ -4,6 +4,7 @@ All URLs are relative to `https://yourbaseurl.talon.one`. Method | HTTP request | Description ------------- | ------------- | ------------- +[**bestPriorPrice**](IntegrationApi.md#bestPriorPrice) | **POST** /v1/best_prior_price | Fetch best prior price [**createAudienceV2**](IntegrationApi.md#createAudienceV2) | **POST** /v2/audiences | Create audience [**createCouponReservation**](IntegrationApi.md#createCouponReservation) | **POST** /v1/coupon_reservations/{couponValue} | Create coupon reservation [**createReferral**](IntegrationApi.md#createReferral) | **POST** /v1/referrals | Create referral code for an advocate @@ -38,6 +39,90 @@ Method | HTTP request | Description +## bestPriorPrice + +> List<BestPriorPrice> bestPriorPrice(body) + +Fetch best prior price + +Returns the best prior price based on historical pricing data for the specified SKUs within a defined timeframe. + +### 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.IntegrationApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://yourbaseurl.talon.one"); + + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + + // 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"); + + IntegrationApi apiInstance = new IntegrationApi(defaultClient); + BestPriorPriceRequest body = new BestPriorPriceRequest(); // BestPriorPriceRequest | body + try { + List result = apiInstance.bestPriorPrice(body); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling IntegrationApi#bestPriorPrice"); + 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 +------------- | ------------- | ------------- | ------------- + **body** | [**BestPriorPriceRequest**](BestPriorPriceRequest.md)| body | + +### Return type cool + +[**List<BestPriorPrice>**](BestPriorPrice.md) + +### Authorization + +[api_key_v1](../README.md#api_key_v1), [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** | Ok | - | + + ## createAudienceV2 > Audience createAudienceV2(body) @@ -1215,7 +1300,7 @@ Name | Type | Description | Notes ## getLoyaltyCardPoints -> InlineResponse2005 getLoyaltyCardPoints(loyaltyProgramId, loyaltyCardId, status, subledgerId, pageSize, skip) +> InlineResponse2005 getLoyaltyCardPoints(loyaltyProgramId, loyaltyCardId, status, subledgerId, customerSessionIDs, transactionUUIDs, pageSize, skip, sort) List card's unused loyalty points @@ -1248,10 +1333,13 @@ public class Example { 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. + List customerSessionIDs = Arrays.asList(); // List | Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. + List transactionUUIDs = Arrays.asList(); // List | Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. Long pageSize = 50lL; // Long | The number of items in the response. Long skip = 56L; // Long | The number of items to skip when paging through large result sets. + String sort = "sort_example"; // String | The field by which results should be sorted. You can enter one of the following values: - `startDate`: Sorts the results by the start date of the points. - `expiryDate`: Sorts the results by the expiry date of the points. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You can only sort by one field at a time. try { - InlineResponse2005 result = apiInstance.getLoyaltyCardPoints(loyaltyProgramId, loyaltyCardId, status, subledgerId, pageSize, skip); + InlineResponse2005 result = apiInstance.getLoyaltyCardPoints(loyaltyProgramId, loyaltyCardId, status, subledgerId, customerSessionIDs, transactionUUIDs, pageSize, skip, sort); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling IntegrationApi#getLoyaltyCardPoints"); @@ -1273,8 +1361,11 @@ Name | Type | Description | Notes **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] + **customerSessionIDs** | [**List<String>**](String.md)| Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. | [optional] + **transactionUUIDs** | [**List<String>**](String.md)| Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. | [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] + **sort** | **String**| The field by which results should be sorted. You can enter one of the following values: - `startDate`: Sorts the results by the start date of the points. - `expiryDate`: Sorts the results by the expiry date of the points. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You can only sort by one field at a time. | [optional] [enum: startDate, expiryDate] ### Return type cool @@ -1300,7 +1391,7 @@ Name | Type | Description | Notes ## getLoyaltyCardTransactions -> InlineResponse2003 getLoyaltyCardTransactions(loyaltyProgramId, loyaltyCardId, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip) +> InlineResponse2003 getLoyaltyCardTransactions(loyaltyProgramId, loyaltyCardId, subledgerId, loyaltyTransactionType, startDate, endDate, customerSessionIDs, transactionUUIDs, pageSize, skip) List card's transactions @@ -1335,10 +1426,12 @@ public class Example { 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. + List customerSessionIDs = Arrays.asList(); // List | Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. + List transactionUUIDs = Arrays.asList(); // List | Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. Long pageSize = 50lL; // Long | The number of items in the response. Long skip = 56L; // Long | The number of items to skip when paging through large result sets. try { - InlineResponse2003 result = apiInstance.getLoyaltyCardTransactions(loyaltyProgramId, loyaltyCardId, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip); + InlineResponse2003 result = apiInstance.getLoyaltyCardTransactions(loyaltyProgramId, loyaltyCardId, subledgerId, loyaltyTransactionType, startDate, endDate, customerSessionIDs, transactionUUIDs, pageSize, skip); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling IntegrationApi#getLoyaltyCardTransactions"); @@ -1362,6 +1455,8 @@ Name | Type | Description | Notes **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] + **customerSessionIDs** | [**List<String>**](String.md)| Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. | [optional] + **transactionUUIDs** | [**List<String>**](String.md)| Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. | [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] @@ -1389,7 +1484,7 @@ Name | Type | Description | Notes ## getLoyaltyProgramProfilePoints -> InlineResponse2006 getLoyaltyProgramProfilePoints(loyaltyProgramId, integrationId, status, subledgerId, pageSize, skip) +> InlineResponse2006 getLoyaltyProgramProfilePoints(loyaltyProgramId, integrationId, status, subledgerId, customerSessionIDs, transactionUUIDs, pageSize, skip, sort) List customer's unused loyalty points @@ -1422,10 +1517,13 @@ public class Example { 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. + List customerSessionIDs = Arrays.asList(); // List | Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. + List transactionUUIDs = Arrays.asList(); // List | Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. Long pageSize = 50lL; // Long | The number of items in the response. Long skip = 56L; // Long | The number of items to skip when paging through large result sets. + String sort = "sort_example"; // String | The field by which results should be sorted. You can enter one of the following values: - `startDate`: Sorts the results by the start date of the points. - `expiryDate`: Sorts the results by the expiry date of the points. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You can only sort by one field at a time. try { - InlineResponse2006 result = apiInstance.getLoyaltyProgramProfilePoints(loyaltyProgramId, integrationId, status, subledgerId, pageSize, skip); + InlineResponse2006 result = apiInstance.getLoyaltyProgramProfilePoints(loyaltyProgramId, integrationId, status, subledgerId, customerSessionIDs, transactionUUIDs, pageSize, skip, sort); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling IntegrationApi#getLoyaltyProgramProfilePoints"); @@ -1447,8 +1545,11 @@ 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. | **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] + **customerSessionIDs** | [**List<String>**](String.md)| Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. | [optional] + **transactionUUIDs** | [**List<String>**](String.md)| Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. | [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] + **sort** | **String**| The field by which results should be sorted. You can enter one of the following values: - `startDate`: Sorts the results by the start date of the points. - `expiryDate`: Sorts the results by the expiry date of the points. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You can only sort by one field at a time. | [optional] [enum: startDate, expiryDate] ### Return type cool @@ -1474,7 +1575,7 @@ Name | Type | Description | Notes ## getLoyaltyProgramProfileTransactions -> InlineResponse2004 getLoyaltyProgramProfileTransactions(loyaltyProgramId, integrationId, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip) +> InlineResponse2004 getLoyaltyProgramProfileTransactions(loyaltyProgramId, integrationId, customerSessionIDs, transactionUUIDs, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip) List customer's loyalty transactions @@ -1505,6 +1606,8 @@ public class Example { 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. 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. + List customerSessionIDs = Arrays.asList(); // List | Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. + List transactionUUIDs = Arrays.asList(); // List | Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. 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. @@ -1512,7 +1615,7 @@ public class Example { Long pageSize = 50lL; // Long | The number of items in the response. Long skip = 56L; // Long | The number of items to skip when paging through large result sets. try { - InlineResponse2004 result = apiInstance.getLoyaltyProgramProfileTransactions(loyaltyProgramId, integrationId, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip); + InlineResponse2004 result = apiInstance.getLoyaltyProgramProfileTransactions(loyaltyProgramId, integrationId, customerSessionIDs, transactionUUIDs, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling IntegrationApi#getLoyaltyProgramProfileTransactions"); @@ -1532,6 +1635,8 @@ 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. | **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. | + **customerSessionIDs** | [**List<String>**](String.md)| Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. | [optional] + **transactionUUIDs** | [**List<String>**](String.md)| Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. | [optional] **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] @@ -1721,7 +1826,7 @@ Name | Type | Description | Notes Reopen customer session -Reopen a closed [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). For example, if a session has been completed but still needs to be edited, you can reopen it with this endpoint. A reopen session is treated like a standard open session. When reopening a session: - The `talon_session_reopened` event is triggered. You can see it in the **Events** view in the Campaign Manager. - The session state is updated to `open`. - Modified budgets and triggered effects when the session was closed are rolled back except for the list below. <details> <summary><strong>Effects and budgets unimpacted by a session reopening</strong></summary> <div> <p>The following effects and budgets are left the way they were once the session was originally closed:</p> <ul> <li>Add free item effect</li> <li>Any <strong>non-pending</strong> loyalty points</li> <li>Award giveaway</li> <li>Coupon and referral creation</li> <li>Coupon reservation</li> <li>Custom effect</li> <li>Update attribute value</li> <li>Update cart item attribute value</li> </ul> </div> <p>To see an example of roll back, see the <a href=\"https://docs.talon.one/docs/dev/tutorials/rolling-back-effects\">Cancelling a session with campaign budgets tutorial</a>.</p> </details> **Note:** If your order workflow requires you to create a new session instead of reopening a session, use the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint to cancel a closed session and create a new one. +Reopen a closed [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). For example, if a session has been completed but still needs to be edited, you can reopen it with this endpoint. A reopen session is treated like a standard open session. When reopening a session: - The `talon_session_reopened` event is triggered. You can see it in the **Events** view in the Campaign Manager. - The session state is updated to `open`. - Any modified budgets and triggered effects are rolled back when the session closes. - Depending on the [return policy](https://docs.talon.one/docs/product/loyalty-programs/managing-loyalty-programs#return-policy) in your loyalty programs, points are rolled back in the following ways: - Pending points are rolled back automatically. - If **Active points deduction** setting is enabled, any points that were earned and activated when the session closed are rolled back. - If **Negative balance** is enabled, the rollback can create a negative points balance. <details> <summary><strong>Effects and budgets unimpacted by a session reopening</strong></summary> <div> <p>The following effects and budgets remain in the state they were in when the session closed:</p> <ul> <li>Add free item effect</li> <li>Award giveaway</li> <li>Coupon and referral creation</li> <li>Coupon reservation</li> <li>Custom effect</li> <li>Update attribute value</li> <li>Update cart item attribute value</li> </ul> </div> </details> <p>To see an example of a rollback, see the <a href=\"https://docs.talon.one/docs/dev/tutorials/rolling-back-effects\">Cancelling a session with campaign budgets</a>tutorial.</p> **Note:** If your order workflow requires you to create a new session instead of reopening a session, use the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint to cancel a closed session and create a new one. ### Example diff --git a/docs/JWT.md b/docs/JWT.md new file mode 100644 index 00000000..65fd5d78 --- /dev/null +++ b/docs/JWT.md @@ -0,0 +1,14 @@ + + +# JWT + +JSON web token used for accessing integrations in Prismatic +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**accessToken** | **String** | Access token used to authenticate a user in Talon.One. | +**expiresIn** | **Long** | Time until the token expires (in seconds). | + + + diff --git a/docs/LabelTargetAudience.md b/docs/LabelTargetAudience.md new file mode 100644 index 00000000..574524df --- /dev/null +++ b/docs/LabelTargetAudience.md @@ -0,0 +1,22 @@ + + +# LabelTargetAudience + +Represents the targeted audience. +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | [**TypeEnum**](#TypeEnum) | | +**audience** | [**AudienceReference**](AudienceReference.md) | | + + + +## Enum: TypeEnum + +Name | Value +---- | ----- +AUDIENCE | "AUDIENCE" + + + diff --git a/docs/LabelTargetNone.md b/docs/LabelTargetNone.md new file mode 100644 index 00000000..bdde5aca --- /dev/null +++ b/docs/LabelTargetNone.md @@ -0,0 +1,21 @@ + + +# LabelTargetNone + +Represents the target type when no entity is selected. +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | [**TypeEnum**](#TypeEnum) | | + + + +## Enum: TypeEnum + +Name | Value +---- | ----- +NONE | "NONE" + + + diff --git a/docs/LedgerPointsEntryIntegrationAPI.md b/docs/LedgerPointsEntryIntegrationAPI.md index df187124..b91bee0c 100644 --- a/docs/LedgerPointsEntryIntegrationAPI.md +++ b/docs/LedgerPointsEntryIntegrationAPI.md @@ -8,6 +8,7 @@ Loyalty profile points with start and expiry dates. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **Long** | ID of the transaction that adds loyalty points. | +**transactionUUID** | **String** | Unique identifier of the transaction in the UUID format. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | Date and time the loyalty points were added. | **programId** | **Long** | ID of the loyalty program. | **customerSessionId** | **String** | ID of the customer session where points were added. | [optional] diff --git a/docs/LedgerTransactionLogEntryIntegrationAPI.md b/docs/LedgerTransactionLogEntryIntegrationAPI.md index 66a0239e..870d36c8 100644 --- a/docs/LedgerTransactionLogEntryIntegrationAPI.md +++ b/docs/LedgerTransactionLogEntryIntegrationAPI.md @@ -2,11 +2,12 @@ # LedgerTransactionLogEntryIntegrationAPI -Log entry for a given loyalty card transaction. +Log entry for a given loyalty profile transaction. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**transactionUUID** | **String** | Unique identifier of the transaction in the UUID format. | **created** | [**OffsetDateTime**](OffsetDateTime.md) | Date and time the loyalty transaction occurred. | **programId** | **Long** | ID of the loyalty program. | **customerSessionId** | **String** | ID of the customer session where the transaction occurred. | [optional] diff --git a/docs/LoyaltyDashboardData.md b/docs/LoyaltyDashboardData.md index 481d0e93..3c025a63 100644 --- a/docs/LoyaltyDashboardData.md +++ b/docs/LoyaltyDashboardData.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **totalPendingPoints** | [**BigDecimal**](BigDecimal.md) | Total of pending points for this loyalty program. | **totalSpentPoints** | [**BigDecimal**](BigDecimal.md) | Total of spent points for this loyalty program. | **totalExpiredPoints** | [**BigDecimal**](BigDecimal.md) | Total of expired points for this loyalty program. | +**totalNegativePoints** | [**BigDecimal**](BigDecimal.md) | Total of negative points for this loyalty program. | **totalMembers** | [**BigDecimal**](BigDecimal.md) | Number of loyalty program members. | **newMembers** | [**BigDecimal**](BigDecimal.md) | Number of members who joined on this day. | **spentPoints** | [**LoyaltyDashboardPointsBreakdown**](LoyaltyDashboardPointsBreakdown.md) | | diff --git a/docs/LoyaltyLedgerEntryExpiryDateChange.md b/docs/LoyaltyLedgerEntryExpiryDateChange.md new file mode 100644 index 00000000..064a5654 --- /dev/null +++ b/docs/LoyaltyLedgerEntryExpiryDateChange.md @@ -0,0 +1,15 @@ + + +# LoyaltyLedgerEntryExpiryDateChange + +The properties specific to effects for changing the expiry dates of loyalty ledger entries. +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**transactionUUID** | [**UUID**](UUID.md) | The identifier of the transaction affected by the extension or update. | +**previousExpiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | Expiry date of the transactions before applying the extension or update. | [optional] +**newExpiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | Expiry date of the transaction after applying the extension or update. | + + + diff --git a/docs/LoyaltyProgram.md b/docs/LoyaltyProgram.md index 0ffb7abf..dd1cee66 100644 --- a/docs/LoyaltyProgram.md +++ b/docs/LoyaltyProgram.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes **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. | **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. | +**defaultPending** | **String** | The default duration of the pending time after which points should be valid. Accepted values: 'immediate', 'on_action' 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] **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/LoyaltyProgramTransaction.md b/docs/LoyaltyProgramTransaction.md index 7f0efc1e..19e4b099 100644 --- a/docs/LoyaltyProgramTransaction.md +++ b/docs/LoyaltyProgramTransaction.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **Long** | ID of the loyalty ledger transaction. | +**transactionUUID** | **String** | Unique identifier of the transaction in the UUID format. | **programId** | **Long** | ID of the loyalty program. | **campaignId** | **Long** | ID of the campaign. | [optional] **created** | [**OffsetDateTime**](OffsetDateTime.md) | Date and time the loyalty transaction occurred. | diff --git a/docs/ManagementApi.md b/docs/ManagementApi.md index 7181b571..71777c4d 100644 --- a/docs/ManagementApi.md +++ b/docs/ManagementApi.md @@ -204,6 +204,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -244,7 +250,7 @@ null (empty response body) ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -281,6 +287,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -325,7 +337,7 @@ null (empty response body) ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -365,6 +377,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -409,7 +427,7 @@ null (empty response body) ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -449,6 +467,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -494,7 +518,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -531,6 +555,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -572,7 +602,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -612,6 +642,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -657,7 +693,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -697,6 +733,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -738,7 +780,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -775,6 +817,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -816,7 +864,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -853,6 +901,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -896,7 +950,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -936,6 +990,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -979,7 +1039,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -1016,6 +1076,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -1060,7 +1126,7 @@ null (empty response body) ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -1099,6 +1165,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -1144,7 +1216,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -1181,6 +1253,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -1228,7 +1306,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -1266,6 +1344,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -1311,7 +1395,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -1348,6 +1432,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -1393,7 +1483,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -1430,6 +1520,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -1477,7 +1573,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -1515,6 +1611,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -1556,7 +1658,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -1593,6 +1695,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -1634,7 +1742,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -1671,6 +1779,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -1712,7 +1826,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -1749,6 +1863,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -1790,7 +1910,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -1827,6 +1947,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -1870,7 +1996,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -1909,6 +2035,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -1949,7 +2081,7 @@ null (empty response body) ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -1986,6 +2118,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -2030,7 +2168,7 @@ null (empty response body) ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -2070,6 +2208,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -2110,7 +2254,7 @@ null (empty response body) ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -2148,6 +2292,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -2192,7 +2342,7 @@ null (empty response body) ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -2231,6 +2381,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -2273,7 +2429,7 @@ null (empty response body) ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -2310,6 +2466,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -2356,7 +2518,7 @@ null (empty response body) ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -2394,6 +2556,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -2438,7 +2606,7 @@ null (empty response body) ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -2476,6 +2644,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -2520,7 +2694,7 @@ null (empty response body) ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -2557,6 +2731,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -2625,7 +2805,7 @@ null (empty response body) ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -2662,6 +2842,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -2704,7 +2890,7 @@ null (empty response body) ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -2743,6 +2929,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -2787,7 +2979,7 @@ null (empty response body) ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -2824,6 +3016,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -2866,7 +3064,7 @@ null (empty response body) ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -2904,6 +3102,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -2944,7 +3148,7 @@ null (empty response body) ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -2981,6 +3185,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -3021,7 +3231,7 @@ null (empty response body) ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -3058,6 +3268,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -3094,7 +3310,7 @@ null (empty response body) ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -3131,6 +3347,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -3173,7 +3395,7 @@ null (empty response body) ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -3213,6 +3435,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -3254,7 +3482,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -3293,6 +3521,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -3338,7 +3572,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -3378,6 +3612,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -3419,7 +3659,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -3459,6 +3699,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -3506,7 +3752,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -3546,6 +3792,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -3589,7 +3841,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -3629,6 +3881,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -3674,7 +3932,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -3713,6 +3971,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -3782,7 +4046,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -3819,6 +4083,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -3870,7 +4140,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -3907,6 +4177,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -3952,7 +4228,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -3989,6 +4265,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -4038,7 +4320,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -4075,6 +4357,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -4118,7 +4406,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -4157,6 +4445,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -4200,7 +4494,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -4239,6 +4533,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -4282,7 +4582,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -4321,6 +4621,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -4370,7 +4676,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -4409,6 +4715,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -4458,7 +4770,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -4479,7 +4791,7 @@ Name | Type | Description | Notes Export customer's transaction logs -Download a CSV file containing a customer's transaction logs in the loyalty program. **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 generated file can contain the following columns: - `customerprofileid`: The ID of the profile. - `customersessionid`: The ID of the customer session. - `rulesetid`: The ID of the rule set. - `rulename`: The name of the rule. - `programid`: The ID of the loyalty program. - `type`: The transaction type, such as `addition` or `subtraction`. - `name`: The reason for the transaction. - `subledgerid`: The ID of the subledger, when applicable. - `startdate`: The start date of the program. - `expirydate`: The expiration date of the program. - `id`: The ID of the transaction. - `created`: The timestamp of the creation of the loyalty program. - `amount`: The number of points in that transaction. - `archived`: Whether the session related to the transaction is archived. - `campaignid`: The ID of the campaign. - `flags`: The flags of the transaction, when applicable. The `createsNegativeBalance` flag indicates whether the transaction results in a negative balance. +Download a CSV file containing a customer's transaction logs in the loyalty program. **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 generated file can contain the following columns: - `customerprofileid`: The ID of the profile. - `customersessionid`: The ID of the customer session. - `rulesetid`: The ID of the rule set. - `rulename`: The name of the rule. - `programid`: The ID of the loyalty program. - `type`: The transaction type, such as `addition` or `subtraction`. - `name`: The reason for the transaction. - `subledgerid`: The ID of the subledger, when applicable. - `startdate`: The start date of the program. - `expirydate`: The expiration date of the program. - `id`: The ID of the transaction. - `created`: The timestamp of the creation of the loyalty program. - `amount`: The number of points in that transaction. - `archived`: Whether the session related to the transaction is archived. - `campaignid`: The ID of the campaign. - `flags`: The flags of the transaction, when applicable. The `createsNegativeBalance` flag indicates whether the transaction results in a negative balance. - `transactionUUID`: Unique identifier of the transaction in the UUID format. ### Example @@ -4497,6 +4809,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -4546,7 +4864,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -4583,6 +4901,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -4628,7 +4952,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -4666,6 +4990,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -4721,7 +5051,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -4758,6 +5088,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -4815,7 +5151,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -4852,6 +5188,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -4893,7 +5235,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -4930,6 +5272,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -4971,7 +5319,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -5008,6 +5356,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -5049,7 +5403,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -5087,6 +5441,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -5132,7 +5492,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -5171,6 +5531,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -5212,7 +5578,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -5249,6 +5615,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -5294,7 +5666,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -5331,6 +5703,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -5372,7 +5750,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -5409,6 +5787,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -5450,7 +5834,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -5487,6 +5871,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -5530,7 +5920,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -5567,6 +5957,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -5618,7 +6014,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -5655,6 +6051,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -5704,7 +6106,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -5741,6 +6143,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -5790,7 +6198,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -5827,6 +6235,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -5874,7 +6288,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -5889,7 +6303,7 @@ Name | Type | Description | Notes ## getApplicationEventsWithoutTotalCount -> InlineResponse20030 getApplicationEventsWithoutTotalCount(applicationId, pageSize, skip, sort, type, createdBefore, createdAfter, session, profile, customerName, customerEmail, couponCode, referralCode, ruleQuery, campaignQuery) +> InlineResponse20030 getApplicationEventsWithoutTotalCount(applicationId, pageSize, skip, sort, type, createdBefore, createdAfter, session, profile, customerName, customerEmail, couponCode, referralCode, ruleQuery, campaignQuery, effectType) List Applications events @@ -5911,6 +6325,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -5939,8 +6359,9 @@ public class Example { String referralCode = "referralCode_example"; // String | Referral code String ruleQuery = "ruleQuery_example"; // String | Rule name filter for events String campaignQuery = "campaignQuery_example"; // String | Campaign name filter for events + String effectType = "effectType_example"; // String | The type of effect that was triggered. See [API effects](https://docs.talon.one/docs/dev/integration-api/api-effects). try { - InlineResponse20030 result = apiInstance.getApplicationEventsWithoutTotalCount(applicationId, pageSize, skip, sort, type, createdBefore, createdAfter, session, profile, customerName, customerEmail, couponCode, referralCode, ruleQuery, campaignQuery); + InlineResponse20030 result = apiInstance.getApplicationEventsWithoutTotalCount(applicationId, pageSize, skip, sort, type, createdBefore, createdAfter, session, profile, customerName, customerEmail, couponCode, referralCode, ruleQuery, campaignQuery, effectType); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ManagementApi#getApplicationEventsWithoutTotalCount"); @@ -5973,6 +6394,7 @@ Name | Type | Description | Notes **referralCode** | **String**| Referral code | [optional] **ruleQuery** | **String**| Rule name filter for events | [optional] **campaignQuery** | **String**| Campaign name filter for events | [optional] + **effectType** | **String**| The type of effect that was triggered. See [API effects](https://docs.talon.one/docs/dev/integration-api/api-effects). | [optional] ### Return type cool @@ -5980,7 +6402,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -6017,6 +6439,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -6060,7 +6488,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -6097,6 +6525,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -6160,7 +6594,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -6197,6 +6631,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -6242,7 +6682,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -6279,6 +6719,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -6320,7 +6766,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -6357,6 +6803,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -6404,7 +6856,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -6441,6 +6893,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -6490,7 +6948,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -6528,6 +6986,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -6575,7 +7039,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -6612,6 +7076,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -6655,7 +7125,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -6692,6 +7162,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -6735,7 +7211,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -6772,6 +7248,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -6821,7 +7303,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -6858,6 +7340,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -6909,7 +7397,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -6946,6 +7434,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -6987,7 +7481,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -7024,6 +7518,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -7069,7 +7569,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -7106,6 +7606,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -7159,7 +7665,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -7196,6 +7702,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -7259,7 +7771,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -7297,6 +7809,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -7358,7 +7876,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -7395,6 +7913,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -7440,7 +7964,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -7478,6 +8002,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -7523,7 +8053,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -7561,6 +8091,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -7640,7 +8176,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -7677,6 +8213,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -7728,7 +8270,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -7765,6 +8307,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -7824,7 +8372,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -7861,6 +8409,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -7910,7 +8464,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -7947,6 +8501,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -7988,7 +8548,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -8025,6 +8585,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -8076,7 +8642,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -8115,6 +8681,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -8160,7 +8732,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -8197,6 +8769,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -8244,7 +8822,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -8281,6 +8859,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -8328,7 +8912,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -8365,6 +8949,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -8414,7 +9004,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -8451,6 +9041,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -8500,7 +9096,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -8537,6 +9133,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -8580,7 +9182,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -8598,7 +9200,7 @@ Name | Type | Description | Notes ## getLoyaltyCardTransactionLogs -> InlineResponse20019 getLoyaltyCardTransactionLogs(loyaltyProgramId, loyaltyCardId, startDate, endDate, pageSize, skip, subledgerId) +> InlineResponse20019 getLoyaltyCardTransactionLogs(loyaltyProgramId, loyaltyCardId, startDate, endDate, pageSize, skip, subledgerId, customerSessionIDs, transactionUUIDs) List card's transactions @@ -8620,6 +9222,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -8640,8 +9248,10 @@ public class Example { Long pageSize = 1000lL; // Long | The number of items in the response. Long skip = 56L; // Long | The number of items to skip when paging through large result sets. String subledgerId = "subledgerId_example"; // String | The ID of the subledger by which we filter the data. + List customerSessionIDs = Arrays.asList(); // List | Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. + List transactionUUIDs = Arrays.asList(); // List | Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. try { - InlineResponse20019 result = apiInstance.getLoyaltyCardTransactionLogs(loyaltyProgramId, loyaltyCardId, startDate, endDate, pageSize, skip, subledgerId); + InlineResponse20019 result = apiInstance.getLoyaltyCardTransactionLogs(loyaltyProgramId, loyaltyCardId, startDate, endDate, pageSize, skip, subledgerId, customerSessionIDs, transactionUUIDs); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ManagementApi#getLoyaltyCardTransactionLogs"); @@ -8666,6 +9276,8 @@ 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] **subledgerId** | **String**| The ID of the subledger by which we filter the data. | [optional] + **customerSessionIDs** | [**List<String>**](String.md)| Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. | [optional] + **transactionUUIDs** | [**List<String>**](String.md)| Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. | [optional] ### Return type cool @@ -8673,7 +9285,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -8712,6 +9324,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -8765,7 +9383,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -8804,6 +9422,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -8847,7 +9471,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -8884,6 +9508,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -8925,7 +9555,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -8940,7 +9570,7 @@ Name | Type | Description | Notes ## getLoyaltyProgramTransactions -> InlineResponse20017 getLoyaltyProgramTransactions(loyaltyProgramId, loyaltyTransactionType, subledgerId, startDate, endDate, pageSize, skip) +> InlineResponse20017 getLoyaltyProgramTransactions(loyaltyProgramId, loyaltyTransactionType, subledgerId, customerSessionIDs, transactionUUIDs, startDate, endDate, pageSize, skip) List loyalty program transactions @@ -8962,6 +9592,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -8978,12 +9614,14 @@ public class Example { Long loyaltyProgramId = 56L; // Long | Identifier of the loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. String loyaltyTransactionType = "loyaltyTransactionType_example"; // String | Filter results by loyalty transaction type: - `manual`: Loyalty transaction that was done manually. - `session`: Loyalty transaction that resulted from a customer session. - `import`: Loyalty transaction that was imported from a CSV file. String subledgerId = "subledgerId_example"; // String | The ID of the subledger by which we filter the data. + List customerSessionIDs = Arrays.asList(); // List | Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. + List transactionUUIDs = Arrays.asList(); // List | Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. 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. try { - InlineResponse20017 result = apiInstance.getLoyaltyProgramTransactions(loyaltyProgramId, loyaltyTransactionType, subledgerId, startDate, endDate, pageSize, skip); + InlineResponse20017 result = apiInstance.getLoyaltyProgramTransactions(loyaltyProgramId, loyaltyTransactionType, subledgerId, customerSessionIDs, transactionUUIDs, startDate, endDate, pageSize, skip); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ManagementApi#getLoyaltyProgramTransactions"); @@ -9004,6 +9642,8 @@ 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. | **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] + **customerSessionIDs** | [**List<String>**](String.md)| Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. | [optional] + **transactionUUIDs** | [**List<String>**](String.md)| Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. | [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] @@ -9015,7 +9655,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -9055,6 +9695,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -9092,7 +9738,7 @@ This endpoint does not need any parameter. ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -9129,6 +9775,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -9170,7 +9822,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -9207,6 +9859,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -9224,8 +9882,8 @@ public class Example { String messageID = "messageID_example"; // String | Filter results by message ID. String changeType = "changeType_example"; // String | Filter results by change type. String notificationIDs = "notificationIDs_example"; // String | Filter results by notification ID (include up to 30 values, separated by a comma). - OffsetDateTime createdBefore = new OffsetDateTime(); // 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. - OffsetDateTime createdAfter = new OffsetDateTime(); // 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. + OffsetDateTime createdBefore = new OffsetDateTime(); // OffsetDateTime | Filter results where request and response times to return entries before parameter value, expected to be an RFC3339 timestamp string. Use UTC time. + OffsetDateTime createdAfter = new OffsetDateTime(); // OffsetDateTime | Filter results where request and response times to return entries after parameter value, expected to be an RFC3339 timestamp string. Use UTC time. byte[] cursor = null; // byte[] | A specific unique value in the database. If this value is not given, the server fetches results starting with the first record. String period = "period_example"; // String | Filter results by time period. Choose between the available relative time frames. 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. @@ -9257,8 +9915,8 @@ Name | Type | Description | Notes **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, 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] + **createdBefore** | **OffsetDateTime**| Filter results where request and response times to return entries before parameter value, expected to be an RFC3339 timestamp string. Use UTC time. | [optional] + **createdAfter** | **OffsetDateTime**| Filter results where request and response times to return entries after parameter value, expected to be an RFC3339 timestamp string. Use UTC time. | [optional] **cursor** | **byte[]**| A specific unique value in the database. If this value is not given, the server fetches results starting with the first record. | [optional] **period** | **String**| Filter results by time period. Choose between the available relative time frames. | [optional] [enum: 15m, 30m, 1h, 4h, 1d, 2d] **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] @@ -9274,7 +9932,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -9311,6 +9969,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -9372,7 +10036,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -9409,6 +10073,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -9450,7 +10120,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -9487,6 +10157,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -9532,7 +10208,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -9569,6 +10245,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -9618,7 +10300,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -9655,6 +10337,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -9698,7 +10386,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -9736,6 +10424,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -9777,7 +10471,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -9814,6 +10508,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -9859,7 +10559,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -9896,6 +10596,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -9937,7 +10643,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -9974,6 +10680,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -10029,7 +10741,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -10066,6 +10778,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -10109,7 +10827,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -10148,6 +10866,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -10191,7 +10915,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -10231,6 +10955,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -10274,7 +11004,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -10314,6 +11044,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -10363,7 +11099,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -10401,6 +11137,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -10446,7 +11188,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -10486,6 +11228,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -10533,7 +11281,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -10571,6 +11319,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -10618,7 +11372,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -10655,6 +11409,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -10698,7 +11458,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -10737,6 +11497,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -10780,7 +11546,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -10820,6 +11586,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -10865,7 +11637,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -10902,6 +11674,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -10945,7 +11723,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -10982,6 +11760,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -11027,7 +11811,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -11064,6 +11848,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -11104,7 +11894,7 @@ null (empty response body) ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -11141,6 +11931,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -11190,7 +11986,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -11230,6 +12026,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -11279,7 +12081,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -11316,6 +12118,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -11353,7 +12161,7 @@ This endpoint does not need any parameter. ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -11390,6 +12198,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -11437,7 +12251,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -11477,6 +12291,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -11528,7 +12348,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -11565,6 +12385,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -11618,7 +12444,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -11656,6 +12482,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -11707,7 +12539,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -11745,6 +12577,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -11802,7 +12640,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -11839,6 +12677,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -11875,7 +12719,7 @@ null (empty response body) ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -11912,6 +12756,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -11956,7 +12806,7 @@ null (empty response body) ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -11996,6 +12846,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -12037,7 +12893,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -12074,6 +12930,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -12115,7 +12977,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -12152,6 +13014,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -12193,7 +13061,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -12230,6 +13098,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -12270,7 +13144,7 @@ null (empty response body) ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -12307,6 +13181,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -12347,7 +13227,7 @@ null (empty response body) ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -12384,6 +13264,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -12425,7 +13311,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -12462,6 +13348,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -12499,7 +13391,7 @@ This endpoint does not need any parameter. ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -12536,6 +13428,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -12573,7 +13471,7 @@ This endpoint does not need any parameter. ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -12610,6 +13508,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -12647,7 +13551,7 @@ This endpoint does not need any parameter. ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -12684,6 +13588,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -12721,7 +13631,7 @@ This endpoint does not need any parameter. ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -12758,6 +13668,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -12799,7 +13715,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -12836,6 +13752,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -12873,7 +13795,7 @@ This endpoint does not need any parameter. ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -12910,6 +13832,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -12953,7 +13881,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -12990,6 +13918,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -13033,7 +13967,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -13070,6 +14004,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -13113,7 +14053,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -13150,6 +14090,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -13193,7 +14139,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -13230,6 +14176,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -13299,7 +14251,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -13336,6 +14288,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -13405,7 +14363,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -13442,6 +14400,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -13485,7 +14449,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -13525,6 +14489,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -13569,7 +14539,7 @@ null (empty response body) ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -13609,6 +14579,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -13652,7 +14628,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -13692,6 +14668,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -13739,7 +14721,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -13779,6 +14761,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -13822,7 +14810,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -13859,6 +14847,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -13902,7 +14896,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -13939,6 +14933,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -13984,7 +14984,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -14021,6 +15021,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -14068,7 +15074,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -14106,6 +15112,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -14153,7 +15165,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -14190,6 +15202,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -14234,7 +15252,7 @@ null (empty response body) ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -14271,6 +15289,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -14316,7 +15340,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -14356,6 +15380,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -14403,7 +15433,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -14440,6 +15470,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -14483,7 +15519,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -14520,6 +15556,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -14565,7 +15607,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers @@ -14604,6 +15646,12 @@ public class Example { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("https://yourbaseurl.talon.one"); + // Configure API key authorization: api_key_v1 + ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1"); + api_key_v1.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //api_key_v1.setApiKeyPrefix("Token"); + // Configure API key authorization: management_key ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key"); management_key.setApiKey("YOUR API KEY"); @@ -14647,7 +15695,7 @@ Name | Type | Description | Notes ### Authorization -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) +[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) ### HTTP request headers diff --git a/docs/NewLoyaltyProgram.md b/docs/NewLoyaltyProgram.md index 8aa2e1e9..d0da17d6 100644 --- a/docs/NewLoyaltyProgram.md +++ b/docs/NewLoyaltyProgram.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **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] **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. | +**defaultPending** | **String** | The default duration of the pending time after which points should be valid. Accepted values: 'immediate', 'on_action' 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] **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/NewMessageTest.md b/docs/NewMessageTest.md index 27920566..823370e2 100644 --- a/docs/NewMessageTest.md +++ b/docs/NewMessageTest.md @@ -6,34 +6,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | [**TypeEnum**](#TypeEnum) | The message type. | -**queryParams** | **Map<String, String>** | Array of query parameters. | [optional] **headers** | **Map<String, String>** | List of API HTTP headers for the given message. | [optional] **verb** | [**VerbEnum**](#VerbEnum) | API method for this message. | **url** | **String** | API URL for the given message. | **payload** | **String** | API payload of this message. | [optional] - - - -## Enum: TypeEnum - -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" -PENDING_TO_ACTIVE_POINTS | "pending_to_active_points" -STRIKETHROUGH_PRICING | "strikethrough_pricing" -TIER_DOWNGRADE | "tier_downgrade" -TIER_UPGRADE | "tier_upgrade" -TIER_WILL_DOWNGRADE | "tier_will_downgrade" -CARD_EXPIRING_POINTS | "card_expiring_points" -RULE_ENGINE_WEBHOOK | "rule_engine_webhook" +**params** | [**List<TemplateArgDef>**](TemplateArgDef.md) | Array of template argument definitions. | [optional] +**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`. | [optional] diff --git a/docs/NewPriceAdjustment.md b/docs/NewPriceAdjustment.md index 6a58713d..2495f01d 100644 --- a/docs/NewPriceAdjustment.md +++ b/docs/NewPriceAdjustment.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **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] +**contextId** | **String** | Identifier of the context of this price adjustment (e.g. summer sale). | [optional] diff --git a/docs/NewPriceType.md b/docs/NewPriceType.md index e0d3d778..11c08654 100644 --- a/docs/NewPriceType.md +++ b/docs/NewPriceType.md @@ -7,9 +7,9 @@ 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<Long>** | A list of the IDs of the audiences that are targeted by this price type. | [optional] +**title** | **String** | The name displayed in the Campaign Manager for the price type. | +**description** | **String** | A description of the price type. | [optional] +**targetedAudiencesIds** | **List<Long>** | A list of the IDs of the audiences targeted by this price type. | [optional] diff --git a/docs/PriceDetail.md b/docs/PriceDetail.md index 8edbcac9..d1f63fc2 100644 --- a/docs/PriceDetail.md +++ b/docs/PriceDetail.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **price** | **Float** | The value of this price type. | [optional] +**adjustmentContextId** | **String** | The context identifier of the selected price adjustment. | [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 index 648b1a02..8229077c 100644 --- a/docs/PriceType.md +++ b/docs/PriceType.md @@ -10,11 +10,11 @@ Name | Type | Description | Notes **created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. | **accountId** | **Long** | 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] +**title** | **String** | The name displayed in the Campaign Manager for the price type. | +**description** | **String** | A description of the price type. | [optional] **modified** | [**OffsetDateTime**](OffsetDateTime.md) | The date and time when the price type was last modified. | **subscribedCatalogsIds** | **List<Long>** | A list of the IDs of the catalogs that are subscribed to this price type. | -**targetedAudiencesIds** | **List<Long>** | A list of the IDs of the audiences that are targeted by this price type. | +**targetedAudiencesIds** | **List<Long>** | A list of the IDs of the audiences targeted by this price type. | diff --git a/docs/PriceTypeReferenceDetail.md b/docs/PriceTypeReferenceDetail.md new file mode 100644 index 00000000..94a31b28 --- /dev/null +++ b/docs/PriceTypeReferenceDetail.md @@ -0,0 +1,25 @@ + + +# PriceTypeReferenceDetail + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**referencingType** | [**ReferencingTypeEnum**](#ReferencingTypeEnum) | The entity type that references the price type. For example, a campaign or an Application cart item filter. | +**referencingId** | **Long** | The ID of the entity that references the price type. | +**referencingName** | **String** | The name of the entity that references the price type. | +**applicationId** | **Long** | The ID of the Application that contains the entity that references the price type. | [optional] + + + +## Enum: ReferencingTypeEnum + +Name | Value +---- | ----- +CAMPAIGN | "Campaign" +APPLICATIONCARTITEMFILTER | "ApplicationCartItemFilter" +TEMPLATE | "Template" + + + diff --git a/docs/PriceTypeReferences.md b/docs/PriceTypeReferences.md new file mode 100644 index 00000000..bc704602 --- /dev/null +++ b/docs/PriceTypeReferences.md @@ -0,0 +1,13 @@ + + +# PriceTypeReferences + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**priceTypeId** | **Long** | The ID of the price type. | +**references** | [**List<PriceTypeReferenceDetail>**](PriceTypeReferenceDetail.md) | A list of entities that reference the price type, including details about the entities. | [optional] + + + diff --git a/docs/RoleV2RolesGroup.md b/docs/RoleV2RolesGroup.md index be73a412..34d5c1a1 100644 --- a/docs/RoleV2RolesGroup.md +++ b/docs/RoleV2RolesGroup.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **applications** | [**Map<String, RoleV2ApplicationDetails>**](RoleV2ApplicationDetails.md) | A map of the link between the Application, campaign, or draft campaign-related permission set and the Application ID the permissions apply to. | [optional] **loyaltyPrograms** | **Map<String, String>** | A map of the link between the loyalty program-related permission set and the Application ID the permissions apply to. | [optional] **campaignAccessGroups** | **Map<String, String>** | A map of the link between the campaign access group-related permission set and the Application ID the permissions apply to. | [optional] +**account** | **String** | Name of the account-level permission set | [optional] diff --git a/docs/SetLoyaltyPointsExpiryDateEffectProps.md b/docs/SetLoyaltyPointsExpiryDateEffectProps.md new file mode 100644 index 00000000..0c003185 --- /dev/null +++ b/docs/SetLoyaltyPointsExpiryDateEffectProps.md @@ -0,0 +1,16 @@ + + +# SetLoyaltyPointsExpiryDateEffectProps + +The properties specific to the \"setLoyaltyPointsExpiryDate\" effect. This gets triggered when a validated rule contains the \"set expiry date\" effect. The current expiry date gets set to the date given in the effect. +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**programId** | **Long** | ID of the loyalty program that contains these points. | +**subLedgerId** | **String** | API name of the loyalty program subledger that contains these points. | +**newExpiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | The specified expiry date and time for all active and pending point transactions in the loyalty program subledger. | +**affectedTransactions** | [**List<LoyaltyLedgerEntryExpiryDateChange>**](LoyaltyLedgerEntryExpiryDateChange.md) | List of transactions affected by the expiry date update. | [optional] + + + diff --git a/docs/StrikethroughChangedItem.md b/docs/StrikethroughChangedItem.md index 0bc2c67c..d61a21e5 100644 --- a/docs/StrikethroughChangedItem.md +++ b/docs/StrikethroughChangedItem.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **sku** | **String** | The unique SKU of the changed item. | **version** | **Long** | The version of the changed item. | **price** | [**BigDecimal**](BigDecimal.md) | The price of the changed item. | +**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] **evaluatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The evaluation time of the changed item. | **effects** | [**List<StrikethroughEffect>**](StrikethroughEffect.md) | | [optional] diff --git a/docs/StrikethroughEffect.md b/docs/StrikethroughEffect.md index 8fb4b48c..195b02a8 100644 --- a/docs/StrikethroughEffect.md +++ b/docs/StrikethroughEffect.md @@ -15,6 +15,10 @@ Name | Type | Description | Notes **props** | [**Object**](.md) | | **startTime** | [**OffsetDateTime**](OffsetDateTime.md) | The start of the time frame where the effect is active in UTC. | [optional] **endTime** | [**OffsetDateTime**](OffsetDateTime.md) | The end of the time frame where the effect is active in UTC. | [optional] +**selectedPriceType** | **String** | The selected price type for this cart item (e.g. the price for members only). | [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** | **String** | The reference identifier of the selected price adjustment for this cart item. | [optional] +**targets** | **List<Object>** | A list of entities (e.g. audiences) targeted by this effect. | [optional] diff --git a/docs/StrikethroughLabelingNotification.md b/docs/StrikethroughLabelingNotification.md index 9e0652b8..0d8cb926 100644 --- a/docs/StrikethroughLabelingNotification.md +++ b/docs/StrikethroughLabelingNotification.md @@ -14,6 +14,7 @@ Name | Type | Description | Notes **totalBatches** | **Long** | The total number of batches for the notification. | **trigger** | [**StrikethroughTrigger**](StrikethroughTrigger.md) | | **changedItems** | [**List<StrikethroughChangedItem>**](StrikethroughChangedItem.md) | | +**notificationType** | **String** | The type of the notification | diff --git a/docs/UpdateAchievement.md b/docs/UpdateAchievement.md index 5be21467..f5ce3682 100644 --- a/docs/UpdateAchievement.md +++ b/docs/UpdateAchievement.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes **activationPolicy** | [**ActivationPolicyEnum**](#ActivationPolicyEnum) | The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule. | [optional] **fixedStartDate** | [**OffsetDateTime**](OffsetDateTime.md) | The achievement's start date when `activationPolicy` is set to `fixed_schedule`. **Note:** It must be an RFC3339 timestamp string. | [optional] **endDate** | [**OffsetDateTime**](OffsetDateTime.md) | The achievement's end date. If defined, customers cannot participate in the achievement after this date. **Note:** It must be an RFC3339 timestamp string. | [optional] +**allowRollbackAfterCompletion** | **Boolean** | When `true`, customer progress can be rolled back in completed achievements. | [optional] diff --git a/docs/UpdateCouponsData.md b/docs/UpdateCouponsData.md index be51c32b..9f86f0fe 100644 --- a/docs/UpdateCouponsData.md +++ b/docs/UpdateCouponsData.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **typeOfChange** | **String** | | **operation** | **String** | | **employeeName** | **String** | | +**notificationType** | **String** | The type of the notification | diff --git a/docs/UpdateLoyaltyProgram.md b/docs/UpdateLoyaltyProgram.md index 9ac2c035..cc2cfb2b 100644 --- a/docs/UpdateLoyaltyProgram.md +++ b/docs/UpdateLoyaltyProgram.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **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] **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] +**defaultPending** | **String** | The default duration of the pending time after which points should be valid. Accepted values: 'immediate', 'on_action' 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] **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] diff --git a/docs/UpdatePriceType.md b/docs/UpdatePriceType.md new file mode 100644 index 00000000..ea29b352 --- /dev/null +++ b/docs/UpdatePriceType.md @@ -0,0 +1,14 @@ + + +# UpdatePriceType + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**title** | **String** | The name displayed in the Campaign Manager for the price type. | +**description** | **String** | A description of the price type. | [optional] +**targetedAudiencesIds** | **List<Long>** | A list of the IDs of the audiences targeted by this price type. | + + + diff --git a/pom.xml b/pom.xml index bd76e1c5..2e5e2851 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ talon-one-client jar talon-one-client - 13.1.0 + 14.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 29913289..257bc751 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/13.1.0/java"); + setUserAgent("OpenAPI-Generator/14.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 13b9d991..23c3df87 100644 --- a/src/main/java/one/talon/api/IntegrationApi.java +++ b/src/main/java/one/talon/api/IntegrationApi.java @@ -28,6 +28,8 @@ import one.talon.model.Audience; +import one.talon.model.BestPriorPrice; +import one.talon.model.BestPriorPriceRequest; import one.talon.model.Catalog; import one.talon.model.CatalogSyncRequest; import one.talon.model.Coupon; @@ -92,6 +94,116 @@ public void setApiClient(ApiClient apiClient) { this.localVarApiClient = apiClient; } + /** + * Build call for bestPriorPrice + * @param body body (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 Ok -
+ */ + public okhttp3.Call bestPriorPriceCall(BestPriorPriceRequest body, final ApiCallback _callback) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/v1/best_prior_price"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; + return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call bestPriorPriceValidateBeforeCall(BestPriorPriceRequest body, final ApiCallback _callback) throws ApiException { + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling bestPriorPrice(Async)"); + } + + + okhttp3.Call localVarCall = bestPriorPriceCall(body, _callback); + return localVarCall; + + } + + /** + * Fetch best prior price + * Returns the best prior price based on historical pricing data for the specified SKUs within a defined timeframe. + * @param body body (required) + * @return List<BestPriorPrice> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 Ok -
+ */ + public List bestPriorPrice(BestPriorPriceRequest body) throws ApiException { + ApiResponse> localVarResp = bestPriorPriceWithHttpInfo(body); + return localVarResp.getData(); + } + + /** + * Fetch best prior price + * Returns the best prior price based on historical pricing data for the specified SKUs within a defined timeframe. + * @param body body (required) + * @return ApiResponse<List<BestPriorPrice>> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 Ok -
+ */ + public ApiResponse> bestPriorPriceWithHttpInfo(BestPriorPriceRequest body) throws ApiException { + okhttp3.Call localVarCall = bestPriorPriceValidateBeforeCall(body, null); + Type localVarReturnType = new TypeToken>(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Fetch best prior price (asynchronously) + * Returns the best prior price based on historical pricing data for the specified SKUs within a defined timeframe. + * @param body body (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 Ok -
+ */ + public okhttp3.Call bestPriorPriceAsync(BestPriorPriceRequest body, final ApiCallback> _callback) throws ApiException { + + okhttp3.Call localVarCall = bestPriorPriceValidateBeforeCall(body, _callback); + Type localVarReturnType = new TypeToken>(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } /** * Build call for createAudienceV2 * @param body body (required) @@ -2149,8 +2261,11 @@ 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 customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional) + * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional) * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) + * @param sort The field by which results should be sorted. You can enter one of the following values: - `startDate`: Sorts the results by the start date of the points. - `expiryDate`: Sorts the results by the expiry date of the points. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You can only sort by one field at a time. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -2163,7 +2278,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(Long loyaltyProgramId, String loyaltyCardId, String status, List subledgerId, List customerSessionIDs, List transactionUUIDs, Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -2181,6 +2296,14 @@ public okhttp3.Call getLoyaltyCardPointsCall(Long loyaltyProgramId, String loyal localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "subledgerId", subledgerId)); } + if (customerSessionIDs != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "customerSessionIDs", customerSessionIDs)); + } + + if (transactionUUIDs != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "transactionUUIDs", transactionUUIDs)); + } + if (pageSize != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("pageSize", pageSize)); } @@ -2189,6 +2312,10 @@ public okhttp3.Call getLoyaltyCardPointsCall(Long loyaltyProgramId, String loyal localVarQueryParams.addAll(localVarApiClient.parameterToPair("skip", skip)); } + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + Map localVarHeaderParams = new HashMap(); Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); @@ -2211,7 +2338,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(Long loyaltyProgramId, String loyaltyCardId, String status, List subledgerId, List customerSessionIDs, List transactionUUIDs, Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException { // verify the required parameter 'loyaltyProgramId' is set if (loyaltyProgramId == null) { @@ -2224,7 +2351,7 @@ private okhttp3.Call getLoyaltyCardPointsValidateBeforeCall(Long loyaltyProgramI } - okhttp3.Call localVarCall = getLoyaltyCardPointsCall(loyaltyProgramId, loyaltyCardId, status, subledgerId, pageSize, skip, _callback); + okhttp3.Call localVarCall = getLoyaltyCardPointsCall(loyaltyProgramId, loyaltyCardId, status, subledgerId, customerSessionIDs, transactionUUIDs, pageSize, skip, sort, _callback); return localVarCall; } @@ -2236,8 +2363,11 @@ 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 customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional) + * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional) * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) + * @param sort The field by which results should be sorted. You can enter one of the following values: - `startDate`: Sorts the results by the start date of the points. - `expiryDate`: Sorts the results by the expiry date of the points. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You can only sort by one field at a time. (optional) * @return InlineResponse2005 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -2249,8 +2379,8 @@ 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 { - ApiResponse localVarResp = getLoyaltyCardPointsWithHttpInfo(loyaltyProgramId, loyaltyCardId, status, subledgerId, pageSize, skip); + public InlineResponse2005 getLoyaltyCardPoints(Long loyaltyProgramId, String loyaltyCardId, String status, List subledgerId, List customerSessionIDs, List transactionUUIDs, Long pageSize, Long skip, String sort) throws ApiException { + ApiResponse localVarResp = getLoyaltyCardPointsWithHttpInfo(loyaltyProgramId, loyaltyCardId, status, subledgerId, customerSessionIDs, transactionUUIDs, pageSize, skip, sort); return localVarResp.getData(); } @@ -2261,8 +2391,11 @@ 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 customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional) + * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional) * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) + * @param sort The field by which results should be sorted. You can enter one of the following values: - `startDate`: Sorts the results by the start date of the points. - `expiryDate`: Sorts the results by the expiry date of the points. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You can only sort by one field at a time. (optional) * @return ApiResponse<InlineResponse2005> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -2274,8 +2407,8 @@ 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 { - okhttp3.Call localVarCall = getLoyaltyCardPointsValidateBeforeCall(loyaltyProgramId, loyaltyCardId, status, subledgerId, pageSize, skip, null); + public ApiResponse getLoyaltyCardPointsWithHttpInfo(Long loyaltyProgramId, String loyaltyCardId, String status, List subledgerId, List customerSessionIDs, List transactionUUIDs, Long pageSize, Long skip, String sort) throws ApiException { + okhttp3.Call localVarCall = getLoyaltyCardPointsValidateBeforeCall(loyaltyProgramId, loyaltyCardId, status, subledgerId, customerSessionIDs, transactionUUIDs, pageSize, skip, sort, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -2287,8 +2420,11 @@ 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 customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional) + * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional) * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) + * @param sort The field by which results should be sorted. You can enter one of the following values: - `startDate`: Sorts the results by the start date of the points. - `expiryDate`: Sorts the results by the expiry date of the points. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You can only sort by one field at a time. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -2301,9 +2437,9 @@ 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(Long loyaltyProgramId, String loyaltyCardId, String status, List subledgerId, List customerSessionIDs, List transactionUUIDs, Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getLoyaltyCardPointsValidateBeforeCall(loyaltyProgramId, loyaltyCardId, status, subledgerId, pageSize, skip, _callback); + okhttp3.Call localVarCall = getLoyaltyCardPointsValidateBeforeCall(loyaltyProgramId, loyaltyCardId, status, subledgerId, customerSessionIDs, transactionUUIDs, pageSize, skip, sort, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -2316,6 +2452,8 @@ 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 customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional) + * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional) * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param _callback Callback for upload/download progress @@ -2330,7 +2468,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(Long loyaltyProgramId, String loyaltyCardId, List subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, List customerSessionIDs, List transactionUUIDs, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -2356,6 +2494,14 @@ public okhttp3.Call getLoyaltyCardTransactionsCall(Long loyaltyProgramId, String localVarQueryParams.addAll(localVarApiClient.parameterToPair("endDate", endDate)); } + if (customerSessionIDs != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "customerSessionIDs", customerSessionIDs)); + } + + if (transactionUUIDs != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "transactionUUIDs", transactionUUIDs)); + } + if (pageSize != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("pageSize", pageSize)); } @@ -2386,7 +2532,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(Long loyaltyProgramId, String loyaltyCardId, List subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, List customerSessionIDs, List transactionUUIDs, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { // verify the required parameter 'loyaltyProgramId' is set if (loyaltyProgramId == null) { @@ -2399,7 +2545,7 @@ private okhttp3.Call getLoyaltyCardTransactionsValidateBeforeCall(Long loyaltyPr } - okhttp3.Call localVarCall = getLoyaltyCardTransactionsCall(loyaltyProgramId, loyaltyCardId, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip, _callback); + okhttp3.Call localVarCall = getLoyaltyCardTransactionsCall(loyaltyProgramId, loyaltyCardId, subledgerId, loyaltyTransactionType, startDate, endDate, customerSessionIDs, transactionUUIDs, pageSize, skip, _callback); return localVarCall; } @@ -2413,6 +2559,8 @@ 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 customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional) + * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional) * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) * @return InlineResponse2003 @@ -2426,8 +2574,8 @@ 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 { - ApiResponse localVarResp = getLoyaltyCardTransactionsWithHttpInfo(loyaltyProgramId, loyaltyCardId, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip); + public InlineResponse2003 getLoyaltyCardTransactions(Long loyaltyProgramId, String loyaltyCardId, List subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, List customerSessionIDs, List transactionUUIDs, Long pageSize, Long skip) throws ApiException { + ApiResponse localVarResp = getLoyaltyCardTransactionsWithHttpInfo(loyaltyProgramId, loyaltyCardId, subledgerId, loyaltyTransactionType, startDate, endDate, customerSessionIDs, transactionUUIDs, pageSize, skip); return localVarResp.getData(); } @@ -2440,6 +2588,8 @@ 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 customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional) + * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional) * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) * @return ApiResponse<InlineResponse2003> @@ -2453,8 +2603,8 @@ 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 { - okhttp3.Call localVarCall = getLoyaltyCardTransactionsValidateBeforeCall(loyaltyProgramId, loyaltyCardId, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip, null); + public ApiResponse getLoyaltyCardTransactionsWithHttpInfo(Long loyaltyProgramId, String loyaltyCardId, List subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, List customerSessionIDs, List transactionUUIDs, Long pageSize, Long skip) throws ApiException { + okhttp3.Call localVarCall = getLoyaltyCardTransactionsValidateBeforeCall(loyaltyProgramId, loyaltyCardId, subledgerId, loyaltyTransactionType, startDate, endDate, customerSessionIDs, transactionUUIDs, pageSize, skip, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -2468,6 +2618,8 @@ 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 customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional) + * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional) * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param _callback The callback to be executed when the API call finishes @@ -2482,9 +2634,9 @@ 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(Long loyaltyProgramId, String loyaltyCardId, List subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, List customerSessionIDs, List transactionUUIDs, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getLoyaltyCardTransactionsValidateBeforeCall(loyaltyProgramId, loyaltyCardId, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip, _callback); + okhttp3.Call localVarCall = getLoyaltyCardTransactionsValidateBeforeCall(loyaltyProgramId, loyaltyCardId, subledgerId, loyaltyTransactionType, startDate, endDate, customerSessionIDs, transactionUUIDs, pageSize, skip, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -2495,8 +2647,11 @@ 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 customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional) + * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional) * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) + * @param sort The field by which results should be sorted. You can enter one of the following values: - `startDate`: Sorts the results by the start date of the points. - `expiryDate`: Sorts the results by the expiry date of the points. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You can only sort by one field at a time. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -2509,7 +2664,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(Long loyaltyProgramId, String integrationId, String status, String subledgerId, List customerSessionIDs, List transactionUUIDs, Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -2527,6 +2682,14 @@ public okhttp3.Call getLoyaltyProgramProfilePointsCall(Long loyaltyProgramId, St localVarQueryParams.addAll(localVarApiClient.parameterToPair("subledgerId", subledgerId)); } + if (customerSessionIDs != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "customerSessionIDs", customerSessionIDs)); + } + + if (transactionUUIDs != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "transactionUUIDs", transactionUUIDs)); + } + if (pageSize != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("pageSize", pageSize)); } @@ -2535,6 +2698,10 @@ public okhttp3.Call getLoyaltyProgramProfilePointsCall(Long loyaltyProgramId, St localVarQueryParams.addAll(localVarApiClient.parameterToPair("skip", skip)); } + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + Map localVarHeaderParams = new HashMap(); Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); @@ -2557,7 +2724,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(Long loyaltyProgramId, String integrationId, String status, String subledgerId, List customerSessionIDs, List transactionUUIDs, Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException { // verify the required parameter 'loyaltyProgramId' is set if (loyaltyProgramId == null) { @@ -2570,7 +2737,7 @@ private okhttp3.Call getLoyaltyProgramProfilePointsValidateBeforeCall(Long loyal } - okhttp3.Call localVarCall = getLoyaltyProgramProfilePointsCall(loyaltyProgramId, integrationId, status, subledgerId, pageSize, skip, _callback); + okhttp3.Call localVarCall = getLoyaltyProgramProfilePointsCall(loyaltyProgramId, integrationId, status, subledgerId, customerSessionIDs, transactionUUIDs, pageSize, skip, sort, _callback); return localVarCall; } @@ -2582,8 +2749,11 @@ 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 customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional) + * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional) * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) + * @param sort The field by which results should be sorted. You can enter one of the following values: - `startDate`: Sorts the results by the start date of the points. - `expiryDate`: Sorts the results by the expiry date of the points. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You can only sort by one field at a time. (optional) * @return InlineResponse2006 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -2595,8 +2765,8 @@ 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 { - ApiResponse localVarResp = getLoyaltyProgramProfilePointsWithHttpInfo(loyaltyProgramId, integrationId, status, subledgerId, pageSize, skip); + public InlineResponse2006 getLoyaltyProgramProfilePoints(Long loyaltyProgramId, String integrationId, String status, String subledgerId, List customerSessionIDs, List transactionUUIDs, Long pageSize, Long skip, String sort) throws ApiException { + ApiResponse localVarResp = getLoyaltyProgramProfilePointsWithHttpInfo(loyaltyProgramId, integrationId, status, subledgerId, customerSessionIDs, transactionUUIDs, pageSize, skip, sort); return localVarResp.getData(); } @@ -2607,8 +2777,11 @@ 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 customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional) + * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional) * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) + * @param sort The field by which results should be sorted. You can enter one of the following values: - `startDate`: Sorts the results by the start date of the points. - `expiryDate`: Sorts the results by the expiry date of the points. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You can only sort by one field at a time. (optional) * @return ApiResponse<InlineResponse2006> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -2620,8 +2793,8 @@ 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 { - okhttp3.Call localVarCall = getLoyaltyProgramProfilePointsValidateBeforeCall(loyaltyProgramId, integrationId, status, subledgerId, pageSize, skip, null); + public ApiResponse getLoyaltyProgramProfilePointsWithHttpInfo(Long loyaltyProgramId, String integrationId, String status, String subledgerId, List customerSessionIDs, List transactionUUIDs, Long pageSize, Long skip, String sort) throws ApiException { + okhttp3.Call localVarCall = getLoyaltyProgramProfilePointsValidateBeforeCall(loyaltyProgramId, integrationId, status, subledgerId, customerSessionIDs, transactionUUIDs, pageSize, skip, sort, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -2633,8 +2806,11 @@ 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 customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional) + * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional) * @param pageSize The number of items in the response. (optional, default to 50l) * @param skip The number of items to skip when paging through large result sets. (optional) + * @param sort The field by which results should be sorted. You can enter one of the following values: - `startDate`: Sorts the results by the start date of the points. - `expiryDate`: Sorts the results by the expiry date of the points. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You can only sort by one field at a time. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -2647,9 +2823,9 @@ 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(Long loyaltyProgramId, String integrationId, String status, String subledgerId, List customerSessionIDs, List transactionUUIDs, Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getLoyaltyProgramProfilePointsValidateBeforeCall(loyaltyProgramId, integrationId, status, subledgerId, pageSize, skip, _callback); + okhttp3.Call localVarCall = getLoyaltyProgramProfilePointsValidateBeforeCall(loyaltyProgramId, integrationId, status, subledgerId, customerSessionIDs, transactionUUIDs, pageSize, skip, sort, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -2658,6 +2834,8 @@ public okhttp3.Call getLoyaltyProgramProfilePointsAsync(Long loyaltyProgramId, S * Build call for getLoyaltyProgramProfileTransactions * @param loyaltyProgramId 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. (required) * @param integrationId The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier. (required) + * @param customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional) + * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional) * @param subledgerId The ID of the subledger by which we filter the data. (optional) * @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) @@ -2676,7 +2854,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(Long loyaltyProgramId, String integrationId, List customerSessionIDs, List transactionUUIDs, String subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -2686,6 +2864,14 @@ public okhttp3.Call getLoyaltyProgramProfileTransactionsCall(Long loyaltyProgram List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (customerSessionIDs != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "customerSessionIDs", customerSessionIDs)); + } + + if (transactionUUIDs != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "transactionUUIDs", transactionUUIDs)); + } + if (subledgerId != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("subledgerId", subledgerId)); } @@ -2732,7 +2918,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(Long loyaltyProgramId, String integrationId, List customerSessionIDs, List transactionUUIDs, String subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { // verify the required parameter 'loyaltyProgramId' is set if (loyaltyProgramId == null) { @@ -2745,7 +2931,7 @@ private okhttp3.Call getLoyaltyProgramProfileTransactionsValidateBeforeCall(Long } - okhttp3.Call localVarCall = getLoyaltyProgramProfileTransactionsCall(loyaltyProgramId, integrationId, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip, _callback); + okhttp3.Call localVarCall = getLoyaltyProgramProfileTransactionsCall(loyaltyProgramId, integrationId, customerSessionIDs, transactionUUIDs, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip, _callback); return localVarCall; } @@ -2755,6 +2941,8 @@ private okhttp3.Call getLoyaltyProgramProfileTransactionsValidateBeforeCall(Long * Retrieve paginated results of loyalty transaction logs for the given Integration ID in the specified loyalty program. You can filter transactions by date. If no filters are applied, the last 50 loyalty transactions for the given integration ID are returned. **Note:** To retrieve all loyalty program transaction logs in a given loyalty program, use the [List loyalty program transactions](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyProgramTransactions) endpoint. * @param loyaltyProgramId 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. (required) * @param integrationId The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier. (required) + * @param customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional) + * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional) * @param subledgerId The ID of the subledger by which we filter the data. (optional) * @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) @@ -2772,8 +2960,8 @@ 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 { - ApiResponse localVarResp = getLoyaltyProgramProfileTransactionsWithHttpInfo(loyaltyProgramId, integrationId, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip); + public InlineResponse2004 getLoyaltyProgramProfileTransactions(Long loyaltyProgramId, String integrationId, List customerSessionIDs, List transactionUUIDs, String subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip) throws ApiException { + ApiResponse localVarResp = getLoyaltyProgramProfileTransactionsWithHttpInfo(loyaltyProgramId, integrationId, customerSessionIDs, transactionUUIDs, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip); return localVarResp.getData(); } @@ -2782,6 +2970,8 @@ public InlineResponse2004 getLoyaltyProgramProfileTransactions(Long loyaltyProgr * Retrieve paginated results of loyalty transaction logs for the given Integration ID in the specified loyalty program. You can filter transactions by date. If no filters are applied, the last 50 loyalty transactions for the given integration ID are returned. **Note:** To retrieve all loyalty program transaction logs in a given loyalty program, use the [List loyalty program transactions](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyProgramTransactions) endpoint. * @param loyaltyProgramId 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. (required) * @param integrationId The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier. (required) + * @param customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional) + * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional) * @param subledgerId The ID of the subledger by which we filter the data. (optional) * @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) @@ -2799,8 +2989,8 @@ 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 { - okhttp3.Call localVarCall = getLoyaltyProgramProfileTransactionsValidateBeforeCall(loyaltyProgramId, integrationId, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip, null); + public ApiResponse getLoyaltyProgramProfileTransactionsWithHttpInfo(Long loyaltyProgramId, String integrationId, List customerSessionIDs, List transactionUUIDs, String subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip) throws ApiException { + okhttp3.Call localVarCall = getLoyaltyProgramProfileTransactionsValidateBeforeCall(loyaltyProgramId, integrationId, customerSessionIDs, transactionUUIDs, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -2810,6 +3000,8 @@ public ApiResponse getLoyaltyProgramProfileTransactionsWithH * Retrieve paginated results of loyalty transaction logs for the given Integration ID in the specified loyalty program. You can filter transactions by date. If no filters are applied, the last 50 loyalty transactions for the given integration ID are returned. **Note:** To retrieve all loyalty program transaction logs in a given loyalty program, use the [List loyalty program transactions](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyProgramTransactions) endpoint. * @param loyaltyProgramId 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. (required) * @param integrationId The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier. (required) + * @param customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional) + * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional) * @param subledgerId The ID of the subledger by which we filter the data. (optional) * @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) @@ -2828,9 +3020,9 @@ 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(Long loyaltyProgramId, String integrationId, List customerSessionIDs, List transactionUUIDs, String subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getLoyaltyProgramProfileTransactionsValidateBeforeCall(loyaltyProgramId, integrationId, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip, _callback); + okhttp3.Call localVarCall = getLoyaltyProgramProfileTransactionsValidateBeforeCall(loyaltyProgramId, integrationId, customerSessionIDs, transactionUUIDs, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -3160,7 +3352,7 @@ private okhttp3.Call reopenCustomerSessionValidateBeforeCall(String customerSess /** * Reopen customer session - * Reopen a closed [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). For example, if a session has been completed but still needs to be edited, you can reopen it with this endpoint. A reopen session is treated like a standard open session. When reopening a session: - The `talon_session_reopened` event is triggered. You can see it in the **Events** view in the Campaign Manager. - The session state is updated to `open`. - Modified budgets and triggered effects when the session was closed are rolled back except for the list below. <details> <summary><strong>Effects and budgets unimpacted by a session reopening</strong></summary> <div> <p>The following effects and budgets are left the way they were once the session was originally closed:</p> <ul> <li>Add free item effect</li> <li>Any <strong>non-pending</strong> loyalty points</li> <li>Award giveaway</li> <li>Coupon and referral creation</li> <li>Coupon reservation</li> <li>Custom effect</li> <li>Update attribute value</li> <li>Update cart item attribute value</li> </ul> </div> <p>To see an example of roll back, see the <a href=\"https://docs.talon.one/docs/dev/tutorials/rolling-back-effects\">Cancelling a session with campaign budgets tutorial</a>.</p> </details> **Note:** If your order workflow requires you to create a new session instead of reopening a session, use the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint to cancel a closed session and create a new one. + * Reopen a closed [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). For example, if a session has been completed but still needs to be edited, you can reopen it with this endpoint. A reopen session is treated like a standard open session. When reopening a session: - The `talon_session_reopened` event is triggered. You can see it in the **Events** view in the Campaign Manager. - The session state is updated to `open`. - Any modified budgets and triggered effects are rolled back when the session closes. - Depending on the [return policy](https://docs.talon.one/docs/product/loyalty-programs/managing-loyalty-programs#return-policy) in your loyalty programs, points are rolled back in the following ways: - Pending points are rolled back automatically. - If **Active points deduction** setting is enabled, any points that were earned and activated when the session closed are rolled back. - If **Negative balance** is enabled, the rollback can create a negative points balance. <details> <summary><strong>Effects and budgets unimpacted by a session reopening</strong></summary> <div> <p>The following effects and budgets remain in the state they were in when the session closed:</p> <ul> <li>Add free item effect</li> <li>Award giveaway</li> <li>Coupon and referral creation</li> <li>Coupon reservation</li> <li>Custom effect</li> <li>Update attribute value</li> <li>Update cart item attribute value</li> </ul> </div> </details> <p>To see an example of a rollback, see the <a href=\"https://docs.talon.one/docs/dev/tutorials/rolling-back-effects\">Cancelling a session with campaign budgets</a>tutorial.</p> **Note:** If your order workflow requires you to create a new session instead of reopening a session, use the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint to cancel a closed session and create a new 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) * @return ReopenSessionResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -3179,7 +3371,7 @@ public ReopenSessionResponse reopenCustomerSession(String customerSessionId) thr /** * Reopen customer session - * Reopen a closed [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). For example, if a session has been completed but still needs to be edited, you can reopen it with this endpoint. A reopen session is treated like a standard open session. When reopening a session: - The `talon_session_reopened` event is triggered. You can see it in the **Events** view in the Campaign Manager. - The session state is updated to `open`. - Modified budgets and triggered effects when the session was closed are rolled back except for the list below. <details> <summary><strong>Effects and budgets unimpacted by a session reopening</strong></summary> <div> <p>The following effects and budgets are left the way they were once the session was originally closed:</p> <ul> <li>Add free item effect</li> <li>Any <strong>non-pending</strong> loyalty points</li> <li>Award giveaway</li> <li>Coupon and referral creation</li> <li>Coupon reservation</li> <li>Custom effect</li> <li>Update attribute value</li> <li>Update cart item attribute value</li> </ul> </div> <p>To see an example of roll back, see the <a href=\"https://docs.talon.one/docs/dev/tutorials/rolling-back-effects\">Cancelling a session with campaign budgets tutorial</a>.</p> </details> **Note:** If your order workflow requires you to create a new session instead of reopening a session, use the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint to cancel a closed session and create a new one. + * Reopen a closed [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). For example, if a session has been completed but still needs to be edited, you can reopen it with this endpoint. A reopen session is treated like a standard open session. When reopening a session: - The `talon_session_reopened` event is triggered. You can see it in the **Events** view in the Campaign Manager. - The session state is updated to `open`. - Any modified budgets and triggered effects are rolled back when the session closes. - Depending on the [return policy](https://docs.talon.one/docs/product/loyalty-programs/managing-loyalty-programs#return-policy) in your loyalty programs, points are rolled back in the following ways: - Pending points are rolled back automatically. - If **Active points deduction** setting is enabled, any points that were earned and activated when the session closed are rolled back. - If **Negative balance** is enabled, the rollback can create a negative points balance. <details> <summary><strong>Effects and budgets unimpacted by a session reopening</strong></summary> <div> <p>The following effects and budgets remain in the state they were in when the session closed:</p> <ul> <li>Add free item effect</li> <li>Award giveaway</li> <li>Coupon and referral creation</li> <li>Coupon reservation</li> <li>Custom effect</li> <li>Update attribute value</li> <li>Update cart item attribute value</li> </ul> </div> </details> <p>To see an example of a rollback, see the <a href=\"https://docs.talon.one/docs/dev/tutorials/rolling-back-effects\">Cancelling a session with campaign budgets</a>tutorial.</p> **Note:** If your order workflow requires you to create a new session instead of reopening a session, use the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint to cancel a closed session and create a new 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) * @return ApiResponse<ReopenSessionResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -3199,7 +3391,7 @@ public ApiResponse reopenCustomerSessionWithHttpInfo(Stri /** * Reopen customer session (asynchronously) - * Reopen a closed [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). For example, if a session has been completed but still needs to be edited, you can reopen it with this endpoint. A reopen session is treated like a standard open session. When reopening a session: - The `talon_session_reopened` event is triggered. You can see it in the **Events** view in the Campaign Manager. - The session state is updated to `open`. - Modified budgets and triggered effects when the session was closed are rolled back except for the list below. <details> <summary><strong>Effects and budgets unimpacted by a session reopening</strong></summary> <div> <p>The following effects and budgets are left the way they were once the session was originally closed:</p> <ul> <li>Add free item effect</li> <li>Any <strong>non-pending</strong> loyalty points</li> <li>Award giveaway</li> <li>Coupon and referral creation</li> <li>Coupon reservation</li> <li>Custom effect</li> <li>Update attribute value</li> <li>Update cart item attribute value</li> </ul> </div> <p>To see an example of roll back, see the <a href=\"https://docs.talon.one/docs/dev/tutorials/rolling-back-effects\">Cancelling a session with campaign budgets tutorial</a>.</p> </details> **Note:** If your order workflow requires you to create a new session instead of reopening a session, use the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint to cancel a closed session and create a new one. + * Reopen a closed [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). For example, if a session has been completed but still needs to be edited, you can reopen it with this endpoint. A reopen session is treated like a standard open session. When reopening a session: - The `talon_session_reopened` event is triggered. You can see it in the **Events** view in the Campaign Manager. - The session state is updated to `open`. - Any modified budgets and triggered effects are rolled back when the session closes. - Depending on the [return policy](https://docs.talon.one/docs/product/loyalty-programs/managing-loyalty-programs#return-policy) in your loyalty programs, points are rolled back in the following ways: - Pending points are rolled back automatically. - If **Active points deduction** setting is enabled, any points that were earned and activated when the session closed are rolled back. - If **Negative balance** is enabled, the rollback can create a negative points balance. <details> <summary><strong>Effects and budgets unimpacted by a session reopening</strong></summary> <div> <p>The following effects and budgets remain in the state they were in when the session closed:</p> <ul> <li>Add free item effect</li> <li>Award giveaway</li> <li>Coupon and referral creation</li> <li>Coupon reservation</li> <li>Custom effect</li> <li>Update attribute value</li> <li>Update cart item attribute value</li> </ul> </div> </details> <p>To see an example of a rollback, see the <a href=\"https://docs.talon.one/docs/dev/tutorials/rolling-back-effects\">Cancelling a session with campaign budgets</a>tutorial.</p> **Note:** If your order workflow requires you to create a new session instead of reopening a session, use the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint to cancel a closed session and create a new 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 _callback The callback to be executed when the API call finishes * @return The request call diff --git a/src/main/java/one/talon/api/ManagementApi.java b/src/main/java/one/talon/api/ManagementApi.java index 69b8265d..59cdad88 100644 --- a/src/main/java/one/talon/api/ManagementApi.java +++ b/src/main/java/one/talon/api/ManagementApi.java @@ -216,7 +216,7 @@ public okhttp3.Call activateUserByEmailCall(DeleteUserRequest body, final ApiCal final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -329,7 +329,7 @@ public okhttp3.Call addLoyaltyCardPointsCall(Long loyaltyProgramId, String loyal final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -467,7 +467,7 @@ public okhttp3.Call addLoyaltyPointsCall(String loyaltyProgramId, String integra final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -602,7 +602,7 @@ public okhttp3.Call copyCampaignToApplicationsCall(Long applicationId, Long camp final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -731,7 +731,7 @@ public okhttp3.Call createAccountCollectionCall(NewCollection body, final ApiCal final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -857,7 +857,7 @@ public okhttp3.Call createAchievementCall(Long applicationId, Long campaignId, C final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -992,7 +992,7 @@ public okhttp3.Call createAdditionalCostCall(NewAdditionalCost body, final ApiCa final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -1102,7 +1102,7 @@ public okhttp3.Call createAttributeCall(NewAttribute body, final ApiCallback _ca final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -1217,7 +1217,7 @@ public okhttp3.Call createBatchLoyaltyCardsCall(Long loyaltyProgramId, LoyaltyCa final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -1346,7 +1346,7 @@ public okhttp3.Call createCampaignFromTemplateCall(Long applicationId, CreateTem final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -1470,7 +1470,7 @@ public okhttp3.Call createCampaignStoreBudgetCall(Long applicationId, Long campa final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -1602,7 +1602,7 @@ public okhttp3.Call createCollectionCall(Long applicationId, Long campaignId, Ne final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -1738,7 +1738,7 @@ public okhttp3.Call createCouponsCall(Long applicationId, Long campaignId, NewCo final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -1874,7 +1874,7 @@ public okhttp3.Call createCouponsAsyncCall(Long applicationId, Long campaignId, final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -2004,7 +2004,7 @@ public okhttp3.Call createCouponsDeletionJobCall(Long applicationId, Long campai final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -2140,7 +2140,7 @@ public okhttp3.Call createCouponsForMultipleRecipientsCall(Long applicationId, L final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -2272,7 +2272,7 @@ public okhttp3.Call createInviteEmailCall(NewInviteEmail body, final ApiCallback final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -2382,7 +2382,7 @@ public okhttp3.Call createInviteV2Call(NewInvitation body, final ApiCallback _ca final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -2492,7 +2492,7 @@ public okhttp3.Call createPasswordRecoveryEmailCall(NewPasswordEmail body, final final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -2602,7 +2602,7 @@ public okhttp3.Call createSessionCall(LoginParams body, final ApiCallback _callb final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -2716,7 +2716,7 @@ public okhttp3.Call createStoreCall(Long applicationId, NewStore body, final Api final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -2840,7 +2840,7 @@ public okhttp3.Call deactivateUserByEmailCall(DeleteUserRequest body, final ApiC final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -2953,7 +2953,7 @@ public okhttp3.Call deductLoyaltyCardPointsCall(Long loyaltyProgramId, String lo final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -3086,7 +3086,7 @@ public okhttp3.Call deleteAccountCollectionCall(Long collectionId, final ApiCall final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -3202,7 +3202,7 @@ public okhttp3.Call deleteAchievementCall(Long applicationId, Long campaignId, L final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -3333,7 +3333,7 @@ public okhttp3.Call deleteCampaignCall(Long applicationId, Long campaignId, fina final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -3461,7 +3461,7 @@ public okhttp3.Call deleteCampaignStoreBudgetsCall(Long applicationId, Long camp final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -3590,7 +3590,7 @@ public okhttp3.Call deleteCollectionCall(Long applicationId, Long campaignId, Lo final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -3720,7 +3720,7 @@ public okhttp3.Call deleteCouponCall(Long applicationId, Long campaignId, String final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -3910,7 +3910,7 @@ public okhttp3.Call deleteCouponsCall(Long applicationId, Long campaignId, Strin final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -4068,7 +4068,7 @@ public okhttp3.Call deleteLoyaltyCardCall(Long loyaltyProgramId, String loyaltyC final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -4193,7 +4193,7 @@ public okhttp3.Call deleteReferralCall(Long applicationId, Long campaignId, Stri final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -4319,7 +4319,7 @@ public okhttp3.Call deleteStoreCall(Long applicationId, String storeId, final Ap final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -4437,7 +4437,7 @@ public okhttp3.Call deleteUserCall(Long userId, final ApiCallback _callback) thr final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -4543,7 +4543,7 @@ public okhttp3.Call deleteUserByEmailCall(DeleteUserRequest body, final ApiCallb final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -4648,7 +4648,7 @@ public okhttp3.Call destroySessionCall(final ApiCallback _callback) throws ApiEx final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -4752,7 +4752,7 @@ public okhttp3.Call disconnectCampaignStoresCall(Long applicationId, Long campai final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -4878,7 +4878,7 @@ public okhttp3.Call exportAccountCollectionItemsCall(Long collectionId, final Ap final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -5002,7 +5002,7 @@ public okhttp3.Call exportAchievementsCall(Long applicationId, Long campaignId, final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -5141,7 +5141,7 @@ public okhttp3.Call exportAudiencesMembershipsCall(Long audienceId, final ApiCal final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -5276,7 +5276,7 @@ public okhttp3.Call exportCampaignStoreBudgetsCall(Long applicationId, Long camp final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -5415,7 +5415,7 @@ public okhttp3.Call exportCampaignStoresCall(Long applicationId, Long campaignId final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -5549,7 +5549,7 @@ public okhttp3.Call exportCollectionItemsCall(Long applicationId, Long campaignI final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -5752,7 +5752,7 @@ public okhttp3.Call exportCouponsCall(Long applicationId, BigDecimal campaignId, final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -5930,7 +5930,7 @@ public okhttp3.Call exportCustomerSessionsCall(Long applicationId, OffsetDateTim final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -6066,7 +6066,7 @@ public okhttp3.Call exportCustomersTiersCall(String loyaltyProgramId, List exportLoyaltyLedgerWithHttpInfo(OffsetDateTime rangeS /** * Export customer's transaction logs (asynchronously) - * Download a CSV file containing a customer's transaction logs in the loyalty program. **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 generated file can contain the following columns: - `customerprofileid`: The ID of the profile. - `customersessionid`: The ID of the customer session. - `rulesetid`: The ID of the rule set. - `rulename`: The name of the rule. - `programid`: The ID of the loyalty program. - `type`: The transaction type, such as `addition` or `subtraction`. - `name`: The reason for the transaction. - `subledgerid`: The ID of the subledger, when applicable. - `startdate`: The start date of the program. - `expirydate`: The expiration date of the program. - `id`: The ID of the transaction. - `created`: The timestamp of the creation of the loyalty program. - `amount`: The number of points in that transaction. - `archived`: Whether the session related to the transaction is archived. - `campaignid`: The ID of the campaign. - `flags`: The flags of the transaction, when applicable. The `createsNegativeBalance` flag indicates whether the transaction results in a negative balance. + * Download a CSV file containing a customer's transaction logs in the loyalty program. **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 generated file can contain the following columns: - `customerprofileid`: The ID of the profile. - `customersessionid`: The ID of the customer session. - `rulesetid`: The ID of the rule set. - `rulename`: The name of the rule. - `programid`: The ID of the loyalty program. - `type`: The transaction type, such as `addition` or `subtraction`. - `name`: The reason for the transaction. - `subledgerid`: The ID of the subledger, when applicable. - `startdate`: The start date of the program. - `expirydate`: The expiration date of the program. - `id`: The ID of the transaction. - `created`: The timestamp of the creation of the loyalty program. - `amount`: The number of points in that transaction. - `archived`: Whether the session related to the transaction is archived. - `campaignid`: The ID of the campaign. - `flags`: The flags of the transaction, when applicable. The `createsNegativeBalance` flag indicates whether the transaction results in a negative balance. - `transactionUUID`: Unique identifier of the transaction in the UUID format. * @param rangeStart Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (required) * @param rangeEnd Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (required) * @param loyaltyProgramId The identifier for the loyalty program. (required) @@ -7196,7 +7196,7 @@ public okhttp3.Call exportPoolGiveawaysCall(Long poolId, OffsetDateTime createdB final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -7351,7 +7351,7 @@ public okhttp3.Call exportReferralsCall(Long applicationId, BigDecimal campaignI final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -7523,7 +7523,7 @@ public okhttp3.Call getAccessLogsWithoutTotalCountCall(Long applicationId, Offse final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -7668,7 +7668,7 @@ public okhttp3.Call getAccountCall(Long accountId, final ApiCallback _callback) final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -7779,7 +7779,7 @@ public okhttp3.Call getAccountAnalyticsCall(Long accountId, final ApiCallback _c final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -7891,7 +7891,7 @@ public okhttp3.Call getAccountCollectionCall(Long collectionId, final ApiCallbac final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -8011,7 +8011,7 @@ public okhttp3.Call getAchievementCall(Long applicationId, Long campaignId, Long final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -8144,7 +8144,7 @@ public okhttp3.Call getAdditionalCostCall(Long additionalCostId, final ApiCallba final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -8268,7 +8268,7 @@ public okhttp3.Call getAdditionalCostsCall(Long pageSize, Long skip, String sort final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -8380,7 +8380,7 @@ public okhttp3.Call getApplicationCall(Long applicationId, final ApiCallback _ca final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -8491,7 +8491,7 @@ public okhttp3.Call getApplicationApiHealthCall(Long applicationId, final ApiCal final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -8604,7 +8604,7 @@ public okhttp3.Call getApplicationCustomerCall(Long applicationId, Long customer final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -8745,7 +8745,7 @@ public okhttp3.Call getApplicationCustomerFriendsCall(Long applicationId, String final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -8896,7 +8896,7 @@ public okhttp3.Call getApplicationCustomersCall(Long applicationId, String integ final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -9035,7 +9035,7 @@ public okhttp3.Call getApplicationCustomersByAttributesCall(Long applicationId, final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -9178,7 +9178,7 @@ public okhttp3.Call getApplicationEventTypesCall(Long applicationId, Long pageSi final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -9277,6 +9277,7 @@ public okhttp3.Call getApplicationEventTypesAsync(Long applicationId, Long pageS * @param referralCode Referral code (optional) * @param ruleQuery Rule name filter for events (optional) * @param campaignQuery Campaign name filter for events (optional) + * @param effectType The type of effect that was triggered. See [API effects](https://docs.talon.one/docs/dev/integration-api/api-effects). (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -9286,7 +9287,7 @@ public okhttp3.Call getApplicationEventTypesAsync(Long applicationId, Long pageS 200 OK - */ - public okhttp3.Call getApplicationEventsWithoutTotalCountCall(Long applicationId, Long pageSize, Long skip, String sort, String type, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String session, String profile, String customerName, String customerEmail, String couponCode, String referralCode, String ruleQuery, String campaignQuery, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getApplicationEventsWithoutTotalCountCall(Long applicationId, Long pageSize, Long skip, String sort, String type, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String session, String profile, String customerName, String customerEmail, String couponCode, String referralCode, String ruleQuery, String campaignQuery, String effectType, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -9351,6 +9352,10 @@ public okhttp3.Call getApplicationEventsWithoutTotalCountCall(Long applicationId localVarQueryParams.addAll(localVarApiClient.parameterToPair("campaignQuery", campaignQuery)); } + if (effectType != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("effectType", effectType)); + } + Map localVarHeaderParams = new HashMap(); Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); @@ -9368,12 +9373,12 @@ public okhttp3.Call getApplicationEventsWithoutTotalCountCall(Long applicationId final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") - private okhttp3.Call getApplicationEventsWithoutTotalCountValidateBeforeCall(Long applicationId, Long pageSize, Long skip, String sort, String type, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String session, String profile, String customerName, String customerEmail, String couponCode, String referralCode, String ruleQuery, String campaignQuery, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getApplicationEventsWithoutTotalCountValidateBeforeCall(Long applicationId, Long pageSize, Long skip, String sort, String type, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String session, String profile, String customerName, String customerEmail, String couponCode, String referralCode, String ruleQuery, String campaignQuery, String effectType, final ApiCallback _callback) throws ApiException { // verify the required parameter 'applicationId' is set if (applicationId == null) { @@ -9381,7 +9386,7 @@ private okhttp3.Call getApplicationEventsWithoutTotalCountValidateBeforeCall(Lon } - okhttp3.Call localVarCall = getApplicationEventsWithoutTotalCountCall(applicationId, pageSize, skip, sort, type, createdBefore, createdAfter, session, profile, customerName, customerEmail, couponCode, referralCode, ruleQuery, campaignQuery, _callback); + okhttp3.Call localVarCall = getApplicationEventsWithoutTotalCountCall(applicationId, pageSize, skip, sort, type, createdBefore, createdAfter, session, profile, customerName, customerEmail, couponCode, referralCode, ruleQuery, campaignQuery, effectType, _callback); return localVarCall; } @@ -9404,6 +9409,7 @@ private okhttp3.Call getApplicationEventsWithoutTotalCountValidateBeforeCall(Lon * @param referralCode Referral code (optional) * @param ruleQuery Rule name filter for events (optional) * @param campaignQuery Campaign name filter for events (optional) + * @param effectType The type of effect that was triggered. See [API effects](https://docs.talon.one/docs/dev/integration-api/api-effects). (optional) * @return InlineResponse20030 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -9412,8 +9418,8 @@ private okhttp3.Call getApplicationEventsWithoutTotalCountValidateBeforeCall(Lon 200 OK - */ - public InlineResponse20030 getApplicationEventsWithoutTotalCount(Long applicationId, Long pageSize, Long skip, String sort, String type, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String session, String profile, String customerName, String customerEmail, String couponCode, String referralCode, String ruleQuery, String campaignQuery) throws ApiException { - ApiResponse localVarResp = getApplicationEventsWithoutTotalCountWithHttpInfo(applicationId, pageSize, skip, sort, type, createdBefore, createdAfter, session, profile, customerName, customerEmail, couponCode, referralCode, ruleQuery, campaignQuery); + public InlineResponse20030 getApplicationEventsWithoutTotalCount(Long applicationId, Long pageSize, Long skip, String sort, String type, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String session, String profile, String customerName, String customerEmail, String couponCode, String referralCode, String ruleQuery, String campaignQuery, String effectType) throws ApiException { + ApiResponse localVarResp = getApplicationEventsWithoutTotalCountWithHttpInfo(applicationId, pageSize, skip, sort, type, createdBefore, createdAfter, session, profile, customerName, customerEmail, couponCode, referralCode, ruleQuery, campaignQuery, effectType); return localVarResp.getData(); } @@ -9435,6 +9441,7 @@ public InlineResponse20030 getApplicationEventsWithoutTotalCount(Long applicatio * @param referralCode Referral code (optional) * @param ruleQuery Rule name filter for events (optional) * @param campaignQuery Campaign name filter for events (optional) + * @param effectType The type of effect that was triggered. See [API effects](https://docs.talon.one/docs/dev/integration-api/api-effects). (optional) * @return ApiResponse<InlineResponse20030> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -9443,8 +9450,8 @@ public InlineResponse20030 getApplicationEventsWithoutTotalCount(Long applicatio 200 OK - */ - public ApiResponse getApplicationEventsWithoutTotalCountWithHttpInfo(Long applicationId, Long pageSize, Long skip, String sort, String type, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String session, String profile, String customerName, String customerEmail, String couponCode, String referralCode, String ruleQuery, String campaignQuery) throws ApiException { - okhttp3.Call localVarCall = getApplicationEventsWithoutTotalCountValidateBeforeCall(applicationId, pageSize, skip, sort, type, createdBefore, createdAfter, session, profile, customerName, customerEmail, couponCode, referralCode, ruleQuery, campaignQuery, null); + public ApiResponse getApplicationEventsWithoutTotalCountWithHttpInfo(Long applicationId, Long pageSize, Long skip, String sort, String type, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String session, String profile, String customerName, String customerEmail, String couponCode, String referralCode, String ruleQuery, String campaignQuery, String effectType) throws ApiException { + okhttp3.Call localVarCall = getApplicationEventsWithoutTotalCountValidateBeforeCall(applicationId, pageSize, skip, sort, type, createdBefore, createdAfter, session, profile, customerName, customerEmail, couponCode, referralCode, ruleQuery, campaignQuery, effectType, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -9467,6 +9474,7 @@ public ApiResponse getApplicationEventsWithoutTotalCountWit * @param referralCode Referral code (optional) * @param ruleQuery Rule name filter for events (optional) * @param campaignQuery Campaign name filter for events (optional) + * @param effectType The type of effect that was triggered. See [API effects](https://docs.talon.one/docs/dev/integration-api/api-effects). (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -9476,9 +9484,9 @@ public ApiResponse getApplicationEventsWithoutTotalCountWit 200 OK - */ - public okhttp3.Call getApplicationEventsWithoutTotalCountAsync(Long applicationId, Long pageSize, Long skip, String sort, String type, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String session, String profile, String customerName, String customerEmail, String couponCode, String referralCode, String ruleQuery, String campaignQuery, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getApplicationEventsWithoutTotalCountAsync(Long applicationId, Long pageSize, Long skip, String sort, String type, OffsetDateTime createdBefore, OffsetDateTime createdAfter, String session, String profile, String customerName, String customerEmail, String couponCode, String referralCode, String ruleQuery, String campaignQuery, String effectType, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getApplicationEventsWithoutTotalCountValidateBeforeCall(applicationId, pageSize, skip, sort, type, createdBefore, createdAfter, session, profile, customerName, customerEmail, couponCode, referralCode, ruleQuery, campaignQuery, _callback); + okhttp3.Call localVarCall = getApplicationEventsWithoutTotalCountValidateBeforeCall(applicationId, pageSize, skip, sort, type, createdBefore, createdAfter, session, profile, customerName, customerEmail, couponCode, referralCode, ruleQuery, campaignQuery, effectType, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -9523,7 +9531,7 @@ public okhttp3.Call getApplicationSessionCall(Long applicationId, Long sessionId final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -9697,7 +9705,7 @@ public okhttp3.Call getApplicationSessionsCall(Long applicationId, Long pageSize final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -9854,7 +9862,7 @@ public okhttp3.Call getApplicationsCall(Long pageSize, Long skip, String sort, f final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -9966,7 +9974,7 @@ public okhttp3.Call getAttributeCall(Long attributeId, final ApiCallback _callba final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -10095,7 +10103,7 @@ public okhttp3.Call getAttributesCall(Long pageSize, Long skip, String sort, Str final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -10231,7 +10239,7 @@ public okhttp3.Call getAudienceMembershipsCall(Long audienceId, Long pageSize, L final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -10375,7 +10383,7 @@ public okhttp3.Call getAudiencesCall(Long pageSize, Long skip, String sort, Bool final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -10498,7 +10506,7 @@ public okhttp3.Call getAudiencesAnalyticsCall(String audienceIds, String sort, f final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -10614,7 +10622,7 @@ public okhttp3.Call getCampaignCall(Long applicationId, Long campaignId, final A final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -10750,7 +10758,7 @@ public okhttp3.Call getCampaignAnalyticsCall(Long applicationId, Long campaignId final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -10909,7 +10917,7 @@ public okhttp3.Call getCampaignByAttributesCall(Long applicationId, CampaignSear final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -11040,7 +11048,7 @@ public okhttp3.Call getCampaignGroupCall(Long campaignGroupId, final ApiCallback final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -11164,7 +11172,7 @@ public okhttp3.Call getCampaignGroupsCall(Long pageSize, Long skip, String sort, final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -11309,7 +11317,7 @@ public okhttp3.Call getCampaignTemplatesCall(Long pageSize, Long skip, String so final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -11489,7 +11497,7 @@ public okhttp3.Call getCampaignsCall(Long applicationId, Long pageSize, Long ski final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -11689,7 +11697,7 @@ public okhttp3.Call getChangesCall(Long pageSize, Long skip, String sort, BigDec final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -11830,7 +11838,7 @@ public okhttp3.Call getCollectionCall(Long applicationId, Long campaignId, Long final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -11971,7 +11979,7 @@ public okhttp3.Call getCollectionItemsCall(Long collectionId, Long pageSize, Lon final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -12183,7 +12191,7 @@ public okhttp3.Call getCouponsWithoutTotalCountCall(Long applicationId, Long cam final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -12378,7 +12386,7 @@ public okhttp3.Call getCustomerActivityReportCall(OffsetDateTime rangeStart, Off final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -12564,7 +12572,7 @@ public okhttp3.Call getCustomerActivityReportsWithoutTotalCountCall(OffsetDateTi final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -12729,7 +12737,7 @@ public okhttp3.Call getCustomerAnalyticsCall(Long applicationId, Long customerId final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -12857,7 +12865,7 @@ public okhttp3.Call getCustomerProfileCall(Long customerId, final ApiCallback _c final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -12992,7 +13000,7 @@ public okhttp3.Call getCustomerProfileAchievementProgressCall(Long applicationId final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -13142,7 +13150,7 @@ public okhttp3.Call getCustomerProfilesCall(Long pageSize, Long skip, Boolean sa final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -13268,7 +13276,7 @@ public okhttp3.Call getCustomersByAttributesCall(CustomerProfileSearchQuery body final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -13403,7 +13411,7 @@ public okhttp3.Call getDashboardStatisticsCall(Long loyaltyProgramId, OffsetDate final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -13556,7 +13564,7 @@ public okhttp3.Call getEventTypesCall(String name, Boolean includeOldVersions, L final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -13697,7 +13705,7 @@ public okhttp3.Call getExportsCall(Long pageSize, Long skip, BigDecimal applicat final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -13820,7 +13828,7 @@ public okhttp3.Call getLoyaltyCardCall(Long loyaltyProgramId, String loyaltyCard final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -13919,6 +13927,8 @@ public okhttp3.Call getLoyaltyCardAsync(Long loyaltyProgramId, String loyaltyCar * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param subledgerId The ID of the subledger by which we filter the data. (optional) + * @param customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional) + * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -13930,7 +13940,7 @@ public okhttp3.Call getLoyaltyCardAsync(Long loyaltyProgramId, String loyaltyCar 404 Not found - */ - public okhttp3.Call getLoyaltyCardTransactionLogsCall(Long loyaltyProgramId, String loyaltyCardId, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, String subledgerId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLoyaltyCardTransactionLogsCall(Long loyaltyProgramId, String loyaltyCardId, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, String subledgerId, List customerSessionIDs, List transactionUUIDs, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -13960,6 +13970,14 @@ public okhttp3.Call getLoyaltyCardTransactionLogsCall(Long loyaltyProgramId, Str localVarQueryParams.addAll(localVarApiClient.parameterToPair("subledgerId", subledgerId)); } + if (customerSessionIDs != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "customerSessionIDs", customerSessionIDs)); + } + + if (transactionUUIDs != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "transactionUUIDs", transactionUUIDs)); + } + Map localVarHeaderParams = new HashMap(); Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); @@ -13977,12 +13995,12 @@ public okhttp3.Call getLoyaltyCardTransactionLogsCall(Long loyaltyProgramId, Str final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") - private okhttp3.Call getLoyaltyCardTransactionLogsValidateBeforeCall(Long loyaltyProgramId, String loyaltyCardId, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, String subledgerId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getLoyaltyCardTransactionLogsValidateBeforeCall(Long loyaltyProgramId, String loyaltyCardId, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, String subledgerId, List customerSessionIDs, List transactionUUIDs, final ApiCallback _callback) throws ApiException { // verify the required parameter 'loyaltyProgramId' is set if (loyaltyProgramId == null) { @@ -13995,7 +14013,7 @@ private okhttp3.Call getLoyaltyCardTransactionLogsValidateBeforeCall(Long loyalt } - okhttp3.Call localVarCall = getLoyaltyCardTransactionLogsCall(loyaltyProgramId, loyaltyCardId, startDate, endDate, pageSize, skip, subledgerId, _callback); + okhttp3.Call localVarCall = getLoyaltyCardTransactionLogsCall(loyaltyProgramId, loyaltyCardId, startDate, endDate, pageSize, skip, subledgerId, customerSessionIDs, transactionUUIDs, _callback); return localVarCall; } @@ -14010,6 +14028,8 @@ private okhttp3.Call getLoyaltyCardTransactionLogsValidateBeforeCall(Long loyalt * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param subledgerId The ID of the subledger by which we filter the data. (optional) + * @param customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional) + * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional) * @return InlineResponse20019 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -14020,8 +14040,8 @@ private okhttp3.Call getLoyaltyCardTransactionLogsValidateBeforeCall(Long loyalt 404 Not found - */ - public InlineResponse20019 getLoyaltyCardTransactionLogs(Long loyaltyProgramId, String loyaltyCardId, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, String subledgerId) throws ApiException { - ApiResponse localVarResp = getLoyaltyCardTransactionLogsWithHttpInfo(loyaltyProgramId, loyaltyCardId, startDate, endDate, pageSize, skip, subledgerId); + public InlineResponse20019 getLoyaltyCardTransactionLogs(Long loyaltyProgramId, String loyaltyCardId, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, String subledgerId, List customerSessionIDs, List transactionUUIDs) throws ApiException { + ApiResponse localVarResp = getLoyaltyCardTransactionLogsWithHttpInfo(loyaltyProgramId, loyaltyCardId, startDate, endDate, pageSize, skip, subledgerId, customerSessionIDs, transactionUUIDs); return localVarResp.getData(); } @@ -14035,6 +14055,8 @@ public InlineResponse20019 getLoyaltyCardTransactionLogs(Long loyaltyProgramId, * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param subledgerId The ID of the subledger by which we filter the data. (optional) + * @param customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional) + * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional) * @return ApiResponse<InlineResponse20019> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -14045,8 +14067,8 @@ public InlineResponse20019 getLoyaltyCardTransactionLogs(Long loyaltyProgramId, 404 Not found - */ - public ApiResponse getLoyaltyCardTransactionLogsWithHttpInfo(Long loyaltyProgramId, String loyaltyCardId, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, String subledgerId) throws ApiException { - okhttp3.Call localVarCall = getLoyaltyCardTransactionLogsValidateBeforeCall(loyaltyProgramId, loyaltyCardId, startDate, endDate, pageSize, skip, subledgerId, null); + public ApiResponse getLoyaltyCardTransactionLogsWithHttpInfo(Long loyaltyProgramId, String loyaltyCardId, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, String subledgerId, List customerSessionIDs, List transactionUUIDs) throws ApiException { + okhttp3.Call localVarCall = getLoyaltyCardTransactionLogsValidateBeforeCall(loyaltyProgramId, loyaltyCardId, startDate, endDate, pageSize, skip, subledgerId, customerSessionIDs, transactionUUIDs, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -14061,6 +14083,8 @@ public ApiResponse getLoyaltyCardTransactionLogsWithHttpInf * @param pageSize The number of items in the response. (optional, default to 1000l) * @param skip The number of items to skip when paging through large result sets. (optional) * @param subledgerId The ID of the subledger by which we filter the data. (optional) + * @param customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional) + * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -14072,9 +14096,9 @@ public ApiResponse getLoyaltyCardTransactionLogsWithHttpInf 404 Not found - */ - public okhttp3.Call getLoyaltyCardTransactionLogsAsync(Long loyaltyProgramId, String loyaltyCardId, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, String subledgerId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLoyaltyCardTransactionLogsAsync(Long loyaltyProgramId, String loyaltyCardId, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, String subledgerId, List customerSessionIDs, List transactionUUIDs, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getLoyaltyCardTransactionLogsValidateBeforeCall(loyaltyProgramId, loyaltyCardId, startDate, endDate, pageSize, skip, subledgerId, _callback); + okhttp3.Call localVarCall = getLoyaltyCardTransactionLogsValidateBeforeCall(loyaltyProgramId, loyaltyCardId, startDate, endDate, pageSize, skip, subledgerId, customerSessionIDs, transactionUUIDs, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -14149,7 +14173,7 @@ public okhttp3.Call getLoyaltyCardsCall(Long loyaltyProgramId, Long pageSize, Lo final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -14286,7 +14310,7 @@ public okhttp3.Call getLoyaltyPointsCall(String loyaltyProgramId, String integra final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -14405,7 +14429,7 @@ public okhttp3.Call getLoyaltyProgramCall(Long loyaltyProgramId, final ApiCallba final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -14483,6 +14507,8 @@ public okhttp3.Call getLoyaltyProgramAsync(Long loyaltyProgramId, final ApiCallb * @param loyaltyProgramId 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. (required) * @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 subledgerId The ID of the subledger by which we filter the data. (optional) + * @param customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional) + * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (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) @@ -14499,7 +14525,7 @@ public okhttp3.Call getLoyaltyProgramAsync(Long loyaltyProgramId, final ApiCallb 404 Not found - */ - public okhttp3.Call getLoyaltyProgramTransactionsCall(Long loyaltyProgramId, String loyaltyTransactionType, String subledgerId, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLoyaltyProgramTransactionsCall(Long loyaltyProgramId, String loyaltyTransactionType, String subledgerId, List customerSessionIDs, List transactionUUIDs, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -14516,6 +14542,14 @@ public okhttp3.Call getLoyaltyProgramTransactionsCall(Long loyaltyProgramId, Str localVarQueryParams.addAll(localVarApiClient.parameterToPair("subledgerId", subledgerId)); } + if (customerSessionIDs != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "customerSessionIDs", customerSessionIDs)); + } + + if (transactionUUIDs != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "transactionUUIDs", transactionUUIDs)); + } + if (startDate != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("startDate", startDate)); } @@ -14549,12 +14583,12 @@ public okhttp3.Call getLoyaltyProgramTransactionsCall(Long loyaltyProgramId, Str final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") - private okhttp3.Call getLoyaltyProgramTransactionsValidateBeforeCall(Long loyaltyProgramId, String loyaltyTransactionType, String subledgerId, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getLoyaltyProgramTransactionsValidateBeforeCall(Long loyaltyProgramId, String loyaltyTransactionType, String subledgerId, List customerSessionIDs, List transactionUUIDs, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { // verify the required parameter 'loyaltyProgramId' is set if (loyaltyProgramId == null) { @@ -14562,7 +14596,7 @@ private okhttp3.Call getLoyaltyProgramTransactionsValidateBeforeCall(Long loyalt } - okhttp3.Call localVarCall = getLoyaltyProgramTransactionsCall(loyaltyProgramId, loyaltyTransactionType, subledgerId, startDate, endDate, pageSize, skip, _callback); + okhttp3.Call localVarCall = getLoyaltyProgramTransactionsCall(loyaltyProgramId, loyaltyTransactionType, subledgerId, customerSessionIDs, transactionUUIDs, startDate, endDate, pageSize, skip, _callback); return localVarCall; } @@ -14573,6 +14607,8 @@ private okhttp3.Call getLoyaltyProgramTransactionsValidateBeforeCall(Long loyalt * @param loyaltyProgramId 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. (required) * @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 subledgerId The ID of the subledger by which we filter the data. (optional) + * @param customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional) + * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (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) @@ -14588,8 +14624,8 @@ private okhttp3.Call getLoyaltyProgramTransactionsValidateBeforeCall(Long loyalt 404 Not found - */ - public InlineResponse20017 getLoyaltyProgramTransactions(Long loyaltyProgramId, String loyaltyTransactionType, String subledgerId, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip) throws ApiException { - ApiResponse localVarResp = getLoyaltyProgramTransactionsWithHttpInfo(loyaltyProgramId, loyaltyTransactionType, subledgerId, startDate, endDate, pageSize, skip); + public InlineResponse20017 getLoyaltyProgramTransactions(Long loyaltyProgramId, String loyaltyTransactionType, String subledgerId, List customerSessionIDs, List transactionUUIDs, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip) throws ApiException { + ApiResponse localVarResp = getLoyaltyProgramTransactionsWithHttpInfo(loyaltyProgramId, loyaltyTransactionType, subledgerId, customerSessionIDs, transactionUUIDs, startDate, endDate, pageSize, skip); return localVarResp.getData(); } @@ -14599,6 +14635,8 @@ public InlineResponse20017 getLoyaltyProgramTransactions(Long loyaltyProgramId, * @param loyaltyProgramId 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. (required) * @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 subledgerId The ID of the subledger by which we filter the data. (optional) + * @param customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional) + * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (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) @@ -14614,8 +14652,8 @@ public InlineResponse20017 getLoyaltyProgramTransactions(Long loyaltyProgramId, 404 Not found - */ - public ApiResponse getLoyaltyProgramTransactionsWithHttpInfo(Long loyaltyProgramId, String loyaltyTransactionType, String subledgerId, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip) throws ApiException { - okhttp3.Call localVarCall = getLoyaltyProgramTransactionsValidateBeforeCall(loyaltyProgramId, loyaltyTransactionType, subledgerId, startDate, endDate, pageSize, skip, null); + public ApiResponse getLoyaltyProgramTransactionsWithHttpInfo(Long loyaltyProgramId, String loyaltyTransactionType, String subledgerId, List customerSessionIDs, List transactionUUIDs, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip) throws ApiException { + okhttp3.Call localVarCall = getLoyaltyProgramTransactionsValidateBeforeCall(loyaltyProgramId, loyaltyTransactionType, subledgerId, customerSessionIDs, transactionUUIDs, startDate, endDate, pageSize, skip, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -14626,6 +14664,8 @@ public ApiResponse getLoyaltyProgramTransactionsWithHttpInf * @param loyaltyProgramId 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. (required) * @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 subledgerId The ID of the subledger by which we filter the data. (optional) + * @param customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional) + * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (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) @@ -14642,9 +14682,9 @@ public ApiResponse getLoyaltyProgramTransactionsWithHttpInf 404 Not found - */ - public okhttp3.Call getLoyaltyProgramTransactionsAsync(Long loyaltyProgramId, String loyaltyTransactionType, String subledgerId, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLoyaltyProgramTransactionsAsync(Long loyaltyProgramId, String loyaltyTransactionType, String subledgerId, List customerSessionIDs, List transactionUUIDs, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getLoyaltyProgramTransactionsValidateBeforeCall(loyaltyProgramId, loyaltyTransactionType, subledgerId, startDate, endDate, pageSize, skip, _callback); + okhttp3.Call localVarCall = getLoyaltyProgramTransactionsValidateBeforeCall(loyaltyProgramId, loyaltyTransactionType, subledgerId, customerSessionIDs, transactionUUIDs, startDate, endDate, pageSize, skip, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -14685,7 +14725,7 @@ public okhttp3.Call getLoyaltyProgramsCall(final ApiCallback _callback) throws A final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -14790,7 +14830,7 @@ public okhttp3.Call getLoyaltyStatisticsCall(Long loyaltyProgramId, final ApiCal final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -14876,8 +14916,8 @@ public okhttp3.Call getLoyaltyStatisticsAsync(Long loyaltyProgramId, final ApiCa * @param messageID Filter results by message ID. (optional) * @param changeType Filter results by change type. (optional) * @param notificationIDs Filter results by notification ID (include up to 30 values, separated by a comma). (optional) - * @param createdBefore 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) - * @param createdAfter 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) + * @param createdBefore Filter results where request and response times to return entries before parameter value, expected to be an RFC3339 timestamp string. Use UTC time. (optional) + * @param createdAfter Filter results where request and response times to return entries after parameter value, expected to be an RFC3339 timestamp string. Use UTC time. (optional) * @param cursor A specific unique value in the database. If this value is not given, the server fetches results starting with the first record. (optional) * @param period Filter results by time period. Choose between the available relative time frames. (optional) * @param isSuccessful 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) @@ -14976,7 +15016,7 @@ public okhttp3.Call getMessageLogsCall(String entityType, String messageID, Stri final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -15001,8 +15041,8 @@ private okhttp3.Call getMessageLogsValidateBeforeCall(String entityType, String * @param messageID Filter results by message ID. (optional) * @param changeType Filter results by change type. (optional) * @param notificationIDs Filter results by notification ID (include up to 30 values, separated by a comma). (optional) - * @param createdBefore 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) - * @param createdAfter 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) + * @param createdBefore Filter results where request and response times to return entries before parameter value, expected to be an RFC3339 timestamp string. Use UTC time. (optional) + * @param createdAfter Filter results where request and response times to return entries after parameter value, expected to be an RFC3339 timestamp string. Use UTC time. (optional) * @param cursor A specific unique value in the database. If this value is not given, the server fetches results starting with the first record. (optional) * @param period Filter results by time period. Choose between the available relative time frames. (optional) * @param isSuccessful 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) @@ -15031,8 +15071,8 @@ public MessageLogEntries getMessageLogs(String entityType, String messageID, Str * @param messageID Filter results by message ID. (optional) * @param changeType Filter results by change type. (optional) * @param notificationIDs Filter results by notification ID (include up to 30 values, separated by a comma). (optional) - * @param createdBefore 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) - * @param createdAfter 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) + * @param createdBefore Filter results where request and response times to return entries before parameter value, expected to be an RFC3339 timestamp string. Use UTC time. (optional) + * @param createdAfter Filter results where request and response times to return entries after parameter value, expected to be an RFC3339 timestamp string. Use UTC time. (optional) * @param cursor A specific unique value in the database. If this value is not given, the server fetches results starting with the first record. (optional) * @param period Filter results by time period. Choose between the available relative time frames. (optional) * @param isSuccessful 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) @@ -15062,8 +15102,8 @@ public ApiResponse getMessageLogsWithHttpInfo(String entityTy * @param messageID Filter results by message ID. (optional) * @param changeType Filter results by change type. (optional) * @param notificationIDs Filter results by notification ID (include up to 30 values, separated by a comma). (optional) - * @param createdBefore 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) - * @param createdAfter 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) + * @param createdBefore Filter results where request and response times to return entries before parameter value, expected to be an RFC3339 timestamp string. Use UTC time. (optional) + * @param createdAfter Filter results where request and response times to return entries after parameter value, expected to be an RFC3339 timestamp string. Use UTC time. (optional) * @param cursor A specific unique value in the database. If this value is not given, the server fetches results starting with the first record. (optional) * @param period Filter results by time period. Choose between the available relative time frames. (optional) * @param isSuccessful 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) @@ -15173,7 +15213,7 @@ public okhttp3.Call getReferralsWithoutTotalCountCall(Long applicationId, Long c final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -15319,7 +15359,7 @@ public okhttp3.Call getRoleV2Call(Long roleId, final ApiCallback _callback) thro final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -15434,7 +15474,7 @@ public okhttp3.Call getRulesetCall(Long applicationId, Long campaignId, Long rul final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -15578,7 +15618,7 @@ public okhttp3.Call getRulesetsCall(Long applicationId, Long campaignId, Long pa final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -15709,7 +15749,7 @@ public okhttp3.Call getStoreCall(Long applicationId, String storeId, final ApiCa final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -15831,7 +15871,7 @@ public okhttp3.Call getUserCall(Long userId, final ApiCallback _callback) throws final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -15955,7 +15995,7 @@ public okhttp3.Call getUsersCall(Long pageSize, Long skip, String sort, final Ap final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -16067,7 +16107,7 @@ public okhttp3.Call getWebhookCall(Long webhookId, final ApiCallback _callback) final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -16216,7 +16256,7 @@ public okhttp3.Call getWebhooksCall(String applicationIds, String sort, Long pag final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -16350,7 +16390,7 @@ public okhttp3.Call importAccountCollectionCall(Long collectionId, String upFile final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -16478,7 +16518,7 @@ public okhttp3.Call importAllowedListCall(Long attributeId, String upFile, final final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -16609,7 +16649,7 @@ public okhttp3.Call importAudiencesMembershipsCall(Long audienceId, String upFil final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -16750,7 +16790,7 @@ public okhttp3.Call importCampaignStoreBudgetCall(Long applicationId, Long campa final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -16891,7 +16931,7 @@ public okhttp3.Call importCampaignStoresCall(Long applicationId, Long campaignId final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -17032,7 +17072,7 @@ public okhttp3.Call importCollectionCall(Long applicationId, Long campaignId, Lo final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -17177,7 +17217,7 @@ public okhttp3.Call importCouponsCall(Long applicationId, Long campaignId, Boole final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -17309,7 +17349,7 @@ public okhttp3.Call importLoyaltyCardsCall(Long loyaltyProgramId, String upFile, final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -17437,7 +17477,7 @@ public okhttp3.Call importLoyaltyCustomersTiersCall(Long loyaltyProgramId, Strin final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -17570,7 +17610,7 @@ public okhttp3.Call importLoyaltyPointsCall(Long loyaltyProgramId, Boolean notif final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -17692,7 +17732,7 @@ public okhttp3.Call importPoolGiveawaysCall(Long poolId, String upFile, final Ap final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -17813,7 +17853,7 @@ public okhttp3.Call importReferralsCall(Long applicationId, Long campaignId, Str final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -17934,7 +17974,7 @@ public okhttp3.Call inviteUserExternalCall(NewExternalInvitation body, final Api final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -18067,7 +18107,7 @@ public okhttp3.Call listAccountCollectionsCall(Long pageSize, Long skip, String final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -18211,7 +18251,7 @@ public okhttp3.Call listAchievementsCall(Long applicationId, Long campaignId, Lo final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -18337,7 +18377,7 @@ public okhttp3.Call listAllRolesV2Call(final ApiCallback _callback) throws ApiEx final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -18455,7 +18495,7 @@ public okhttp3.Call listCampaignStoreBudgetLimitsCall(Long applicationId, Long c final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -18614,7 +18654,7 @@ public okhttp3.Call listCatalogItemsCall(Long catalogId, Long pageSize, Long ski final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -18768,7 +18808,7 @@ public okhttp3.Call listCollectionsCall(Long applicationId, Long campaignId, Lon final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -18931,7 +18971,7 @@ public okhttp3.Call listCollectionsInApplicationCall(Long applicationId, Long pa final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -19100,7 +19140,7 @@ public okhttp3.Call listStoresCall(Long applicationId, Long pageSize, Long skip, final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -19233,7 +19273,7 @@ public okhttp3.Call oktaEventHandlerChallengeCall(final ApiCallback _callback) t final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -19338,7 +19378,7 @@ public okhttp3.Call removeLoyaltyPointsCall(String loyaltyProgramId, String inte final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -19469,7 +19509,7 @@ public okhttp3.Call resetPasswordCall(NewPassword body, final ApiCallback _callb final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -19579,7 +19619,7 @@ public okhttp3.Call scimCreateGroupCall(ScimBaseGroup body, final ApiCallback _c final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -19689,7 +19729,7 @@ public okhttp3.Call scimCreateUserCall(ScimNewUser body, final ApiCallback _call final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -19800,7 +19840,7 @@ public okhttp3.Call scimDeleteGroupCall(Long groupId, final ApiCallback _callbac final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -19907,7 +19947,7 @@ public okhttp3.Call scimDeleteUserCall(Long userId, final ApiCallback _callback) final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -20014,7 +20054,7 @@ public okhttp3.Call scimGetGroupCall(Long groupId, final ApiCallback _callback) final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -20123,7 +20163,7 @@ public okhttp3.Call scimGetGroupsCall(final ApiCallback _callback) throws ApiExc final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -20224,7 +20264,7 @@ public okhttp3.Call scimGetResourceTypesCall(final ApiCallback _callback) throws final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -20325,7 +20365,7 @@ public okhttp3.Call scimGetSchemasCall(final ApiCallback _callback) throws ApiEx final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -20426,7 +20466,7 @@ public okhttp3.Call scimGetServiceProviderConfigCall(final ApiCallback _callback final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -20529,7 +20569,7 @@ public okhttp3.Call scimGetUserCall(Long userId, final ApiCallback _callback) th final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -20638,7 +20678,7 @@ public okhttp3.Call scimGetUsersCall(final ApiCallback _callback) throws ApiExce final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -20742,7 +20782,7 @@ public okhttp3.Call scimPatchGroupCall(Long groupId, ScimPatchRequest body, fina final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -20862,7 +20902,7 @@ public okhttp3.Call scimPatchUserCall(Long userId, ScimPatchRequest body, final final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -20982,7 +21022,7 @@ public okhttp3.Call scimReplaceGroupAttributesCall(Long groupId, ScimBaseGroup b final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -21102,7 +21142,7 @@ public okhttp3.Call scimReplaceUserAttributesCall(Long userId, ScimNewUser body, final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -21287,7 +21327,7 @@ public okhttp3.Call searchCouponsAdvancedApplicationWideWithoutTotalCountCall(Lo final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -21508,7 +21548,7 @@ public okhttp3.Call searchCouponsAdvancedWithoutTotalCountCall(Long applicationI final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -21676,7 +21716,7 @@ public okhttp3.Call summarizeCampaignStoreBudgetCall(Long applicationId, Long ca final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -21810,7 +21850,7 @@ public okhttp3.Call transferLoyaltyCardCall(Long loyaltyProgramId, String loyalt final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -21946,7 +21986,7 @@ public okhttp3.Call updateAccountCollectionCall(Long collectionId, UpdateCollect final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -22082,7 +22122,7 @@ public okhttp3.Call updateAchievementCall(Long applicationId, Long campaignId, L final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -22227,7 +22267,7 @@ public okhttp3.Call updateAdditionalCostCall(Long additionalCostId, NewAdditiona final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -22347,7 +22387,7 @@ public okhttp3.Call updateAttributeCall(Long attributeId, NewAttribute body, fin final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -22469,7 +22509,7 @@ public okhttp3.Call updateCampaignCall(Long applicationId, Long campaignId, Upda final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -22602,7 +22642,7 @@ public okhttp3.Call updateCollectionCall(Long applicationId, Long campaignId, Lo final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -22745,7 +22785,7 @@ public okhttp3.Call updateCouponCall(Long applicationId, Long campaignId, String final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -22883,7 +22923,7 @@ public okhttp3.Call updateCouponBatchCall(Long applicationId, Long campaignId, U final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -23012,7 +23052,7 @@ public okhttp3.Call updateLoyaltyCardCall(Long loyaltyProgramId, String loyaltyC final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -23153,7 +23193,7 @@ public okhttp3.Call updateReferralCall(Long applicationId, Long campaignId, Stri final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -23289,7 +23329,7 @@ public okhttp3.Call updateRoleV2Call(Long roleId, RoleV2Base body, final ApiCall final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -23413,7 +23453,7 @@ public okhttp3.Call updateStoreCall(Long applicationId, String storeId, NewStore final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -23547,7 +23587,7 @@ public okhttp3.Call updateUserCall(Long userId, UpdateUser body, final ApiCallba final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); - String[] localVarAuthNames = new String[] { "management_key", "manager_auth" }; + String[] localVarAuthNames = new String[] { "api_key_v1", "management_key", "manager_auth" }; return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } diff --git a/src/main/java/one/talon/model/AccountLimits.java b/src/main/java/one/talon/model/AccountLimits.java index c26a39eb..83635123 100644 --- a/src/main/java/one/talon/model/AccountLimits.java +++ b/src/main/java/one/talon/model/AccountLimits.java @@ -79,7 +79,7 @@ public class AccountLimits { @SerializedName(SERIALIZED_NAME_PROMOTION_TYPES) private List promotionTypes = new ArrayList(); - public static final String SERIALIZED_NAME_SECONDARY_DEPLOYMENT_PRICE = "secondaryDeploymentPrice"; + public static final String SERIALIZED_NAME_SECONDARY_DEPLOYMENT_PRICE = "SecondaryDeploymentPrice"; @SerializedName(SERIALIZED_NAME_SECONDARY_DEPLOYMENT_PRICE) private Long secondaryDeploymentPrice; diff --git a/src/main/java/one/talon/model/Achievement.java b/src/main/java/one/talon/model/Achievement.java index 1d540d1d..a4c8cc13 100644 --- a/src/main/java/one/talon/model/Achievement.java +++ b/src/main/java/one/talon/model/Achievement.java @@ -176,6 +176,10 @@ public ActivationPolicyEnum read(final JsonReader jsonReader) throws IOException @SerializedName(SERIALIZED_NAME_END_DATE) private OffsetDateTime endDate; + public static final String SERIALIZED_NAME_ALLOW_ROLLBACK_AFTER_COMPLETION = "allowRollbackAfterCompletion"; + @SerializedName(SERIALIZED_NAME_ALLOW_ROLLBACK_AFTER_COMPLETION) + private Boolean allowRollbackAfterCompletion; + public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) private Long campaignId; @@ -518,6 +522,29 @@ public void setEndDate(OffsetDateTime endDate) { } + public Achievement allowRollbackAfterCompletion(Boolean allowRollbackAfterCompletion) { + + this.allowRollbackAfterCompletion = allowRollbackAfterCompletion; + return this; + } + + /** + * When `true`, customer progress can be rolled back in completed achievements. + * @return allowRollbackAfterCompletion + **/ + @javax.annotation.Nullable + @ApiModelProperty(example = "false", value = "When `true`, customer progress can be rolled back in completed achievements.") + + public Boolean getAllowRollbackAfterCompletion() { + return allowRollbackAfterCompletion; + } + + + public void setAllowRollbackAfterCompletion(Boolean allowRollbackAfterCompletion) { + this.allowRollbackAfterCompletion = allowRollbackAfterCompletion; + } + + public Achievement campaignId(Long campaignId) { this.campaignId = campaignId; @@ -652,6 +679,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.activationPolicy, achievement.activationPolicy) && Objects.equals(this.fixedStartDate, achievement.fixedStartDate) && Objects.equals(this.endDate, achievement.endDate) && + Objects.equals(this.allowRollbackAfterCompletion, achievement.allowRollbackAfterCompletion) && Objects.equals(this.campaignId, achievement.campaignId) && Objects.equals(this.userId, achievement.userId) && Objects.equals(this.createdBy, achievement.createdBy) && @@ -661,7 +689,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(id, created, name, title, description, target, period, periodEndOverride, recurrencePolicy, activationPolicy, fixedStartDate, endDate, campaignId, userId, createdBy, hasProgress, status); + return Objects.hash(id, created, name, title, description, target, period, periodEndOverride, recurrencePolicy, activationPolicy, fixedStartDate, endDate, allowRollbackAfterCompletion, campaignId, userId, createdBy, hasProgress, status); } @@ -681,6 +709,7 @@ public String toString() { sb.append(" activationPolicy: ").append(toIndentedString(activationPolicy)).append("\n"); sb.append(" fixedStartDate: ").append(toIndentedString(fixedStartDate)).append("\n"); sb.append(" endDate: ").append(toIndentedString(endDate)).append("\n"); + sb.append(" allowRollbackAfterCompletion: ").append(toIndentedString(allowRollbackAfterCompletion)).append("\n"); sb.append(" campaignId: ").append(toIndentedString(campaignId)).append("\n"); sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); sb.append(" createdBy: ").append(toIndentedString(createdBy)).append("\n"); diff --git a/src/main/java/one/talon/model/AchievementBase.java b/src/main/java/one/talon/model/AchievementBase.java index 52d09c96..7ace7ed4 100644 --- a/src/main/java/one/talon/model/AchievementBase.java +++ b/src/main/java/one/talon/model/AchievementBase.java @@ -168,6 +168,10 @@ public ActivationPolicyEnum read(final JsonReader jsonReader) throws IOException @SerializedName(SERIALIZED_NAME_END_DATE) private OffsetDateTime endDate; + public static final String SERIALIZED_NAME_ALLOW_ROLLBACK_AFTER_COMPLETION = "allowRollbackAfterCompletion"; + @SerializedName(SERIALIZED_NAME_ALLOW_ROLLBACK_AFTER_COMPLETION) + private Boolean allowRollbackAfterCompletion; + public AchievementBase name(String name) { @@ -399,6 +403,29 @@ public void setEndDate(OffsetDateTime endDate) { } + public AchievementBase allowRollbackAfterCompletion(Boolean allowRollbackAfterCompletion) { + + this.allowRollbackAfterCompletion = allowRollbackAfterCompletion; + return this; + } + + /** + * When `true`, customer progress can be rolled back in completed achievements. + * @return allowRollbackAfterCompletion + **/ + @javax.annotation.Nullable + @ApiModelProperty(example = "false", value = "When `true`, customer progress can be rolled back in completed achievements.") + + public Boolean getAllowRollbackAfterCompletion() { + return allowRollbackAfterCompletion; + } + + + public void setAllowRollbackAfterCompletion(Boolean allowRollbackAfterCompletion) { + this.allowRollbackAfterCompletion = allowRollbackAfterCompletion; + } + + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -417,12 +444,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.recurrencePolicy, achievementBase.recurrencePolicy) && Objects.equals(this.activationPolicy, achievementBase.activationPolicy) && Objects.equals(this.fixedStartDate, achievementBase.fixedStartDate) && - Objects.equals(this.endDate, achievementBase.endDate); + Objects.equals(this.endDate, achievementBase.endDate) && + Objects.equals(this.allowRollbackAfterCompletion, achievementBase.allowRollbackAfterCompletion); } @Override public int hashCode() { - return Objects.hash(name, title, description, target, period, periodEndOverride, recurrencePolicy, activationPolicy, fixedStartDate, endDate); + return Objects.hash(name, title, description, target, period, periodEndOverride, recurrencePolicy, activationPolicy, fixedStartDate, endDate, allowRollbackAfterCompletion); } @@ -440,6 +468,7 @@ public String toString() { sb.append(" activationPolicy: ").append(toIndentedString(activationPolicy)).append("\n"); sb.append(" fixedStartDate: ").append(toIndentedString(fixedStartDate)).append("\n"); sb.append(" endDate: ").append(toIndentedString(endDate)).append("\n"); + sb.append(" allowRollbackAfterCompletion: ").append(toIndentedString(allowRollbackAfterCompletion)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/one/talon/model/AchievementProgressWithDefinition.java b/src/main/java/one/talon/model/AchievementProgressWithDefinition.java index fbf66ee9..c8904bb1 100644 --- a/src/main/java/one/talon/model/AchievementProgressWithDefinition.java +++ b/src/main/java/one/talon/model/AchievementProgressWithDefinition.java @@ -239,6 +239,10 @@ public AchievementActivationPolicyEnum read(final JsonReader jsonReader) throws @SerializedName(SERIALIZED_NAME_ACHIEVEMENT_END_DATE) private OffsetDateTime achievementEndDate; + public static final String SERIALIZED_NAME_ACHIEVEMENT_ALLOW_ROLLBACK_AFTER_COMPLETION = "achievementAllowRollbackAfterCompletion"; + @SerializedName(SERIALIZED_NAME_ACHIEVEMENT_ALLOW_ROLLBACK_AFTER_COMPLETION) + private Boolean achievementAllowRollbackAfterCompletion; + public AchievementProgressWithDefinition status(StatusEnum status) { @@ -576,6 +580,29 @@ public void setAchievementEndDate(OffsetDateTime achievementEndDate) { } + public AchievementProgressWithDefinition achievementAllowRollbackAfterCompletion(Boolean achievementAllowRollbackAfterCompletion) { + + this.achievementAllowRollbackAfterCompletion = achievementAllowRollbackAfterCompletion; + return this; + } + + /** + * When `true`, customer progress can be rolled back in completed achievements. + * @return achievementAllowRollbackAfterCompletion + **/ + @javax.annotation.Nullable + @ApiModelProperty(example = "false", value = "When `true`, customer progress can be rolled back in completed achievements.") + + public Boolean getAchievementAllowRollbackAfterCompletion() { + return achievementAllowRollbackAfterCompletion; + } + + + public void setAchievementAllowRollbackAfterCompletion(Boolean achievementAllowRollbackAfterCompletion) { + this.achievementAllowRollbackAfterCompletion = achievementAllowRollbackAfterCompletion; + } + + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -599,12 +626,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.achievementRecurrencePolicy, achievementProgressWithDefinition.achievementRecurrencePolicy) && Objects.equals(this.achievementActivationPolicy, achievementProgressWithDefinition.achievementActivationPolicy) && Objects.equals(this.achievementFixedStartDate, achievementProgressWithDefinition.achievementFixedStartDate) && - Objects.equals(this.achievementEndDate, achievementProgressWithDefinition.achievementEndDate); + Objects.equals(this.achievementEndDate, achievementProgressWithDefinition.achievementEndDate) && + Objects.equals(this.achievementAllowRollbackAfterCompletion, achievementProgressWithDefinition.achievementAllowRollbackAfterCompletion); } @Override public int hashCode() { - return Objects.hash(status, progress, startDate, completionDate, endDate, achievementId, name, title, description, campaignId, target, achievementRecurrencePolicy, achievementActivationPolicy, achievementFixedStartDate, achievementEndDate); + return Objects.hash(status, progress, startDate, completionDate, endDate, achievementId, name, title, description, campaignId, target, achievementRecurrencePolicy, achievementActivationPolicy, achievementFixedStartDate, achievementEndDate, achievementAllowRollbackAfterCompletion); } @@ -627,6 +655,7 @@ public String toString() { sb.append(" achievementActivationPolicy: ").append(toIndentedString(achievementActivationPolicy)).append("\n"); sb.append(" achievementFixedStartDate: ").append(toIndentedString(achievementFixedStartDate)).append("\n"); sb.append(" achievementEndDate: ").append(toIndentedString(achievementEndDate)).append("\n"); + sb.append(" achievementAllowRollbackAfterCompletion: ").append(toIndentedString(achievementAllowRollbackAfterCompletion)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/one/talon/model/AchievementStatusEntry.java b/src/main/java/one/talon/model/AchievementStatusEntry.java index 973613d8..8f58eed6 100644 --- a/src/main/java/one/talon/model/AchievementStatusEntry.java +++ b/src/main/java/one/talon/model/AchievementStatusEntry.java @@ -177,6 +177,10 @@ public ActivationPolicyEnum read(final JsonReader jsonReader) throws IOException @SerializedName(SERIALIZED_NAME_END_DATE) private OffsetDateTime endDate; + public static final String SERIALIZED_NAME_ALLOW_ROLLBACK_AFTER_COMPLETION = "allowRollbackAfterCompletion"; + @SerializedName(SERIALIZED_NAME_ALLOW_ROLLBACK_AFTER_COMPLETION) + private Boolean allowRollbackAfterCompletion; + public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) private Long campaignId; @@ -507,6 +511,29 @@ public void setEndDate(OffsetDateTime endDate) { } + public AchievementStatusEntry allowRollbackAfterCompletion(Boolean allowRollbackAfterCompletion) { + + this.allowRollbackAfterCompletion = allowRollbackAfterCompletion; + return this; + } + + /** + * When `true`, customer progress can be rolled back in completed achievements. + * @return allowRollbackAfterCompletion + **/ + @javax.annotation.Nullable + @ApiModelProperty(example = "false", value = "When `true`, customer progress can be rolled back in completed achievements.") + + public Boolean getAllowRollbackAfterCompletion() { + return allowRollbackAfterCompletion; + } + + + public void setAllowRollbackAfterCompletion(Boolean allowRollbackAfterCompletion) { + this.allowRollbackAfterCompletion = allowRollbackAfterCompletion; + } + + public AchievementStatusEntry campaignId(Long campaignId) { this.campaignId = campaignId; @@ -597,6 +624,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.activationPolicy, achievementStatusEntry.activationPolicy) && Objects.equals(this.fixedStartDate, achievementStatusEntry.fixedStartDate) && Objects.equals(this.endDate, achievementStatusEntry.endDate) && + Objects.equals(this.allowRollbackAfterCompletion, achievementStatusEntry.allowRollbackAfterCompletion) && Objects.equals(this.campaignId, achievementStatusEntry.campaignId) && Objects.equals(this.status, achievementStatusEntry.status) && Objects.equals(this.currentProgress, achievementStatusEntry.currentProgress); @@ -604,7 +632,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(id, created, name, title, description, target, period, periodEndOverride, recurrencePolicy, activationPolicy, fixedStartDate, endDate, campaignId, status, currentProgress); + return Objects.hash(id, created, name, title, description, target, period, periodEndOverride, recurrencePolicy, activationPolicy, fixedStartDate, endDate, allowRollbackAfterCompletion, campaignId, status, currentProgress); } @@ -624,6 +652,7 @@ public String toString() { sb.append(" activationPolicy: ").append(toIndentedString(activationPolicy)).append("\n"); sb.append(" fixedStartDate: ").append(toIndentedString(fixedStartDate)).append("\n"); sb.append(" endDate: ").append(toIndentedString(endDate)).append("\n"); + sb.append(" allowRollbackAfterCompletion: ").append(toIndentedString(allowRollbackAfterCompletion)).append("\n"); sb.append(" campaignId: ").append(toIndentedString(campaignId)).append("\n"); sb.append(" status: ").append(toIndentedString(status)).append("\n"); sb.append(" currentProgress: ").append(toIndentedString(currentProgress)).append("\n"); diff --git a/src/main/java/one/talon/model/AddLoyaltyPoints.java b/src/main/java/one/talon/model/AddLoyaltyPoints.java index d01a41c4..24549b64 100644 --- a/src/main/java/one/talon/model/AddLoyaltyPoints.java +++ b/src/main/java/one/talon/model/AddLoyaltyPoints.java @@ -164,11 +164,11 @@ public AddLoyaltyPoints pendingDuration(String pendingDuration) { } /** - * 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. + * The amount of time before the points are considered valid. The time format is either: - `immediate` or, - `on_action` or, - an **integer** followed by one letter indicating the time unit. Examples: `immediate`, `30s`, `40m`, `1h`, `5D`, `7W`, `10M`, `15Y`, `on_action`. 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. * @return pendingDuration **/ @javax.annotation.Nullable - @ApiModelProperty(example = "12h", value = "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. ") + @ApiModelProperty(example = "12h", value = "The amount of time before the points are considered valid. The time format is either: - `immediate` or, - `on_action` or, - an **integer** followed by one letter indicating the time unit. Examples: `immediate`, `30s`, `40m`, `1h`, `5D`, `7W`, `10M`, `15Y`, `on_action`. 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. ") public String getPendingDuration() { return pendingDuration; diff --git a/src/main/java/one/talon/model/AnalyticsSKU.java b/src/main/java/one/talon/model/AnalyticsSKU.java index d60036bc..8cdfaea6 100644 --- a/src/main/java/one/talon/model/AnalyticsSKU.java +++ b/src/main/java/one/talon/model/AnalyticsSKU.java @@ -43,6 +43,14 @@ public class AnalyticsSKU { @SerializedName(SERIALIZED_NAME_LAST_UPDATED) private OffsetDateTime lastUpdated; + public static final String SERIALIZED_NAME_CATALOG_ID = "catalogId"; + @SerializedName(SERIALIZED_NAME_CATALOG_ID) + private Long catalogId; + + public static final String SERIALIZED_NAME_PRODUCT_ID = "productId"; + @SerializedName(SERIALIZED_NAME_PRODUCT_ID) + private Long productId; + public static final String SERIALIZED_NAME_UNITS_SOLD = "unitsSold"; @SerializedName(SERIALIZED_NAME_UNITS_SOLD) private AnalyticsDataPointWithTrend unitsSold; @@ -55,10 +63,10 @@ public AnalyticsSKU id(Long id) { } /** - * The ID of the SKU linked to the application. + * The ID of the SKU linked to the Application. * @return id **/ - @ApiModelProperty(example = "1", required = true, value = "The ID of the SKU linked to the application.") + @ApiModelProperty(example = "1", required = true, value = "The ID of the SKU linked to the Application.") public Long getId() { return id; @@ -77,10 +85,10 @@ public AnalyticsSKU sku(String sku) { } /** - * The SKU linked to the application. + * The SKU linked to the Application. * @return sku **/ - @ApiModelProperty(example = "SKU-123", required = true, value = "The SKU linked to the application.") + @ApiModelProperty(example = "SKU-123", required = true, value = "The SKU linked to the Application.") public String getSku() { return sku; @@ -115,6 +123,52 @@ public void setLastUpdated(OffsetDateTime lastUpdated) { } + public AnalyticsSKU catalogId(Long catalogId) { + + this.catalogId = catalogId; + return this; + } + + /** + * The ID of the catalog that contains the SKU. + * @return catalogId + **/ + @javax.annotation.Nullable + @ApiModelProperty(example = "1", value = "The ID of the catalog that contains the SKU.") + + public Long getCatalogId() { + return catalogId; + } + + + public void setCatalogId(Long catalogId) { + this.catalogId = catalogId; + } + + + public AnalyticsSKU productId(Long productId) { + + this.productId = productId; + return this; + } + + /** + * The ID of the product that the SKU belongs to. + * @return productId + **/ + @javax.annotation.Nullable + @ApiModelProperty(example = "1", value = "The ID of the product that the SKU belongs to.") + + public Long getProductId() { + return productId; + } + + + public void setProductId(Long productId) { + this.productId = productId; + } + + public AnalyticsSKU unitsSold(AnalyticsDataPointWithTrend unitsSold) { this.unitsSold = unitsSold; @@ -150,12 +204,14 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.id, analyticsSKU.id) && Objects.equals(this.sku, analyticsSKU.sku) && Objects.equals(this.lastUpdated, analyticsSKU.lastUpdated) && + Objects.equals(this.catalogId, analyticsSKU.catalogId) && + Objects.equals(this.productId, analyticsSKU.productId) && Objects.equals(this.unitsSold, analyticsSKU.unitsSold); } @Override public int hashCode() { - return Objects.hash(id, sku, lastUpdated, unitsSold); + return Objects.hash(id, sku, lastUpdated, catalogId, productId, unitsSold); } @@ -166,6 +222,8 @@ public String toString() { sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" sku: ").append(toIndentedString(sku)).append("\n"); sb.append(" lastUpdated: ").append(toIndentedString(lastUpdated)).append("\n"); + sb.append(" catalogId: ").append(toIndentedString(catalogId)).append("\n"); + sb.append(" productId: ").append(toIndentedString(productId)).append("\n"); sb.append(" unitsSold: ").append(toIndentedString(unitsSold)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/src/main/java/one/talon/model/ApplicationCustomer.java b/src/main/java/one/talon/model/ApplicationCustomer.java index a8291cad..11fcd2f2 100644 --- a/src/main/java/one/talon/model/ApplicationCustomer.java +++ b/src/main/java/one/talon/model/ApplicationCustomer.java @@ -253,11 +253,11 @@ public ApplicationCustomer addLoyaltyMembershipsItem(LoyaltyMembership loyaltyMe } /** - * **DEPRECATED** A list of loyalty programs joined by the customer. + * **DEPRECATED. Always returns `null`.** A list of loyalty programs joined by the customer. * @return loyaltyMemberships **/ @javax.annotation.Nullable - @ApiModelProperty(value = "**DEPRECATED** A list of loyalty programs joined by the customer. ") + @ApiModelProperty(value = "**DEPRECATED. Always returns `null`.** A list of loyalty programs joined by the customer. ") public List getLoyaltyMemberships() { return loyaltyMemberships; diff --git a/src/main/java/one/talon/model/AsyncCouponsData.java b/src/main/java/one/talon/model/AsyncCouponsData.java index 5bdcff75..f9382cb2 100644 --- a/src/main/java/one/talon/model/AsyncCouponsData.java +++ b/src/main/java/one/talon/model/AsyncCouponsData.java @@ -45,6 +45,10 @@ public class AsyncCouponsData { @SerializedName(SERIALIZED_NAME_EMPLOYEE_NAME) private String employeeName; + public static final String SERIALIZED_NAME_NOTIFICATION_TYPE = "NotificationType"; + @SerializedName(SERIALIZED_NAME_NOTIFICATION_TYPE) + private String notificationType; + public AsyncCouponsData batchID(String batchID) { @@ -134,6 +138,28 @@ public void setEmployeeName(String employeeName) { } + public AsyncCouponsData notificationType(String notificationType) { + + this.notificationType = notificationType; + return this; + } + + /** + * The type of the notification + * @return notificationType + **/ + @ApiModelProperty(required = true, value = "The type of the notification") + + public String getNotificationType() { + return notificationType; + } + + + public void setNotificationType(String notificationType) { + this.notificationType = notificationType; + } + + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -146,12 +172,13 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.batchID, asyncCouponsData.batchID) && Objects.equals(this.typeOfChange, asyncCouponsData.typeOfChange) && Objects.equals(this.operation, asyncCouponsData.operation) && - Objects.equals(this.employeeName, asyncCouponsData.employeeName); + Objects.equals(this.employeeName, asyncCouponsData.employeeName) && + Objects.equals(this.notificationType, asyncCouponsData.notificationType); } @Override public int hashCode() { - return Objects.hash(batchID, typeOfChange, operation, employeeName); + return Objects.hash(batchID, typeOfChange, operation, employeeName, notificationType); } @@ -163,6 +190,7 @@ public String toString() { sb.append(" typeOfChange: ").append(toIndentedString(typeOfChange)).append("\n"); sb.append(" operation: ").append(toIndentedString(operation)).append("\n"); sb.append(" employeeName: ").append(toIndentedString(employeeName)).append("\n"); + sb.append(" notificationType: ").append(toIndentedString(notificationType)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/one/talon/model/AudienceCustomer.java b/src/main/java/one/talon/model/AudienceCustomer.java index d6d3d966..701d4ecc 100644 --- a/src/main/java/one/talon/model/AudienceCustomer.java +++ b/src/main/java/one/talon/model/AudienceCustomer.java @@ -257,11 +257,11 @@ public AudienceCustomer addLoyaltyMembershipsItem(LoyaltyMembership loyaltyMembe } /** - * **DEPRECATED** A list of loyalty programs joined by the customer. + * **DEPRECATED. Always returns `null`.** A list of loyalty programs joined by the customer. * @return loyaltyMemberships **/ @javax.annotation.Nullable - @ApiModelProperty(value = "**DEPRECATED** A list of loyalty programs joined by the customer. ") + @ApiModelProperty(value = "**DEPRECATED. Always returns `null`.** A list of loyalty programs joined by the customer. ") public List getLoyaltyMemberships() { return loyaltyMemberships; diff --git a/src/main/java/one/talon/model/AudienceReference.java b/src/main/java/one/talon/model/AudienceReference.java new file mode 100644 index 00000000..c6e7f2b8 --- /dev/null +++ b/src/main/java/one/talon/model/AudienceReference.java @@ -0,0 +1,156 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * AudienceReference + */ + +public class AudienceReference { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private Long id; + + public static final String SERIALIZED_NAME_INTEGRATION = "integration"; + @SerializedName(SERIALIZED_NAME_INTEGRATION) + private String integration; + + public static final String SERIALIZED_NAME_INTEGRATION_ID = "integrationId"; + @SerializedName(SERIALIZED_NAME_INTEGRATION_ID) + private String integrationId; + + + public AudienceReference id(Long id) { + + this.id = id; + return this; + } + + /** + * The ID of the audience. + * @return id + **/ + @ApiModelProperty(required = true, value = "The ID of the audience.") + + public Long getId() { + return id; + } + + + public void setId(Long id) { + this.id = id; + } + + + public AudienceReference integration(String integration) { + + this.integration = integration; + return this; + } + + /** + * The third-party integration of the audience. + * @return integration + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "The third-party integration of the audience.") + + public String getIntegration() { + return integration; + } + + + public void setIntegration(String integration) { + this.integration = integration; + } + + + public AudienceReference integrationId(String integrationId) { + + this.integrationId = integrationId; + return this; + } + + /** + * The ID of this audience in the third-party integration. + * @return integrationId + **/ + @javax.annotation.Nullable + @ApiModelProperty(example = "382370BKDB946", value = "The ID of this audience in the third-party integration.") + + public String getIntegrationId() { + return integrationId; + } + + + public void setIntegrationId(String integrationId) { + this.integrationId = integrationId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AudienceReference audienceReference = (AudienceReference) o; + return Objects.equals(this.id, audienceReference.id) && + Objects.equals(this.integration, audienceReference.integration) && + Objects.equals(this.integrationId, audienceReference.integrationId); + } + + @Override + public int hashCode() { + return Objects.hash(id, integration, integrationId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AudienceReference {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" integration: ").append(toIndentedString(integration)).append("\n"); + sb.append(" integrationId: ").append(toIndentedString(integrationId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/one/talon/model/BaseLoyaltyProgram.java b/src/main/java/one/talon/model/BaseLoyaltyProgram.java index 1fadb224..76fe7c67 100644 --- a/src/main/java/one/talon/model/BaseLoyaltyProgram.java +++ b/src/main/java/one/talon/model/BaseLoyaltyProgram.java @@ -397,11 +397,11 @@ public BaseLoyaltyProgram defaultPending(String defaultPending) { } /** - * 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. + * The default duration of the pending time after which points should be valid. Accepted values: 'immediate', 'on_action' 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. * @return defaultPending **/ @javax.annotation.Nullable - @ApiModelProperty(example = "immediate", value = "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. ") + @ApiModelProperty(example = "immediate", value = "The default duration of the pending time after which points should be valid. Accepted values: 'immediate', 'on_action' 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. ") public String getDefaultPending() { return defaultPending; diff --git a/src/main/java/one/talon/model/BestPriorPrice.java b/src/main/java/one/talon/model/BestPriorPrice.java new file mode 100644 index 00000000..88bbc4be --- /dev/null +++ b/src/main/java/one/talon/model/BestPriorPrice.java @@ -0,0 +1,241 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.math.BigDecimal; +import one.talon.model.BestPriorPriceMetadata; +import org.threeten.bp.OffsetDateTime; + +/** + * BestPriorPrice + */ + +public class BestPriorPrice { + public static final String SERIALIZED_NAME_SKU = "sku"; + @SerializedName(SERIALIZED_NAME_SKU) + private String sku; + + public static final String SERIALIZED_NAME_OBSERVED_AT = "observedAt"; + @SerializedName(SERIALIZED_NAME_OBSERVED_AT) + private OffsetDateTime observedAt; + + public static final String SERIALIZED_NAME_CONTEXT_ID = "contextId"; + @SerializedName(SERIALIZED_NAME_CONTEXT_ID) + private String contextId; + + public static final String SERIALIZED_NAME_PRICE = "price"; + @SerializedName(SERIALIZED_NAME_PRICE) + private BigDecimal price; + + public static final String SERIALIZED_NAME_METADATA = "metadata"; + @SerializedName(SERIALIZED_NAME_METADATA) + private BestPriorPriceMetadata metadata; + + public static final String SERIALIZED_NAME_TARGET = "target"; + @SerializedName(SERIALIZED_NAME_TARGET) + private Object target; + + + public BestPriorPrice sku(String sku) { + + this.sku = sku; + return this; + } + + /** + * sku + * @return sku + **/ + @ApiModelProperty(example = "NVR-GN-GV-UUP", required = true, value = "sku") + + public String getSku() { + return sku; + } + + + public void setSku(String sku) { + this.sku = sku; + } + + + public BestPriorPrice observedAt(OffsetDateTime observedAt) { + + this.observedAt = observedAt; + return this; + } + + /** + * The date and time when the best price was observed. + * @return observedAt + **/ + @ApiModelProperty(example = "2020-11-10T23:00Z", required = true, value = "The date and time when the best price was observed.") + + public OffsetDateTime getObservedAt() { + return observedAt; + } + + + public void setObservedAt(OffsetDateTime observedAt) { + this.observedAt = observedAt; + } + + + public BestPriorPrice contextId(String contextId) { + + this.contextId = contextId; + return this; + } + + /** + * The context ID of the context active at the time of observation. + * @return contextId + **/ + @ApiModelProperty(example = "Summer Sale 2007", required = true, value = "The context ID of the context active at the time of observation. ") + + public String getContextId() { + return contextId; + } + + + public void setContextId(String contextId) { + this.contextId = contextId; + } + + + public BestPriorPrice price(BigDecimal price) { + + this.price = price; + return this; + } + + /** + * Price of the item. + * @return price + **/ + @ApiModelProperty(example = "99.99", required = true, value = "Price of the item.") + + public BigDecimal getPrice() { + return price; + } + + + public void setPrice(BigDecimal price) { + this.price = price; + } + + + public BestPriorPrice metadata(BestPriorPriceMetadata metadata) { + + this.metadata = metadata; + return this; + } + + /** + * Get metadata + * @return metadata + **/ + @ApiModelProperty(required = true, value = "") + + public BestPriorPriceMetadata getMetadata() { + return metadata; + } + + + public void setMetadata(BestPriorPriceMetadata metadata) { + this.metadata = metadata; + } + + + public BestPriorPrice target(Object target) { + + this.target = target; + return this; + } + + /** + * Get target + * @return target + **/ + @ApiModelProperty(required = true, value = "") + + public Object getTarget() { + return target; + } + + + public void setTarget(Object target) { + this.target = target; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BestPriorPrice bestPriorPrice = (BestPriorPrice) o; + return Objects.equals(this.sku, bestPriorPrice.sku) && + Objects.equals(this.observedAt, bestPriorPrice.observedAt) && + Objects.equals(this.contextId, bestPriorPrice.contextId) && + Objects.equals(this.price, bestPriorPrice.price) && + Objects.equals(this.metadata, bestPriorPrice.metadata) && + Objects.equals(this.target, bestPriorPrice.target); + } + + @Override + public int hashCode() { + return Objects.hash(sku, observedAt, contextId, price, metadata, target); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class BestPriorPrice {\n"); + sb.append(" sku: ").append(toIndentedString(sku)).append("\n"); + sb.append(" observedAt: ").append(toIndentedString(observedAt)).append("\n"); + sb.append(" contextId: ").append(toIndentedString(contextId)).append("\n"); + sb.append(" price: ").append(toIndentedString(price)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append(" target: ").append(toIndentedString(target)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/one/talon/model/BestPriorPriceMetadata.java b/src/main/java/one/talon/model/BestPriorPriceMetadata.java new file mode 100644 index 00000000..51bb0a0b --- /dev/null +++ b/src/main/java/one/talon/model/BestPriorPriceMetadata.java @@ -0,0 +1,139 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * Auxiliary data for found price observation. + */ +@ApiModel(description = "Auxiliary data for found price observation.") + +public class BestPriorPriceMetadata { + public static final String SERIALIZED_NAME_INFLUENCING_CAMPAIGN_I_DS = "influencingCampaignIDs"; + @SerializedName(SERIALIZED_NAME_INFLUENCING_CAMPAIGN_I_DS) + private List influencingCampaignIDs = null; + + public static final String SERIALIZED_NAME_ADJUSTMENT_REFERENCE_I_D = "adjustmentReferenceID"; + @SerializedName(SERIALIZED_NAME_ADJUSTMENT_REFERENCE_I_D) + private String adjustmentReferenceID; + + + public BestPriorPriceMetadata influencingCampaignIDs(List influencingCampaignIDs) { + + this.influencingCampaignIDs = influencingCampaignIDs; + return this; + } + + public BestPriorPriceMetadata addInfluencingCampaignIDsItem(Long influencingCampaignIDsItem) { + if (this.influencingCampaignIDs == null) { + this.influencingCampaignIDs = new ArrayList(); + } + this.influencingCampaignIDs.add(influencingCampaignIDsItem); + return this; + } + + /** + * Get influencingCampaignIDs + * @return influencingCampaignIDs + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getInfluencingCampaignIDs() { + return influencingCampaignIDs; + } + + + public void setInfluencingCampaignIDs(List influencingCampaignIDs) { + this.influencingCampaignIDs = influencingCampaignIDs; + } + + + public BestPriorPriceMetadata adjustmentReferenceID(String adjustmentReferenceID) { + + this.adjustmentReferenceID = adjustmentReferenceID; + return this; + } + + /** + * Identifier related to the `referenceId` used during a `ADD_PRICE_ADJUSTMENT` action using the [Sync cart item catalog endpoint](https://docs.talon.one/integration-api#tag/Catalogs/operation/syncCatalog). + * @return adjustmentReferenceID + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Identifier related to the `referenceId` used during a `ADD_PRICE_ADJUSTMENT` action using the [Sync cart item catalog endpoint](https://docs.talon.one/integration-api#tag/Catalogs/operation/syncCatalog).") + + public String getAdjustmentReferenceID() { + return adjustmentReferenceID; + } + + + public void setAdjustmentReferenceID(String adjustmentReferenceID) { + this.adjustmentReferenceID = adjustmentReferenceID; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BestPriorPriceMetadata bestPriorPriceMetadata = (BestPriorPriceMetadata) o; + return Objects.equals(this.influencingCampaignIDs, bestPriorPriceMetadata.influencingCampaignIDs) && + Objects.equals(this.adjustmentReferenceID, bestPriorPriceMetadata.adjustmentReferenceID); + } + + @Override + public int hashCode() { + return Objects.hash(influencingCampaignIDs, adjustmentReferenceID); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class BestPriorPriceMetadata {\n"); + sb.append(" influencingCampaignIDs: ").append(toIndentedString(influencingCampaignIDs)).append("\n"); + sb.append(" adjustmentReferenceID: ").append(toIndentedString(adjustmentReferenceID)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/one/talon/model/BestPriorPriceRequest.java b/src/main/java/one/talon/model/BestPriorPriceRequest.java new file mode 100644 index 00000000..95994c04 --- /dev/null +++ b/src/main/java/one/talon/model/BestPriorPriceRequest.java @@ -0,0 +1,220 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import one.talon.model.BestPriorPriceRequestTarget; +import org.threeten.bp.OffsetDateTime; + +/** + * BestPriorPriceRequest + */ + +public class BestPriorPriceRequest { + public static final String SERIALIZED_NAME_SKUS = "skus"; + @SerializedName(SERIALIZED_NAME_SKUS) + private List skus = new ArrayList(); + + public static final String SERIALIZED_NAME_TIMEFRAME_END_DATE = "timeframeEndDate"; + @SerializedName(SERIALIZED_NAME_TIMEFRAME_END_DATE) + private OffsetDateTime timeframeEndDate; + + public static final String SERIALIZED_NAME_TIMEFRAME = "timeframe"; + @SerializedName(SERIALIZED_NAME_TIMEFRAME) + private Integer timeframe; + + public static final String SERIALIZED_NAME_STRICT_END_DATE = "strictEndDate"; + @SerializedName(SERIALIZED_NAME_STRICT_END_DATE) + private Boolean strictEndDate; + + public static final String SERIALIZED_NAME_TARGET = "target"; + @SerializedName(SERIALIZED_NAME_TARGET) + private BestPriorPriceRequestTarget target; + + + public BestPriorPriceRequest skus(List skus) { + + this.skus = skus; + return this; + } + + public BestPriorPriceRequest addSkusItem(String skusItem) { + this.skus.add(skusItem); + return this; + } + + /** + * List of product SKUs to check when determining the best prior price. + * @return skus + **/ + @ApiModelProperty(example = "[comma, period]", required = true, value = "List of product SKUs to check when determining the best prior price.") + + public List getSkus() { + return skus; + } + + + public void setSkus(List skus) { + this.skus = skus; + } + + + public BestPriorPriceRequest timeframeEndDate(OffsetDateTime timeframeEndDate) { + + this.timeframeEndDate = timeframeEndDate; + return this; + } + + /** + * The end date and time that defines the latest time for retrieving historical SKU prices. + * @return timeframeEndDate + **/ + @ApiModelProperty(example = "2020-11-10T23:00Z", required = true, value = "The end date and time that defines the latest time for retrieving historical SKU prices.") + + public OffsetDateTime getTimeframeEndDate() { + return timeframeEndDate; + } + + + public void setTimeframeEndDate(OffsetDateTime timeframeEndDate) { + this.timeframeEndDate = timeframeEndDate; + } + + + public BestPriorPriceRequest timeframe(Integer timeframe) { + + this.timeframe = timeframe; + return this; + } + + /** + * The number of days prior to the timeframeEndDate. Only prices within this look back period are considered for the best prior price evaluation. + * @return timeframe + **/ + @ApiModelProperty(example = "30", required = true, value = "The number of days prior to the timeframeEndDate. Only prices within this look back period are considered for the best prior price evaluation.") + + public Integer getTimeframe() { + return timeframe; + } + + + public void setTimeframe(Integer timeframe) { + this.timeframe = timeframe; + } + + + public BestPriorPriceRequest strictEndDate(Boolean strictEndDate) { + + this.strictEndDate = strictEndDate; + return this; + } + + /** + * Indicates whether the timeframe includes the start of the current sale. - When `false`, the timeframe includes the start date of the current sale. - When `true`, the timeframe striclty uses the number of days specified in `timeframe`. + * @return strictEndDate + **/ + @ApiModelProperty(example = "true", required = true, value = "Indicates whether the timeframe includes the start of the current sale. - When `false`, the timeframe includes the start date of the current sale. - When `true`, the timeframe striclty uses the number of days specified in `timeframe`. ") + + public Boolean getStrictEndDate() { + return strictEndDate; + } + + + public void setStrictEndDate(Boolean strictEndDate) { + this.strictEndDate = strictEndDate; + } + + + public BestPriorPriceRequest target(BestPriorPriceRequestTarget target) { + + this.target = target; + return this; + } + + /** + * Get target + * @return target + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public BestPriorPriceRequestTarget getTarget() { + return target; + } + + + public void setTarget(BestPriorPriceRequestTarget target) { + this.target = target; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BestPriorPriceRequest bestPriorPriceRequest = (BestPriorPriceRequest) o; + return Objects.equals(this.skus, bestPriorPriceRequest.skus) && + Objects.equals(this.timeframeEndDate, bestPriorPriceRequest.timeframeEndDate) && + Objects.equals(this.timeframe, bestPriorPriceRequest.timeframe) && + Objects.equals(this.strictEndDate, bestPriorPriceRequest.strictEndDate) && + Objects.equals(this.target, bestPriorPriceRequest.target); + } + + @Override + public int hashCode() { + return Objects.hash(skus, timeframeEndDate, timeframe, strictEndDate, target); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class BestPriorPriceRequest {\n"); + sb.append(" skus: ").append(toIndentedString(skus)).append("\n"); + sb.append(" timeframeEndDate: ").append(toIndentedString(timeframeEndDate)).append("\n"); + sb.append(" timeframe: ").append(toIndentedString(timeframe)).append("\n"); + sb.append(" strictEndDate: ").append(toIndentedString(strictEndDate)).append("\n"); + sb.append(" target: ").append(toIndentedString(target)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/one/talon/model/BestPriorPriceRequestTarget.java b/src/main/java/one/talon/model/BestPriorPriceRequestTarget.java new file mode 100644 index 00000000..52595389 --- /dev/null +++ b/src/main/java/one/talon/model/BestPriorPriceRequestTarget.java @@ -0,0 +1,175 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Specifies the target for which the best prior price calculation is taken into consideration. + */ +@ApiModel(description = "Specifies the target for which the best prior price calculation is taken into consideration.") + +public class BestPriorPriceRequestTarget { + /** + * The type of price target. + */ + @JsonAdapter(TargetTypeEnum.Adapter.class) + public enum TargetTypeEnum { + NONE("NONE"), + + AUDIENCE("AUDIENCE"); + + private String value; + + TargetTypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static TargetTypeEnum fromValue(String value) { + for (TargetTypeEnum b : TargetTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final TargetTypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public TargetTypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return TargetTypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_TARGET_TYPE = "targetType"; + @SerializedName(SERIALIZED_NAME_TARGET_TYPE) + private TargetTypeEnum targetType; + + public static final String SERIALIZED_NAME_AUDIENCE_I_D = "audienceID"; + @SerializedName(SERIALIZED_NAME_AUDIENCE_I_D) + private Long audienceID; + + + public BestPriorPriceRequestTarget targetType(TargetTypeEnum targetType) { + + this.targetType = targetType; + return this; + } + + /** + * The type of price target. + * @return targetType + **/ + @ApiModelProperty(example = "AUDIENCE", required = true, value = "The type of price target.") + + public TargetTypeEnum getTargetType() { + return targetType; + } + + + public void setTargetType(TargetTypeEnum targetType) { + this.targetType = targetType; + } + + + public BestPriorPriceRequestTarget audienceID(Long audienceID) { + + this.audienceID = audienceID; + return this; + } + + /** + * The AudienceID of an audience. Must be used with \"AUDIENCE\" target type. + * @return audienceID + **/ + @javax.annotation.Nullable + @ApiModelProperty(example = "4", value = "The AudienceID of an audience. Must be used with \"AUDIENCE\" target type.") + + public Long getAudienceID() { + return audienceID; + } + + + public void setAudienceID(Long audienceID) { + this.audienceID = audienceID; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BestPriorPriceRequestTarget bestPriorPriceRequestTarget = (BestPriorPriceRequestTarget) o; + return Objects.equals(this.targetType, bestPriorPriceRequestTarget.targetType) && + Objects.equals(this.audienceID, bestPriorPriceRequestTarget.audienceID); + } + + @Override + public int hashCode() { + return Objects.hash(targetType, audienceID); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class BestPriorPriceRequestTarget {\n"); + sb.append(" targetType: ").append(toIndentedString(targetType)).append("\n"); + sb.append(" audienceID: ").append(toIndentedString(audienceID)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/one/talon/model/CampaignCollectionEditedNotification.java b/src/main/java/one/talon/model/CampaignCollectionEditedNotification.java index 0106aec7..89648a55 100644 --- a/src/main/java/one/talon/model/CampaignCollectionEditedNotification.java +++ b/src/main/java/one/talon/model/CampaignCollectionEditedNotification.java @@ -23,93 +23,100 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import one.talon.model.Campaign; -import one.talon.model.CollectionWithoutPayload; -import one.talon.model.Ruleset; +import java.util.ArrayList; +import java.util.List; +import one.talon.model.CampaignCollectionEditedNotificationItem; /** - * A notification regarding a collection that was edited. + * CampaignCollectionEditedNotification */ -@ApiModel(description = "A notification regarding a collection that was edited.") public class CampaignCollectionEditedNotification { - public static final String SERIALIZED_NAME_CAMPAIGN = "campaign"; - @SerializedName(SERIALIZED_NAME_CAMPAIGN) - private Campaign campaign; + public static final String SERIALIZED_NAME_NOTIFICATION_TYPE = "NotificationType"; + @SerializedName(SERIALIZED_NAME_NOTIFICATION_TYPE) + private String notificationType; - public static final String SERIALIZED_NAME_RULESET = "ruleset"; - @SerializedName(SERIALIZED_NAME_RULESET) - private Ruleset ruleset; + public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "TotalResultSize"; + @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) + private Long totalResultSize; - public static final String SERIALIZED_NAME_COLLECTION = "collection"; - @SerializedName(SERIALIZED_NAME_COLLECTION) - private CollectionWithoutPayload collection; + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) + private List data = null; - public CampaignCollectionEditedNotification campaign(Campaign campaign) { + public CampaignCollectionEditedNotification notificationType(String notificationType) { - this.campaign = campaign; + this.notificationType = notificationType; return this; } /** - * Get campaign - * @return campaign + * The type of the notification + * @return notificationType **/ - @ApiModelProperty(required = true, value = "") + @ApiModelProperty(example = "CampaignNotification", required = true, value = "The type of the notification") - public Campaign getCampaign() { - return campaign; + public String getNotificationType() { + return notificationType; } - public void setCampaign(Campaign campaign) { - this.campaign = campaign; + public void setNotificationType(String notificationType) { + this.notificationType = notificationType; } - public CampaignCollectionEditedNotification ruleset(Ruleset ruleset) { + public CampaignCollectionEditedNotification totalResultSize(Long totalResultSize) { - this.ruleset = ruleset; + this.totalResultSize = totalResultSize; return this; } /** - * Get ruleset - * @return ruleset + * The total size of the result set. + * @return totalResultSize **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @ApiModelProperty(required = true, value = "The total size of the result set.") - public Ruleset getRuleset() { - return ruleset; + public Long getTotalResultSize() { + return totalResultSize; } - public void setRuleset(Ruleset ruleset) { - this.ruleset = ruleset; + public void setTotalResultSize(Long totalResultSize) { + this.totalResultSize = totalResultSize; } - public CampaignCollectionEditedNotification collection(CollectionWithoutPayload collection) { + public CampaignCollectionEditedNotification data(List data) { - this.collection = collection; + this.data = data; + return this; + } + + public CampaignCollectionEditedNotification addDataItem(CampaignCollectionEditedNotificationItem dataItem) { + if (this.data == null) { + this.data = new ArrayList(); + } + this.data.add(dataItem); return this; } /** - * Get collection - * @return collection + * A list of campaign notification data. + * @return data **/ - @ApiModelProperty(required = true, value = "") + @javax.annotation.Nullable + @ApiModelProperty(value = "A list of campaign notification data.") - public CollectionWithoutPayload getCollection() { - return collection; + public List getData() { + return data; } - public void setCollection(CollectionWithoutPayload collection) { - this.collection = collection; + public void setData(List data) { + this.data = data; } @@ -122,14 +129,14 @@ public boolean equals(java.lang.Object o) { return false; } CampaignCollectionEditedNotification campaignCollectionEditedNotification = (CampaignCollectionEditedNotification) o; - return Objects.equals(this.campaign, campaignCollectionEditedNotification.campaign) && - Objects.equals(this.ruleset, campaignCollectionEditedNotification.ruleset) && - Objects.equals(this.collection, campaignCollectionEditedNotification.collection); + return Objects.equals(this.notificationType, campaignCollectionEditedNotification.notificationType) && + Objects.equals(this.totalResultSize, campaignCollectionEditedNotification.totalResultSize) && + Objects.equals(this.data, campaignCollectionEditedNotification.data); } @Override public int hashCode() { - return Objects.hash(campaign, ruleset, collection); + return Objects.hash(notificationType, totalResultSize, data); } @@ -137,9 +144,9 @@ public int hashCode() { public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CampaignCollectionEditedNotification {\n"); - sb.append(" campaign: ").append(toIndentedString(campaign)).append("\n"); - sb.append(" ruleset: ").append(toIndentedString(ruleset)).append("\n"); - sb.append(" collection: ").append(toIndentedString(collection)).append("\n"); + sb.append(" notificationType: ").append(toIndentedString(notificationType)).append("\n"); + sb.append(" totalResultSize: ").append(toIndentedString(totalResultSize)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/one/talon/model/CampaignCollectionEditedNotificationItem.java b/src/main/java/one/talon/model/CampaignCollectionEditedNotificationItem.java new file mode 100644 index 00000000..f55a524a --- /dev/null +++ b/src/main/java/one/talon/model/CampaignCollectionEditedNotificationItem.java @@ -0,0 +1,187 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import one.talon.model.Campaign; +import one.talon.model.CollectionWithoutPayload; +import one.talon.model.Ruleset; + +/** + * A notification regarding a collection that was edited. + */ +@ApiModel(description = "A notification regarding a collection that was edited.") + +public class CampaignCollectionEditedNotificationItem { + public static final String SERIALIZED_NAME_EVENT = "Event"; + @SerializedName(SERIALIZED_NAME_EVENT) + private String event; + + public static final String SERIALIZED_NAME_CAMPAIGN = "campaign"; + @SerializedName(SERIALIZED_NAME_CAMPAIGN) + private Campaign campaign; + + public static final String SERIALIZED_NAME_RULESET = "ruleset"; + @SerializedName(SERIALIZED_NAME_RULESET) + private Ruleset ruleset; + + public static final String SERIALIZED_NAME_COLLECTION = "collection"; + @SerializedName(SERIALIZED_NAME_COLLECTION) + private CollectionWithoutPayload collection; + + + public CampaignCollectionEditedNotificationItem event(String event) { + + this.event = event; + return this; + } + + /** + * The type of the event. Can be one of the following: ['campaign_state_changed', 'campaign_ruleset_changed', 'campaign_edited', 'campaign_created', 'campaign_deleted'] + * @return event + **/ + @ApiModelProperty(example = "campaign_state_changed", required = true, value = "The type of the event. Can be one of the following: ['campaign_state_changed', 'campaign_ruleset_changed', 'campaign_edited', 'campaign_created', 'campaign_deleted'] ") + + public String getEvent() { + return event; + } + + + public void setEvent(String event) { + this.event = event; + } + + + public CampaignCollectionEditedNotificationItem campaign(Campaign campaign) { + + this.campaign = campaign; + return this; + } + + /** + * Get campaign + * @return campaign + **/ + @ApiModelProperty(required = true, value = "") + + public Campaign getCampaign() { + return campaign; + } + + + public void setCampaign(Campaign campaign) { + this.campaign = campaign; + } + + + public CampaignCollectionEditedNotificationItem ruleset(Ruleset ruleset) { + + this.ruleset = ruleset; + return this; + } + + /** + * Get ruleset + * @return ruleset + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Ruleset getRuleset() { + return ruleset; + } + + + public void setRuleset(Ruleset ruleset) { + this.ruleset = ruleset; + } + + + public CampaignCollectionEditedNotificationItem collection(CollectionWithoutPayload collection) { + + this.collection = collection; + return this; + } + + /** + * Get collection + * @return collection + **/ + @ApiModelProperty(required = true, value = "") + + public CollectionWithoutPayload getCollection() { + return collection; + } + + + public void setCollection(CollectionWithoutPayload collection) { + this.collection = collection; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CampaignCollectionEditedNotificationItem campaignCollectionEditedNotificationItem = (CampaignCollectionEditedNotificationItem) o; + return Objects.equals(this.event, campaignCollectionEditedNotificationItem.event) && + Objects.equals(this.campaign, campaignCollectionEditedNotificationItem.campaign) && + Objects.equals(this.ruleset, campaignCollectionEditedNotificationItem.ruleset) && + Objects.equals(this.collection, campaignCollectionEditedNotificationItem.collection); + } + + @Override + public int hashCode() { + return Objects.hash(event, campaign, ruleset, collection); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CampaignCollectionEditedNotificationItem {\n"); + sb.append(" event: ").append(toIndentedString(event)).append("\n"); + sb.append(" campaign: ").append(toIndentedString(campaign)).append("\n"); + sb.append(" ruleset: ").append(toIndentedString(ruleset)).append("\n"); + sb.append(" collection: ").append(toIndentedString(collection)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/one/talon/model/CampaignCreatedNotification.java b/src/main/java/one/talon/model/CampaignCreatedNotification.java index a48568ca..4e56ece9 100644 --- a/src/main/java/one/talon/model/CampaignCreatedNotification.java +++ b/src/main/java/one/talon/model/CampaignCreatedNotification.java @@ -23,93 +23,100 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import one.talon.model.Campaign; -import one.talon.model.CampaignEvaluationPosition; -import one.talon.model.Ruleset; +import java.util.ArrayList; +import java.util.List; +import one.talon.model.CampaignCreatedNotificationItem; /** - * A notification regarding a campaign that was created. + * CampaignCreatedNotification */ -@ApiModel(description = "A notification regarding a campaign that was created.") public class CampaignCreatedNotification { - public static final String SERIALIZED_NAME_CAMPAIGN = "campaign"; - @SerializedName(SERIALIZED_NAME_CAMPAIGN) - private Campaign campaign; + public static final String SERIALIZED_NAME_NOTIFICATION_TYPE = "NotificationType"; + @SerializedName(SERIALIZED_NAME_NOTIFICATION_TYPE) + private String notificationType; - public static final String SERIALIZED_NAME_RULESET = "ruleset"; - @SerializedName(SERIALIZED_NAME_RULESET) - private Ruleset ruleset; + public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "TotalResultSize"; + @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) + private Long totalResultSize; - public static final String SERIALIZED_NAME_EVALUATION_POSITION = "evaluationPosition"; - @SerializedName(SERIALIZED_NAME_EVALUATION_POSITION) - private CampaignEvaluationPosition evaluationPosition; + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) + private List data = null; - public CampaignCreatedNotification campaign(Campaign campaign) { + public CampaignCreatedNotification notificationType(String notificationType) { - this.campaign = campaign; + this.notificationType = notificationType; return this; } /** - * Get campaign - * @return campaign + * The type of the notification + * @return notificationType **/ - @ApiModelProperty(required = true, value = "") + @ApiModelProperty(example = "CampaignNotification", required = true, value = "The type of the notification") - public Campaign getCampaign() { - return campaign; + public String getNotificationType() { + return notificationType; } - public void setCampaign(Campaign campaign) { - this.campaign = campaign; + public void setNotificationType(String notificationType) { + this.notificationType = notificationType; } - public CampaignCreatedNotification ruleset(Ruleset ruleset) { + public CampaignCreatedNotification totalResultSize(Long totalResultSize) { - this.ruleset = ruleset; + this.totalResultSize = totalResultSize; return this; } /** - * Get ruleset - * @return ruleset + * The total size of the result set. + * @return totalResultSize **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @ApiModelProperty(required = true, value = "The total size of the result set.") - public Ruleset getRuleset() { - return ruleset; + public Long getTotalResultSize() { + return totalResultSize; } - public void setRuleset(Ruleset ruleset) { - this.ruleset = ruleset; + public void setTotalResultSize(Long totalResultSize) { + this.totalResultSize = totalResultSize; } - public CampaignCreatedNotification evaluationPosition(CampaignEvaluationPosition evaluationPosition) { + public CampaignCreatedNotification data(List data) { - this.evaluationPosition = evaluationPosition; + this.data = data; + return this; + } + + public CampaignCreatedNotification addDataItem(CampaignCreatedNotificationItem dataItem) { + if (this.data == null) { + this.data = new ArrayList(); + } + this.data.add(dataItem); return this; } /** - * Get evaluationPosition - * @return evaluationPosition + * A list of campaign notification data. + * @return data **/ - @ApiModelProperty(required = true, value = "") + @javax.annotation.Nullable + @ApiModelProperty(value = "A list of campaign notification data.") - public CampaignEvaluationPosition getEvaluationPosition() { - return evaluationPosition; + public List getData() { + return data; } - public void setEvaluationPosition(CampaignEvaluationPosition evaluationPosition) { - this.evaluationPosition = evaluationPosition; + public void setData(List data) { + this.data = data; } @@ -122,14 +129,14 @@ public boolean equals(java.lang.Object o) { return false; } CampaignCreatedNotification campaignCreatedNotification = (CampaignCreatedNotification) o; - return Objects.equals(this.campaign, campaignCreatedNotification.campaign) && - Objects.equals(this.ruleset, campaignCreatedNotification.ruleset) && - Objects.equals(this.evaluationPosition, campaignCreatedNotification.evaluationPosition); + return Objects.equals(this.notificationType, campaignCreatedNotification.notificationType) && + Objects.equals(this.totalResultSize, campaignCreatedNotification.totalResultSize) && + Objects.equals(this.data, campaignCreatedNotification.data); } @Override public int hashCode() { - return Objects.hash(campaign, ruleset, evaluationPosition); + return Objects.hash(notificationType, totalResultSize, data); } @@ -137,9 +144,9 @@ public int hashCode() { public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CampaignCreatedNotification {\n"); - sb.append(" campaign: ").append(toIndentedString(campaign)).append("\n"); - sb.append(" ruleset: ").append(toIndentedString(ruleset)).append("\n"); - sb.append(" evaluationPosition: ").append(toIndentedString(evaluationPosition)).append("\n"); + sb.append(" notificationType: ").append(toIndentedString(notificationType)).append("\n"); + sb.append(" totalResultSize: ").append(toIndentedString(totalResultSize)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/one/talon/model/CampaignCreatedNotificationItem.java b/src/main/java/one/talon/model/CampaignCreatedNotificationItem.java new file mode 100644 index 00000000..62942a68 --- /dev/null +++ b/src/main/java/one/talon/model/CampaignCreatedNotificationItem.java @@ -0,0 +1,187 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import one.talon.model.Campaign; +import one.talon.model.CampaignEvaluationPosition; +import one.talon.model.Ruleset; + +/** + * A notification regarding a campaign that was created. + */ +@ApiModel(description = "A notification regarding a campaign that was created.") + +public class CampaignCreatedNotificationItem { + public static final String SERIALIZED_NAME_EVENT = "Event"; + @SerializedName(SERIALIZED_NAME_EVENT) + private String event; + + public static final String SERIALIZED_NAME_CAMPAIGN = "campaign"; + @SerializedName(SERIALIZED_NAME_CAMPAIGN) + private Campaign campaign; + + public static final String SERIALIZED_NAME_RULESET = "ruleset"; + @SerializedName(SERIALIZED_NAME_RULESET) + private Ruleset ruleset; + + public static final String SERIALIZED_NAME_EVALUATION_POSITION = "evaluationPosition"; + @SerializedName(SERIALIZED_NAME_EVALUATION_POSITION) + private CampaignEvaluationPosition evaluationPosition; + + + public CampaignCreatedNotificationItem event(String event) { + + this.event = event; + return this; + } + + /** + * The type of the event. Can be one of the following: ['campaign_state_changed', 'campaign_ruleset_changed', 'campaign_edited', 'campaign_created', 'campaign_deleted'] + * @return event + **/ + @ApiModelProperty(example = "campaign_state_changed", required = true, value = "The type of the event. Can be one of the following: ['campaign_state_changed', 'campaign_ruleset_changed', 'campaign_edited', 'campaign_created', 'campaign_deleted'] ") + + public String getEvent() { + return event; + } + + + public void setEvent(String event) { + this.event = event; + } + + + public CampaignCreatedNotificationItem campaign(Campaign campaign) { + + this.campaign = campaign; + return this; + } + + /** + * Get campaign + * @return campaign + **/ + @ApiModelProperty(required = true, value = "") + + public Campaign getCampaign() { + return campaign; + } + + + public void setCampaign(Campaign campaign) { + this.campaign = campaign; + } + + + public CampaignCreatedNotificationItem ruleset(Ruleset ruleset) { + + this.ruleset = ruleset; + return this; + } + + /** + * Get ruleset + * @return ruleset + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Ruleset getRuleset() { + return ruleset; + } + + + public void setRuleset(Ruleset ruleset) { + this.ruleset = ruleset; + } + + + public CampaignCreatedNotificationItem evaluationPosition(CampaignEvaluationPosition evaluationPosition) { + + this.evaluationPosition = evaluationPosition; + return this; + } + + /** + * Get evaluationPosition + * @return evaluationPosition + **/ + @ApiModelProperty(required = true, value = "") + + public CampaignEvaluationPosition getEvaluationPosition() { + return evaluationPosition; + } + + + public void setEvaluationPosition(CampaignEvaluationPosition evaluationPosition) { + this.evaluationPosition = evaluationPosition; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CampaignCreatedNotificationItem campaignCreatedNotificationItem = (CampaignCreatedNotificationItem) o; + return Objects.equals(this.event, campaignCreatedNotificationItem.event) && + Objects.equals(this.campaign, campaignCreatedNotificationItem.campaign) && + Objects.equals(this.ruleset, campaignCreatedNotificationItem.ruleset) && + Objects.equals(this.evaluationPosition, campaignCreatedNotificationItem.evaluationPosition); + } + + @Override + public int hashCode() { + return Objects.hash(event, campaign, ruleset, evaluationPosition); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CampaignCreatedNotificationItem {\n"); + sb.append(" event: ").append(toIndentedString(event)).append("\n"); + sb.append(" campaign: ").append(toIndentedString(campaign)).append("\n"); + sb.append(" ruleset: ").append(toIndentedString(ruleset)).append("\n"); + sb.append(" evaluationPosition: ").append(toIndentedString(evaluationPosition)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/one/talon/model/CampaignDeletedNotification.java b/src/main/java/one/talon/model/CampaignDeletedNotification.java index 0d0c75b3..49dc486f 100644 --- a/src/main/java/one/talon/model/CampaignDeletedNotification.java +++ b/src/main/java/one/talon/model/CampaignDeletedNotification.java @@ -23,65 +23,100 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import one.talon.model.Campaign; -import org.threeten.bp.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import one.talon.model.CampaignDeletedNotificationItem; /** - * A notification regarding a campaign that was deleted. + * CampaignDeletedNotification */ -@ApiModel(description = "A notification regarding a campaign that was deleted.") public class CampaignDeletedNotification { - public static final String SERIALIZED_NAME_CAMPAIGN = "campaign"; - @SerializedName(SERIALIZED_NAME_CAMPAIGN) - private Campaign campaign; + public static final String SERIALIZED_NAME_NOTIFICATION_TYPE = "NotificationType"; + @SerializedName(SERIALIZED_NAME_NOTIFICATION_TYPE) + private String notificationType; - public static final String SERIALIZED_NAME_DELETED_AT = "deletedAt"; - @SerializedName(SERIALIZED_NAME_DELETED_AT) - private OffsetDateTime deletedAt; + public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "TotalResultSize"; + @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) + private Long totalResultSize; + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) + private List data = null; - public CampaignDeletedNotification campaign(Campaign campaign) { + + public CampaignDeletedNotification notificationType(String notificationType) { + + this.notificationType = notificationType; + return this; + } + + /** + * The type of the notification + * @return notificationType + **/ + @ApiModelProperty(example = "CampaignNotification", required = true, value = "The type of the notification") + + public String getNotificationType() { + return notificationType; + } + + + public void setNotificationType(String notificationType) { + this.notificationType = notificationType; + } + + + public CampaignDeletedNotification totalResultSize(Long totalResultSize) { - this.campaign = campaign; + this.totalResultSize = totalResultSize; return this; } /** - * Get campaign - * @return campaign + * The total size of the result set. + * @return totalResultSize **/ - @ApiModelProperty(required = true, value = "") + @ApiModelProperty(required = true, value = "The total size of the result set.") - public Campaign getCampaign() { - return campaign; + public Long getTotalResultSize() { + return totalResultSize; } - public void setCampaign(Campaign campaign) { - this.campaign = campaign; + public void setTotalResultSize(Long totalResultSize) { + this.totalResultSize = totalResultSize; } - public CampaignDeletedNotification deletedAt(OffsetDateTime deletedAt) { + public CampaignDeletedNotification data(List data) { - this.deletedAt = deletedAt; + this.data = data; + return this; + } + + public CampaignDeletedNotification addDataItem(CampaignDeletedNotificationItem dataItem) { + if (this.data == null) { + this.data = new ArrayList(); + } + this.data.add(dataItem); return this; } /** - * Time when the campaign was deleted. - * @return deletedAt + * A list of campaign notification data. + * @return data **/ - @ApiModelProperty(example = "2022-11-10T23:00Z", required = true, value = "Time when the campaign was deleted.") + @javax.annotation.Nullable + @ApiModelProperty(value = "A list of campaign notification data.") - public OffsetDateTime getDeletedAt() { - return deletedAt; + public List getData() { + return data; } - public void setDeletedAt(OffsetDateTime deletedAt) { - this.deletedAt = deletedAt; + public void setData(List data) { + this.data = data; } @@ -94,13 +129,14 @@ public boolean equals(java.lang.Object o) { return false; } CampaignDeletedNotification campaignDeletedNotification = (CampaignDeletedNotification) o; - return Objects.equals(this.campaign, campaignDeletedNotification.campaign) && - Objects.equals(this.deletedAt, campaignDeletedNotification.deletedAt); + return Objects.equals(this.notificationType, campaignDeletedNotification.notificationType) && + Objects.equals(this.totalResultSize, campaignDeletedNotification.totalResultSize) && + Objects.equals(this.data, campaignDeletedNotification.data); } @Override public int hashCode() { - return Objects.hash(campaign, deletedAt); + return Objects.hash(notificationType, totalResultSize, data); } @@ -108,8 +144,9 @@ public int hashCode() { public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CampaignDeletedNotification {\n"); - sb.append(" campaign: ").append(toIndentedString(campaign)).append("\n"); - sb.append(" deletedAt: ").append(toIndentedString(deletedAt)).append("\n"); + sb.append(" notificationType: ").append(toIndentedString(notificationType)).append("\n"); + sb.append(" totalResultSize: ").append(toIndentedString(totalResultSize)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/one/talon/model/CampaignDeletedNotificationItem.java b/src/main/java/one/talon/model/CampaignDeletedNotificationItem.java new file mode 100644 index 00000000..d39858f4 --- /dev/null +++ b/src/main/java/one/talon/model/CampaignDeletedNotificationItem.java @@ -0,0 +1,157 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import one.talon.model.Campaign; +import org.threeten.bp.OffsetDateTime; + +/** + * A notification regarding a campaign that was deleted. + */ +@ApiModel(description = "A notification regarding a campaign that was deleted.") + +public class CampaignDeletedNotificationItem { + public static final String SERIALIZED_NAME_EVENT = "Event"; + @SerializedName(SERIALIZED_NAME_EVENT) + private String event; + + public static final String SERIALIZED_NAME_CAMPAIGN = "campaign"; + @SerializedName(SERIALIZED_NAME_CAMPAIGN) + private Campaign campaign; + + public static final String SERIALIZED_NAME_DELETED_AT = "deletedAt"; + @SerializedName(SERIALIZED_NAME_DELETED_AT) + private OffsetDateTime deletedAt; + + + public CampaignDeletedNotificationItem event(String event) { + + this.event = event; + return this; + } + + /** + * The type of the event. Can be one of the following: ['campaign_state_changed', 'campaign_ruleset_changed', 'campaign_edited', 'campaign_created', 'campaign_deleted'] + * @return event + **/ + @ApiModelProperty(example = "campaign_state_changed", required = true, value = "The type of the event. Can be one of the following: ['campaign_state_changed', 'campaign_ruleset_changed', 'campaign_edited', 'campaign_created', 'campaign_deleted'] ") + + public String getEvent() { + return event; + } + + + public void setEvent(String event) { + this.event = event; + } + + + public CampaignDeletedNotificationItem campaign(Campaign campaign) { + + this.campaign = campaign; + return this; + } + + /** + * Get campaign + * @return campaign + **/ + @ApiModelProperty(required = true, value = "") + + public Campaign getCampaign() { + return campaign; + } + + + public void setCampaign(Campaign campaign) { + this.campaign = campaign; + } + + + public CampaignDeletedNotificationItem deletedAt(OffsetDateTime deletedAt) { + + this.deletedAt = deletedAt; + return this; + } + + /** + * Time when the campaign was deleted. + * @return deletedAt + **/ + @ApiModelProperty(example = "2022-11-10T23:00Z", required = true, value = "Time when the campaign was deleted.") + + public OffsetDateTime getDeletedAt() { + return deletedAt; + } + + + public void setDeletedAt(OffsetDateTime deletedAt) { + this.deletedAt = deletedAt; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CampaignDeletedNotificationItem campaignDeletedNotificationItem = (CampaignDeletedNotificationItem) o; + return Objects.equals(this.event, campaignDeletedNotificationItem.event) && + Objects.equals(this.campaign, campaignDeletedNotificationItem.campaign) && + Objects.equals(this.deletedAt, campaignDeletedNotificationItem.deletedAt); + } + + @Override + public int hashCode() { + return Objects.hash(event, campaign, deletedAt); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CampaignDeletedNotificationItem {\n"); + sb.append(" event: ").append(toIndentedString(event)).append("\n"); + sb.append(" campaign: ").append(toIndentedString(campaign)).append("\n"); + sb.append(" deletedAt: ").append(toIndentedString(deletedAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/one/talon/model/CampaignEditedNotification.java b/src/main/java/one/talon/model/CampaignEditedNotification.java index fcf51891..a557b4cb 100644 --- a/src/main/java/one/talon/model/CampaignEditedNotification.java +++ b/src/main/java/one/talon/model/CampaignEditedNotification.java @@ -23,92 +23,100 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import one.talon.model.Campaign; -import one.talon.model.Ruleset; +import java.util.ArrayList; +import java.util.List; +import one.talon.model.CampaignEditedNotificationItem; /** - * A notification regarding a campaign which was edited. + * CampaignEditedNotification */ -@ApiModel(description = "A notification regarding a campaign which was edited.") public class CampaignEditedNotification { - public static final String SERIALIZED_NAME_CAMPAIGN = "campaign"; - @SerializedName(SERIALIZED_NAME_CAMPAIGN) - private Campaign campaign; + public static final String SERIALIZED_NAME_NOTIFICATION_TYPE = "NotificationType"; + @SerializedName(SERIALIZED_NAME_NOTIFICATION_TYPE) + private String notificationType; - public static final String SERIALIZED_NAME_OLD_CAMPAIGN = "oldCampaign"; - @SerializedName(SERIALIZED_NAME_OLD_CAMPAIGN) - private Campaign oldCampaign; + public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "TotalResultSize"; + @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) + private Long totalResultSize; - public static final String SERIALIZED_NAME_RULESET = "ruleset"; - @SerializedName(SERIALIZED_NAME_RULESET) - private Ruleset ruleset; + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) + private List data = null; - public CampaignEditedNotification campaign(Campaign campaign) { + public CampaignEditedNotification notificationType(String notificationType) { - this.campaign = campaign; + this.notificationType = notificationType; return this; } /** - * Get campaign - * @return campaign + * The type of the notification + * @return notificationType **/ - @ApiModelProperty(required = true, value = "") + @ApiModelProperty(example = "CampaignNotification", required = true, value = "The type of the notification") - public Campaign getCampaign() { - return campaign; + public String getNotificationType() { + return notificationType; } - public void setCampaign(Campaign campaign) { - this.campaign = campaign; + public void setNotificationType(String notificationType) { + this.notificationType = notificationType; } - public CampaignEditedNotification oldCampaign(Campaign oldCampaign) { + public CampaignEditedNotification totalResultSize(Long totalResultSize) { - this.oldCampaign = oldCampaign; + this.totalResultSize = totalResultSize; return this; } /** - * Get oldCampaign - * @return oldCampaign + * The total size of the result set. + * @return totalResultSize **/ - @ApiModelProperty(required = true, value = "") + @ApiModelProperty(required = true, value = "The total size of the result set.") - public Campaign getOldCampaign() { - return oldCampaign; + public Long getTotalResultSize() { + return totalResultSize; } - public void setOldCampaign(Campaign oldCampaign) { - this.oldCampaign = oldCampaign; + public void setTotalResultSize(Long totalResultSize) { + this.totalResultSize = totalResultSize; } - public CampaignEditedNotification ruleset(Ruleset ruleset) { + public CampaignEditedNotification data(List data) { - this.ruleset = ruleset; + this.data = data; + return this; + } + + public CampaignEditedNotification addDataItem(CampaignEditedNotificationItem dataItem) { + if (this.data == null) { + this.data = new ArrayList(); + } + this.data.add(dataItem); return this; } /** - * Get ruleset - * @return ruleset + * A list of campaign notification data. + * @return data **/ @javax.annotation.Nullable - @ApiModelProperty(value = "") + @ApiModelProperty(value = "A list of campaign notification data.") - public Ruleset getRuleset() { - return ruleset; + public List getData() { + return data; } - public void setRuleset(Ruleset ruleset) { - this.ruleset = ruleset; + public void setData(List data) { + this.data = data; } @@ -121,14 +129,14 @@ public boolean equals(java.lang.Object o) { return false; } CampaignEditedNotification campaignEditedNotification = (CampaignEditedNotification) o; - return Objects.equals(this.campaign, campaignEditedNotification.campaign) && - Objects.equals(this.oldCampaign, campaignEditedNotification.oldCampaign) && - Objects.equals(this.ruleset, campaignEditedNotification.ruleset); + return Objects.equals(this.notificationType, campaignEditedNotification.notificationType) && + Objects.equals(this.totalResultSize, campaignEditedNotification.totalResultSize) && + Objects.equals(this.data, campaignEditedNotification.data); } @Override public int hashCode() { - return Objects.hash(campaign, oldCampaign, ruleset); + return Objects.hash(notificationType, totalResultSize, data); } @@ -136,9 +144,9 @@ public int hashCode() { public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CampaignEditedNotification {\n"); - sb.append(" campaign: ").append(toIndentedString(campaign)).append("\n"); - sb.append(" oldCampaign: ").append(toIndentedString(oldCampaign)).append("\n"); - sb.append(" ruleset: ").append(toIndentedString(ruleset)).append("\n"); + sb.append(" notificationType: ").append(toIndentedString(notificationType)).append("\n"); + sb.append(" totalResultSize: ").append(toIndentedString(totalResultSize)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/one/talon/model/CampaignEditedNotificationItem.java b/src/main/java/one/talon/model/CampaignEditedNotificationItem.java new file mode 100644 index 00000000..da8cc6ed --- /dev/null +++ b/src/main/java/one/talon/model/CampaignEditedNotificationItem.java @@ -0,0 +1,186 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import one.talon.model.Campaign; +import one.talon.model.Ruleset; + +/** + * A notification regarding a campaign which was edited. + */ +@ApiModel(description = "A notification regarding a campaign which was edited.") + +public class CampaignEditedNotificationItem { + public static final String SERIALIZED_NAME_EVENT = "Event"; + @SerializedName(SERIALIZED_NAME_EVENT) + private String event; + + public static final String SERIALIZED_NAME_CAMPAIGN = "campaign"; + @SerializedName(SERIALIZED_NAME_CAMPAIGN) + private Campaign campaign; + + public static final String SERIALIZED_NAME_OLD_CAMPAIGN = "oldCampaign"; + @SerializedName(SERIALIZED_NAME_OLD_CAMPAIGN) + private Campaign oldCampaign; + + public static final String SERIALIZED_NAME_RULESET = "ruleset"; + @SerializedName(SERIALIZED_NAME_RULESET) + private Ruleset ruleset; + + + public CampaignEditedNotificationItem event(String event) { + + this.event = event; + return this; + } + + /** + * The type of the event. Can be one of the following: ['campaign_state_changed', 'campaign_ruleset_changed', 'campaign_edited', 'campaign_created', 'campaign_deleted'] + * @return event + **/ + @ApiModelProperty(example = "campaign_state_changed", required = true, value = "The type of the event. Can be one of the following: ['campaign_state_changed', 'campaign_ruleset_changed', 'campaign_edited', 'campaign_created', 'campaign_deleted'] ") + + public String getEvent() { + return event; + } + + + public void setEvent(String event) { + this.event = event; + } + + + public CampaignEditedNotificationItem campaign(Campaign campaign) { + + this.campaign = campaign; + return this; + } + + /** + * Get campaign + * @return campaign + **/ + @ApiModelProperty(required = true, value = "") + + public Campaign getCampaign() { + return campaign; + } + + + public void setCampaign(Campaign campaign) { + this.campaign = campaign; + } + + + public CampaignEditedNotificationItem oldCampaign(Campaign oldCampaign) { + + this.oldCampaign = oldCampaign; + return this; + } + + /** + * Get oldCampaign + * @return oldCampaign + **/ + @ApiModelProperty(required = true, value = "") + + public Campaign getOldCampaign() { + return oldCampaign; + } + + + public void setOldCampaign(Campaign oldCampaign) { + this.oldCampaign = oldCampaign; + } + + + public CampaignEditedNotificationItem ruleset(Ruleset ruleset) { + + this.ruleset = ruleset; + return this; + } + + /** + * Get ruleset + * @return ruleset + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Ruleset getRuleset() { + return ruleset; + } + + + public void setRuleset(Ruleset ruleset) { + this.ruleset = ruleset; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CampaignEditedNotificationItem campaignEditedNotificationItem = (CampaignEditedNotificationItem) o; + return Objects.equals(this.event, campaignEditedNotificationItem.event) && + Objects.equals(this.campaign, campaignEditedNotificationItem.campaign) && + Objects.equals(this.oldCampaign, campaignEditedNotificationItem.oldCampaign) && + Objects.equals(this.ruleset, campaignEditedNotificationItem.ruleset); + } + + @Override + public int hashCode() { + return Objects.hash(event, campaign, oldCampaign, ruleset); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CampaignEditedNotificationItem {\n"); + sb.append(" event: ").append(toIndentedString(event)).append("\n"); + sb.append(" campaign: ").append(toIndentedString(campaign)).append("\n"); + sb.append(" oldCampaign: ").append(toIndentedString(oldCampaign)).append("\n"); + sb.append(" ruleset: ").append(toIndentedString(ruleset)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/one/talon/model/CampaignEvaluationTreeChangedMessage.java b/src/main/java/one/talon/model/CampaignEvaluationTreeChangedMessage.java index 8d95e587..06f6fa26 100644 --- a/src/main/java/one/talon/model/CampaignEvaluationTreeChangedMessage.java +++ b/src/main/java/one/talon/model/CampaignEvaluationTreeChangedMessage.java @@ -32,43 +32,38 @@ */ public class CampaignEvaluationTreeChangedMessage { - public static final String SERIALIZED_NAME_DATA = "Data"; - @SerializedName(SERIALIZED_NAME_DATA) - private List data = null; + public static final String SERIALIZED_NAME_NOTIFICATION_TYPE = "NotificationType"; + @SerializedName(SERIALIZED_NAME_NOTIFICATION_TYPE) + private String notificationType; public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "TotalResultSize"; @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) private Long totalResultSize; + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) + private List data = null; - public CampaignEvaluationTreeChangedMessage data(List data) { - - this.data = data; - return this; - } - public CampaignEvaluationTreeChangedMessage addDataItem(ApplicationNotification dataItem) { - if (this.data == null) { - this.data = new ArrayList(); - } - this.data.add(dataItem); + public CampaignEvaluationTreeChangedMessage notificationType(String notificationType) { + + this.notificationType = notificationType; return this; } /** - * The array of changes. - * @return data + * The type of the notification + * @return notificationType **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "The array of changes.") + @ApiModelProperty(example = "CampaignNotification", required = true, value = "The type of the notification") - public List getData() { - return data; + public String getNotificationType() { + return notificationType; } - public void setData(List data) { - this.data = data; + public void setNotificationType(String notificationType) { + this.notificationType = notificationType; } @@ -79,11 +74,10 @@ public CampaignEvaluationTreeChangedMessage totalResultSize(Long totalResultSize } /** - * Get totalResultSize + * The total size of the result set. * @return totalResultSize **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "1", value = "") + @ApiModelProperty(required = true, value = "The total size of the result set.") public Long getTotalResultSize() { return totalResultSize; @@ -95,6 +89,37 @@ public void setTotalResultSize(Long totalResultSize) { } + public CampaignEvaluationTreeChangedMessage data(List data) { + + this.data = data; + return this; + } + + public CampaignEvaluationTreeChangedMessage addDataItem(ApplicationNotification dataItem) { + if (this.data == null) { + this.data = new ArrayList(); + } + this.data.add(dataItem); + return this; + } + + /** + * The array of changes. + * @return data + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "The array of changes.") + + public List getData() { + return data; + } + + + public void setData(List data) { + this.data = data; + } + + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -104,13 +129,14 @@ public boolean equals(java.lang.Object o) { return false; } CampaignEvaluationTreeChangedMessage campaignEvaluationTreeChangedMessage = (CampaignEvaluationTreeChangedMessage) o; - return Objects.equals(this.data, campaignEvaluationTreeChangedMessage.data) && - Objects.equals(this.totalResultSize, campaignEvaluationTreeChangedMessage.totalResultSize); + return Objects.equals(this.notificationType, campaignEvaluationTreeChangedMessage.notificationType) && + Objects.equals(this.totalResultSize, campaignEvaluationTreeChangedMessage.totalResultSize) && + Objects.equals(this.data, campaignEvaluationTreeChangedMessage.data); } @Override public int hashCode() { - return Objects.hash(data, totalResultSize); + return Objects.hash(notificationType, totalResultSize, data); } @@ -118,8 +144,9 @@ public int hashCode() { public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CampaignEvaluationTreeChangedMessage {\n"); - sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" notificationType: ").append(toIndentedString(notificationType)).append("\n"); sb.append(" totalResultSize: ").append(toIndentedString(totalResultSize)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/one/talon/model/CampaignNotificationBase.java b/src/main/java/one/talon/model/CampaignNotificationBase.java new file mode 100644 index 00000000..c10d999a --- /dev/null +++ b/src/main/java/one/talon/model/CampaignNotificationBase.java @@ -0,0 +1,126 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * CampaignNotificationBase + */ + +public class CampaignNotificationBase { + public static final String SERIALIZED_NAME_NOTIFICATION_TYPE = "NotificationType"; + @SerializedName(SERIALIZED_NAME_NOTIFICATION_TYPE) + private String notificationType; + + public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "TotalResultSize"; + @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) + private Long totalResultSize; + + + public CampaignNotificationBase notificationType(String notificationType) { + + this.notificationType = notificationType; + return this; + } + + /** + * The type of the notification + * @return notificationType + **/ + @ApiModelProperty(example = "CampaignNotification", required = true, value = "The type of the notification") + + public String getNotificationType() { + return notificationType; + } + + + public void setNotificationType(String notificationType) { + this.notificationType = notificationType; + } + + + public CampaignNotificationBase totalResultSize(Long totalResultSize) { + + this.totalResultSize = totalResultSize; + return this; + } + + /** + * The total size of the result set. + * @return totalResultSize + **/ + @ApiModelProperty(required = true, value = "The total size of the result set.") + + public Long getTotalResultSize() { + return totalResultSize; + } + + + public void setTotalResultSize(Long totalResultSize) { + this.totalResultSize = totalResultSize; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CampaignNotificationBase campaignNotificationBase = (CampaignNotificationBase) o; + return Objects.equals(this.notificationType, campaignNotificationBase.notificationType) && + Objects.equals(this.totalResultSize, campaignNotificationBase.totalResultSize); + } + + @Override + public int hashCode() { + return Objects.hash(notificationType, totalResultSize); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CampaignNotificationBase {\n"); + sb.append(" notificationType: ").append(toIndentedString(notificationType)).append("\n"); + sb.append(" totalResultSize: ").append(toIndentedString(totalResultSize)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/one/talon/model/CampaignNotificationGeneric.java b/src/main/java/one/talon/model/CampaignNotificationGeneric.java new file mode 100644 index 00000000..94d3ab8c --- /dev/null +++ b/src/main/java/one/talon/model/CampaignNotificationGeneric.java @@ -0,0 +1,161 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * CampaignNotificationGeneric + */ + +public class CampaignNotificationGeneric { + public static final String SERIALIZED_NAME_NOTIFICATION_TYPE = "NotificationType"; + @SerializedName(SERIALIZED_NAME_NOTIFICATION_TYPE) + private String notificationType; + + public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "TotalResultSize"; + @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) + private Long totalResultSize; + + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) + private List data = new ArrayList(); + + + public CampaignNotificationGeneric notificationType(String notificationType) { + + this.notificationType = notificationType; + return this; + } + + /** + * The type of the notification + * @return notificationType + **/ + @ApiModelProperty(example = "CampaignNotification", required = true, value = "The type of the notification") + + public String getNotificationType() { + return notificationType; + } + + + public void setNotificationType(String notificationType) { + this.notificationType = notificationType; + } + + + public CampaignNotificationGeneric totalResultSize(Long totalResultSize) { + + this.totalResultSize = totalResultSize; + return this; + } + + /** + * The total size of the result set. + * @return totalResultSize + **/ + @ApiModelProperty(required = true, value = "The total size of the result set.") + + public Long getTotalResultSize() { + return totalResultSize; + } + + + public void setTotalResultSize(Long totalResultSize) { + this.totalResultSize = totalResultSize; + } + + + public CampaignNotificationGeneric data(List data) { + + this.data = data; + return this; + } + + public CampaignNotificationGeneric addDataItem(Object dataItem) { + this.data.add(dataItem); + return this; + } + + /** + * A list of campaign notification data. + * @return data + **/ + @ApiModelProperty(required = true, value = "A list of campaign notification data.") + + public List getData() { + return data; + } + + + public void setData(List data) { + this.data = data; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CampaignNotificationGeneric campaignNotificationGeneric = (CampaignNotificationGeneric) o; + return Objects.equals(this.notificationType, campaignNotificationGeneric.notificationType) && + Objects.equals(this.totalResultSize, campaignNotificationGeneric.totalResultSize) && + Objects.equals(this.data, campaignNotificationGeneric.data); + } + + @Override + public int hashCode() { + return Objects.hash(notificationType, totalResultSize, data); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CampaignNotificationGeneric {\n"); + sb.append(" notificationType: ").append(toIndentedString(notificationType)).append("\n"); + sb.append(" totalResultSize: ").append(toIndentedString(totalResultSize)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/one/talon/model/CampaignNotificationItemBase.java b/src/main/java/one/talon/model/CampaignNotificationItemBase.java new file mode 100644 index 00000000..75a428c6 --- /dev/null +++ b/src/main/java/one/talon/model/CampaignNotificationItemBase.java @@ -0,0 +1,98 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * CampaignNotificationItemBase + */ + +public class CampaignNotificationItemBase { + public static final String SERIALIZED_NAME_EVENT = "Event"; + @SerializedName(SERIALIZED_NAME_EVENT) + private String event; + + + public CampaignNotificationItemBase event(String event) { + + this.event = event; + return this; + } + + /** + * The type of the event. Can be one of the following: ['campaign_state_changed', 'campaign_ruleset_changed', 'campaign_edited', 'campaign_created', 'campaign_deleted'] + * @return event + **/ + @ApiModelProperty(example = "campaign_state_changed", required = true, value = "The type of the event. Can be one of the following: ['campaign_state_changed', 'campaign_ruleset_changed', 'campaign_edited', 'campaign_created', 'campaign_deleted'] ") + + public String getEvent() { + return event; + } + + + public void setEvent(String event) { + this.event = event; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CampaignNotificationItemBase campaignNotificationItemBase = (CampaignNotificationItemBase) o; + return Objects.equals(this.event, campaignNotificationItemBase.event); + } + + @Override + public int hashCode() { + return Objects.hash(event); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CampaignNotificationItemBase {\n"); + sb.append(" event: ").append(toIndentedString(event)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/one/talon/model/CampaignRulesetChangedNotification.java b/src/main/java/one/talon/model/CampaignRulesetChangedNotification.java index c512a8f7..0dcc28f6 100644 --- a/src/main/java/one/talon/model/CampaignRulesetChangedNotification.java +++ b/src/main/java/one/talon/model/CampaignRulesetChangedNotification.java @@ -23,93 +23,100 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import one.talon.model.Campaign; -import one.talon.model.Ruleset; +import java.util.ArrayList; +import java.util.List; +import one.talon.model.CampaignRulesetChangedNotificationItem; /** - * A notification regarding a campaign whose ruleset was changed. + * CampaignRulesetChangedNotification */ -@ApiModel(description = "A notification regarding a campaign whose ruleset was changed.") public class CampaignRulesetChangedNotification { - public static final String SERIALIZED_NAME_CAMPAIGN = "campaign"; - @SerializedName(SERIALIZED_NAME_CAMPAIGN) - private Campaign campaign; + public static final String SERIALIZED_NAME_NOTIFICATION_TYPE = "NotificationType"; + @SerializedName(SERIALIZED_NAME_NOTIFICATION_TYPE) + private String notificationType; - public static final String SERIALIZED_NAME_OLD_RULESET = "oldRuleset"; - @SerializedName(SERIALIZED_NAME_OLD_RULESET) - private Ruleset oldRuleset; + public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "TotalResultSize"; + @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) + private Long totalResultSize; - public static final String SERIALIZED_NAME_RULESET = "ruleset"; - @SerializedName(SERIALIZED_NAME_RULESET) - private Ruleset ruleset; + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) + private List data = null; - public CampaignRulesetChangedNotification campaign(Campaign campaign) { + public CampaignRulesetChangedNotification notificationType(String notificationType) { - this.campaign = campaign; + this.notificationType = notificationType; return this; } /** - * Get campaign - * @return campaign + * The type of the notification + * @return notificationType **/ - @ApiModelProperty(required = true, value = "") + @ApiModelProperty(example = "CampaignNotification", required = true, value = "The type of the notification") - public Campaign getCampaign() { - return campaign; + public String getNotificationType() { + return notificationType; } - public void setCampaign(Campaign campaign) { - this.campaign = campaign; + public void setNotificationType(String notificationType) { + this.notificationType = notificationType; } - public CampaignRulesetChangedNotification oldRuleset(Ruleset oldRuleset) { + public CampaignRulesetChangedNotification totalResultSize(Long totalResultSize) { - this.oldRuleset = oldRuleset; + this.totalResultSize = totalResultSize; return this; } /** - * Get oldRuleset - * @return oldRuleset + * The total size of the result set. + * @return totalResultSize **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @ApiModelProperty(required = true, value = "The total size of the result set.") - public Ruleset getOldRuleset() { - return oldRuleset; + public Long getTotalResultSize() { + return totalResultSize; } - public void setOldRuleset(Ruleset oldRuleset) { - this.oldRuleset = oldRuleset; + public void setTotalResultSize(Long totalResultSize) { + this.totalResultSize = totalResultSize; } - public CampaignRulesetChangedNotification ruleset(Ruleset ruleset) { + public CampaignRulesetChangedNotification data(List data) { - this.ruleset = ruleset; + this.data = data; + return this; + } + + public CampaignRulesetChangedNotification addDataItem(CampaignRulesetChangedNotificationItem dataItem) { + if (this.data == null) { + this.data = new ArrayList(); + } + this.data.add(dataItem); return this; } /** - * Get ruleset - * @return ruleset + * A list of campaign notification data. + * @return data **/ @javax.annotation.Nullable - @ApiModelProperty(value = "") + @ApiModelProperty(value = "A list of campaign notification data.") - public Ruleset getRuleset() { - return ruleset; + public List getData() { + return data; } - public void setRuleset(Ruleset ruleset) { - this.ruleset = ruleset; + public void setData(List data) { + this.data = data; } @@ -122,14 +129,14 @@ public boolean equals(java.lang.Object o) { return false; } CampaignRulesetChangedNotification campaignRulesetChangedNotification = (CampaignRulesetChangedNotification) o; - return Objects.equals(this.campaign, campaignRulesetChangedNotification.campaign) && - Objects.equals(this.oldRuleset, campaignRulesetChangedNotification.oldRuleset) && - Objects.equals(this.ruleset, campaignRulesetChangedNotification.ruleset); + return Objects.equals(this.notificationType, campaignRulesetChangedNotification.notificationType) && + Objects.equals(this.totalResultSize, campaignRulesetChangedNotification.totalResultSize) && + Objects.equals(this.data, campaignRulesetChangedNotification.data); } @Override public int hashCode() { - return Objects.hash(campaign, oldRuleset, ruleset); + return Objects.hash(notificationType, totalResultSize, data); } @@ -137,9 +144,9 @@ public int hashCode() { public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CampaignRulesetChangedNotification {\n"); - sb.append(" campaign: ").append(toIndentedString(campaign)).append("\n"); - sb.append(" oldRuleset: ").append(toIndentedString(oldRuleset)).append("\n"); - sb.append(" ruleset: ").append(toIndentedString(ruleset)).append("\n"); + sb.append(" notificationType: ").append(toIndentedString(notificationType)).append("\n"); + sb.append(" totalResultSize: ").append(toIndentedString(totalResultSize)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/one/talon/model/CampaignRulesetChangedNotificationItem.java b/src/main/java/one/talon/model/CampaignRulesetChangedNotificationItem.java new file mode 100644 index 00000000..0a9ba4a2 --- /dev/null +++ b/src/main/java/one/talon/model/CampaignRulesetChangedNotificationItem.java @@ -0,0 +1,187 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import one.talon.model.Campaign; +import one.talon.model.Ruleset; + +/** + * A notification regarding a campaign whose ruleset was changed. + */ +@ApiModel(description = "A notification regarding a campaign whose ruleset was changed.") + +public class CampaignRulesetChangedNotificationItem { + public static final String SERIALIZED_NAME_EVENT = "Event"; + @SerializedName(SERIALIZED_NAME_EVENT) + private String event; + + public static final String SERIALIZED_NAME_CAMPAIGN = "campaign"; + @SerializedName(SERIALIZED_NAME_CAMPAIGN) + private Campaign campaign; + + public static final String SERIALIZED_NAME_OLD_RULESET = "oldRuleset"; + @SerializedName(SERIALIZED_NAME_OLD_RULESET) + private Ruleset oldRuleset; + + public static final String SERIALIZED_NAME_RULESET = "ruleset"; + @SerializedName(SERIALIZED_NAME_RULESET) + private Ruleset ruleset; + + + public CampaignRulesetChangedNotificationItem event(String event) { + + this.event = event; + return this; + } + + /** + * The type of the event. Can be one of the following: ['campaign_state_changed', 'campaign_ruleset_changed', 'campaign_edited', 'campaign_created', 'campaign_deleted'] + * @return event + **/ + @ApiModelProperty(example = "campaign_state_changed", required = true, value = "The type of the event. Can be one of the following: ['campaign_state_changed', 'campaign_ruleset_changed', 'campaign_edited', 'campaign_created', 'campaign_deleted'] ") + + public String getEvent() { + return event; + } + + + public void setEvent(String event) { + this.event = event; + } + + + public CampaignRulesetChangedNotificationItem campaign(Campaign campaign) { + + this.campaign = campaign; + return this; + } + + /** + * Get campaign + * @return campaign + **/ + @ApiModelProperty(required = true, value = "") + + public Campaign getCampaign() { + return campaign; + } + + + public void setCampaign(Campaign campaign) { + this.campaign = campaign; + } + + + public CampaignRulesetChangedNotificationItem oldRuleset(Ruleset oldRuleset) { + + this.oldRuleset = oldRuleset; + return this; + } + + /** + * Get oldRuleset + * @return oldRuleset + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Ruleset getOldRuleset() { + return oldRuleset; + } + + + public void setOldRuleset(Ruleset oldRuleset) { + this.oldRuleset = oldRuleset; + } + + + public CampaignRulesetChangedNotificationItem ruleset(Ruleset ruleset) { + + this.ruleset = ruleset; + return this; + } + + /** + * Get ruleset + * @return ruleset + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Ruleset getRuleset() { + return ruleset; + } + + + public void setRuleset(Ruleset ruleset) { + this.ruleset = ruleset; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CampaignRulesetChangedNotificationItem campaignRulesetChangedNotificationItem = (CampaignRulesetChangedNotificationItem) o; + return Objects.equals(this.event, campaignRulesetChangedNotificationItem.event) && + Objects.equals(this.campaign, campaignRulesetChangedNotificationItem.campaign) && + Objects.equals(this.oldRuleset, campaignRulesetChangedNotificationItem.oldRuleset) && + Objects.equals(this.ruleset, campaignRulesetChangedNotificationItem.ruleset); + } + + @Override + public int hashCode() { + return Objects.hash(event, campaign, oldRuleset, ruleset); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CampaignRulesetChangedNotificationItem {\n"); + sb.append(" event: ").append(toIndentedString(event)).append("\n"); + sb.append(" campaign: ").append(toIndentedString(campaign)).append("\n"); + sb.append(" oldRuleset: ").append(toIndentedString(oldRuleset)).append("\n"); + sb.append(" ruleset: ").append(toIndentedString(ruleset)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/one/talon/model/CampaignStateChangedNotification.java b/src/main/java/one/talon/model/CampaignStateChangedNotification.java index 274a489e..923dd6f7 100644 --- a/src/main/java/one/talon/model/CampaignStateChangedNotification.java +++ b/src/main/java/one/talon/model/CampaignStateChangedNotification.java @@ -23,118 +23,100 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import one.talon.model.Campaign; -import one.talon.model.Ruleset; +import java.util.ArrayList; +import java.util.List; +import one.talon.model.CampaignStateChangedNotificationItem; /** - * A notification regarding a campaign whose state changed. + * CampaignStateChangedNotification */ -@ApiModel(description = "A notification regarding a campaign whose state changed.") public class CampaignStateChangedNotification { - public static final String SERIALIZED_NAME_CAMPAIGN = "campaign"; - @SerializedName(SERIALIZED_NAME_CAMPAIGN) - private Campaign campaign; + public static final String SERIALIZED_NAME_NOTIFICATION_TYPE = "NotificationType"; + @SerializedName(SERIALIZED_NAME_NOTIFICATION_TYPE) + private String notificationType; - public static final String SERIALIZED_NAME_OLD_STATE = "oldState"; - @SerializedName(SERIALIZED_NAME_OLD_STATE) - private String oldState; + public static final String SERIALIZED_NAME_TOTAL_RESULT_SIZE = "TotalResultSize"; + @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) + private Long totalResultSize; - public static final String SERIALIZED_NAME_NEW_STATE = "newState"; - @SerializedName(SERIALIZED_NAME_NEW_STATE) - private String newState; + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) + private List data = null; - public static final String SERIALIZED_NAME_RULESET = "ruleset"; - @SerializedName(SERIALIZED_NAME_RULESET) - private Ruleset ruleset; - - public CampaignStateChangedNotification campaign(Campaign campaign) { + public CampaignStateChangedNotification notificationType(String notificationType) { - this.campaign = campaign; + this.notificationType = notificationType; return this; } /** - * Get campaign - * @return campaign + * The type of the notification + * @return notificationType **/ - @ApiModelProperty(required = true, value = "") + @ApiModelProperty(example = "CampaignNotification", required = true, value = "The type of the notification") - public Campaign getCampaign() { - return campaign; + public String getNotificationType() { + return notificationType; } - public void setCampaign(Campaign campaign) { - this.campaign = campaign; + public void setNotificationType(String notificationType) { + this.notificationType = notificationType; } - public CampaignStateChangedNotification oldState(String oldState) { + public CampaignStateChangedNotification totalResultSize(Long totalResultSize) { - this.oldState = oldState; + this.totalResultSize = totalResultSize; return this; } /** - * The campaign's old state. Can be one of the following: ['running', 'disabled', 'scheduled', 'expired', 'archived'] - * @return oldState + * The total size of the result set. + * @return totalResultSize **/ - @ApiModelProperty(example = "disabled", required = true, value = "The campaign's old state. Can be one of the following: ['running', 'disabled', 'scheduled', 'expired', 'archived'] ") + @ApiModelProperty(required = true, value = "The total size of the result set.") - public String getOldState() { - return oldState; + public Long getTotalResultSize() { + return totalResultSize; } - public void setOldState(String oldState) { - this.oldState = oldState; + public void setTotalResultSize(Long totalResultSize) { + this.totalResultSize = totalResultSize; } - public CampaignStateChangedNotification newState(String newState) { + public CampaignStateChangedNotification data(List data) { - this.newState = newState; + this.data = data; return this; } - /** - * The campaign's new state. Can be one of the following: ['running', 'disabled', 'scheduled', 'expired', 'archived'] - * @return newState - **/ - @ApiModelProperty(example = "running", required = true, value = "The campaign's new state. Can be one of the following: ['running', 'disabled', 'scheduled', 'expired', 'archived'] ") - - public String getNewState() { - return newState; - } - - - public void setNewState(String newState) { - this.newState = newState; - } - - - public CampaignStateChangedNotification ruleset(Ruleset ruleset) { - - this.ruleset = ruleset; + public CampaignStateChangedNotification addDataItem(CampaignStateChangedNotificationItem dataItem) { + if (this.data == null) { + this.data = new ArrayList(); + } + this.data.add(dataItem); return this; } /** - * Get ruleset - * @return ruleset + * A list of campaign notification data. + * @return data **/ @javax.annotation.Nullable - @ApiModelProperty(value = "") + @ApiModelProperty(value = "A list of campaign notification data.") - public Ruleset getRuleset() { - return ruleset; + public List getData() { + return data; } - public void setRuleset(Ruleset ruleset) { - this.ruleset = ruleset; + public void setData(List data) { + this.data = data; } @@ -147,15 +129,14 @@ public boolean equals(java.lang.Object o) { return false; } CampaignStateChangedNotification campaignStateChangedNotification = (CampaignStateChangedNotification) o; - return Objects.equals(this.campaign, campaignStateChangedNotification.campaign) && - Objects.equals(this.oldState, campaignStateChangedNotification.oldState) && - Objects.equals(this.newState, campaignStateChangedNotification.newState) && - Objects.equals(this.ruleset, campaignStateChangedNotification.ruleset); + return Objects.equals(this.notificationType, campaignStateChangedNotification.notificationType) && + Objects.equals(this.totalResultSize, campaignStateChangedNotification.totalResultSize) && + Objects.equals(this.data, campaignStateChangedNotification.data); } @Override public int hashCode() { - return Objects.hash(campaign, oldState, newState, ruleset); + return Objects.hash(notificationType, totalResultSize, data); } @@ -163,10 +144,9 @@ public int hashCode() { public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CampaignStateChangedNotification {\n"); - sb.append(" campaign: ").append(toIndentedString(campaign)).append("\n"); - sb.append(" oldState: ").append(toIndentedString(oldState)).append("\n"); - sb.append(" newState: ").append(toIndentedString(newState)).append("\n"); - sb.append(" ruleset: ").append(toIndentedString(ruleset)).append("\n"); + sb.append(" notificationType: ").append(toIndentedString(notificationType)).append("\n"); + sb.append(" totalResultSize: ").append(toIndentedString(totalResultSize)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/one/talon/model/CampaignStateChangedNotificationItem.java b/src/main/java/one/talon/model/CampaignStateChangedNotificationItem.java new file mode 100644 index 00000000..1314b239 --- /dev/null +++ b/src/main/java/one/talon/model/CampaignStateChangedNotificationItem.java @@ -0,0 +1,214 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import one.talon.model.Campaign; +import one.talon.model.Ruleset; + +/** + * A notification regarding a campaign whose state changed. + */ +@ApiModel(description = "A notification regarding a campaign whose state changed.") + +public class CampaignStateChangedNotificationItem { + public static final String SERIALIZED_NAME_EVENT = "Event"; + @SerializedName(SERIALIZED_NAME_EVENT) + private String event; + + public static final String SERIALIZED_NAME_CAMPAIGN = "campaign"; + @SerializedName(SERIALIZED_NAME_CAMPAIGN) + private Campaign campaign; + + public static final String SERIALIZED_NAME_OLD_STATE = "oldState"; + @SerializedName(SERIALIZED_NAME_OLD_STATE) + private String oldState; + + public static final String SERIALIZED_NAME_NEW_STATE = "newState"; + @SerializedName(SERIALIZED_NAME_NEW_STATE) + private String newState; + + public static final String SERIALIZED_NAME_RULESET = "ruleset"; + @SerializedName(SERIALIZED_NAME_RULESET) + private Ruleset ruleset; + + + public CampaignStateChangedNotificationItem event(String event) { + + this.event = event; + return this; + } + + /** + * The type of the event. Can be one of the following: ['campaign_state_changed', 'campaign_ruleset_changed', 'campaign_edited', 'campaign_created', 'campaign_deleted'] + * @return event + **/ + @ApiModelProperty(example = "campaign_state_changed", required = true, value = "The type of the event. Can be one of the following: ['campaign_state_changed', 'campaign_ruleset_changed', 'campaign_edited', 'campaign_created', 'campaign_deleted'] ") + + public String getEvent() { + return event; + } + + + public void setEvent(String event) { + this.event = event; + } + + + public CampaignStateChangedNotificationItem campaign(Campaign campaign) { + + this.campaign = campaign; + return this; + } + + /** + * Get campaign + * @return campaign + **/ + @ApiModelProperty(required = true, value = "") + + public Campaign getCampaign() { + return campaign; + } + + + public void setCampaign(Campaign campaign) { + this.campaign = campaign; + } + + + public CampaignStateChangedNotificationItem oldState(String oldState) { + + this.oldState = oldState; + return this; + } + + /** + * The campaign's old state. Can be one of the following: ['running', 'disabled', 'scheduled', 'expired', 'archived'] + * @return oldState + **/ + @ApiModelProperty(example = "disabled", required = true, value = "The campaign's old state. Can be one of the following: ['running', 'disabled', 'scheduled', 'expired', 'archived'] ") + + public String getOldState() { + return oldState; + } + + + public void setOldState(String oldState) { + this.oldState = oldState; + } + + + public CampaignStateChangedNotificationItem newState(String newState) { + + this.newState = newState; + return this; + } + + /** + * The campaign's new state. Can be one of the following: ['running', 'disabled', 'scheduled', 'expired', 'archived'] + * @return newState + **/ + @ApiModelProperty(example = "running", required = true, value = "The campaign's new state. Can be one of the following: ['running', 'disabled', 'scheduled', 'expired', 'archived'] ") + + public String getNewState() { + return newState; + } + + + public void setNewState(String newState) { + this.newState = newState; + } + + + public CampaignStateChangedNotificationItem ruleset(Ruleset ruleset) { + + this.ruleset = ruleset; + return this; + } + + /** + * Get ruleset + * @return ruleset + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Ruleset getRuleset() { + return ruleset; + } + + + public void setRuleset(Ruleset ruleset) { + this.ruleset = ruleset; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CampaignStateChangedNotificationItem campaignStateChangedNotificationItem = (CampaignStateChangedNotificationItem) o; + return Objects.equals(this.event, campaignStateChangedNotificationItem.event) && + Objects.equals(this.campaign, campaignStateChangedNotificationItem.campaign) && + Objects.equals(this.oldState, campaignStateChangedNotificationItem.oldState) && + Objects.equals(this.newState, campaignStateChangedNotificationItem.newState) && + Objects.equals(this.ruleset, campaignStateChangedNotificationItem.ruleset); + } + + @Override + public int hashCode() { + return Objects.hash(event, campaign, oldState, newState, ruleset); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CampaignStateChangedNotificationItem {\n"); + sb.append(" event: ").append(toIndentedString(event)).append("\n"); + sb.append(" campaign: ").append(toIndentedString(campaign)).append("\n"); + sb.append(" oldState: ").append(toIndentedString(oldState)).append("\n"); + sb.append(" newState: ").append(toIndentedString(newState)).append("\n"); + sb.append(" ruleset: ").append(toIndentedString(ruleset)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/one/talon/model/CardLedgerPointsEntryIntegrationAPI.java b/src/main/java/one/talon/model/CardLedgerPointsEntryIntegrationAPI.java index f108141c..dfbae620 100644 --- a/src/main/java/one/talon/model/CardLedgerPointsEntryIntegrationAPI.java +++ b/src/main/java/one/talon/model/CardLedgerPointsEntryIntegrationAPI.java @@ -36,6 +36,10 @@ public class CardLedgerPointsEntryIntegrationAPI { @SerializedName(SERIALIZED_NAME_ID) private Long id; + public static final String SERIALIZED_NAME_TRANSACTION_U_U_I_D = "transactionUUID"; + @SerializedName(SERIALIZED_NAME_TRANSACTION_U_U_I_D) + private String transactionUUID; + public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) private OffsetDateTime created; @@ -95,6 +99,28 @@ public void setId(Long id) { } + public CardLedgerPointsEntryIntegrationAPI transactionUUID(String transactionUUID) { + + this.transactionUUID = transactionUUID; + return this; + } + + /** + * Unique identifier of the transaction in the UUID format. + * @return transactionUUID + **/ + @ApiModelProperty(example = "ce59f12a-f53b-4014-a745-636d93f2bd3f", required = true, value = "Unique identifier of the transaction in the UUID format.") + + public String getTransactionUUID() { + return transactionUUID; + } + + + public void setTransactionUUID(String transactionUUID) { + this.transactionUUID = transactionUUID; + } + + public CardLedgerPointsEntryIntegrationAPI created(OffsetDateTime created) { this.created = created; @@ -305,6 +331,7 @@ public boolean equals(java.lang.Object o) { } CardLedgerPointsEntryIntegrationAPI cardLedgerPointsEntryIntegrationAPI = (CardLedgerPointsEntryIntegrationAPI) o; return Objects.equals(this.id, cardLedgerPointsEntryIntegrationAPI.id) && + Objects.equals(this.transactionUUID, cardLedgerPointsEntryIntegrationAPI.transactionUUID) && Objects.equals(this.created, cardLedgerPointsEntryIntegrationAPI.created) && Objects.equals(this.programId, cardLedgerPointsEntryIntegrationAPI.programId) && Objects.equals(this.customerProfileID, cardLedgerPointsEntryIntegrationAPI.customerProfileID) && @@ -318,7 +345,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(id, created, programId, customerProfileID, customerSessionId, name, startDate, expiryDate, subledgerId, amount); + return Objects.hash(id, transactionUUID, created, programId, customerProfileID, customerSessionId, name, startDate, expiryDate, subledgerId, amount); } @@ -327,6 +354,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CardLedgerPointsEntryIntegrationAPI {\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" transactionUUID: ").append(toIndentedString(transactionUUID)).append("\n"); sb.append(" created: ").append(toIndentedString(created)).append("\n"); sb.append(" programId: ").append(toIndentedString(programId)).append("\n"); sb.append(" customerProfileID: ").append(toIndentedString(customerProfileID)).append("\n"); diff --git a/src/main/java/one/talon/model/CardLedgerTransactionLogEntry.java b/src/main/java/one/talon/model/CardLedgerTransactionLogEntry.java index 61ad9d95..87a7e0d9 100644 --- a/src/main/java/one/talon/model/CardLedgerTransactionLogEntry.java +++ b/src/main/java/one/talon/model/CardLedgerTransactionLogEntry.java @@ -32,6 +32,10 @@ @ApiModel(description = "Log entry for a given loyalty card transaction.") public class CardLedgerTransactionLogEntry { + public static final String SERIALIZED_NAME_TRANSACTION_U_U_I_D = "transactionUUID"; + @SerializedName(SERIALIZED_NAME_TRANSACTION_U_U_I_D) + private String transactionUUID; + public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) private OffsetDateTime created; @@ -132,6 +136,28 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { private Long id; + public CardLedgerTransactionLogEntry transactionUUID(String transactionUUID) { + + this.transactionUUID = transactionUUID; + return this; + } + + /** + * Unique identifier of the transaction in the UUID format. + * @return transactionUUID + **/ + @ApiModelProperty(example = "ce59f12a-f53b-4014-a745-636d93f2bd3f", required = true, value = "Unique identifier of the transaction in the UUID format.") + + public String getTransactionUUID() { + return transactionUUID; + } + + + public void setTransactionUUID(String transactionUUID) { + this.transactionUUID = transactionUUID; + } + + public CardLedgerTransactionLogEntry created(OffsetDateTime created) { this.created = created; @@ -430,7 +456,8 @@ public boolean equals(java.lang.Object o) { return false; } CardLedgerTransactionLogEntry cardLedgerTransactionLogEntry = (CardLedgerTransactionLogEntry) o; - return Objects.equals(this.created, cardLedgerTransactionLogEntry.created) && + return Objects.equals(this.transactionUUID, cardLedgerTransactionLogEntry.transactionUUID) && + Objects.equals(this.created, cardLedgerTransactionLogEntry.created) && Objects.equals(this.programId, cardLedgerTransactionLogEntry.programId) && Objects.equals(this.cardIdentifier, cardLedgerTransactionLogEntry.cardIdentifier) && Objects.equals(this.applicationId, cardLedgerTransactionLogEntry.applicationId) && @@ -447,7 +474,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(created, programId, cardIdentifier, applicationId, sessionId, customerSessionId, type, name, startDate, expiryDate, subledgerId, amount, id); + return Objects.hash(transactionUUID, created, programId, cardIdentifier, applicationId, sessionId, customerSessionId, type, name, startDate, expiryDate, subledgerId, amount, id); } @@ -455,6 +482,7 @@ public int hashCode() { public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CardLedgerTransactionLogEntry {\n"); + sb.append(" transactionUUID: ").append(toIndentedString(transactionUUID)).append("\n"); sb.append(" created: ").append(toIndentedString(created)).append("\n"); sb.append(" programId: ").append(toIndentedString(programId)).append("\n"); sb.append(" cardIdentifier: ").append(toIndentedString(cardIdentifier)).append("\n"); diff --git a/src/main/java/one/talon/model/CardLedgerTransactionLogEntryIntegrationAPI.java b/src/main/java/one/talon/model/CardLedgerTransactionLogEntryIntegrationAPI.java index 68505a91..eda5b381 100644 --- a/src/main/java/one/talon/model/CardLedgerTransactionLogEntryIntegrationAPI.java +++ b/src/main/java/one/talon/model/CardLedgerTransactionLogEntryIntegrationAPI.java @@ -32,6 +32,10 @@ @ApiModel(description = "Log entry for a given loyalty card transaction.") public class CardLedgerTransactionLogEntryIntegrationAPI { + public static final String SERIALIZED_NAME_TRANSACTION_U_U_I_D = "transactionUUID"; + @SerializedName(SERIALIZED_NAME_TRANSACTION_U_U_I_D) + private String transactionUUID; + public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) private OffsetDateTime created; @@ -132,6 +136,28 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { private String ruleName; + public CardLedgerTransactionLogEntryIntegrationAPI transactionUUID(String transactionUUID) { + + this.transactionUUID = transactionUUID; + return this; + } + + /** + * Unique identifier of the transaction in the UUID format. + * @return transactionUUID + **/ + @ApiModelProperty(example = "ce59f12a-f53b-4014-a745-636d93f2bd3f", required = true, value = "Unique identifier of the transaction in the UUID format.") + + public String getTransactionUUID() { + return transactionUUID; + } + + + public void setTransactionUUID(String transactionUUID) { + this.transactionUUID = transactionUUID; + } + + public CardLedgerTransactionLogEntryIntegrationAPI created(OffsetDateTime created) { this.created = created; @@ -430,7 +456,8 @@ public boolean equals(java.lang.Object o) { return false; } CardLedgerTransactionLogEntryIntegrationAPI cardLedgerTransactionLogEntryIntegrationAPI = (CardLedgerTransactionLogEntryIntegrationAPI) o; - return Objects.equals(this.created, cardLedgerTransactionLogEntryIntegrationAPI.created) && + return Objects.equals(this.transactionUUID, cardLedgerTransactionLogEntryIntegrationAPI.transactionUUID) && + Objects.equals(this.created, cardLedgerTransactionLogEntryIntegrationAPI.created) && Objects.equals(this.programId, cardLedgerTransactionLogEntryIntegrationAPI.programId) && Objects.equals(this.cardIdentifier, cardLedgerTransactionLogEntryIntegrationAPI.cardIdentifier) && Objects.equals(this.customerSessionId, cardLedgerTransactionLogEntryIntegrationAPI.customerSessionId) && @@ -447,7 +474,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(created, programId, cardIdentifier, customerSessionId, type, name, startDate, expiryDate, subledgerId, amount, id, rulesetId, ruleName); + return Objects.hash(transactionUUID, created, programId, cardIdentifier, customerSessionId, type, name, startDate, expiryDate, subledgerId, amount, id, rulesetId, ruleName); } @@ -455,6 +482,7 @@ public int hashCode() { public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CardLedgerTransactionLogEntryIntegrationAPI {\n"); + sb.append(" transactionUUID: ").append(toIndentedString(transactionUUID)).append("\n"); sb.append(" created: ").append(toIndentedString(created)).append("\n"); sb.append(" programId: ").append(toIndentedString(programId)).append("\n"); sb.append(" cardIdentifier: ").append(toIndentedString(cardIdentifier)).append("\n"); diff --git a/src/main/java/one/talon/model/CatalogsStrikethroughNotificationPolicy.java b/src/main/java/one/talon/model/CatalogsStrikethroughNotificationPolicy.java index 8dddde17..ce505da4 100644 --- a/src/main/java/one/talon/model/CatalogsStrikethroughNotificationPolicy.java +++ b/src/main/java/one/talon/model/CatalogsStrikethroughNotificationPolicy.java @@ -37,6 +37,10 @@ public class CatalogsStrikethroughNotificationPolicy { @SerializedName(SERIALIZED_NAME_AHEAD_OF_DAYS_TRIGGER) private Long aheadOfDaysTrigger; + public static final String SERIALIZED_NAME_BATCH_SIZE = "batchSize"; + @SerializedName(SERIALIZED_NAME_BATCH_SIZE) + private Long batchSize = 1000l; + public CatalogsStrikethroughNotificationPolicy name(String name) { @@ -85,6 +89,29 @@ public void setAheadOfDaysTrigger(Long aheadOfDaysTrigger) { } + public CatalogsStrikethroughNotificationPolicy batchSize(Long batchSize) { + + this.batchSize = batchSize; + return this; + } + + /** + * The required size of each batch of data. + * @return batchSize + **/ + @javax.annotation.Nullable + @ApiModelProperty(example = "1000", value = "The required size of each batch of data.") + + public Long getBatchSize() { + return batchSize; + } + + + public void setBatchSize(Long batchSize) { + this.batchSize = batchSize; + } + + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -95,12 +122,13 @@ public boolean equals(java.lang.Object o) { } CatalogsStrikethroughNotificationPolicy catalogsStrikethroughNotificationPolicy = (CatalogsStrikethroughNotificationPolicy) o; return Objects.equals(this.name, catalogsStrikethroughNotificationPolicy.name) && - Objects.equals(this.aheadOfDaysTrigger, catalogsStrikethroughNotificationPolicy.aheadOfDaysTrigger); + Objects.equals(this.aheadOfDaysTrigger, catalogsStrikethroughNotificationPolicy.aheadOfDaysTrigger) && + Objects.equals(this.batchSize, catalogsStrikethroughNotificationPolicy.batchSize); } @Override public int hashCode() { - return Objects.hash(name, aheadOfDaysTrigger); + return Objects.hash(name, aheadOfDaysTrigger, batchSize); } @@ -110,6 +138,7 @@ public String toString() { sb.append("class CatalogsStrikethroughNotificationPolicy {\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" aheadOfDaysTrigger: ").append(toIndentedString(aheadOfDaysTrigger)).append("\n"); + sb.append(" batchSize: ").append(toIndentedString(batchSize)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/one/talon/model/CouponsNotificationData.java b/src/main/java/one/talon/model/CouponsNotificationData.java index cf2407dc..a8489747 100644 --- a/src/main/java/one/talon/model/CouponsNotificationData.java +++ b/src/main/java/one/talon/model/CouponsNotificationData.java @@ -52,6 +52,10 @@ public class CouponsNotificationData { @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) private Long totalResultSize; + public static final String SERIALIZED_NAME_NOTIFICATION_TYPE = "NotificationType"; + @SerializedName(SERIALIZED_NAME_NOTIFICATION_TYPE) + private String notificationType; + public CouponsNotificationData typeOfChange(String typeOfChange) { @@ -63,7 +67,7 @@ public CouponsNotificationData typeOfChange(String typeOfChange) { * The type of change that occurred. * @return typeOfChange **/ - @ApiModelProperty(required = true, value = "The type of change that occurred.") + @ApiModelProperty(example = "campaign_manager", required = true, value = "The type of change that occurred.") public String getTypeOfChange() { return typeOfChange; @@ -85,7 +89,7 @@ public CouponsNotificationData operation(String operation) { * The operation performed. * @return operation **/ - @ApiModelProperty(required = true, value = "The operation performed.") + @ApiModelProperty(example = "CouponUpdated", required = true, value = "The operation performed.") public String getOperation() { return operation; @@ -107,7 +111,7 @@ public CouponsNotificationData employeeName(String employeeName) { * The name of the employee associated with the operation. * @return employeeName **/ - @ApiModelProperty(required = true, value = "The name of the employee associated with the operation.") + @ApiModelProperty(example = "Franziska Schneider", required = true, value = "The name of the employee associated with the operation.") public String getEmployeeName() { return employeeName; @@ -173,6 +177,28 @@ public void setTotalResultSize(Long totalResultSize) { } + public CouponsNotificationData notificationType(String notificationType) { + + this.notificationType = notificationType; + return this; + } + + /** + * The type of the notification + * @return notificationType + **/ + @ApiModelProperty(example = "CouponUpdated", required = true, value = "The type of the notification") + + public String getNotificationType() { + return notificationType; + } + + + public void setNotificationType(String notificationType) { + this.notificationType = notificationType; + } + + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -186,12 +212,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.operation, couponsNotificationData.operation) && Objects.equals(this.employeeName, couponsNotificationData.employeeName) && Objects.equals(this.data, couponsNotificationData.data) && - Objects.equals(this.totalResultSize, couponsNotificationData.totalResultSize); + Objects.equals(this.totalResultSize, couponsNotificationData.totalResultSize) && + Objects.equals(this.notificationType, couponsNotificationData.notificationType); } @Override public int hashCode() { - return Objects.hash(typeOfChange, operation, employeeName, data, totalResultSize); + return Objects.hash(typeOfChange, operation, employeeName, data, totalResultSize, notificationType); } @@ -204,6 +231,7 @@ public String toString() { sb.append(" employeeName: ").append(toIndentedString(employeeName)).append("\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" totalResultSize: ").append(toIndentedString(totalResultSize)).append("\n"); + sb.append(" notificationType: ").append(toIndentedString(notificationType)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/one/talon/model/CreateAchievement.java b/src/main/java/one/talon/model/CreateAchievement.java index e32e34bf..8e6c21e1 100644 --- a/src/main/java/one/talon/model/CreateAchievement.java +++ b/src/main/java/one/talon/model/CreateAchievement.java @@ -168,6 +168,10 @@ public ActivationPolicyEnum read(final JsonReader jsonReader) throws IOException @SerializedName(SERIALIZED_NAME_END_DATE) private OffsetDateTime endDate; + public static final String SERIALIZED_NAME_ALLOW_ROLLBACK_AFTER_COMPLETION = "allowRollbackAfterCompletion"; + @SerializedName(SERIALIZED_NAME_ALLOW_ROLLBACK_AFTER_COMPLETION) + private Boolean allowRollbackAfterCompletion; + public CreateAchievement name(String name) { @@ -395,6 +399,29 @@ public void setEndDate(OffsetDateTime endDate) { } + public CreateAchievement allowRollbackAfterCompletion(Boolean allowRollbackAfterCompletion) { + + this.allowRollbackAfterCompletion = allowRollbackAfterCompletion; + return this; + } + + /** + * When `true`, customer progress can be rolled back in completed achievements. + * @return allowRollbackAfterCompletion + **/ + @javax.annotation.Nullable + @ApiModelProperty(example = "false", value = "When `true`, customer progress can be rolled back in completed achievements.") + + public Boolean getAllowRollbackAfterCompletion() { + return allowRollbackAfterCompletion; + } + + + public void setAllowRollbackAfterCompletion(Boolean allowRollbackAfterCompletion) { + this.allowRollbackAfterCompletion = allowRollbackAfterCompletion; + } + + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -413,12 +440,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.recurrencePolicy, createAchievement.recurrencePolicy) && Objects.equals(this.activationPolicy, createAchievement.activationPolicy) && Objects.equals(this.fixedStartDate, createAchievement.fixedStartDate) && - Objects.equals(this.endDate, createAchievement.endDate); + Objects.equals(this.endDate, createAchievement.endDate) && + Objects.equals(this.allowRollbackAfterCompletion, createAchievement.allowRollbackAfterCompletion); } @Override public int hashCode() { - return Objects.hash(name, title, description, target, period, periodEndOverride, recurrencePolicy, activationPolicy, fixedStartDate, endDate); + return Objects.hash(name, title, description, target, period, periodEndOverride, recurrencePolicy, activationPolicy, fixedStartDate, endDate, allowRollbackAfterCompletion); } @@ -436,6 +464,7 @@ public String toString() { sb.append(" activationPolicy: ").append(toIndentedString(activationPolicy)).append("\n"); sb.append(" fixedStartDate: ").append(toIndentedString(fixedStartDate)).append("\n"); sb.append(" endDate: ").append(toIndentedString(endDate)).append("\n"); + sb.append(" allowRollbackAfterCompletion: ").append(toIndentedString(allowRollbackAfterCompletion)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/one/talon/model/CreateCouponData.java b/src/main/java/one/talon/model/CreateCouponData.java index b71a3082..8f1f6c17 100644 --- a/src/main/java/one/talon/model/CreateCouponData.java +++ b/src/main/java/one/talon/model/CreateCouponData.java @@ -56,6 +56,10 @@ public class CreateCouponData { @SerializedName(SERIALIZED_NAME_EMPLOYEE_NAME) private String employeeName; + public static final String SERIALIZED_NAME_NOTIFICATION_TYPE = "NotificationType"; + @SerializedName(SERIALIZED_NAME_NOTIFICATION_TYPE) + private String notificationType; + public CreateCouponData data(List data) { @@ -200,6 +204,28 @@ public void setEmployeeName(String employeeName) { } + public CreateCouponData notificationType(String notificationType) { + + this.notificationType = notificationType; + return this; + } + + /** + * The type of the not + * @return notificationType + **/ + @ApiModelProperty(required = true, value = "The type of the not") + + public String getNotificationType() { + return notificationType; + } + + + public void setNotificationType(String notificationType) { + this.notificationType = notificationType; + } + + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -214,12 +240,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.batchID, createCouponData.batchID) && Objects.equals(this.typeOfChange, createCouponData.typeOfChange) && Objects.equals(this.operation, createCouponData.operation) && - Objects.equals(this.employeeName, createCouponData.employeeName); + Objects.equals(this.employeeName, createCouponData.employeeName) && + Objects.equals(this.notificationType, createCouponData.notificationType); } @Override public int hashCode() { - return Objects.hash(data, totalResultSize, batchID, typeOfChange, operation, employeeName); + return Objects.hash(data, totalResultSize, batchID, typeOfChange, operation, employeeName, notificationType); } @@ -233,6 +260,7 @@ public String toString() { sb.append(" typeOfChange: ").append(toIndentedString(typeOfChange)).append("\n"); sb.append(" operation: ").append(toIndentedString(operation)).append("\n"); sb.append(" employeeName: ").append(toIndentedString(employeeName)).append("\n"); + sb.append(" notificationType: ").append(toIndentedString(notificationType)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/one/talon/model/CustomerProfile.java b/src/main/java/one/talon/model/CustomerProfile.java index 7732e463..7af4eeab 100644 --- a/src/main/java/one/talon/model/CustomerProfile.java +++ b/src/main/java/one/talon/model/CustomerProfile.java @@ -249,11 +249,11 @@ public CustomerProfile addLoyaltyMembershipsItem(LoyaltyMembership loyaltyMember } /** - * **DEPRECATED** A list of loyalty programs joined by the customer. + * **DEPRECATED. Always returns `null`.** A list of loyalty programs joined by the customer. * @return loyaltyMemberships **/ @javax.annotation.Nullable - @ApiModelProperty(value = "**DEPRECATED** A list of loyalty programs joined by the customer. ") + @ApiModelProperty(value = "**DEPRECATED. Always returns `null`.** A list of loyalty programs joined by the customer. ") public List getLoyaltyMemberships() { return loyaltyMemberships; diff --git a/src/main/java/one/talon/model/DeleteCouponsData.java b/src/main/java/one/talon/model/DeleteCouponsData.java index d9b2c616..bf7ca133 100644 --- a/src/main/java/one/talon/model/DeleteCouponsData.java +++ b/src/main/java/one/talon/model/DeleteCouponsData.java @@ -57,6 +57,10 @@ public class DeleteCouponsData { @SerializedName(SERIALIZED_NAME_TOTAL_RESULT_SIZE) private Long totalResultSize; + public static final String SERIALIZED_NAME_NOTIFICATION_TYPE = "NotificationType"; + @SerializedName(SERIALIZED_NAME_NOTIFICATION_TYPE) + private String notificationType; + public DeleteCouponsData typeOfChange(String typeOfChange) { @@ -212,6 +216,28 @@ public void setTotalResultSize(Long totalResultSize) { } + public DeleteCouponsData notificationType(String notificationType) { + + this.notificationType = notificationType; + return this; + } + + /** + * The type of the notification + * @return notificationType + **/ + @ApiModelProperty(required = true, value = "The type of the notification") + + public String getNotificationType() { + return notificationType; + } + + + public void setNotificationType(String notificationType) { + this.notificationType = notificationType; + } + + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -227,12 +253,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.batchID, deleteCouponsData.batchID) && Objects.equals(this.applicationID, deleteCouponsData.applicationID) && Objects.equals(this.campaignID, deleteCouponsData.campaignID) && - Objects.equals(this.totalResultSize, deleteCouponsData.totalResultSize); + Objects.equals(this.totalResultSize, deleteCouponsData.totalResultSize) && + Objects.equals(this.notificationType, deleteCouponsData.notificationType); } @Override public int hashCode() { - return Objects.hash(typeOfChange, operation, employeeName, batchID, applicationID, campaignID, totalResultSize); + return Objects.hash(typeOfChange, operation, employeeName, batchID, applicationID, campaignID, totalResultSize, notificationType); } @@ -247,6 +274,7 @@ public String toString() { sb.append(" applicationID: ").append(toIndentedString(applicationID)).append("\n"); sb.append(" campaignID: ").append(toIndentedString(campaignID)).append("\n"); sb.append(" totalResultSize: ").append(toIndentedString(totalResultSize)).append("\n"); + sb.append(" notificationType: ").append(toIndentedString(notificationType)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/one/talon/model/ExtendLoyaltyPointsExpiryDateEffectProps.java b/src/main/java/one/talon/model/ExtendLoyaltyPointsExpiryDateEffectProps.java index c0f15c2c..b4157ec2 100644 --- a/src/main/java/one/talon/model/ExtendLoyaltyPointsExpiryDateEffectProps.java +++ b/src/main/java/one/talon/model/ExtendLoyaltyPointsExpiryDateEffectProps.java @@ -25,7 +25,7 @@ import java.io.IOException; import java.util.ArrayList; import java.util.List; -import org.threeten.bp.OffsetDateTime; +import one.talon.model.LoyaltyLedgerEntryExpiryDateChange; /** * 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. @@ -45,13 +45,9 @@ public class ExtendLoyaltyPointsExpiryDateEffectProps { @SerializedName(SERIALIZED_NAME_EXTENSION_DURATION) private String extensionDuration; - public static final String SERIALIZED_NAME_TRANSACTION_U_U_I_DS = "transactionUUIDs"; - @SerializedName(SERIALIZED_NAME_TRANSACTION_U_U_I_DS) - private List transactionUUIDs = null; - - public static final String SERIALIZED_NAME_PREVIOUS_EXPIRATION_DATE = "previousExpirationDate"; - @SerializedName(SERIALIZED_NAME_PREVIOUS_EXPIRATION_DATE) - private OffsetDateTime previousExpirationDate; + public static final String SERIALIZED_NAME_AFFECTED_TRANSACTIONS = "affectedTransactions"; + @SerializedName(SERIALIZED_NAME_AFFECTED_TRANSACTIONS) + private List affectedTransactions = null; public ExtendLoyaltyPointsExpiryDateEffectProps programId(Long programId) { @@ -120,56 +116,34 @@ public void setExtensionDuration(String extensionDuration) { } - public ExtendLoyaltyPointsExpiryDateEffectProps transactionUUIDs(List transactionUUIDs) { + public ExtendLoyaltyPointsExpiryDateEffectProps affectedTransactions(List affectedTransactions) { - this.transactionUUIDs = transactionUUIDs; + this.affectedTransactions = affectedTransactions; return this; } - public ExtendLoyaltyPointsExpiryDateEffectProps addTransactionUUIDsItem(String transactionUUIDsItem) { - if (this.transactionUUIDs == null) { - this.transactionUUIDs = new ArrayList(); + public ExtendLoyaltyPointsExpiryDateEffectProps addAffectedTransactionsItem(LoyaltyLedgerEntryExpiryDateChange affectedTransactionsItem) { + if (this.affectedTransactions == null) { + this.affectedTransactions = new ArrayList(); } - this.transactionUUIDs.add(transactionUUIDsItem); + this.affectedTransactions.add(affectedTransactionsItem); return this; } /** - * The list of identifiers of transactions affected affected by the extension. - * @return transactionUUIDs + * List of transactions affected by the expiry date update. + * @return affectedTransactions **/ @javax.annotation.Nullable - @ApiModelProperty(value = "The list of identifiers of transactions affected affected by the extension.") - - public List getTransactionUUIDs() { - return transactionUUIDs; - } - - - public void setTransactionUUIDs(List transactionUUIDs) { - this.transactionUUIDs = transactionUUIDs; - } - - - public ExtendLoyaltyPointsExpiryDateEffectProps previousExpirationDate(OffsetDateTime previousExpirationDate) { - - this.previousExpirationDate = previousExpirationDate; - return this; - } - - /** - * Expiry date before applying the extension. - * @return previousExpirationDate - **/ - @ApiModelProperty(required = true, value = "Expiry date before applying the extension.") + @ApiModelProperty(value = "List of transactions affected by the expiry date update.") - public OffsetDateTime getPreviousExpirationDate() { - return previousExpirationDate; + public List getAffectedTransactions() { + return affectedTransactions; } - public void setPreviousExpirationDate(OffsetDateTime previousExpirationDate) { - this.previousExpirationDate = previousExpirationDate; + public void setAffectedTransactions(List affectedTransactions) { + this.affectedTransactions = affectedTransactions; } @@ -185,13 +159,12 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.programId, extendLoyaltyPointsExpiryDateEffectProps.programId) && Objects.equals(this.subLedgerId, extendLoyaltyPointsExpiryDateEffectProps.subLedgerId) && Objects.equals(this.extensionDuration, extendLoyaltyPointsExpiryDateEffectProps.extensionDuration) && - Objects.equals(this.transactionUUIDs, extendLoyaltyPointsExpiryDateEffectProps.transactionUUIDs) && - Objects.equals(this.previousExpirationDate, extendLoyaltyPointsExpiryDateEffectProps.previousExpirationDate); + Objects.equals(this.affectedTransactions, extendLoyaltyPointsExpiryDateEffectProps.affectedTransactions); } @Override public int hashCode() { - return Objects.hash(programId, subLedgerId, extensionDuration, transactionUUIDs, previousExpirationDate); + return Objects.hash(programId, subLedgerId, extensionDuration, affectedTransactions); } @@ -202,8 +175,7 @@ public String toString() { sb.append(" programId: ").append(toIndentedString(programId)).append("\n"); sb.append(" subLedgerId: ").append(toIndentedString(subLedgerId)).append("\n"); sb.append(" extensionDuration: ").append(toIndentedString(extensionDuration)).append("\n"); - sb.append(" transactionUUIDs: ").append(toIndentedString(transactionUUIDs)).append("\n"); - sb.append(" previousExpirationDate: ").append(toIndentedString(previousExpirationDate)).append("\n"); + sb.append(" affectedTransactions: ").append(toIndentedString(affectedTransactions)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/one/talon/model/GenerateAuditLogSummary.java b/src/main/java/one/talon/model/GenerateAuditLogSummary.java new file mode 100644 index 00000000..ab064a44 --- /dev/null +++ b/src/main/java/one/talon/model/GenerateAuditLogSummary.java @@ -0,0 +1,98 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * GenerateAuditLogSummary + */ + +public class GenerateAuditLogSummary { + public static final String SERIALIZED_NAME_LOG_I_D = "logID"; + @SerializedName(SERIALIZED_NAME_LOG_I_D) + private Long logID; + + + public GenerateAuditLogSummary logID(Long logID) { + + this.logID = logID; + return this; + } + + /** + * The ID of the audit log. + * @return logID + **/ + @ApiModelProperty(required = true, value = "The ID of the audit log.") + + public Long getLogID() { + return logID; + } + + + public void setLogID(Long logID) { + this.logID = logID; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GenerateAuditLogSummary generateAuditLogSummary = (GenerateAuditLogSummary) o; + return Objects.equals(this.logID, generateAuditLogSummary.logID); + } + + @Override + public int hashCode() { + return Objects.hash(logID); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GenerateAuditLogSummary {\n"); + sb.append(" logID: ").append(toIndentedString(logID)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/one/talon/model/GenerateCampaignDescription.java b/src/main/java/one/talon/model/GenerateCampaignDescription.java index 501273b7..aa072922 100644 --- a/src/main/java/one/talon/model/GenerateCampaignDescription.java +++ b/src/main/java/one/talon/model/GenerateCampaignDescription.java @@ -29,6 +29,10 @@ */ public class GenerateCampaignDescription { + public static final String SERIALIZED_NAME_CAMPAIGN_I_D = "campaignID"; + @SerializedName(SERIALIZED_NAME_CAMPAIGN_I_D) + private Long campaignID; + public static final String SERIALIZED_NAME_RULESET_I_D = "rulesetID"; @SerializedName(SERIALIZED_NAME_RULESET_I_D) private Long rulesetID; @@ -38,6 +42,28 @@ public class GenerateCampaignDescription { private String currency; + public GenerateCampaignDescription campaignID(Long campaignID) { + + this.campaignID = campaignID; + return this; + } + + /** + * ID of a campaign. + * @return campaignID + **/ + @ApiModelProperty(required = true, value = "ID of a campaign.") + + public Long getCampaignID() { + return campaignID; + } + + + public void setCampaignID(Long campaignID) { + this.campaignID = campaignID; + } + + public GenerateCampaignDescription rulesetID(Long rulesetID) { this.rulesetID = rulesetID; @@ -91,13 +117,14 @@ public boolean equals(java.lang.Object o) { return false; } GenerateCampaignDescription generateCampaignDescription = (GenerateCampaignDescription) o; - return Objects.equals(this.rulesetID, generateCampaignDescription.rulesetID) && + return Objects.equals(this.campaignID, generateCampaignDescription.campaignID) && + Objects.equals(this.rulesetID, generateCampaignDescription.rulesetID) && Objects.equals(this.currency, generateCampaignDescription.currency); } @Override public int hashCode() { - return Objects.hash(rulesetID, currency); + return Objects.hash(campaignID, rulesetID, currency); } @@ -105,6 +132,7 @@ public int hashCode() { public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GenerateCampaignDescription {\n"); + sb.append(" campaignID: ").append(toIndentedString(campaignID)).append("\n"); sb.append(" rulesetID: ").append(toIndentedString(rulesetID)).append("\n"); sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); sb.append("}"); diff --git a/src/main/java/one/talon/model/GenerateCouponFailureDetailedSummary.java b/src/main/java/one/talon/model/GenerateCouponFailureDetailedSummary.java new file mode 100644 index 00000000..a7f9d23e --- /dev/null +++ b/src/main/java/one/talon/model/GenerateCouponFailureDetailedSummary.java @@ -0,0 +1,212 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.math.BigDecimal; + +/** + * GenerateCouponFailureDetailedSummary + */ + +public class GenerateCouponFailureDetailedSummary { + public static final String SERIALIZED_NAME_APPLICATION_I_D = "applicationID"; + @SerializedName(SERIALIZED_NAME_APPLICATION_I_D) + private BigDecimal applicationID; + + public static final String SERIALIZED_NAME_SESSION_I_D = "sessionID"; + @SerializedName(SERIALIZED_NAME_SESSION_I_D) + private String sessionID; + + public static final String SERIALIZED_NAME_EVENT_I_D = "eventID"; + @SerializedName(SERIALIZED_NAME_EVENT_I_D) + private Long eventID; + + public static final String SERIALIZED_NAME_COUPON = "coupon"; + @SerializedName(SERIALIZED_NAME_COUPON) + private String coupon; + + public static final String SERIALIZED_NAME_LANGUAGE = "language"; + @SerializedName(SERIALIZED_NAME_LANGUAGE) + private String language; + + + public GenerateCouponFailureDetailedSummary applicationID(BigDecimal applicationID) { + + this.applicationID = applicationID; + return this; + } + + /** + * The ID of the Application. It is displayed in your Talon.One deployment URL. + * @return applicationID + **/ + @ApiModelProperty(required = true, value = "The ID of the Application. It is displayed in your Talon.One deployment URL.") + + public BigDecimal getApplicationID() { + return applicationID; + } + + + public void setApplicationID(BigDecimal applicationID) { + this.applicationID = applicationID; + } + + + public GenerateCouponFailureDetailedSummary sessionID(String sessionID) { + + this.sessionID = sessionID; + return this; + } + + /** + * ID of the customer session where the coupon redemption failed. + * @return sessionID + **/ + @ApiModelProperty(example = "05c2da0d-48fa-4aa1-b629-898f58f1584d", required = true, value = "ID of the customer session where the coupon redemption failed.") + + public String getSessionID() { + return sessionID; + } + + + public void setSessionID(String sessionID) { + this.sessionID = sessionID; + } + + + public GenerateCouponFailureDetailedSummary eventID(Long eventID) { + + this.eventID = eventID; + return this; + } + + /** + * The ID of the event for which the coupon redemption failed. + * @return eventID + **/ + @ApiModelProperty(required = true, value = "The ID of the event for which the coupon redemption failed.") + + public Long getEventID() { + return eventID; + } + + + public void setEventID(Long eventID) { + this.eventID = eventID; + } + + + public GenerateCouponFailureDetailedSummary coupon(String coupon) { + + this.coupon = coupon; + return this; + } + + /** + * The coupon code that could not be redeemed. + * @return coupon + **/ + @ApiModelProperty(example = "BKDB946", required = true, value = "The coupon code that could not be redeemed.") + + public String getCoupon() { + return coupon; + } + + + public void setCoupon(String coupon) { + this.coupon = coupon; + } + + + public GenerateCouponFailureDetailedSummary language(String language) { + + this.language = language; + return this; + } + + /** + * The language of the summary. + * @return language + **/ + @javax.annotation.Nullable + @ApiModelProperty(example = "en", value = "The language of the summary.") + + public String getLanguage() { + return language; + } + + + public void setLanguage(String language) { + this.language = language; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GenerateCouponFailureDetailedSummary generateCouponFailureDetailedSummary = (GenerateCouponFailureDetailedSummary) o; + return Objects.equals(this.applicationID, generateCouponFailureDetailedSummary.applicationID) && + Objects.equals(this.sessionID, generateCouponFailureDetailedSummary.sessionID) && + Objects.equals(this.eventID, generateCouponFailureDetailedSummary.eventID) && + Objects.equals(this.coupon, generateCouponFailureDetailedSummary.coupon) && + Objects.equals(this.language, generateCouponFailureDetailedSummary.language); + } + + @Override + public int hashCode() { + return Objects.hash(applicationID, sessionID, eventID, coupon, language); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GenerateCouponFailureDetailedSummary {\n"); + sb.append(" applicationID: ").append(toIndentedString(applicationID)).append("\n"); + sb.append(" sessionID: ").append(toIndentedString(sessionID)).append("\n"); + sb.append(" eventID: ").append(toIndentedString(eventID)).append("\n"); + sb.append(" coupon: ").append(toIndentedString(coupon)).append("\n"); + sb.append(" language: ").append(toIndentedString(language)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/one/talon/model/GenerateCouponFailureSummary.java b/src/main/java/one/talon/model/GenerateCouponFailureSummary.java new file mode 100644 index 00000000..3bf8e344 --- /dev/null +++ b/src/main/java/one/talon/model/GenerateCouponFailureSummary.java @@ -0,0 +1,127 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * GenerateCouponFailureSummary + */ + +public class GenerateCouponFailureSummary { + public static final String SERIALIZED_NAME_EVENT_I_D = "eventID"; + @SerializedName(SERIALIZED_NAME_EVENT_I_D) + private Long eventID; + + public static final String SERIALIZED_NAME_LANGUAGE = "language"; + @SerializedName(SERIALIZED_NAME_LANGUAGE) + private String language; + + + public GenerateCouponFailureSummary eventID(Long eventID) { + + this.eventID = eventID; + return this; + } + + /** + * The ID of the event. + * @return eventID + **/ + @ApiModelProperty(required = true, value = "The ID of the event.") + + public Long getEventID() { + return eventID; + } + + + public void setEventID(Long eventID) { + this.eventID = eventID; + } + + + public GenerateCouponFailureSummary language(String language) { + + this.language = language; + return this; + } + + /** + * The language the summary will be generated in. + * @return language + **/ + @javax.annotation.Nullable + @ApiModelProperty(example = "en", value = "The language the summary will be generated in.") + + public String getLanguage() { + return language; + } + + + public void setLanguage(String language) { + this.language = language; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GenerateCouponFailureSummary generateCouponFailureSummary = (GenerateCouponFailureSummary) o; + return Objects.equals(this.eventID, generateCouponFailureSummary.eventID) && + Objects.equals(this.language, generateCouponFailureSummary.language); + } + + @Override + public int hashCode() { + return Objects.hash(eventID, language); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GenerateCouponFailureSummary {\n"); + sb.append(" eventID: ").append(toIndentedString(eventID)).append("\n"); + sb.append(" language: ").append(toIndentedString(language)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/one/talon/model/GenerateUserSessionSummary.java b/src/main/java/one/talon/model/GenerateUserSessionSummary.java new file mode 100644 index 00000000..3e8d4577 --- /dev/null +++ b/src/main/java/one/talon/model/GenerateUserSessionSummary.java @@ -0,0 +1,127 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.math.BigDecimal; + +/** + * GenerateUserSessionSummary + */ + +public class GenerateUserSessionSummary { + public static final String SERIALIZED_NAME_SESSION_I_D = "sessionID"; + @SerializedName(SERIALIZED_NAME_SESSION_I_D) + private String sessionID; + + public static final String SERIALIZED_NAME_APPLICATION_I_D = "applicationID"; + @SerializedName(SERIALIZED_NAME_APPLICATION_I_D) + private BigDecimal applicationID; + + + public GenerateUserSessionSummary sessionID(String sessionID) { + + this.sessionID = sessionID; + return this; + } + + /** + * The ID of the session. + * @return sessionID + **/ + @ApiModelProperty(required = true, value = "The ID of the session.") + + public String getSessionID() { + return sessionID; + } + + + public void setSessionID(String sessionID) { + this.sessionID = sessionID; + } + + + public GenerateUserSessionSummary applicationID(BigDecimal applicationID) { + + this.applicationID = applicationID; + return this; + } + + /** + * The ID of the Application. It is displayed in your Talon.One deployment URL. + * @return applicationID + **/ + @ApiModelProperty(required = true, value = "The ID of the Application. It is displayed in your Talon.One deployment URL.") + + public BigDecimal getApplicationID() { + return applicationID; + } + + + public void setApplicationID(BigDecimal applicationID) { + this.applicationID = applicationID; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GenerateUserSessionSummary generateUserSessionSummary = (GenerateUserSessionSummary) o; + return Objects.equals(this.sessionID, generateUserSessionSummary.sessionID) && + Objects.equals(this.applicationID, generateUserSessionSummary.applicationID); + } + + @Override + public int hashCode() { + return Objects.hash(sessionID, applicationID); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GenerateUserSessionSummary {\n"); + sb.append(" sessionID: ").append(toIndentedString(sessionID)).append("\n"); + sb.append(" applicationID: ").append(toIndentedString(applicationID)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/one/talon/model/JWT.java b/src/main/java/one/talon/model/JWT.java new file mode 100644 index 00000000..0f03bba6 --- /dev/null +++ b/src/main/java/one/talon/model/JWT.java @@ -0,0 +1,127 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * JSON web token used for accessing integrations in Prismatic + */ +@ApiModel(description = "JSON web token used for accessing integrations in Prismatic") + +public class JWT { + public static final String SERIALIZED_NAME_ACCESS_TOKEN = "accessToken"; + @SerializedName(SERIALIZED_NAME_ACCESS_TOKEN) + private String accessToken; + + public static final String SERIALIZED_NAME_EXPIRES_IN = "expiresIn"; + @SerializedName(SERIALIZED_NAME_EXPIRES_IN) + private Long expiresIn; + + + public JWT accessToken(String accessToken) { + + this.accessToken = accessToken; + return this; + } + + /** + * Access token used to authenticate a user in Talon.One. + * @return accessToken + **/ + @ApiModelProperty(example = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9", required = true, value = "Access token used to authenticate a user in Talon.One.") + + public String getAccessToken() { + return accessToken; + } + + + public void setAccessToken(String accessToken) { + this.accessToken = accessToken; + } + + + public JWT expiresIn(Long expiresIn) { + + this.expiresIn = expiresIn; + return this; + } + + /** + * Time until the token expires (in seconds). + * @return expiresIn + **/ + @ApiModelProperty(example = "1000", required = true, value = "Time until the token expires (in seconds).") + + public Long getExpiresIn() { + return expiresIn; + } + + + public void setExpiresIn(Long expiresIn) { + this.expiresIn = expiresIn; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + JWT JWT = (JWT) o; + return Objects.equals(this.accessToken, JWT.accessToken) && + Objects.equals(this.expiresIn, JWT.expiresIn); + } + + @Override + public int hashCode() { + return Objects.hash(accessToken, expiresIn); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class JWT {\n"); + sb.append(" accessToken: ").append(toIndentedString(accessToken)).append("\n"); + sb.append(" expiresIn: ").append(toIndentedString(expiresIn)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/one/talon/model/LabelTargetAudience.java b/src/main/java/one/talon/model/LabelTargetAudience.java new file mode 100644 index 00000000..968f225e --- /dev/null +++ b/src/main/java/one/talon/model/LabelTargetAudience.java @@ -0,0 +1,173 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import one.talon.model.AudienceReference; + +/** + * Represents the targeted audience. + */ +@ApiModel(description = "Represents the targeted audience. ") + +public class LabelTargetAudience { + /** + * Gets or Sets type + */ + @JsonAdapter(TypeEnum.Adapter.class) + public enum TypeEnum { + AUDIENCE("AUDIENCE"); + + private String value; + + TypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static TypeEnum fromValue(String value) { + for (TypeEnum b : TypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final TypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public TypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return TypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_TYPE = "type"; + @SerializedName(SERIALIZED_NAME_TYPE) + private TypeEnum type; + + public static final String SERIALIZED_NAME_AUDIENCE = "audience"; + @SerializedName(SERIALIZED_NAME_AUDIENCE) + private AudienceReference audience; + + + public LabelTargetAudience type(TypeEnum type) { + + this.type = type; + return this; + } + + /** + * Get type + * @return type + **/ + @ApiModelProperty(required = true, value = "") + + public TypeEnum getType() { + return type; + } + + + public void setType(TypeEnum type) { + this.type = type; + } + + + public LabelTargetAudience audience(AudienceReference audience) { + + this.audience = audience; + return this; + } + + /** + * Get audience + * @return audience + **/ + @ApiModelProperty(required = true, value = "") + + public AudienceReference getAudience() { + return audience; + } + + + public void setAudience(AudienceReference audience) { + this.audience = audience; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LabelTargetAudience labelTargetAudience = (LabelTargetAudience) o; + return Objects.equals(this.type, labelTargetAudience.type) && + Objects.equals(this.audience, labelTargetAudience.audience); + } + + @Override + public int hashCode() { + return Objects.hash(type, audience); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LabelTargetAudience {\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" audience: ").append(toIndentedString(audience)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/one/talon/model/LabelTargetNone.java b/src/main/java/one/talon/model/LabelTargetNone.java new file mode 100644 index 00000000..c3c589c3 --- /dev/null +++ b/src/main/java/one/talon/model/LabelTargetNone.java @@ -0,0 +1,144 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Represents the target type when no entity is selected. + */ +@ApiModel(description = "Represents the target type when no entity is selected.") + +public class LabelTargetNone { + /** + * Gets or Sets type + */ + @JsonAdapter(TypeEnum.Adapter.class) + public enum TypeEnum { + NONE("NONE"); + + private String value; + + TypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static TypeEnum fromValue(String value) { + for (TypeEnum b : TypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final TypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public TypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return TypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_TYPE = "type"; + @SerializedName(SERIALIZED_NAME_TYPE) + private TypeEnum type; + + + public LabelTargetNone type(TypeEnum type) { + + this.type = type; + return this; + } + + /** + * Get type + * @return type + **/ + @ApiModelProperty(required = true, value = "") + + public TypeEnum getType() { + return type; + } + + + public void setType(TypeEnum type) { + this.type = type; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LabelTargetNone labelTargetNone = (LabelTargetNone) o; + return Objects.equals(this.type, labelTargetNone.type); + } + + @Override + public int hashCode() { + return Objects.hash(type); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LabelTargetNone {\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/one/talon/model/LedgerPointsEntryIntegrationAPI.java b/src/main/java/one/talon/model/LedgerPointsEntryIntegrationAPI.java index d51a4b39..d90f5187 100644 --- a/src/main/java/one/talon/model/LedgerPointsEntryIntegrationAPI.java +++ b/src/main/java/one/talon/model/LedgerPointsEntryIntegrationAPI.java @@ -36,6 +36,10 @@ public class LedgerPointsEntryIntegrationAPI { @SerializedName(SERIALIZED_NAME_ID) private Long id; + public static final String SERIALIZED_NAME_TRANSACTION_U_U_I_D = "transactionUUID"; + @SerializedName(SERIALIZED_NAME_TRANSACTION_U_U_I_D) + private String transactionUUID; + public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) private OffsetDateTime created; @@ -91,6 +95,28 @@ public void setId(Long id) { } + public LedgerPointsEntryIntegrationAPI transactionUUID(String transactionUUID) { + + this.transactionUUID = transactionUUID; + return this; + } + + /** + * Unique identifier of the transaction in the UUID format. + * @return transactionUUID + **/ + @ApiModelProperty(example = "ce59f12a-f53b-4014-a745-636d93f2bd3f", required = true, value = "Unique identifier of the transaction in the UUID format.") + + public String getTransactionUUID() { + return transactionUUID; + } + + + public void setTransactionUUID(String transactionUUID) { + this.transactionUUID = transactionUUID; + } + + public LedgerPointsEntryIntegrationAPI created(OffsetDateTime created) { this.created = created; @@ -278,6 +304,7 @@ public boolean equals(java.lang.Object o) { } LedgerPointsEntryIntegrationAPI ledgerPointsEntryIntegrationAPI = (LedgerPointsEntryIntegrationAPI) o; return Objects.equals(this.id, ledgerPointsEntryIntegrationAPI.id) && + Objects.equals(this.transactionUUID, ledgerPointsEntryIntegrationAPI.transactionUUID) && Objects.equals(this.created, ledgerPointsEntryIntegrationAPI.created) && Objects.equals(this.programId, ledgerPointsEntryIntegrationAPI.programId) && Objects.equals(this.customerSessionId, ledgerPointsEntryIntegrationAPI.customerSessionId) && @@ -290,7 +317,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(id, created, programId, customerSessionId, name, startDate, expiryDate, subledgerId, amount); + return Objects.hash(id, transactionUUID, created, programId, customerSessionId, name, startDate, expiryDate, subledgerId, amount); } @@ -299,6 +326,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class LedgerPointsEntryIntegrationAPI {\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" transactionUUID: ").append(toIndentedString(transactionUUID)).append("\n"); sb.append(" created: ").append(toIndentedString(created)).append("\n"); sb.append(" programId: ").append(toIndentedString(programId)).append("\n"); sb.append(" customerSessionId: ").append(toIndentedString(customerSessionId)).append("\n"); diff --git a/src/main/java/one/talon/model/LedgerTransactionLogEntryIntegrationAPI.java b/src/main/java/one/talon/model/LedgerTransactionLogEntryIntegrationAPI.java index 36146733..b95acaae 100644 --- a/src/main/java/one/talon/model/LedgerTransactionLogEntryIntegrationAPI.java +++ b/src/main/java/one/talon/model/LedgerTransactionLogEntryIntegrationAPI.java @@ -28,11 +28,15 @@ import org.threeten.bp.OffsetDateTime; /** - * Log entry for a given loyalty card transaction. + * Log entry for a given loyalty profile transaction. */ -@ApiModel(description = "Log entry for a given loyalty card transaction.") +@ApiModel(description = "Log entry for a given loyalty profile transaction.") public class LedgerTransactionLogEntryIntegrationAPI { + public static final String SERIALIZED_NAME_TRANSACTION_U_U_I_D = "transactionUUID"; + @SerializedName(SERIALIZED_NAME_TRANSACTION_U_U_I_D) + private String transactionUUID; + public static final String SERIALIZED_NAME_CREATED = "created"; @SerializedName(SERIALIZED_NAME_CREATED) private OffsetDateTime created; @@ -133,6 +137,28 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { private LoyaltyLedgerEntryFlags flags; + public LedgerTransactionLogEntryIntegrationAPI transactionUUID(String transactionUUID) { + + this.transactionUUID = transactionUUID; + return this; + } + + /** + * Unique identifier of the transaction in the UUID format. + * @return transactionUUID + **/ + @ApiModelProperty(example = "ce59f12a-f53b-4014-a745-636d93f2bd3f", required = true, value = "Unique identifier of the transaction in the UUID format.") + + public String getTransactionUUID() { + return transactionUUID; + } + + + public void setTransactionUUID(String transactionUUID) { + this.transactionUUID = transactionUUID; + } + + public LedgerTransactionLogEntryIntegrationAPI created(OffsetDateTime created) { this.created = created; @@ -432,7 +458,8 @@ public boolean equals(java.lang.Object o) { return false; } LedgerTransactionLogEntryIntegrationAPI ledgerTransactionLogEntryIntegrationAPI = (LedgerTransactionLogEntryIntegrationAPI) o; - return Objects.equals(this.created, ledgerTransactionLogEntryIntegrationAPI.created) && + return Objects.equals(this.transactionUUID, ledgerTransactionLogEntryIntegrationAPI.transactionUUID) && + Objects.equals(this.created, ledgerTransactionLogEntryIntegrationAPI.created) && Objects.equals(this.programId, ledgerTransactionLogEntryIntegrationAPI.programId) && Objects.equals(this.customerSessionId, ledgerTransactionLogEntryIntegrationAPI.customerSessionId) && Objects.equals(this.type, ledgerTransactionLogEntryIntegrationAPI.type) && @@ -449,7 +476,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(created, programId, customerSessionId, type, name, startDate, expiryDate, subledgerId, amount, id, rulesetId, ruleName, flags); + return Objects.hash(transactionUUID, created, programId, customerSessionId, type, name, startDate, expiryDate, subledgerId, amount, id, rulesetId, ruleName, flags); } @@ -457,6 +484,7 @@ public int hashCode() { public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class LedgerTransactionLogEntryIntegrationAPI {\n"); + sb.append(" transactionUUID: ").append(toIndentedString(transactionUUID)).append("\n"); sb.append(" created: ").append(toIndentedString(created)).append("\n"); sb.append(" programId: ").append(toIndentedString(programId)).append("\n"); sb.append(" customerSessionId: ").append(toIndentedString(customerSessionId)).append("\n"); diff --git a/src/main/java/one/talon/model/LoyaltyDashboardData.java b/src/main/java/one/talon/model/LoyaltyDashboardData.java index 3b526c16..9e28c2bf 100644 --- a/src/main/java/one/talon/model/LoyaltyDashboardData.java +++ b/src/main/java/one/talon/model/LoyaltyDashboardData.java @@ -53,6 +53,10 @@ public class LoyaltyDashboardData { @SerializedName(SERIALIZED_NAME_TOTAL_EXPIRED_POINTS) private BigDecimal totalExpiredPoints; + public static final String SERIALIZED_NAME_TOTAL_NEGATIVE_POINTS = "totalNegativePoints"; + @SerializedName(SERIALIZED_NAME_TOTAL_NEGATIVE_POINTS) + private BigDecimal totalNegativePoints; + public static final String SERIALIZED_NAME_TOTAL_MEMBERS = "totalMembers"; @SerializedName(SERIALIZED_NAME_TOTAL_MEMBERS) private BigDecimal totalMembers; @@ -180,6 +184,28 @@ public void setTotalExpiredPoints(BigDecimal totalExpiredPoints) { } + public LoyaltyDashboardData totalNegativePoints(BigDecimal totalNegativePoints) { + + this.totalNegativePoints = totalNegativePoints; + return this; + } + + /** + * Total of negative points for this loyalty program. + * @return totalNegativePoints + **/ + @ApiModelProperty(example = "32.0", required = true, value = "Total of negative points for this loyalty program.") + + public BigDecimal getTotalNegativePoints() { + return totalNegativePoints; + } + + + public void setTotalNegativePoints(BigDecimal totalNegativePoints) { + this.totalNegativePoints = totalNegativePoints; + } + + public LoyaltyDashboardData totalMembers(BigDecimal totalMembers) { this.totalMembers = totalMembers; @@ -282,6 +308,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.totalPendingPoints, loyaltyDashboardData.totalPendingPoints) && Objects.equals(this.totalSpentPoints, loyaltyDashboardData.totalSpentPoints) && Objects.equals(this.totalExpiredPoints, loyaltyDashboardData.totalExpiredPoints) && + Objects.equals(this.totalNegativePoints, loyaltyDashboardData.totalNegativePoints) && Objects.equals(this.totalMembers, loyaltyDashboardData.totalMembers) && Objects.equals(this.newMembers, loyaltyDashboardData.newMembers) && Objects.equals(this.spentPoints, loyaltyDashboardData.spentPoints) && @@ -290,7 +317,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(date, totalActivePoints, totalPendingPoints, totalSpentPoints, totalExpiredPoints, totalMembers, newMembers, spentPoints, earnedPoints); + return Objects.hash(date, totalActivePoints, totalPendingPoints, totalSpentPoints, totalExpiredPoints, totalNegativePoints, totalMembers, newMembers, spentPoints, earnedPoints); } @@ -303,6 +330,7 @@ public String toString() { sb.append(" totalPendingPoints: ").append(toIndentedString(totalPendingPoints)).append("\n"); sb.append(" totalSpentPoints: ").append(toIndentedString(totalSpentPoints)).append("\n"); sb.append(" totalExpiredPoints: ").append(toIndentedString(totalExpiredPoints)).append("\n"); + sb.append(" totalNegativePoints: ").append(toIndentedString(totalNegativePoints)).append("\n"); sb.append(" totalMembers: ").append(toIndentedString(totalMembers)).append("\n"); sb.append(" newMembers: ").append(toIndentedString(newMembers)).append("\n"); sb.append(" spentPoints: ").append(toIndentedString(spentPoints)).append("\n"); diff --git a/src/main/java/one/talon/model/LoyaltyLedgerEntryExpiryDateChange.java b/src/main/java/one/talon/model/LoyaltyLedgerEntryExpiryDateChange.java new file mode 100644 index 00000000..548ed0ba --- /dev/null +++ b/src/main/java/one/talon/model/LoyaltyLedgerEntryExpiryDateChange.java @@ -0,0 +1,158 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.UUID; +import org.threeten.bp.OffsetDateTime; + +/** + * The properties specific to effects for changing the expiry dates of loyalty ledger entries. + */ +@ApiModel(description = "The properties specific to effects for changing the expiry dates of loyalty ledger entries.") + +public class LoyaltyLedgerEntryExpiryDateChange { + public static final String SERIALIZED_NAME_TRANSACTION_U_U_I_D = "transactionUUID"; + @SerializedName(SERIALIZED_NAME_TRANSACTION_U_U_I_D) + private UUID transactionUUID; + + public static final String SERIALIZED_NAME_PREVIOUS_EXPIRY_DATE = "previousExpiryDate"; + @SerializedName(SERIALIZED_NAME_PREVIOUS_EXPIRY_DATE) + private OffsetDateTime previousExpiryDate; + + public static final String SERIALIZED_NAME_NEW_EXPIRY_DATE = "newExpiryDate"; + @SerializedName(SERIALIZED_NAME_NEW_EXPIRY_DATE) + private OffsetDateTime newExpiryDate; + + + public LoyaltyLedgerEntryExpiryDateChange transactionUUID(UUID transactionUUID) { + + this.transactionUUID = transactionUUID; + return this; + } + + /** + * The identifier of the transaction affected by the extension or update. + * @return transactionUUID + **/ + @ApiModelProperty(required = true, value = "The identifier of the transaction affected by the extension or update.") + + public UUID getTransactionUUID() { + return transactionUUID; + } + + + public void setTransactionUUID(UUID transactionUUID) { + this.transactionUUID = transactionUUID; + } + + + public LoyaltyLedgerEntryExpiryDateChange previousExpiryDate(OffsetDateTime previousExpiryDate) { + + this.previousExpiryDate = previousExpiryDate; + return this; + } + + /** + * Expiry date of the transactions before applying the extension or update. + * @return previousExpiryDate + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Expiry date of the transactions before applying the extension or update.") + + public OffsetDateTime getPreviousExpiryDate() { + return previousExpiryDate; + } + + + public void setPreviousExpiryDate(OffsetDateTime previousExpiryDate) { + this.previousExpiryDate = previousExpiryDate; + } + + + public LoyaltyLedgerEntryExpiryDateChange newExpiryDate(OffsetDateTime newExpiryDate) { + + this.newExpiryDate = newExpiryDate; + return this; + } + + /** + * Expiry date of the transaction after applying the extension or update. + * @return newExpiryDate + **/ + @ApiModelProperty(required = true, value = "Expiry date of the transaction after applying the extension or update.") + + public OffsetDateTime getNewExpiryDate() { + return newExpiryDate; + } + + + public void setNewExpiryDate(OffsetDateTime newExpiryDate) { + this.newExpiryDate = newExpiryDate; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LoyaltyLedgerEntryExpiryDateChange loyaltyLedgerEntryExpiryDateChange = (LoyaltyLedgerEntryExpiryDateChange) o; + return Objects.equals(this.transactionUUID, loyaltyLedgerEntryExpiryDateChange.transactionUUID) && + Objects.equals(this.previousExpiryDate, loyaltyLedgerEntryExpiryDateChange.previousExpiryDate) && + Objects.equals(this.newExpiryDate, loyaltyLedgerEntryExpiryDateChange.newExpiryDate); + } + + @Override + public int hashCode() { + return Objects.hash(transactionUUID, previousExpiryDate, newExpiryDate); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LoyaltyLedgerEntryExpiryDateChange {\n"); + sb.append(" transactionUUID: ").append(toIndentedString(transactionUUID)).append("\n"); + sb.append(" previousExpiryDate: ").append(toIndentedString(previousExpiryDate)).append("\n"); + sb.append(" newExpiryDate: ").append(toIndentedString(newExpiryDate)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/one/talon/model/LoyaltyProgram.java b/src/main/java/one/talon/model/LoyaltyProgram.java index f1106810..2ed158b9 100644 --- a/src/main/java/one/talon/model/LoyaltyProgram.java +++ b/src/main/java/one/talon/model/LoyaltyProgram.java @@ -484,10 +484,10 @@ public LoyaltyProgram defaultPending(String defaultPending) { } /** - * 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. + * The default duration of the pending time after which points should be valid. Accepted values: 'immediate', 'on_action' 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. * @return defaultPending **/ - @ApiModelProperty(example = "immediate", required = true, value = "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. ") + @ApiModelProperty(example = "immediate", required = true, value = "The default duration of the pending time after which points should be valid. Accepted values: 'immediate', 'on_action' 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. ") public String getDefaultPending() { return defaultPending; diff --git a/src/main/java/one/talon/model/LoyaltyProgramTransaction.java b/src/main/java/one/talon/model/LoyaltyProgramTransaction.java index bdff74aa..a9c497b5 100644 --- a/src/main/java/one/talon/model/LoyaltyProgramTransaction.java +++ b/src/main/java/one/talon/model/LoyaltyProgramTransaction.java @@ -36,6 +36,10 @@ public class LoyaltyProgramTransaction { @SerializedName(SERIALIZED_NAME_ID) private Long id; + public static final String SERIALIZED_NAME_TRANSACTION_U_U_I_D = "transactionUUID"; + @SerializedName(SERIALIZED_NAME_TRANSACTION_U_U_I_D) + private String transactionUUID; + public static final String SERIALIZED_NAME_PROGRAM_ID = "programId"; @SerializedName(SERIALIZED_NAME_PROGRAM_ID) private Long programId; @@ -178,6 +182,28 @@ public void setId(Long id) { } + public LoyaltyProgramTransaction transactionUUID(String transactionUUID) { + + this.transactionUUID = transactionUUID; + return this; + } + + /** + * Unique identifier of the transaction in the UUID format. + * @return transactionUUID + **/ + @ApiModelProperty(example = "ce59f12a-f53b-4014-a745-636d93f2bd3f", required = true, value = "Unique identifier of the transaction in the UUID format.") + + public String getTransactionUUID() { + return transactionUUID; + } + + + public void setTransactionUUID(String transactionUUID) { + this.transactionUUID = transactionUUID; + } + + public LoyaltyProgramTransaction programId(Long programId) { this.programId = programId; @@ -594,6 +620,7 @@ public boolean equals(java.lang.Object o) { } LoyaltyProgramTransaction loyaltyProgramTransaction = (LoyaltyProgramTransaction) o; return Objects.equals(this.id, loyaltyProgramTransaction.id) && + Objects.equals(this.transactionUUID, loyaltyProgramTransaction.transactionUUID) && Objects.equals(this.programId, loyaltyProgramTransaction.programId) && Objects.equals(this.campaignId, loyaltyProgramTransaction.campaignId) && Objects.equals(this.created, loyaltyProgramTransaction.created) && @@ -616,7 +643,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(id, programId, campaignId, created, type, amount, name, startDate, expiryDate, customerProfileId, cardIdentifier, subledgerId, customerSessionId, importId, userId, userEmail, rulesetId, ruleName, flags); + return Objects.hash(id, transactionUUID, programId, campaignId, created, type, amount, name, startDate, expiryDate, customerProfileId, cardIdentifier, subledgerId, customerSessionId, importId, userId, userEmail, rulesetId, ruleName, flags); } @@ -625,6 +652,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class LoyaltyProgramTransaction {\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" transactionUUID: ").append(toIndentedString(transactionUUID)).append("\n"); sb.append(" programId: ").append(toIndentedString(programId)).append("\n"); sb.append(" campaignId: ").append(toIndentedString(campaignId)).append("\n"); sb.append(" created: ").append(toIndentedString(created)).append("\n"); diff --git a/src/main/java/one/talon/model/NewLoyaltyProgram.java b/src/main/java/one/talon/model/NewLoyaltyProgram.java index 25322f91..a6283e66 100644 --- a/src/main/java/one/talon/model/NewLoyaltyProgram.java +++ b/src/main/java/one/talon/model/NewLoyaltyProgram.java @@ -413,10 +413,10 @@ public NewLoyaltyProgram defaultPending(String defaultPending) { } /** - * 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. + * The default duration of the pending time after which points should be valid. Accepted values: 'immediate', 'on_action' 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. * @return defaultPending **/ - @ApiModelProperty(example = "immediate", required = true, value = "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. ") + @ApiModelProperty(example = "immediate", required = true, value = "The default duration of the pending time after which points should be valid. Accepted values: 'immediate', 'on_action' 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. ") public String getDefaultPending() { return defaultPending; diff --git a/src/main/java/one/talon/model/NewMessageTest.java b/src/main/java/one/talon/model/NewMessageTest.java index 46f518dd..1ddacda2 100644 --- a/src/main/java/one/talon/model/NewMessageTest.java +++ b/src/main/java/one/talon/model/NewMessageTest.java @@ -23,96 +23,17 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; +import one.talon.model.TemplateArgDef; /** * NewMessageTest */ public class NewMessageTest { - /** - * The message type. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - 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"), - - PENDING_TO_ACTIVE_POINTS("pending_to_active_points"), - - STRIKETHROUGH_PRICING("strikethrough_pricing"), - - TIER_DOWNGRADE("tier_downgrade"), - - TIER_UPGRADE("tier_upgrade"), - - TIER_WILL_DOWNGRADE("tier_will_downgrade"), - - CARD_EXPIRING_POINTS("card_expiring_points"), - - RULE_ENGINE_WEBHOOK("rule_engine_webhook"); - - private String value; - - TypeEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static TypeEnum fromValue(String value) { - for (TypeEnum b : TypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final TypeEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public TypeEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return TypeEnum.fromValue(value); - } - } - } - - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private TypeEnum type; - - public static final String SERIALIZED_NAME_QUERY_PARAMS = "queryParams"; - @SerializedName(SERIALIZED_NAME_QUERY_PARAMS) - private Map queryParams = null; - public static final String SERIALIZED_NAME_HEADERS = "headers"; @SerializedName(SERIALIZED_NAME_HEADERS) private Map headers = null; @@ -182,58 +103,13 @@ public VerbEnum read(final JsonReader jsonReader) throws IOException { @SerializedName(SERIALIZED_NAME_PAYLOAD) private String payload; + public static final String SERIALIZED_NAME_PARAMS = "params"; + @SerializedName(SERIALIZED_NAME_PARAMS) + private List params = null; - public NewMessageTest type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * The message type. - * @return type - **/ - @ApiModelProperty(example = "loyalty_added_deducted_points", required = true, value = "The message type.") - - public TypeEnum getType() { - return type; - } - - - public void setType(TypeEnum type) { - this.type = type; - } - - - public NewMessageTest queryParams(Map queryParams) { - - this.queryParams = queryParams; - return this; - } - - public NewMessageTest putQueryParamsItem(String key, String queryParamsItem) { - if (this.queryParams == null) { - this.queryParams = new HashMap(); - } - this.queryParams.put(key, queryParamsItem); - return this; - } - - /** - * Array of query parameters. - * @return queryParams - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "{\"param1\":\"value1\",\"param2\":\"value2\"}", value = "Array of query parameters.") - - public Map getQueryParams() { - return queryParams; - } - - - public void setQueryParams(Map queryParams) { - this.queryParams = queryParams; - } + public static final String SERIALIZED_NAME_APPLICATION_IDS = "applicationIds"; + @SerializedName(SERIALIZED_NAME_APPLICATION_IDS) + private List applicationIds = null; public NewMessageTest headers(Map headers) { @@ -334,6 +210,68 @@ public void setPayload(String payload) { } + public NewMessageTest params(List params) { + + this.params = params; + return this; + } + + public NewMessageTest addParamsItem(TemplateArgDef paramsItem) { + if (this.params == null) { + this.params = new ArrayList(); + } + this.params.add(paramsItem); + return this; + } + + /** + * Array of template argument definitions. + * @return params + **/ + @javax.annotation.Nullable + @ApiModelProperty(example = "[]", value = "Array of template argument definitions.") + + public List getParams() { + return params; + } + + + public void setParams(List params) { + this.params = params; + } + + + public NewMessageTest applicationIds(List applicationIds) { + + this.applicationIds = applicationIds; + return this; + } + + public NewMessageTest addApplicationIdsItem(Long applicationIdsItem) { + if (this.applicationIds == null) { + this.applicationIds = new ArrayList(); + } + this.applicationIds.add(applicationIdsItem); + return this; + } + + /** + * The IDs of the Applications in which this webhook is available. An empty array means the webhook is available in `All Applications`. + * @return applicationIds + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "The IDs of the Applications in which this webhook is available. An empty array means the webhook is available in `All Applications`. ") + + public List getApplicationIds() { + return applicationIds; + } + + + public void setApplicationIds(List applicationIds) { + this.applicationIds = applicationIds; + } + + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -343,17 +281,17 @@ public boolean equals(java.lang.Object o) { return false; } NewMessageTest newMessageTest = (NewMessageTest) o; - return Objects.equals(this.type, newMessageTest.type) && - Objects.equals(this.queryParams, newMessageTest.queryParams) && - Objects.equals(this.headers, newMessageTest.headers) && + return Objects.equals(this.headers, newMessageTest.headers) && Objects.equals(this.verb, newMessageTest.verb) && Objects.equals(this.url, newMessageTest.url) && - Objects.equals(this.payload, newMessageTest.payload); + Objects.equals(this.payload, newMessageTest.payload) && + Objects.equals(this.params, newMessageTest.params) && + Objects.equals(this.applicationIds, newMessageTest.applicationIds); } @Override public int hashCode() { - return Objects.hash(type, queryParams, headers, verb, url, payload); + return Objects.hash(headers, verb, url, payload, params, applicationIds); } @@ -361,12 +299,12 @@ public int hashCode() { public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class NewMessageTest {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" queryParams: ").append(toIndentedString(queryParams)).append("\n"); sb.append(" headers: ").append(toIndentedString(headers)).append("\n"); sb.append(" verb: ").append(toIndentedString(verb)).append("\n"); sb.append(" url: ").append(toIndentedString(url)).append("\n"); sb.append(" payload: ").append(toIndentedString(payload)).append("\n"); + sb.append(" params: ").append(toIndentedString(params)).append("\n"); + sb.append(" applicationIds: ").append(toIndentedString(applicationIds)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/one/talon/model/NewPriceAdjustment.java b/src/main/java/one/talon/model/NewPriceAdjustment.java index 9f0891d5..856186ab 100644 --- a/src/main/java/one/talon/model/NewPriceAdjustment.java +++ b/src/main/java/one/talon/model/NewPriceAdjustment.java @@ -55,6 +55,10 @@ public class NewPriceAdjustment { @SerializedName(SERIALIZED_NAME_EFFECTIVE_UNTIL) private OffsetDateTime effectiveUntil; + public static final String SERIALIZED_NAME_CONTEXT_ID = "contextId"; + @SerializedName(SERIALIZED_NAME_CONTEXT_ID) + private String contextId; + public NewPriceAdjustment priceType(String priceType) { @@ -192,6 +196,29 @@ public void setEffectiveUntil(OffsetDateTime effectiveUntil) { } + public NewPriceAdjustment contextId(String contextId) { + + this.contextId = contextId; + return this; + } + + /** + * Identifier of the context of this price adjustment (e.g. summer sale). + * @return contextId + **/ + @javax.annotation.Nullable + @ApiModelProperty(example = "Summer2025", value = "Identifier of the context of this price adjustment (e.g. summer sale).") + + public String getContextId() { + return contextId; + } + + + public void setContextId(String contextId) { + this.contextId = contextId; + } + + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -206,12 +233,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.referenceId, newPriceAdjustment.referenceId) && Objects.equals(this.calculatedAt, newPriceAdjustment.calculatedAt) && Objects.equals(this.effectiveFrom, newPriceAdjustment.effectiveFrom) && - Objects.equals(this.effectiveUntil, newPriceAdjustment.effectiveUntil); + Objects.equals(this.effectiveUntil, newPriceAdjustment.effectiveUntil) && + Objects.equals(this.contextId, newPriceAdjustment.contextId); } @Override public int hashCode() { - return Objects.hash(priceType, price, referenceId, calculatedAt, effectiveFrom, effectiveUntil); + return Objects.hash(priceType, price, referenceId, calculatedAt, effectiveFrom, effectiveUntil, contextId); } @@ -225,6 +253,7 @@ public String toString() { sb.append(" calculatedAt: ").append(toIndentedString(calculatedAt)).append("\n"); sb.append(" effectiveFrom: ").append(toIndentedString(effectiveFrom)).append("\n"); sb.append(" effectiveUntil: ").append(toIndentedString(effectiveUntil)).append("\n"); + sb.append(" contextId: ").append(toIndentedString(contextId)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/one/talon/model/NewPriceType.java b/src/main/java/one/talon/model/NewPriceType.java index fea954a4..d757157e 100644 --- a/src/main/java/one/talon/model/NewPriceType.java +++ b/src/main/java/one/talon/model/NewPriceType.java @@ -77,10 +77,10 @@ public NewPriceType title(String title) { } /** - * The title of the price type. + * The name displayed in the Campaign Manager for the price type. * @return title **/ - @ApiModelProperty(example = "Member Price", required = true, value = "The title of the price type.") + @ApiModelProperty(example = "Member Price", required = true, value = "The name displayed in the Campaign Manager for the price type.") public String getTitle() { return title; @@ -99,11 +99,11 @@ public NewPriceType description(String description) { } /** - * The description of the price type. + * A description of the price type. * @return description **/ @javax.annotation.Nullable - @ApiModelProperty(example = "Price available exclusively to members.", value = "The description of the price type.") + @ApiModelProperty(example = "The price available exclusively to members.", value = "A description of the price type.") public String getDescription() { return description; @@ -130,11 +130,11 @@ public NewPriceType addTargetedAudiencesIdsItem(Long targetedAudiencesIdsItem) { } /** - * A list of the IDs of the audiences that are targeted by this price type. + * A list of the IDs of the audiences targeted by this price type. * @return targetedAudiencesIds **/ @javax.annotation.Nullable - @ApiModelProperty(example = "[1, 2, 3]", value = "A list of the IDs of the audiences that are targeted by this price type.") + @ApiModelProperty(example = "[1, 2, 3]", value = "A list of the IDs of the audiences targeted by this price type.") public List getTargetedAudiencesIds() { return targetedAudiencesIds; diff --git a/src/main/java/one/talon/model/PriceDetail.java b/src/main/java/one/talon/model/PriceDetail.java index 80ecaf93..08305f2a 100644 --- a/src/main/java/one/talon/model/PriceDetail.java +++ b/src/main/java/one/talon/model/PriceDetail.java @@ -35,6 +35,10 @@ public class PriceDetail { @SerializedName(SERIALIZED_NAME_PRICE) private Float price; + public static final String SERIALIZED_NAME_ADJUSTMENT_CONTEXT_ID = "adjustmentContextId"; + @SerializedName(SERIALIZED_NAME_ADJUSTMENT_CONTEXT_ID) + private String adjustmentContextId; + public static final String SERIALIZED_NAME_ADJUSTMENT_REFERENCE_ID = "adjustmentReferenceId"; @SerializedName(SERIALIZED_NAME_ADJUSTMENT_REFERENCE_ID) private UUID adjustmentReferenceId; @@ -71,6 +75,29 @@ public void setPrice(Float price) { } + public PriceDetail adjustmentContextId(String adjustmentContextId) { + + this.adjustmentContextId = adjustmentContextId; + return this; + } + + /** + * The context identifier of the selected price adjustment. + * @return adjustmentContextId + **/ + @javax.annotation.Nullable + @ApiModelProperty(example = "summer25", value = "The context identifier of the selected price adjustment.") + + public String getAdjustmentContextId() { + return adjustmentContextId; + } + + + public void setAdjustmentContextId(String adjustmentContextId) { + this.adjustmentContextId = adjustmentContextId; + } + + public PriceDetail adjustmentReferenceId(UUID adjustmentReferenceId) { this.adjustmentReferenceId = adjustmentReferenceId; @@ -150,6 +177,7 @@ public boolean equals(java.lang.Object o) { } PriceDetail priceDetail = (PriceDetail) o; return Objects.equals(this.price, priceDetail.price) && + Objects.equals(this.adjustmentContextId, priceDetail.adjustmentContextId) && Objects.equals(this.adjustmentReferenceId, priceDetail.adjustmentReferenceId) && Objects.equals(this.adjustmentEffectiveFrom, priceDetail.adjustmentEffectiveFrom) && Objects.equals(this.adjustmentEffectiveUntil, priceDetail.adjustmentEffectiveUntil); @@ -157,7 +185,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(price, adjustmentReferenceId, adjustmentEffectiveFrom, adjustmentEffectiveUntil); + return Objects.hash(price, adjustmentContextId, adjustmentReferenceId, adjustmentEffectiveFrom, adjustmentEffectiveUntil); } @@ -166,6 +194,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PriceDetail {\n"); sb.append(" price: ").append(toIndentedString(price)).append("\n"); + sb.append(" adjustmentContextId: ").append(toIndentedString(adjustmentContextId)).append("\n"); sb.append(" adjustmentReferenceId: ").append(toIndentedString(adjustmentReferenceId)).append("\n"); sb.append(" adjustmentEffectiveFrom: ").append(toIndentedString(adjustmentEffectiveFrom)).append("\n"); sb.append(" adjustmentEffectiveUntil: ").append(toIndentedString(adjustmentEffectiveUntil)).append("\n"); diff --git a/src/main/java/one/talon/model/PriceType.java b/src/main/java/one/talon/model/PriceType.java index 5a11e696..2de3123f 100644 --- a/src/main/java/one/talon/model/PriceType.java +++ b/src/main/java/one/talon/model/PriceType.java @@ -165,10 +165,10 @@ public PriceType title(String title) { } /** - * The title of the price type. + * The name displayed in the Campaign Manager for the price type. * @return title **/ - @ApiModelProperty(example = "Member Price", required = true, value = "The title of the price type.") + @ApiModelProperty(example = "Member Price", required = true, value = "The name displayed in the Campaign Manager for the price type.") public String getTitle() { return title; @@ -187,11 +187,11 @@ public PriceType description(String description) { } /** - * The description of the price type. + * A description of the price type. * @return description **/ @javax.annotation.Nullable - @ApiModelProperty(example = "Price available exclusively to members.", value = "The description of the price type.") + @ApiModelProperty(example = "The price available exclusively to members.", value = "A description of the price type.") public String getDescription() { return description; @@ -264,10 +264,10 @@ public PriceType addTargetedAudiencesIdsItem(Long targetedAudiencesIdsItem) { } /** - * A list of the IDs of the audiences that are targeted by this price type. + * A list of the IDs of the audiences targeted by this price type. * @return targetedAudiencesIds **/ - @ApiModelProperty(example = "[1, 2, 3]", required = true, value = "A list of the IDs of the audiences that are targeted by this price type.") + @ApiModelProperty(example = "[1, 2, 3]", required = true, value = "A list of the IDs of the audiences targeted by this price type.") public List getTargetedAudiencesIds() { return targetedAudiencesIds; diff --git a/src/main/java/one/talon/model/PriceTypeReferenceDetail.java b/src/main/java/one/talon/model/PriceTypeReferenceDetail.java new file mode 100644 index 00000000..a038850a --- /dev/null +++ b/src/main/java/one/talon/model/PriceTypeReferenceDetail.java @@ -0,0 +1,232 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * PriceTypeReferenceDetail + */ + +public class PriceTypeReferenceDetail { + /** + * The entity type that references the price type. For example, a campaign or an Application cart item filter. + */ + @JsonAdapter(ReferencingTypeEnum.Adapter.class) + public enum ReferencingTypeEnum { + CAMPAIGN("Campaign"), + + APPLICATIONCARTITEMFILTER("ApplicationCartItemFilter"), + + TEMPLATE("Template"); + + private String value; + + ReferencingTypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ReferencingTypeEnum fromValue(String value) { + for (ReferencingTypeEnum b : ReferencingTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ReferencingTypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ReferencingTypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ReferencingTypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_REFERENCING_TYPE = "referencingType"; + @SerializedName(SERIALIZED_NAME_REFERENCING_TYPE) + private ReferencingTypeEnum referencingType; + + public static final String SERIALIZED_NAME_REFERENCING_ID = "referencingId"; + @SerializedName(SERIALIZED_NAME_REFERENCING_ID) + private Long referencingId; + + public static final String SERIALIZED_NAME_REFERENCING_NAME = "referencingName"; + @SerializedName(SERIALIZED_NAME_REFERENCING_NAME) + private String referencingName; + + public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; + @SerializedName(SERIALIZED_NAME_APPLICATION_ID) + private Long applicationId; + + + public PriceTypeReferenceDetail referencingType(ReferencingTypeEnum referencingType) { + + this.referencingType = referencingType; + return this; + } + + /** + * The entity type that references the price type. For example, a campaign or an Application cart item filter. + * @return referencingType + **/ + @ApiModelProperty(required = true, value = "The entity type that references the price type. For example, a campaign or an Application cart item filter.") + + public ReferencingTypeEnum getReferencingType() { + return referencingType; + } + + + public void setReferencingType(ReferencingTypeEnum referencingType) { + this.referencingType = referencingType; + } + + + public PriceTypeReferenceDetail referencingId(Long referencingId) { + + this.referencingId = referencingId; + return this; + } + + /** + * The ID of the entity that references the price type. + * @return referencingId + **/ + @ApiModelProperty(example = "1", required = true, value = "The ID of the entity that references the price type.") + + public Long getReferencingId() { + return referencingId; + } + + + public void setReferencingId(Long referencingId) { + this.referencingId = referencingId; + } + + + public PriceTypeReferenceDetail referencingName(String referencingName) { + + this.referencingName = referencingName; + return this; + } + + /** + * The name of the entity that references the price type. + * @return referencingName + **/ + @ApiModelProperty(example = "Summer promotions", required = true, value = "The name of the entity that references the price type.") + + public String getReferencingName() { + return referencingName; + } + + + public void setReferencingName(String referencingName) { + this.referencingName = referencingName; + } + + + public PriceTypeReferenceDetail applicationId(Long applicationId) { + + this.applicationId = applicationId; + return this; + } + + /** + * The ID of the Application that contains the entity that references the price type. + * @return applicationId + **/ + @javax.annotation.Nullable + @ApiModelProperty(example = "322", value = "The ID of the Application that contains the entity that references the price type.") + + public Long getApplicationId() { + return applicationId; + } + + + public void setApplicationId(Long applicationId) { + this.applicationId = applicationId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PriceTypeReferenceDetail priceTypeReferenceDetail = (PriceTypeReferenceDetail) o; + return Objects.equals(this.referencingType, priceTypeReferenceDetail.referencingType) && + Objects.equals(this.referencingId, priceTypeReferenceDetail.referencingId) && + Objects.equals(this.referencingName, priceTypeReferenceDetail.referencingName) && + Objects.equals(this.applicationId, priceTypeReferenceDetail.applicationId); + } + + @Override + public int hashCode() { + return Objects.hash(referencingType, referencingId, referencingName, applicationId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PriceTypeReferenceDetail {\n"); + sb.append(" referencingType: ").append(toIndentedString(referencingType)).append("\n"); + sb.append(" referencingId: ").append(toIndentedString(referencingId)).append("\n"); + sb.append(" referencingName: ").append(toIndentedString(referencingName)).append("\n"); + sb.append(" applicationId: ").append(toIndentedString(applicationId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/one/talon/model/PriceTypeReferences.java b/src/main/java/one/talon/model/PriceTypeReferences.java new file mode 100644 index 00000000..ca7b02c9 --- /dev/null +++ b/src/main/java/one/talon/model/PriceTypeReferences.java @@ -0,0 +1,138 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import one.talon.model.PriceTypeReferenceDetail; + +/** + * PriceTypeReferences + */ + +public class PriceTypeReferences { + public static final String SERIALIZED_NAME_PRICE_TYPE_ID = "priceTypeId"; + @SerializedName(SERIALIZED_NAME_PRICE_TYPE_ID) + private Long priceTypeId; + + public static final String SERIALIZED_NAME_REFERENCES = "references"; + @SerializedName(SERIALIZED_NAME_REFERENCES) + private List references = null; + + + public PriceTypeReferences priceTypeId(Long priceTypeId) { + + this.priceTypeId = priceTypeId; + return this; + } + + /** + * The ID of the price type. + * @return priceTypeId + **/ + @ApiModelProperty(example = "6", required = true, value = "The ID of the price type.") + + public Long getPriceTypeId() { + return priceTypeId; + } + + + public void setPriceTypeId(Long priceTypeId) { + this.priceTypeId = priceTypeId; + } + + + public PriceTypeReferences references(List references) { + + this.references = references; + return this; + } + + public PriceTypeReferences addReferencesItem(PriceTypeReferenceDetail referencesItem) { + if (this.references == null) { + this.references = new ArrayList(); + } + this.references.add(referencesItem); + return this; + } + + /** + * A list of entities that reference the price type, including details about the entities. + * @return references + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "A list of entities that reference the price type, including details about the entities.") + + public List getReferences() { + return references; + } + + + public void setReferences(List references) { + this.references = references; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PriceTypeReferences priceTypeReferences = (PriceTypeReferences) o; + return Objects.equals(this.priceTypeId, priceTypeReferences.priceTypeId) && + Objects.equals(this.references, priceTypeReferences.references); + } + + @Override + public int hashCode() { + return Objects.hash(priceTypeId, references); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PriceTypeReferences {\n"); + sb.append(" priceTypeId: ").append(toIndentedString(priceTypeId)).append("\n"); + sb.append(" references: ").append(toIndentedString(references)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/one/talon/model/RoleV2RolesGroup.java b/src/main/java/one/talon/model/RoleV2RolesGroup.java index e2aa9fa1..ab2d2cdd 100644 --- a/src/main/java/one/talon/model/RoleV2RolesGroup.java +++ b/src/main/java/one/talon/model/RoleV2RolesGroup.java @@ -45,6 +45,10 @@ public class RoleV2RolesGroup { @SerializedName(SERIALIZED_NAME_CAMPAIGN_ACCESS_GROUPS) private Map campaignAccessGroups = null; + public static final String SERIALIZED_NAME_ACCOUNT = "account"; + @SerializedName(SERIALIZED_NAME_ACCOUNT) + private String account; + public RoleV2RolesGroup applications(Map applications) { @@ -139,6 +143,29 @@ public void setCampaignAccessGroups(Map campaignAccessGroups) { } + public RoleV2RolesGroup account(String account) { + + this.account = account; + return this; + } + + /** + * Name of the account-level permission set + * @return account + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Name of the account-level permission set") + + public String getAccount() { + return account; + } + + + public void setAccount(String account) { + this.account = account; + } + + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -150,12 +177,13 @@ public boolean equals(java.lang.Object o) { RoleV2RolesGroup roleV2RolesGroup = (RoleV2RolesGroup) o; return Objects.equals(this.applications, roleV2RolesGroup.applications) && Objects.equals(this.loyaltyPrograms, roleV2RolesGroup.loyaltyPrograms) && - Objects.equals(this.campaignAccessGroups, roleV2RolesGroup.campaignAccessGroups); + Objects.equals(this.campaignAccessGroups, roleV2RolesGroup.campaignAccessGroups) && + Objects.equals(this.account, roleV2RolesGroup.account); } @Override public int hashCode() { - return Objects.hash(applications, loyaltyPrograms, campaignAccessGroups); + return Objects.hash(applications, loyaltyPrograms, campaignAccessGroups, account); } @@ -166,6 +194,7 @@ public String toString() { sb.append(" applications: ").append(toIndentedString(applications)).append("\n"); sb.append(" loyaltyPrograms: ").append(toIndentedString(loyaltyPrograms)).append("\n"); sb.append(" campaignAccessGroups: ").append(toIndentedString(campaignAccessGroups)).append("\n"); + sb.append(" account: ").append(toIndentedString(account)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/one/talon/model/SetLoyaltyPointsExpiryDateEffectProps.java b/src/main/java/one/talon/model/SetLoyaltyPointsExpiryDateEffectProps.java new file mode 100644 index 00000000..1c6a466b --- /dev/null +++ b/src/main/java/one/talon/model/SetLoyaltyPointsExpiryDateEffectProps.java @@ -0,0 +1,196 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import one.talon.model.LoyaltyLedgerEntryExpiryDateChange; +import org.threeten.bp.OffsetDateTime; + +/** + * The properties specific to the \"setLoyaltyPointsExpiryDate\" effect. This gets triggered when a validated rule contains the \"set expiry date\" effect. The current expiry date gets set to the date given in the effect. + */ +@ApiModel(description = "The properties specific to the \"setLoyaltyPointsExpiryDate\" effect. This gets triggered when a validated rule contains the \"set expiry date\" effect. The current expiry date gets set to the date given in the effect. ") + +public class SetLoyaltyPointsExpiryDateEffectProps { + public static final String SERIALIZED_NAME_PROGRAM_ID = "programId"; + @SerializedName(SERIALIZED_NAME_PROGRAM_ID) + private Long programId; + + public static final String SERIALIZED_NAME_SUB_LEDGER_ID = "subLedgerId"; + @SerializedName(SERIALIZED_NAME_SUB_LEDGER_ID) + private String subLedgerId; + + public static final String SERIALIZED_NAME_NEW_EXPIRY_DATE = "newExpiryDate"; + @SerializedName(SERIALIZED_NAME_NEW_EXPIRY_DATE) + private OffsetDateTime newExpiryDate; + + public static final String SERIALIZED_NAME_AFFECTED_TRANSACTIONS = "affectedTransactions"; + @SerializedName(SERIALIZED_NAME_AFFECTED_TRANSACTIONS) + private List affectedTransactions = null; + + + public SetLoyaltyPointsExpiryDateEffectProps programId(Long programId) { + + this.programId = programId; + return this; + } + + /** + * ID of the loyalty program that contains these points. + * @return programId + **/ + @ApiModelProperty(required = true, value = "ID of the loyalty program that contains these points.") + + public Long getProgramId() { + return programId; + } + + + public void setProgramId(Long programId) { + this.programId = programId; + } + + + public SetLoyaltyPointsExpiryDateEffectProps subLedgerId(String subLedgerId) { + + this.subLedgerId = subLedgerId; + return this; + } + + /** + * API name of the loyalty program subledger that contains these points. + * @return subLedgerId + **/ + @ApiModelProperty(required = true, value = "API name of the loyalty program subledger that contains these points.") + + public String getSubLedgerId() { + return subLedgerId; + } + + + public void setSubLedgerId(String subLedgerId) { + this.subLedgerId = subLedgerId; + } + + + public SetLoyaltyPointsExpiryDateEffectProps newExpiryDate(OffsetDateTime newExpiryDate) { + + this.newExpiryDate = newExpiryDate; + return this; + } + + /** + * The specified expiry date and time for all active and pending point transactions in the loyalty program subledger. + * @return newExpiryDate + **/ + @ApiModelProperty(example = "2024-07-24T14:15:22Z", required = true, value = "The specified expiry date and time for all active and pending point transactions in the loyalty program subledger.") + + public OffsetDateTime getNewExpiryDate() { + return newExpiryDate; + } + + + public void setNewExpiryDate(OffsetDateTime newExpiryDate) { + this.newExpiryDate = newExpiryDate; + } + + + public SetLoyaltyPointsExpiryDateEffectProps affectedTransactions(List affectedTransactions) { + + this.affectedTransactions = affectedTransactions; + return this; + } + + public SetLoyaltyPointsExpiryDateEffectProps addAffectedTransactionsItem(LoyaltyLedgerEntryExpiryDateChange affectedTransactionsItem) { + if (this.affectedTransactions == null) { + this.affectedTransactions = new ArrayList(); + } + this.affectedTransactions.add(affectedTransactionsItem); + return this; + } + + /** + * List of transactions affected by the expiry date update. + * @return affectedTransactions + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "List of transactions affected by the expiry date update.") + + public List getAffectedTransactions() { + return affectedTransactions; + } + + + public void setAffectedTransactions(List affectedTransactions) { + this.affectedTransactions = affectedTransactions; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SetLoyaltyPointsExpiryDateEffectProps setLoyaltyPointsExpiryDateEffectProps = (SetLoyaltyPointsExpiryDateEffectProps) o; + return Objects.equals(this.programId, setLoyaltyPointsExpiryDateEffectProps.programId) && + Objects.equals(this.subLedgerId, setLoyaltyPointsExpiryDateEffectProps.subLedgerId) && + Objects.equals(this.newExpiryDate, setLoyaltyPointsExpiryDateEffectProps.newExpiryDate) && + Objects.equals(this.affectedTransactions, setLoyaltyPointsExpiryDateEffectProps.affectedTransactions); + } + + @Override + public int hashCode() { + return Objects.hash(programId, subLedgerId, newExpiryDate, affectedTransactions); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SetLoyaltyPointsExpiryDateEffectProps {\n"); + sb.append(" programId: ").append(toIndentedString(programId)).append("\n"); + sb.append(" subLedgerId: ").append(toIndentedString(subLedgerId)).append("\n"); + sb.append(" newExpiryDate: ").append(toIndentedString(newExpiryDate)).append("\n"); + sb.append(" affectedTransactions: ").append(toIndentedString(affectedTransactions)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/one/talon/model/StrikethroughChangedItem.java b/src/main/java/one/talon/model/StrikethroughChangedItem.java index 54f2277a..1a75a350 100644 --- a/src/main/java/one/talon/model/StrikethroughChangedItem.java +++ b/src/main/java/one/talon/model/StrikethroughChangedItem.java @@ -25,7 +25,10 @@ import java.io.IOException; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.HashMap; import java.util.List; +import java.util.Map; +import one.talon.model.PriceDetail; import one.talon.model.StrikethroughEffect; import org.threeten.bp.OffsetDateTime; @@ -55,6 +58,10 @@ public class StrikethroughChangedItem { @SerializedName(SERIALIZED_NAME_PRICE) private BigDecimal price; + public static final String SERIALIZED_NAME_PRICES = "prices"; + @SerializedName(SERIALIZED_NAME_PRICES) + private Map prices = null; + public static final String SERIALIZED_NAME_EVALUATED_AT = "evaluatedAt"; @SerializedName(SERIALIZED_NAME_EVALUATED_AT) private OffsetDateTime evaluatedAt; @@ -175,6 +182,37 @@ public void setPrice(BigDecimal price) { } + public StrikethroughChangedItem prices(Map prices) { + + this.prices = prices; + return this; + } + + public StrikethroughChangedItem putPricesItem(String key, PriceDetail pricesItem) { + if (this.prices == null) { + this.prices = new HashMap(); + } + this.prices.put(key, pricesItem); + return this; + } + + /** + * 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. + * @return prices + **/ + @javax.annotation.Nullable + @ApiModelProperty(example = "{\"member\":{\"price\":90,\"adjustmentReferenceId\":\"68851723-e6fa-488f-ace9-112581e6c19b\",\"adjustmentEffectiveFrom\":\"2025-05-25T00:00:00Z\",\"adjustmentEffectiveUntil\":\"2025-05-30T00:00:00Z\"},\"base\":{\"price\":100}}", value = "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. ") + + public Map getPrices() { + return prices; + } + + + public void setPrices(Map prices) { + this.prices = prices; + } + + public StrikethroughChangedItem evaluatedAt(OffsetDateTime evaluatedAt) { this.evaluatedAt = evaluatedAt; @@ -242,13 +280,14 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.sku, strikethroughChangedItem.sku) && Objects.equals(this.version, strikethroughChangedItem.version) && Objects.equals(this.price, strikethroughChangedItem.price) && + Objects.equals(this.prices, strikethroughChangedItem.prices) && Objects.equals(this.evaluatedAt, strikethroughChangedItem.evaluatedAt) && Objects.equals(this.effects, strikethroughChangedItem.effects); } @Override public int hashCode() { - return Objects.hash(id, catalogId, sku, version, price, evaluatedAt, effects); + return Objects.hash(id, catalogId, sku, version, price, prices, evaluatedAt, effects); } @@ -261,6 +300,7 @@ public String toString() { sb.append(" sku: ").append(toIndentedString(sku)).append("\n"); sb.append(" version: ").append(toIndentedString(version)).append("\n"); sb.append(" price: ").append(toIndentedString(price)).append("\n"); + sb.append(" prices: ").append(toIndentedString(prices)).append("\n"); sb.append(" evaluatedAt: ").append(toIndentedString(evaluatedAt)).append("\n"); sb.append(" effects: ").append(toIndentedString(effects)).append("\n"); sb.append("}"); diff --git a/src/main/java/one/talon/model/StrikethroughEffect.java b/src/main/java/one/talon/model/StrikethroughEffect.java index 8e090272..a60e01d0 100644 --- a/src/main/java/one/talon/model/StrikethroughEffect.java +++ b/src/main/java/one/talon/model/StrikethroughEffect.java @@ -23,6 +23,9 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; import org.threeten.bp.OffsetDateTime; /** @@ -63,6 +66,22 @@ public class StrikethroughEffect { @SerializedName(SERIALIZED_NAME_END_TIME) private OffsetDateTime endTime; + public static final String SERIALIZED_NAME_SELECTED_PRICE_TYPE = "selectedPriceType"; + @SerializedName(SERIALIZED_NAME_SELECTED_PRICE_TYPE) + private String selectedPriceType; + + public static final String SERIALIZED_NAME_SELECTED_PRICE = "selectedPrice"; + @SerializedName(SERIALIZED_NAME_SELECTED_PRICE) + private BigDecimal selectedPrice; + + public static final String SERIALIZED_NAME_ADJUSTMENT_REFERENCE_ID = "adjustmentReferenceId"; + @SerializedName(SERIALIZED_NAME_ADJUSTMENT_REFERENCE_ID) + private String adjustmentReferenceId; + + public static final String SERIALIZED_NAME_TARGETS = "targets"; + @SerializedName(SERIALIZED_NAME_TARGETS) + private List targets = null; + public StrikethroughEffect campaignId(Long campaignId) { @@ -242,6 +261,106 @@ public void setEndTime(OffsetDateTime endTime) { } + public StrikethroughEffect selectedPriceType(String selectedPriceType) { + + this.selectedPriceType = selectedPriceType; + return this; + } + + /** + * The selected price type for this cart item (e.g. the price for members only). + * @return selectedPriceType + **/ + @javax.annotation.Nullable + @ApiModelProperty(example = "member", value = "The selected price type for this cart item (e.g. the price for members only).") + + public String getSelectedPriceType() { + return selectedPriceType; + } + + + public void setSelectedPriceType(String selectedPriceType) { + this.selectedPriceType = selectedPriceType; + } + + + public StrikethroughEffect selectedPrice(BigDecimal selectedPrice) { + + this.selectedPrice = selectedPrice; + return this; + } + + /** + * The value of the selected price type to apply to the SKU targeted by this effect, before any discounts are applied. + * @return selectedPrice + **/ + @javax.annotation.Nullable + @ApiModelProperty(example = "100.0", value = "The value of the selected price type to apply to the SKU targeted by this effect, before any discounts are applied.") + + public BigDecimal getSelectedPrice() { + return selectedPrice; + } + + + public void setSelectedPrice(BigDecimal selectedPrice) { + this.selectedPrice = selectedPrice; + } + + + public StrikethroughEffect adjustmentReferenceId(String adjustmentReferenceId) { + + this.adjustmentReferenceId = adjustmentReferenceId; + return this; + } + + /** + * The reference identifier of the selected price adjustment for this cart item. + * @return adjustmentReferenceId + **/ + @javax.annotation.Nullable + @ApiModelProperty(example = "68851723-e6fa-488f-ace9-112581e6c19b", value = "The reference identifier of the selected price adjustment for this cart item.") + + public String getAdjustmentReferenceId() { + return adjustmentReferenceId; + } + + + public void setAdjustmentReferenceId(String adjustmentReferenceId) { + this.adjustmentReferenceId = adjustmentReferenceId; + } + + + public StrikethroughEffect targets(List targets) { + + this.targets = targets; + return this; + } + + public StrikethroughEffect addTargetsItem(Object targetsItem) { + if (this.targets == null) { + this.targets = new ArrayList(); + } + this.targets.add(targetsItem); + return this; + } + + /** + * A list of entities (e.g. audiences) targeted by this effect. + * @return targets + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "A list of entities (e.g. audiences) targeted by this effect.") + + public List getTargets() { + return targets; + } + + + public void setTargets(List targets) { + this.targets = targets; + } + + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -258,12 +377,16 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.type, strikethroughEffect.type) && Objects.equals(this.props, strikethroughEffect.props) && Objects.equals(this.startTime, strikethroughEffect.startTime) && - Objects.equals(this.endTime, strikethroughEffect.endTime); + Objects.equals(this.endTime, strikethroughEffect.endTime) && + Objects.equals(this.selectedPriceType, strikethroughEffect.selectedPriceType) && + Objects.equals(this.selectedPrice, strikethroughEffect.selectedPrice) && + Objects.equals(this.adjustmentReferenceId, strikethroughEffect.adjustmentReferenceId) && + Objects.equals(this.targets, strikethroughEffect.targets); } @Override public int hashCode() { - return Objects.hash(campaignId, rulesetId, ruleIndex, ruleName, type, props, startTime, endTime); + return Objects.hash(campaignId, rulesetId, ruleIndex, ruleName, type, props, startTime, endTime, selectedPriceType, selectedPrice, adjustmentReferenceId, targets); } @@ -279,6 +402,10 @@ public String toString() { sb.append(" props: ").append(toIndentedString(props)).append("\n"); sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n"); sb.append(" endTime: ").append(toIndentedString(endTime)).append("\n"); + sb.append(" selectedPriceType: ").append(toIndentedString(selectedPriceType)).append("\n"); + sb.append(" selectedPrice: ").append(toIndentedString(selectedPrice)).append("\n"); + sb.append(" adjustmentReferenceId: ").append(toIndentedString(adjustmentReferenceId)).append("\n"); + sb.append(" targets: ").append(toIndentedString(targets)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/one/talon/model/StrikethroughLabelingNotification.java b/src/main/java/one/talon/model/StrikethroughLabelingNotification.java index fb6f01d8..e15940c0 100644 --- a/src/main/java/one/talon/model/StrikethroughLabelingNotification.java +++ b/src/main/java/one/talon/model/StrikethroughLabelingNotification.java @@ -108,6 +108,10 @@ public VersionEnum read(final JsonReader jsonReader) throws IOException { @SerializedName(SERIALIZED_NAME_CHANGED_ITEMS) private List changedItems = new ArrayList(); + public static final String SERIALIZED_NAME_NOTIFICATION_TYPE = "NotificationType"; + @SerializedName(SERIALIZED_NAME_NOTIFICATION_TYPE) + private String notificationType; + public StrikethroughLabelingNotification version(VersionEnum version) { @@ -270,6 +274,28 @@ public void setChangedItems(List changedItems) { } + public StrikethroughLabelingNotification notificationType(String notificationType) { + + this.notificationType = notificationType; + return this; + } + + /** + * The type of the notification + * @return notificationType + **/ + @ApiModelProperty(required = true, value = "The type of the notification") + + public String getNotificationType() { + return notificationType; + } + + + public void setNotificationType(String notificationType) { + this.notificationType = notificationType; + } + + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -285,12 +311,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.currentBatch, strikethroughLabelingNotification.currentBatch) && Objects.equals(this.totalBatches, strikethroughLabelingNotification.totalBatches) && Objects.equals(this.trigger, strikethroughLabelingNotification.trigger) && - Objects.equals(this.changedItems, strikethroughLabelingNotification.changedItems); + Objects.equals(this.changedItems, strikethroughLabelingNotification.changedItems) && + Objects.equals(this.notificationType, strikethroughLabelingNotification.notificationType); } @Override public int hashCode() { - return Objects.hash(version, validFrom, applicationId, currentBatch, totalBatches, trigger, changedItems); + return Objects.hash(version, validFrom, applicationId, currentBatch, totalBatches, trigger, changedItems, notificationType); } @@ -305,6 +332,7 @@ public String toString() { sb.append(" totalBatches: ").append(toIndentedString(totalBatches)).append("\n"); sb.append(" trigger: ").append(toIndentedString(trigger)).append("\n"); sb.append(" changedItems: ").append(toIndentedString(changedItems)).append("\n"); + sb.append(" notificationType: ").append(toIndentedString(notificationType)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/one/talon/model/UpdateAchievement.java b/src/main/java/one/talon/model/UpdateAchievement.java index 7c98c809..0a77ade5 100644 --- a/src/main/java/one/talon/model/UpdateAchievement.java +++ b/src/main/java/one/talon/model/UpdateAchievement.java @@ -168,6 +168,10 @@ public ActivationPolicyEnum read(final JsonReader jsonReader) throws IOException @SerializedName(SERIALIZED_NAME_END_DATE) private OffsetDateTime endDate; + public static final String SERIALIZED_NAME_ALLOW_ROLLBACK_AFTER_COMPLETION = "allowRollbackAfterCompletion"; + @SerializedName(SERIALIZED_NAME_ALLOW_ROLLBACK_AFTER_COMPLETION) + private Boolean allowRollbackAfterCompletion; + public UpdateAchievement name(String name) { @@ -399,6 +403,29 @@ public void setEndDate(OffsetDateTime endDate) { } + public UpdateAchievement allowRollbackAfterCompletion(Boolean allowRollbackAfterCompletion) { + + this.allowRollbackAfterCompletion = allowRollbackAfterCompletion; + return this; + } + + /** + * When `true`, customer progress can be rolled back in completed achievements. + * @return allowRollbackAfterCompletion + **/ + @javax.annotation.Nullable + @ApiModelProperty(example = "false", value = "When `true`, customer progress can be rolled back in completed achievements.") + + public Boolean getAllowRollbackAfterCompletion() { + return allowRollbackAfterCompletion; + } + + + public void setAllowRollbackAfterCompletion(Boolean allowRollbackAfterCompletion) { + this.allowRollbackAfterCompletion = allowRollbackAfterCompletion; + } + + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -417,12 +444,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.recurrencePolicy, updateAchievement.recurrencePolicy) && Objects.equals(this.activationPolicy, updateAchievement.activationPolicy) && Objects.equals(this.fixedStartDate, updateAchievement.fixedStartDate) && - Objects.equals(this.endDate, updateAchievement.endDate); + Objects.equals(this.endDate, updateAchievement.endDate) && + Objects.equals(this.allowRollbackAfterCompletion, updateAchievement.allowRollbackAfterCompletion); } @Override public int hashCode() { - return Objects.hash(name, title, description, target, period, periodEndOverride, recurrencePolicy, activationPolicy, fixedStartDate, endDate); + return Objects.hash(name, title, description, target, period, periodEndOverride, recurrencePolicy, activationPolicy, fixedStartDate, endDate, allowRollbackAfterCompletion); } @@ -440,6 +468,7 @@ public String toString() { sb.append(" activationPolicy: ").append(toIndentedString(activationPolicy)).append("\n"); sb.append(" fixedStartDate: ").append(toIndentedString(fixedStartDate)).append("\n"); sb.append(" endDate: ").append(toIndentedString(endDate)).append("\n"); + sb.append(" allowRollbackAfterCompletion: ").append(toIndentedString(allowRollbackAfterCompletion)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/one/talon/model/UpdateCouponsData.java b/src/main/java/one/talon/model/UpdateCouponsData.java index b34fc848..9af59b51 100644 --- a/src/main/java/one/talon/model/UpdateCouponsData.java +++ b/src/main/java/one/talon/model/UpdateCouponsData.java @@ -53,6 +53,10 @@ public class UpdateCouponsData { @SerializedName(SERIALIZED_NAME_EMPLOYEE_NAME) private String employeeName; + public static final String SERIALIZED_NAME_NOTIFICATION_TYPE = "NotificationType"; + @SerializedName(SERIALIZED_NAME_NOTIFICATION_TYPE) + private String notificationType; + public UpdateCouponsData batchID(String batchID) { @@ -186,6 +190,28 @@ public void setEmployeeName(String employeeName) { } + public UpdateCouponsData notificationType(String notificationType) { + + this.notificationType = notificationType; + return this; + } + + /** + * The type of the notification + * @return notificationType + **/ + @ApiModelProperty(required = true, value = "The type of the notification") + + public String getNotificationType() { + return notificationType; + } + + + public void setNotificationType(String notificationType) { + this.notificationType = notificationType; + } + + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -200,12 +226,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.campaignID, updateCouponsData.campaignID) && Objects.equals(this.typeOfChange, updateCouponsData.typeOfChange) && Objects.equals(this.operation, updateCouponsData.operation) && - Objects.equals(this.employeeName, updateCouponsData.employeeName); + Objects.equals(this.employeeName, updateCouponsData.employeeName) && + Objects.equals(this.notificationType, updateCouponsData.notificationType); } @Override public int hashCode() { - return Objects.hash(batchID, applicationID, campaignID, typeOfChange, operation, employeeName); + return Objects.hash(batchID, applicationID, campaignID, typeOfChange, operation, employeeName, notificationType); } @@ -219,6 +246,7 @@ public String toString() { sb.append(" typeOfChange: ").append(toIndentedString(typeOfChange)).append("\n"); sb.append(" operation: ").append(toIndentedString(operation)).append("\n"); sb.append(" employeeName: ").append(toIndentedString(employeeName)).append("\n"); + sb.append(" notificationType: ").append(toIndentedString(notificationType)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/one/talon/model/UpdateLoyaltyProgram.java b/src/main/java/one/talon/model/UpdateLoyaltyProgram.java index 94731980..49bfb3e0 100644 --- a/src/main/java/one/talon/model/UpdateLoyaltyProgram.java +++ b/src/main/java/one/talon/model/UpdateLoyaltyProgram.java @@ -403,11 +403,11 @@ public UpdateLoyaltyProgram defaultPending(String defaultPending) { } /** - * 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. + * The default duration of the pending time after which points should be valid. Accepted values: 'immediate', 'on_action' 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. * @return defaultPending **/ @javax.annotation.Nullable - @ApiModelProperty(example = "immediate", value = "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. ") + @ApiModelProperty(example = "immediate", value = "The default duration of the pending time after which points should be valid. Accepted values: 'immediate', 'on_action' 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. ") public String getDefaultPending() { return defaultPending; diff --git a/src/main/java/one/talon/model/UpdatePriceType.java b/src/main/java/one/talon/model/UpdatePriceType.java new file mode 100644 index 00000000..daafb0e9 --- /dev/null +++ b/src/main/java/one/talon/model/UpdatePriceType.java @@ -0,0 +1,162 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * UpdatePriceType + */ + +public class UpdatePriceType { + public static final String SERIALIZED_NAME_TITLE = "title"; + @SerializedName(SERIALIZED_NAME_TITLE) + private String title; + + public static final String SERIALIZED_NAME_DESCRIPTION = "description"; + @SerializedName(SERIALIZED_NAME_DESCRIPTION) + private String description; + + public static final String SERIALIZED_NAME_TARGETED_AUDIENCES_IDS = "targetedAudiencesIds"; + @SerializedName(SERIALIZED_NAME_TARGETED_AUDIENCES_IDS) + private List targetedAudiencesIds = new ArrayList(); + + + public UpdatePriceType title(String title) { + + this.title = title; + return this; + } + + /** + * The name displayed in the Campaign Manager for the price type. + * @return title + **/ + @ApiModelProperty(example = "Member Price", required = true, value = "The name displayed in the Campaign Manager for the price type.") + + public String getTitle() { + return title; + } + + + public void setTitle(String title) { + this.title = title; + } + + + public UpdatePriceType description(String description) { + + this.description = description; + return this; + } + + /** + * A description of the price type. + * @return description + **/ + @javax.annotation.Nullable + @ApiModelProperty(example = "The price available exclusively to members.", value = "A description of the price type.") + + public String getDescription() { + return description; + } + + + public void setDescription(String description) { + this.description = description; + } + + + public UpdatePriceType targetedAudiencesIds(List targetedAudiencesIds) { + + this.targetedAudiencesIds = targetedAudiencesIds; + return this; + } + + public UpdatePriceType addTargetedAudiencesIdsItem(Long targetedAudiencesIdsItem) { + this.targetedAudiencesIds.add(targetedAudiencesIdsItem); + return this; + } + + /** + * A list of the IDs of the audiences targeted by this price type. + * @return targetedAudiencesIds + **/ + @ApiModelProperty(example = "[1, 2, 3]", required = true, value = "A list of the IDs of the audiences targeted by this price type.") + + public List getTargetedAudiencesIds() { + return targetedAudiencesIds; + } + + + public void setTargetedAudiencesIds(List targetedAudiencesIds) { + this.targetedAudiencesIds = targetedAudiencesIds; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpdatePriceType updatePriceType = (UpdatePriceType) o; + return Objects.equals(this.title, updatePriceType.title) && + Objects.equals(this.description, updatePriceType.description) && + Objects.equals(this.targetedAudiencesIds, updatePriceType.targetedAudiencesIds); + } + + @Override + public int hashCode() { + return Objects.hash(title, description, targetedAudiencesIds); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UpdatePriceType {\n"); + sb.append(" title: ").append(toIndentedString(title)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" targetedAudiencesIds: ").append(toIndentedString(targetedAudiencesIds)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/test/java/one/talon/api/IntegrationApiTest.java b/src/test/java/one/talon/api/IntegrationApiTest.java index 0407926b..5917ba42 100644 --- a/src/test/java/one/talon/api/IntegrationApiTest.java +++ b/src/test/java/one/talon/api/IntegrationApiTest.java @@ -15,6 +15,8 @@ import one.talon.ApiException; import one.talon.model.Audience; +import one.talon.model.BestPriorPrice; +import one.talon.model.BestPriorPriceRequest; import one.talon.model.Catalog; import one.talon.model.CatalogSyncRequest; import one.talon.model.Coupon; @@ -70,6 +72,22 @@ public class IntegrationApiTest { private final IntegrationApi api = new IntegrationApi(); + /** + * Fetch best prior price + * + * Returns the best prior price based on historical pricing data for the specified SKUs within a defined timeframe. + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void bestPriorPriceTest() throws ApiException { + BestPriorPriceRequest body = null; + List response = api.bestPriorPrice(body); + + // TODO: test validations + } + /** * Create audience * @@ -354,9 +372,12 @@ public void getLoyaltyCardPointsTest() throws ApiException { String loyaltyCardId = null; String status = null; List subledgerId = null; + List customerSessionIDs = null; + List transactionUUIDs = null; Long pageSize = null; Long skip = null; - InlineResponse2005 response = api.getLoyaltyCardPoints(loyaltyProgramId, loyaltyCardId, status, subledgerId, pageSize, skip); + String sort = null; + InlineResponse2005 response = api.getLoyaltyCardPoints(loyaltyProgramId, loyaltyCardId, status, subledgerId, customerSessionIDs, transactionUUIDs, pageSize, skip, sort); // TODO: test validations } @@ -377,9 +398,11 @@ public void getLoyaltyCardTransactionsTest() throws ApiException { String loyaltyTransactionType = null; OffsetDateTime startDate = null; OffsetDateTime endDate = null; + List customerSessionIDs = null; + List transactionUUIDs = null; Long pageSize = null; Long skip = null; - InlineResponse2003 response = api.getLoyaltyCardTransactions(loyaltyProgramId, loyaltyCardId, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip); + InlineResponse2003 response = api.getLoyaltyCardTransactions(loyaltyProgramId, loyaltyCardId, subledgerId, loyaltyTransactionType, startDate, endDate, customerSessionIDs, transactionUUIDs, pageSize, skip); // TODO: test validations } @@ -398,9 +421,12 @@ public void getLoyaltyProgramProfilePointsTest() throws ApiException { String integrationId = null; String status = null; String subledgerId = null; + List customerSessionIDs = null; + List transactionUUIDs = null; Long pageSize = null; Long skip = null; - InlineResponse2006 response = api.getLoyaltyProgramProfilePoints(loyaltyProgramId, integrationId, status, subledgerId, pageSize, skip); + String sort = null; + InlineResponse2006 response = api.getLoyaltyProgramProfilePoints(loyaltyProgramId, integrationId, status, subledgerId, customerSessionIDs, transactionUUIDs, pageSize, skip, sort); // TODO: test validations } @@ -417,13 +443,15 @@ public void getLoyaltyProgramProfilePointsTest() throws ApiException { public void getLoyaltyProgramProfileTransactionsTest() throws ApiException { Long loyaltyProgramId = null; String integrationId = null; + List customerSessionIDs = null; + List transactionUUIDs = null; String subledgerId = null; String loyaltyTransactionType = null; OffsetDateTime startDate = null; OffsetDateTime endDate = null; Long pageSize = null; Long skip = null; - InlineResponse2004 response = api.getLoyaltyProgramProfileTransactions(loyaltyProgramId, integrationId, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip); + InlineResponse2004 response = api.getLoyaltyProgramProfileTransactions(loyaltyProgramId, integrationId, customerSessionIDs, transactionUUIDs, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip); // TODO: test validations } @@ -465,7 +493,7 @@ public void linkLoyaltyCardToProfileTest() throws ApiException { /** * Reopen customer session * - * Reopen a closed [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). For example, if a session has been completed but still needs to be edited, you can reopen it with this endpoint. A reopen session is treated like a standard open session. When reopening a session: - The `talon_session_reopened` event is triggered. You can see it in the **Events** view in the Campaign Manager. - The session state is updated to `open`. - Modified budgets and triggered effects when the session was closed are rolled back except for the list below. <details> <summary><strong>Effects and budgets unimpacted by a session reopening</strong></summary> <div> <p>The following effects and budgets are left the way they were once the session was originally closed:</p> <ul> <li>Add free item effect</li> <li>Any <strong>non-pending</strong> loyalty points</li> <li>Award giveaway</li> <li>Coupon and referral creation</li> <li>Coupon reservation</li> <li>Custom effect</li> <li>Update attribute value</li> <li>Update cart item attribute value</li> </ul> </div> <p>To see an example of roll back, see the <a href=\"https://docs.talon.one/docs/dev/tutorials/rolling-back-effects\">Cancelling a session with campaign budgets tutorial</a>.</p> </details> **Note:** If your order workflow requires you to create a new session instead of reopening a session, use the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint to cancel a closed session and create a new one. + * Reopen a closed [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). For example, if a session has been completed but still needs to be edited, you can reopen it with this endpoint. A reopen session is treated like a standard open session. When reopening a session: - The `talon_session_reopened` event is triggered. You can see it in the **Events** view in the Campaign Manager. - The session state is updated to `open`. - Any modified budgets and triggered effects are rolled back when the session closes. - Depending on the [return policy](https://docs.talon.one/docs/product/loyalty-programs/managing-loyalty-programs#return-policy) in your loyalty programs, points are rolled back in the following ways: - Pending points are rolled back automatically. - If **Active points deduction** setting is enabled, any points that were earned and activated when the session closed are rolled back. - If **Negative balance** is enabled, the rollback can create a negative points balance. <details> <summary><strong>Effects and budgets unimpacted by a session reopening</strong></summary> <div> <p>The following effects and budgets remain in the state they were in when the session closed:</p> <ul> <li>Add free item effect</li> <li>Award giveaway</li> <li>Coupon and referral creation</li> <li>Coupon reservation</li> <li>Custom effect</li> <li>Update attribute value</li> <li>Update cart item attribute value</li> </ul> </div> </details> <p>To see an example of a rollback, see the <a href=\"https://docs.talon.one/docs/dev/tutorials/rolling-back-effects\">Cancelling a session with campaign budgets</a>tutorial.</p> **Note:** If your order workflow requires you to create a new session instead of reopening a session, use the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint to cancel a closed session and create a new one. * * @throws ApiException * if the Api call fails diff --git a/src/test/java/one/talon/api/ManagementApiTest.java b/src/test/java/one/talon/api/ManagementApiTest.java index 6c8586f6..ddf755b8 100644 --- a/src/test/java/one/talon/api/ManagementApiTest.java +++ b/src/test/java/one/talon/api/ManagementApiTest.java @@ -1091,7 +1091,7 @@ public void exportLoyaltyCardsTest() throws ApiException { /** * Export customer's transaction logs * - * Download a CSV file containing a customer's transaction logs in the loyalty program. **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 generated file can contain the following columns: - `customerprofileid`: The ID of the profile. - `customersessionid`: The ID of the customer session. - `rulesetid`: The ID of the rule set. - `rulename`: The name of the rule. - `programid`: The ID of the loyalty program. - `type`: The transaction type, such as `addition` or `subtraction`. - `name`: The reason for the transaction. - `subledgerid`: The ID of the subledger, when applicable. - `startdate`: The start date of the program. - `expirydate`: The expiration date of the program. - `id`: The ID of the transaction. - `created`: The timestamp of the creation of the loyalty program. - `amount`: The number of points in that transaction. - `archived`: Whether the session related to the transaction is archived. - `campaignid`: The ID of the campaign. - `flags`: The flags of the transaction, when applicable. The `createsNegativeBalance` flag indicates whether the transaction results in a negative balance. + * Download a CSV file containing a customer's transaction logs in the loyalty program. **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 generated file can contain the following columns: - `customerprofileid`: The ID of the profile. - `customersessionid`: The ID of the customer session. - `rulesetid`: The ID of the rule set. - `rulename`: The name of the rule. - `programid`: The ID of the loyalty program. - `type`: The transaction type, such as `addition` or `subtraction`. - `name`: The reason for the transaction. - `subledgerid`: The ID of the subledger, when applicable. - `startdate`: The start date of the program. - `expirydate`: The expiration date of the program. - `id`: The ID of the transaction. - `created`: The timestamp of the creation of the loyalty program. - `amount`: The number of points in that transaction. - `archived`: Whether the session related to the transaction is archived. - `campaignid`: The ID of the campaign. - `flags`: The flags of the transaction, when applicable. The `createsNegativeBalance` flag indicates whether the transaction results in a negative balance. - `transactionUUID`: Unique identifier of the transaction in the UUID format. * * @throws ApiException * if the Api call fails @@ -1427,7 +1427,8 @@ public void getApplicationEventsWithoutTotalCountTest() throws ApiException { String referralCode = null; String ruleQuery = null; String campaignQuery = null; - InlineResponse20030 response = api.getApplicationEventsWithoutTotalCount(applicationId, pageSize, skip, sort, type, createdBefore, createdAfter, session, profile, customerName, customerEmail, couponCode, referralCode, ruleQuery, campaignQuery); + String effectType = null; + InlineResponse20030 response = api.getApplicationEventsWithoutTotalCount(applicationId, pageSize, skip, sort, type, createdBefore, createdAfter, session, profile, customerName, customerEmail, couponCode, referralCode, ruleQuery, campaignQuery, effectType); // TODO: test validations } @@ -2056,7 +2057,9 @@ public void getLoyaltyCardTransactionLogsTest() throws ApiException { Long pageSize = null; Long skip = null; String subledgerId = null; - InlineResponse20019 response = api.getLoyaltyCardTransactionLogs(loyaltyProgramId, loyaltyCardId, startDate, endDate, pageSize, skip, subledgerId); + List customerSessionIDs = null; + List transactionUUIDs = null; + InlineResponse20019 response = api.getLoyaltyCardTransactionLogs(loyaltyProgramId, loyaltyCardId, startDate, endDate, pageSize, skip, subledgerId, customerSessionIDs, transactionUUIDs); // TODO: test validations } @@ -2129,11 +2132,13 @@ public void getLoyaltyProgramTransactionsTest() throws ApiException { Long loyaltyProgramId = null; String loyaltyTransactionType = null; String subledgerId = null; + List customerSessionIDs = null; + List transactionUUIDs = null; OffsetDateTime startDate = null; OffsetDateTime endDate = null; Long pageSize = null; Long skip = null; - InlineResponse20017 response = api.getLoyaltyProgramTransactions(loyaltyProgramId, loyaltyTransactionType, subledgerId, startDate, endDate, pageSize, skip); + InlineResponse20017 response = api.getLoyaltyProgramTransactions(loyaltyProgramId, loyaltyTransactionType, subledgerId, customerSessionIDs, transactionUUIDs, startDate, endDate, pageSize, skip); // TODO: test validations } diff --git a/src/test/java/one/talon/model/AchievementBaseTest.java b/src/test/java/one/talon/model/AchievementBaseTest.java index 126490c5..520c537f 100644 --- a/src/test/java/one/talon/model/AchievementBaseTest.java +++ b/src/test/java/one/talon/model/AchievementBaseTest.java @@ -123,4 +123,12 @@ public void endDateTest() { // TODO: test endDate } + /** + * Test the property 'allowRollbackAfterCompletion' + */ + @Test + public void allowRollbackAfterCompletionTest() { + // TODO: test allowRollbackAfterCompletion + } + } diff --git a/src/test/java/one/talon/model/AchievementProgressWithDefinitionTest.java b/src/test/java/one/talon/model/AchievementProgressWithDefinitionTest.java index 45aa4796..5dc72c32 100644 --- a/src/test/java/one/talon/model/AchievementProgressWithDefinitionTest.java +++ b/src/test/java/one/talon/model/AchievementProgressWithDefinitionTest.java @@ -162,4 +162,12 @@ public void achievementEndDateTest() { // TODO: test achievementEndDate } + /** + * Test the property 'achievementAllowRollbackAfterCompletion' + */ + @Test + public void achievementAllowRollbackAfterCompletionTest() { + // TODO: test achievementAllowRollbackAfterCompletion + } + } diff --git a/src/test/java/one/talon/model/AchievementStatusEntryTest.java b/src/test/java/one/talon/model/AchievementStatusEntryTest.java index c5217f1d..a0fb01ae 100644 --- a/src/test/java/one/talon/model/AchievementStatusEntryTest.java +++ b/src/test/java/one/talon/model/AchievementStatusEntryTest.java @@ -140,6 +140,14 @@ public void endDateTest() { // TODO: test endDate } + /** + * Test the property 'allowRollbackAfterCompletion' + */ + @Test + public void allowRollbackAfterCompletionTest() { + // TODO: test allowRollbackAfterCompletion + } + /** * Test the property 'campaignId' */ diff --git a/src/test/java/one/talon/model/AchievementTest.java b/src/test/java/one/talon/model/AchievementTest.java index a2acb8db..00774b11 100644 --- a/src/test/java/one/talon/model/AchievementTest.java +++ b/src/test/java/one/talon/model/AchievementTest.java @@ -139,6 +139,14 @@ public void endDateTest() { // TODO: test endDate } + /** + * Test the property 'allowRollbackAfterCompletion' + */ + @Test + public void allowRollbackAfterCompletionTest() { + // TODO: test allowRollbackAfterCompletion + } + /** * Test the property 'campaignId' */ diff --git a/src/test/java/one/talon/model/AnalyticsSKUTest.java b/src/test/java/one/talon/model/AnalyticsSKUTest.java index be46266c..8ffc2a95 100644 --- a/src/test/java/one/talon/model/AnalyticsSKUTest.java +++ b/src/test/java/one/talon/model/AnalyticsSKUTest.java @@ -66,6 +66,22 @@ public void lastUpdatedTest() { // TODO: test lastUpdated } + /** + * Test the property 'catalogId' + */ + @Test + public void catalogIdTest() { + // TODO: test catalogId + } + + /** + * Test the property 'productId' + */ + @Test + public void productIdTest() { + // TODO: test productId + } + /** * Test the property 'unitsSold' */ diff --git a/src/test/java/one/talon/model/AsyncCouponsDataTest.java b/src/test/java/one/talon/model/AsyncCouponsDataTest.java index a579db47..26fe990d 100644 --- a/src/test/java/one/talon/model/AsyncCouponsDataTest.java +++ b/src/test/java/one/talon/model/AsyncCouponsDataTest.java @@ -72,4 +72,12 @@ public void employeeNameTest() { // TODO: test employeeName } + /** + * Test the property 'notificationType' + */ + @Test + public void notificationTypeTest() { + // TODO: test notificationType + } + } diff --git a/src/test/java/one/talon/model/AudienceReferenceTest.java b/src/test/java/one/talon/model/AudienceReferenceTest.java new file mode 100644 index 00000000..dc010161 --- /dev/null +++ b/src/test/java/one/talon/model/AudienceReferenceTest.java @@ -0,0 +1,67 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for AudienceReference + */ +public class AudienceReferenceTest { + private final AudienceReference model = new AudienceReference(); + + /** + * Model tests for AudienceReference + */ + @Test + public void testAudienceReference() { + // TODO: test AudienceReference + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'integration' + */ + @Test + public void integrationTest() { + // TODO: test integration + } + + /** + * Test the property 'integrationId' + */ + @Test + public void integrationIdTest() { + // TODO: test integrationId + } + +} diff --git a/src/test/java/one/talon/model/BestPriorPriceMetadataTest.java b/src/test/java/one/talon/model/BestPriorPriceMetadataTest.java new file mode 100644 index 00000000..a4477994 --- /dev/null +++ b/src/test/java/one/talon/model/BestPriorPriceMetadataTest.java @@ -0,0 +1,61 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for BestPriorPriceMetadata + */ +public class BestPriorPriceMetadataTest { + private final BestPriorPriceMetadata model = new BestPriorPriceMetadata(); + + /** + * Model tests for BestPriorPriceMetadata + */ + @Test + public void testBestPriorPriceMetadata() { + // TODO: test BestPriorPriceMetadata + } + + /** + * Test the property 'influencingCampaignIDs' + */ + @Test + public void influencingCampaignIDsTest() { + // TODO: test influencingCampaignIDs + } + + /** + * Test the property 'adjustmentReferenceID' + */ + @Test + public void adjustmentReferenceIDTest() { + // TODO: test adjustmentReferenceID + } + +} diff --git a/src/test/java/one/talon/model/BestPriorPriceRequestTargetTest.java b/src/test/java/one/talon/model/BestPriorPriceRequestTargetTest.java new file mode 100644 index 00000000..94603f2a --- /dev/null +++ b/src/test/java/one/talon/model/BestPriorPriceRequestTargetTest.java @@ -0,0 +1,59 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for BestPriorPriceRequestTarget + */ +public class BestPriorPriceRequestTargetTest { + private final BestPriorPriceRequestTarget model = new BestPriorPriceRequestTarget(); + + /** + * Model tests for BestPriorPriceRequestTarget + */ + @Test + public void testBestPriorPriceRequestTarget() { + // TODO: test BestPriorPriceRequestTarget + } + + /** + * Test the property 'targetType' + */ + @Test + public void targetTypeTest() { + // TODO: test targetType + } + + /** + * Test the property 'audienceID' + */ + @Test + public void audienceIDTest() { + // TODO: test audienceID + } + +} diff --git a/src/test/java/one/talon/model/BestPriorPriceRequestTest.java b/src/test/java/one/talon/model/BestPriorPriceRequestTest.java new file mode 100644 index 00000000..bd2636dc --- /dev/null +++ b/src/test/java/one/talon/model/BestPriorPriceRequestTest.java @@ -0,0 +1,87 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import one.talon.model.BestPriorPriceRequestTarget; +import org.threeten.bp.OffsetDateTime; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for BestPriorPriceRequest + */ +public class BestPriorPriceRequestTest { + private final BestPriorPriceRequest model = new BestPriorPriceRequest(); + + /** + * Model tests for BestPriorPriceRequest + */ + @Test + public void testBestPriorPriceRequest() { + // TODO: test BestPriorPriceRequest + } + + /** + * Test the property 'skus' + */ + @Test + public void skusTest() { + // TODO: test skus + } + + /** + * Test the property 'timeframeEndDate' + */ + @Test + public void timeframeEndDateTest() { + // TODO: test timeframeEndDate + } + + /** + * Test the property 'timeframe' + */ + @Test + public void timeframeTest() { + // TODO: test timeframe + } + + /** + * Test the property 'strictEndDate' + */ + @Test + public void strictEndDateTest() { + // TODO: test strictEndDate + } + + /** + * Test the property 'target' + */ + @Test + public void targetTest() { + // TODO: test target + } + +} diff --git a/src/test/java/one/talon/model/BestPriorPriceTest.java b/src/test/java/one/talon/model/BestPriorPriceTest.java new file mode 100644 index 00000000..24aa2bcd --- /dev/null +++ b/src/test/java/one/talon/model/BestPriorPriceTest.java @@ -0,0 +1,94 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.math.BigDecimal; +import one.talon.model.BestPriorPriceMetadata; +import org.threeten.bp.OffsetDateTime; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for BestPriorPrice + */ +public class BestPriorPriceTest { + private final BestPriorPrice model = new BestPriorPrice(); + + /** + * Model tests for BestPriorPrice + */ + @Test + public void testBestPriorPrice() { + // TODO: test BestPriorPrice + } + + /** + * Test the property 'sku' + */ + @Test + public void skuTest() { + // TODO: test sku + } + + /** + * Test the property 'observedAt' + */ + @Test + public void observedAtTest() { + // TODO: test observedAt + } + + /** + * Test the property 'contextId' + */ + @Test + public void contextIdTest() { + // TODO: test contextId + } + + /** + * Test the property 'price' + */ + @Test + public void priceTest() { + // TODO: test price + } + + /** + * Test the property 'metadata' + */ + @Test + public void metadataTest() { + // TODO: test metadata + } + + /** + * Test the property 'target' + */ + @Test + public void targetTest() { + // TODO: test target + } + +} diff --git a/src/test/java/one/talon/model/CampaignCollectionEditedNotificationItemTest.java b/src/test/java/one/talon/model/CampaignCollectionEditedNotificationItemTest.java new file mode 100644 index 00000000..c3d6af1e --- /dev/null +++ b/src/test/java/one/talon/model/CampaignCollectionEditedNotificationItemTest.java @@ -0,0 +1,78 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import one.talon.model.Campaign; +import one.talon.model.CollectionWithoutPayload; +import one.talon.model.Ruleset; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for CampaignCollectionEditedNotificationItem + */ +public class CampaignCollectionEditedNotificationItemTest { + private final CampaignCollectionEditedNotificationItem model = new CampaignCollectionEditedNotificationItem(); + + /** + * Model tests for CampaignCollectionEditedNotificationItem + */ + @Test + public void testCampaignCollectionEditedNotificationItem() { + // TODO: test CampaignCollectionEditedNotificationItem + } + + /** + * Test the property 'event' + */ + @Test + public void eventTest() { + // TODO: test event + } + + /** + * Test the property 'campaign' + */ + @Test + public void campaignTest() { + // TODO: test campaign + } + + /** + * Test the property 'ruleset' + */ + @Test + public void rulesetTest() { + // TODO: test ruleset + } + + /** + * Test the property 'collection' + */ + @Test + public void collectionTest() { + // TODO: test collection + } + +} diff --git a/src/test/java/one/talon/model/CampaignCollectionEditedNotificationTest.java b/src/test/java/one/talon/model/CampaignCollectionEditedNotificationTest.java index a0987340..dc0059b0 100644 --- a/src/test/java/one/talon/model/CampaignCollectionEditedNotificationTest.java +++ b/src/test/java/one/talon/model/CampaignCollectionEditedNotificationTest.java @@ -21,9 +21,9 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import one.talon.model.Campaign; -import one.talon.model.CollectionWithoutPayload; -import one.talon.model.Ruleset; +import java.util.ArrayList; +import java.util.List; +import one.talon.model.CampaignCollectionEditedNotificationItem; import org.junit.Assert; import org.junit.Ignore; import org.junit.Test; @@ -44,27 +44,27 @@ public void testCampaignCollectionEditedNotification() { } /** - * Test the property 'campaign' + * Test the property 'notificationType' */ @Test - public void campaignTest() { - // TODO: test campaign + public void notificationTypeTest() { + // TODO: test notificationType } /** - * Test the property 'ruleset' + * Test the property 'totalResultSize' */ @Test - public void rulesetTest() { - // TODO: test ruleset + public void totalResultSizeTest() { + // TODO: test totalResultSize } /** - * Test the property 'collection' + * Test the property 'data' */ @Test - public void collectionTest() { - // TODO: test collection + public void dataTest() { + // TODO: test data } } diff --git a/src/test/java/one/talon/model/CampaignCreatedNotificationItemTest.java b/src/test/java/one/talon/model/CampaignCreatedNotificationItemTest.java new file mode 100644 index 00000000..8becb8b4 --- /dev/null +++ b/src/test/java/one/talon/model/CampaignCreatedNotificationItemTest.java @@ -0,0 +1,78 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import one.talon.model.Campaign; +import one.talon.model.CampaignEvaluationPosition; +import one.talon.model.Ruleset; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for CampaignCreatedNotificationItem + */ +public class CampaignCreatedNotificationItemTest { + private final CampaignCreatedNotificationItem model = new CampaignCreatedNotificationItem(); + + /** + * Model tests for CampaignCreatedNotificationItem + */ + @Test + public void testCampaignCreatedNotificationItem() { + // TODO: test CampaignCreatedNotificationItem + } + + /** + * Test the property 'event' + */ + @Test + public void eventTest() { + // TODO: test event + } + + /** + * Test the property 'campaign' + */ + @Test + public void campaignTest() { + // TODO: test campaign + } + + /** + * Test the property 'ruleset' + */ + @Test + public void rulesetTest() { + // TODO: test ruleset + } + + /** + * Test the property 'evaluationPosition' + */ + @Test + public void evaluationPositionTest() { + // TODO: test evaluationPosition + } + +} diff --git a/src/test/java/one/talon/model/CampaignCreatedNotificationTest.java b/src/test/java/one/talon/model/CampaignCreatedNotificationTest.java index 553b7753..97d4cbfd 100644 --- a/src/test/java/one/talon/model/CampaignCreatedNotificationTest.java +++ b/src/test/java/one/talon/model/CampaignCreatedNotificationTest.java @@ -21,9 +21,9 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import one.talon.model.Campaign; -import one.talon.model.CampaignEvaluationPosition; -import one.talon.model.Ruleset; +import java.util.ArrayList; +import java.util.List; +import one.talon.model.CampaignCreatedNotificationItem; import org.junit.Assert; import org.junit.Ignore; import org.junit.Test; @@ -44,27 +44,27 @@ public void testCampaignCreatedNotification() { } /** - * Test the property 'campaign' + * Test the property 'notificationType' */ @Test - public void campaignTest() { - // TODO: test campaign + public void notificationTypeTest() { + // TODO: test notificationType } /** - * Test the property 'ruleset' + * Test the property 'totalResultSize' */ @Test - public void rulesetTest() { - // TODO: test ruleset + public void totalResultSizeTest() { + // TODO: test totalResultSize } /** - * Test the property 'evaluationPosition' + * Test the property 'data' */ @Test - public void evaluationPositionTest() { - // TODO: test evaluationPosition + public void dataTest() { + // TODO: test data } } diff --git a/src/test/java/one/talon/model/CampaignDeletedNotificationItemTest.java b/src/test/java/one/talon/model/CampaignDeletedNotificationItemTest.java new file mode 100644 index 00000000..df4b2101 --- /dev/null +++ b/src/test/java/one/talon/model/CampaignDeletedNotificationItemTest.java @@ -0,0 +1,69 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import one.talon.model.Campaign; +import org.threeten.bp.OffsetDateTime; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for CampaignDeletedNotificationItem + */ +public class CampaignDeletedNotificationItemTest { + private final CampaignDeletedNotificationItem model = new CampaignDeletedNotificationItem(); + + /** + * Model tests for CampaignDeletedNotificationItem + */ + @Test + public void testCampaignDeletedNotificationItem() { + // TODO: test CampaignDeletedNotificationItem + } + + /** + * Test the property 'event' + */ + @Test + public void eventTest() { + // TODO: test event + } + + /** + * Test the property 'campaign' + */ + @Test + public void campaignTest() { + // TODO: test campaign + } + + /** + * Test the property 'deletedAt' + */ + @Test + public void deletedAtTest() { + // TODO: test deletedAt + } + +} diff --git a/src/test/java/one/talon/model/CampaignDeletedNotificationTest.java b/src/test/java/one/talon/model/CampaignDeletedNotificationTest.java index 507ded71..7a1a2fd0 100644 --- a/src/test/java/one/talon/model/CampaignDeletedNotificationTest.java +++ b/src/test/java/one/talon/model/CampaignDeletedNotificationTest.java @@ -21,8 +21,9 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import one.talon.model.Campaign; -import org.threeten.bp.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import one.talon.model.CampaignDeletedNotificationItem; import org.junit.Assert; import org.junit.Ignore; import org.junit.Test; @@ -43,19 +44,27 @@ public void testCampaignDeletedNotification() { } /** - * Test the property 'campaign' + * Test the property 'notificationType' */ @Test - public void campaignTest() { - // TODO: test campaign + public void notificationTypeTest() { + // TODO: test notificationType } /** - * Test the property 'deletedAt' + * Test the property 'totalResultSize' */ @Test - public void deletedAtTest() { - // TODO: test deletedAt + public void totalResultSizeTest() { + // TODO: test totalResultSize + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data } } diff --git a/src/test/java/one/talon/model/CampaignEditedNotificationItemTest.java b/src/test/java/one/talon/model/CampaignEditedNotificationItemTest.java new file mode 100644 index 00000000..b79bd48f --- /dev/null +++ b/src/test/java/one/talon/model/CampaignEditedNotificationItemTest.java @@ -0,0 +1,77 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import one.talon.model.Campaign; +import one.talon.model.Ruleset; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for CampaignEditedNotificationItem + */ +public class CampaignEditedNotificationItemTest { + private final CampaignEditedNotificationItem model = new CampaignEditedNotificationItem(); + + /** + * Model tests for CampaignEditedNotificationItem + */ + @Test + public void testCampaignEditedNotificationItem() { + // TODO: test CampaignEditedNotificationItem + } + + /** + * Test the property 'event' + */ + @Test + public void eventTest() { + // TODO: test event + } + + /** + * Test the property 'campaign' + */ + @Test + public void campaignTest() { + // TODO: test campaign + } + + /** + * Test the property 'oldCampaign' + */ + @Test + public void oldCampaignTest() { + // TODO: test oldCampaign + } + + /** + * Test the property 'ruleset' + */ + @Test + public void rulesetTest() { + // TODO: test ruleset + } + +} diff --git a/src/test/java/one/talon/model/CampaignEditedNotificationTest.java b/src/test/java/one/talon/model/CampaignEditedNotificationTest.java index 17d24057..d10b340e 100644 --- a/src/test/java/one/talon/model/CampaignEditedNotificationTest.java +++ b/src/test/java/one/talon/model/CampaignEditedNotificationTest.java @@ -21,8 +21,9 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import one.talon.model.Campaign; -import one.talon.model.Ruleset; +import java.util.ArrayList; +import java.util.List; +import one.talon.model.CampaignEditedNotificationItem; import org.junit.Assert; import org.junit.Ignore; import org.junit.Test; @@ -43,27 +44,27 @@ public void testCampaignEditedNotification() { } /** - * Test the property 'campaign' + * Test the property 'notificationType' */ @Test - public void campaignTest() { - // TODO: test campaign + public void notificationTypeTest() { + // TODO: test notificationType } /** - * Test the property 'oldCampaign' + * Test the property 'totalResultSize' */ @Test - public void oldCampaignTest() { - // TODO: test oldCampaign + public void totalResultSizeTest() { + // TODO: test totalResultSize } /** - * Test the property 'ruleset' + * Test the property 'data' */ @Test - public void rulesetTest() { - // TODO: test ruleset + public void dataTest() { + // TODO: test data } } diff --git a/src/test/java/one/talon/model/CampaignEvaluationTreeChangedMessageTest.java b/src/test/java/one/talon/model/CampaignEvaluationTreeChangedMessageTest.java index fe69fca5..1246e5ce 100644 --- a/src/test/java/one/talon/model/CampaignEvaluationTreeChangedMessageTest.java +++ b/src/test/java/one/talon/model/CampaignEvaluationTreeChangedMessageTest.java @@ -44,11 +44,11 @@ public void testCampaignEvaluationTreeChangedMessage() { } /** - * Test the property 'data' + * Test the property 'notificationType' */ @Test - public void dataTest() { - // TODO: test data + public void notificationTypeTest() { + // TODO: test notificationType } /** @@ -59,4 +59,12 @@ public void totalResultSizeTest() { // TODO: test totalResultSize } + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + } diff --git a/src/test/java/one/talon/model/CampaignNotificationBaseTest.java b/src/test/java/one/talon/model/CampaignNotificationBaseTest.java new file mode 100644 index 00000000..822a5c91 --- /dev/null +++ b/src/test/java/one/talon/model/CampaignNotificationBaseTest.java @@ -0,0 +1,59 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for CampaignNotificationBase + */ +public class CampaignNotificationBaseTest { + private final CampaignNotificationBase model = new CampaignNotificationBase(); + + /** + * Model tests for CampaignNotificationBase + */ + @Test + public void testCampaignNotificationBase() { + // TODO: test CampaignNotificationBase + } + + /** + * Test the property 'notificationType' + */ + @Test + public void notificationTypeTest() { + // TODO: test notificationType + } + + /** + * Test the property 'totalResultSize' + */ + @Test + public void totalResultSizeTest() { + // TODO: test totalResultSize + } + +} diff --git a/src/test/java/one/talon/model/CampaignNotificationGenericTest.java b/src/test/java/one/talon/model/CampaignNotificationGenericTest.java new file mode 100644 index 00000000..9a434073 --- /dev/null +++ b/src/test/java/one/talon/model/CampaignNotificationGenericTest.java @@ -0,0 +1,69 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for CampaignNotificationGeneric + */ +public class CampaignNotificationGenericTest { + private final CampaignNotificationGeneric model = new CampaignNotificationGeneric(); + + /** + * Model tests for CampaignNotificationGeneric + */ + @Test + public void testCampaignNotificationGeneric() { + // TODO: test CampaignNotificationGeneric + } + + /** + * Test the property 'notificationType' + */ + @Test + public void notificationTypeTest() { + // TODO: test notificationType + } + + /** + * Test the property 'totalResultSize' + */ + @Test + public void totalResultSizeTest() { + // TODO: test totalResultSize + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + +} diff --git a/src/test/java/one/talon/model/CampaignNotificationItemBaseTest.java b/src/test/java/one/talon/model/CampaignNotificationItemBaseTest.java new file mode 100644 index 00000000..37e0f5a8 --- /dev/null +++ b/src/test/java/one/talon/model/CampaignNotificationItemBaseTest.java @@ -0,0 +1,51 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for CampaignNotificationItemBase + */ +public class CampaignNotificationItemBaseTest { + private final CampaignNotificationItemBase model = new CampaignNotificationItemBase(); + + /** + * Model tests for CampaignNotificationItemBase + */ + @Test + public void testCampaignNotificationItemBase() { + // TODO: test CampaignNotificationItemBase + } + + /** + * Test the property 'event' + */ + @Test + public void eventTest() { + // TODO: test event + } + +} diff --git a/src/test/java/one/talon/model/CampaignRulesetChangedNotificationItemTest.java b/src/test/java/one/talon/model/CampaignRulesetChangedNotificationItemTest.java new file mode 100644 index 00000000..180bcc3b --- /dev/null +++ b/src/test/java/one/talon/model/CampaignRulesetChangedNotificationItemTest.java @@ -0,0 +1,77 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import one.talon.model.Campaign; +import one.talon.model.Ruleset; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for CampaignRulesetChangedNotificationItem + */ +public class CampaignRulesetChangedNotificationItemTest { + private final CampaignRulesetChangedNotificationItem model = new CampaignRulesetChangedNotificationItem(); + + /** + * Model tests for CampaignRulesetChangedNotificationItem + */ + @Test + public void testCampaignRulesetChangedNotificationItem() { + // TODO: test CampaignRulesetChangedNotificationItem + } + + /** + * Test the property 'event' + */ + @Test + public void eventTest() { + // TODO: test event + } + + /** + * Test the property 'campaign' + */ + @Test + public void campaignTest() { + // TODO: test campaign + } + + /** + * Test the property 'oldRuleset' + */ + @Test + public void oldRulesetTest() { + // TODO: test oldRuleset + } + + /** + * Test the property 'ruleset' + */ + @Test + public void rulesetTest() { + // TODO: test ruleset + } + +} diff --git a/src/test/java/one/talon/model/CampaignRulesetChangedNotificationTest.java b/src/test/java/one/talon/model/CampaignRulesetChangedNotificationTest.java index 29cb7773..038c9534 100644 --- a/src/test/java/one/talon/model/CampaignRulesetChangedNotificationTest.java +++ b/src/test/java/one/talon/model/CampaignRulesetChangedNotificationTest.java @@ -21,8 +21,9 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import one.talon.model.Campaign; -import one.talon.model.Ruleset; +import java.util.ArrayList; +import java.util.List; +import one.talon.model.CampaignRulesetChangedNotificationItem; import org.junit.Assert; import org.junit.Ignore; import org.junit.Test; @@ -43,27 +44,27 @@ public void testCampaignRulesetChangedNotification() { } /** - * Test the property 'campaign' + * Test the property 'notificationType' */ @Test - public void campaignTest() { - // TODO: test campaign + public void notificationTypeTest() { + // TODO: test notificationType } /** - * Test the property 'oldRuleset' + * Test the property 'totalResultSize' */ @Test - public void oldRulesetTest() { - // TODO: test oldRuleset + public void totalResultSizeTest() { + // TODO: test totalResultSize } /** - * Test the property 'ruleset' + * Test the property 'data' */ @Test - public void rulesetTest() { - // TODO: test ruleset + public void dataTest() { + // TODO: test data } } diff --git a/src/test/java/one/talon/model/CampaignStateChangedNotificationItemTest.java b/src/test/java/one/talon/model/CampaignStateChangedNotificationItemTest.java new file mode 100644 index 00000000..1c64177d --- /dev/null +++ b/src/test/java/one/talon/model/CampaignStateChangedNotificationItemTest.java @@ -0,0 +1,85 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import one.talon.model.Campaign; +import one.talon.model.Ruleset; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for CampaignStateChangedNotificationItem + */ +public class CampaignStateChangedNotificationItemTest { + private final CampaignStateChangedNotificationItem model = new CampaignStateChangedNotificationItem(); + + /** + * Model tests for CampaignStateChangedNotificationItem + */ + @Test + public void testCampaignStateChangedNotificationItem() { + // TODO: test CampaignStateChangedNotificationItem + } + + /** + * Test the property 'event' + */ + @Test + public void eventTest() { + // TODO: test event + } + + /** + * Test the property 'campaign' + */ + @Test + public void campaignTest() { + // TODO: test campaign + } + + /** + * Test the property 'oldState' + */ + @Test + public void oldStateTest() { + // TODO: test oldState + } + + /** + * Test the property 'newState' + */ + @Test + public void newStateTest() { + // TODO: test newState + } + + /** + * Test the property 'ruleset' + */ + @Test + public void rulesetTest() { + // TODO: test ruleset + } + +} diff --git a/src/test/java/one/talon/model/CampaignStateChangedNotificationTest.java b/src/test/java/one/talon/model/CampaignStateChangedNotificationTest.java index b16716b6..7861bbdd 100644 --- a/src/test/java/one/talon/model/CampaignStateChangedNotificationTest.java +++ b/src/test/java/one/talon/model/CampaignStateChangedNotificationTest.java @@ -21,8 +21,9 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import one.talon.model.Campaign; -import one.talon.model.Ruleset; +import java.util.ArrayList; +import java.util.List; +import one.talon.model.CampaignStateChangedNotificationItem; import org.junit.Assert; import org.junit.Ignore; import org.junit.Test; @@ -43,35 +44,27 @@ public void testCampaignStateChangedNotification() { } /** - * Test the property 'campaign' + * Test the property 'notificationType' */ @Test - public void campaignTest() { - // TODO: test campaign + public void notificationTypeTest() { + // TODO: test notificationType } /** - * Test the property 'oldState' + * Test the property 'totalResultSize' */ @Test - public void oldStateTest() { - // TODO: test oldState + public void totalResultSizeTest() { + // TODO: test totalResultSize } /** - * Test the property 'newState' + * Test the property 'data' */ @Test - public void newStateTest() { - // TODO: test newState - } - - /** - * Test the property 'ruleset' - */ - @Test - public void rulesetTest() { - // TODO: test ruleset + public void dataTest() { + // TODO: test data } } diff --git a/src/test/java/one/talon/model/CardLedgerPointsEntryIntegrationAPITest.java b/src/test/java/one/talon/model/CardLedgerPointsEntryIntegrationAPITest.java index 32bce09a..fcfd6c20 100644 --- a/src/test/java/one/talon/model/CardLedgerPointsEntryIntegrationAPITest.java +++ b/src/test/java/one/talon/model/CardLedgerPointsEntryIntegrationAPITest.java @@ -50,6 +50,14 @@ public void idTest() { // TODO: test id } + /** + * Test the property 'transactionUUID' + */ + @Test + public void transactionUUIDTest() { + // TODO: test transactionUUID + } + /** * Test the property 'created' */ diff --git a/src/test/java/one/talon/model/CardLedgerTransactionLogEntryIntegrationAPITest.java b/src/test/java/one/talon/model/CardLedgerTransactionLogEntryIntegrationAPITest.java index 9c3e71da..8c221fb7 100644 --- a/src/test/java/one/talon/model/CardLedgerTransactionLogEntryIntegrationAPITest.java +++ b/src/test/java/one/talon/model/CardLedgerTransactionLogEntryIntegrationAPITest.java @@ -42,6 +42,14 @@ public void testCardLedgerTransactionLogEntryIntegrationAPI() { // TODO: test CardLedgerTransactionLogEntryIntegrationAPI } + /** + * Test the property 'transactionUUID' + */ + @Test + public void transactionUUIDTest() { + // TODO: test transactionUUID + } + /** * Test the property 'created' */ diff --git a/src/test/java/one/talon/model/CardLedgerTransactionLogEntryTest.java b/src/test/java/one/talon/model/CardLedgerTransactionLogEntryTest.java index ffa40191..8c1ec863 100644 --- a/src/test/java/one/talon/model/CardLedgerTransactionLogEntryTest.java +++ b/src/test/java/one/talon/model/CardLedgerTransactionLogEntryTest.java @@ -42,6 +42,14 @@ public void testCardLedgerTransactionLogEntry() { // TODO: test CardLedgerTransactionLogEntry } + /** + * Test the property 'transactionUUID' + */ + @Test + public void transactionUUIDTest() { + // TODO: test transactionUUID + } + /** * Test the property 'created' */ diff --git a/src/test/java/one/talon/model/CatalogsStrikethroughNotificationPolicyTest.java b/src/test/java/one/talon/model/CatalogsStrikethroughNotificationPolicyTest.java index cd43fb7c..6df7e743 100644 --- a/src/test/java/one/talon/model/CatalogsStrikethroughNotificationPolicyTest.java +++ b/src/test/java/one/talon/model/CatalogsStrikethroughNotificationPolicyTest.java @@ -56,4 +56,12 @@ public void aheadOfDaysTriggerTest() { // TODO: test aheadOfDaysTrigger } + /** + * Test the property 'batchSize' + */ + @Test + public void batchSizeTest() { + // TODO: test batchSize + } + } diff --git a/src/test/java/one/talon/model/CouponsNotificationDataTest.java b/src/test/java/one/talon/model/CouponsNotificationDataTest.java index 152d669a..fa66f91f 100644 --- a/src/test/java/one/talon/model/CouponsNotificationDataTest.java +++ b/src/test/java/one/talon/model/CouponsNotificationDataTest.java @@ -83,4 +83,12 @@ public void totalResultSizeTest() { // TODO: test totalResultSize } + /** + * Test the property 'notificationType' + */ + @Test + public void notificationTypeTest() { + // TODO: test notificationType + } + } diff --git a/src/test/java/one/talon/model/CreateAchievementTest.java b/src/test/java/one/talon/model/CreateAchievementTest.java index 6677b783..0612c2ee 100644 --- a/src/test/java/one/talon/model/CreateAchievementTest.java +++ b/src/test/java/one/talon/model/CreateAchievementTest.java @@ -123,4 +123,12 @@ public void endDateTest() { // TODO: test endDate } + /** + * Test the property 'allowRollbackAfterCompletion' + */ + @Test + public void allowRollbackAfterCompletionTest() { + // TODO: test allowRollbackAfterCompletion + } + } diff --git a/src/test/java/one/talon/model/CreateCouponDataTest.java b/src/test/java/one/talon/model/CreateCouponDataTest.java index 1c68d53c..db9c306b 100644 --- a/src/test/java/one/talon/model/CreateCouponDataTest.java +++ b/src/test/java/one/talon/model/CreateCouponDataTest.java @@ -91,4 +91,12 @@ public void employeeNameTest() { // TODO: test employeeName } + /** + * Test the property 'notificationType' + */ + @Test + public void notificationTypeTest() { + // TODO: test notificationType + } + } diff --git a/src/test/java/one/talon/model/DeleteCouponsDataTest.java b/src/test/java/one/talon/model/DeleteCouponsDataTest.java index 8a193c0c..82c5bab6 100644 --- a/src/test/java/one/talon/model/DeleteCouponsDataTest.java +++ b/src/test/java/one/talon/model/DeleteCouponsDataTest.java @@ -96,4 +96,12 @@ public void totalResultSizeTest() { // TODO: test totalResultSize } + /** + * Test the property 'notificationType' + */ + @Test + public void notificationTypeTest() { + // TODO: test notificationType + } + } diff --git a/src/test/java/one/talon/model/ExtendLoyaltyPointsExpiryDateEffectPropsTest.java b/src/test/java/one/talon/model/ExtendLoyaltyPointsExpiryDateEffectPropsTest.java index fa70ad38..6e08c7b3 100644 --- a/src/test/java/one/talon/model/ExtendLoyaltyPointsExpiryDateEffectPropsTest.java +++ b/src/test/java/one/talon/model/ExtendLoyaltyPointsExpiryDateEffectPropsTest.java @@ -23,7 +23,7 @@ import java.io.IOException; import java.util.ArrayList; import java.util.List; -import org.threeten.bp.OffsetDateTime; +import one.talon.model.LoyaltyLedgerEntryExpiryDateChange; import org.junit.Assert; import org.junit.Ignore; import org.junit.Test; @@ -68,19 +68,11 @@ public void extensionDurationTest() { } /** - * Test the property 'transactionUUIDs' + * Test the property 'affectedTransactions' */ @Test - public void transactionUUIDsTest() { - // TODO: test transactionUUIDs - } - - /** - * Test the property 'previousExpirationDate' - */ - @Test - public void previousExpirationDateTest() { - // TODO: test previousExpirationDate + public void affectedTransactionsTest() { + // TODO: test affectedTransactions } } diff --git a/src/test/java/one/talon/model/GenerateAuditLogSummaryTest.java b/src/test/java/one/talon/model/GenerateAuditLogSummaryTest.java new file mode 100644 index 00000000..1df03e4e --- /dev/null +++ b/src/test/java/one/talon/model/GenerateAuditLogSummaryTest.java @@ -0,0 +1,51 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for GenerateAuditLogSummary + */ +public class GenerateAuditLogSummaryTest { + private final GenerateAuditLogSummary model = new GenerateAuditLogSummary(); + + /** + * Model tests for GenerateAuditLogSummary + */ + @Test + public void testGenerateAuditLogSummary() { + // TODO: test GenerateAuditLogSummary + } + + /** + * Test the property 'logID' + */ + @Test + public void logIDTest() { + // TODO: test logID + } + +} diff --git a/src/test/java/one/talon/model/GenerateCampaignDescriptionTest.java b/src/test/java/one/talon/model/GenerateCampaignDescriptionTest.java index cf215556..28b152b4 100644 --- a/src/test/java/one/talon/model/GenerateCampaignDescriptionTest.java +++ b/src/test/java/one/talon/model/GenerateCampaignDescriptionTest.java @@ -40,6 +40,14 @@ public void testGenerateCampaignDescription() { // TODO: test GenerateCampaignDescription } + /** + * Test the property 'campaignID' + */ + @Test + public void campaignIDTest() { + // TODO: test campaignID + } + /** * Test the property 'rulesetID' */ diff --git a/src/test/java/one/talon/model/GenerateCouponFailureDetailedSummaryTest.java b/src/test/java/one/talon/model/GenerateCouponFailureDetailedSummaryTest.java new file mode 100644 index 00000000..b7529c4a --- /dev/null +++ b/src/test/java/one/talon/model/GenerateCouponFailureDetailedSummaryTest.java @@ -0,0 +1,84 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.math.BigDecimal; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for GenerateCouponFailureDetailedSummary + */ +public class GenerateCouponFailureDetailedSummaryTest { + private final GenerateCouponFailureDetailedSummary model = new GenerateCouponFailureDetailedSummary(); + + /** + * Model tests for GenerateCouponFailureDetailedSummary + */ + @Test + public void testGenerateCouponFailureDetailedSummary() { + // TODO: test GenerateCouponFailureDetailedSummary + } + + /** + * Test the property 'applicationID' + */ + @Test + public void applicationIDTest() { + // TODO: test applicationID + } + + /** + * Test the property 'sessionID' + */ + @Test + public void sessionIDTest() { + // TODO: test sessionID + } + + /** + * Test the property 'eventID' + */ + @Test + public void eventIDTest() { + // TODO: test eventID + } + + /** + * Test the property 'coupon' + */ + @Test + public void couponTest() { + // TODO: test coupon + } + + /** + * Test the property 'language' + */ + @Test + public void languageTest() { + // TODO: test language + } + +} diff --git a/src/test/java/one/talon/model/GenerateCouponFailureSummaryTest.java b/src/test/java/one/talon/model/GenerateCouponFailureSummaryTest.java new file mode 100644 index 00000000..abd32def --- /dev/null +++ b/src/test/java/one/talon/model/GenerateCouponFailureSummaryTest.java @@ -0,0 +1,59 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for GenerateCouponFailureSummary + */ +public class GenerateCouponFailureSummaryTest { + private final GenerateCouponFailureSummary model = new GenerateCouponFailureSummary(); + + /** + * Model tests for GenerateCouponFailureSummary + */ + @Test + public void testGenerateCouponFailureSummary() { + // TODO: test GenerateCouponFailureSummary + } + + /** + * Test the property 'eventID' + */ + @Test + public void eventIDTest() { + // TODO: test eventID + } + + /** + * Test the property 'language' + */ + @Test + public void languageTest() { + // TODO: test language + } + +} diff --git a/src/test/java/one/talon/model/GenerateUserSessionSummaryTest.java b/src/test/java/one/talon/model/GenerateUserSessionSummaryTest.java new file mode 100644 index 00000000..5d1eb66c --- /dev/null +++ b/src/test/java/one/talon/model/GenerateUserSessionSummaryTest.java @@ -0,0 +1,60 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.math.BigDecimal; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for GenerateUserSessionSummary + */ +public class GenerateUserSessionSummaryTest { + private final GenerateUserSessionSummary model = new GenerateUserSessionSummary(); + + /** + * Model tests for GenerateUserSessionSummary + */ + @Test + public void testGenerateUserSessionSummary() { + // TODO: test GenerateUserSessionSummary + } + + /** + * Test the property 'sessionID' + */ + @Test + public void sessionIDTest() { + // TODO: test sessionID + } + + /** + * Test the property 'applicationID' + */ + @Test + public void applicationIDTest() { + // TODO: test applicationID + } + +} diff --git a/src/test/java/one/talon/model/JWTTest.java b/src/test/java/one/talon/model/JWTTest.java new file mode 100644 index 00000000..ce32adad --- /dev/null +++ b/src/test/java/one/talon/model/JWTTest.java @@ -0,0 +1,59 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for JWT + */ +public class JWTTest { + private final JWT model = new JWT(); + + /** + * Model tests for JWT + */ + @Test + public void testJWT() { + // TODO: test JWT + } + + /** + * Test the property 'accessToken' + */ + @Test + public void accessTokenTest() { + // TODO: test accessToken + } + + /** + * Test the property 'expiresIn' + */ + @Test + public void expiresInTest() { + // TODO: test expiresIn + } + +} diff --git a/src/test/java/one/talon/model/LabelTargetAudienceTest.java b/src/test/java/one/talon/model/LabelTargetAudienceTest.java new file mode 100644 index 00000000..2241319b --- /dev/null +++ b/src/test/java/one/talon/model/LabelTargetAudienceTest.java @@ -0,0 +1,60 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import one.talon.model.AudienceReference; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for LabelTargetAudience + */ +public class LabelTargetAudienceTest { + private final LabelTargetAudience model = new LabelTargetAudience(); + + /** + * Model tests for LabelTargetAudience + */ + @Test + public void testLabelTargetAudience() { + // TODO: test LabelTargetAudience + } + + /** + * Test the property 'type' + */ + @Test + public void typeTest() { + // TODO: test type + } + + /** + * Test the property 'audience' + */ + @Test + public void audienceTest() { + // TODO: test audience + } + +} diff --git a/src/test/java/one/talon/model/LabelTargetNoneTest.java b/src/test/java/one/talon/model/LabelTargetNoneTest.java new file mode 100644 index 00000000..a27b8616 --- /dev/null +++ b/src/test/java/one/talon/model/LabelTargetNoneTest.java @@ -0,0 +1,51 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for LabelTargetNone + */ +public class LabelTargetNoneTest { + private final LabelTargetNone model = new LabelTargetNone(); + + /** + * Model tests for LabelTargetNone + */ + @Test + public void testLabelTargetNone() { + // TODO: test LabelTargetNone + } + + /** + * Test the property 'type' + */ + @Test + public void typeTest() { + // TODO: test type + } + +} diff --git a/src/test/java/one/talon/model/LedgerPointsEntryIntegrationAPITest.java b/src/test/java/one/talon/model/LedgerPointsEntryIntegrationAPITest.java index 5b7b34f7..c0f33774 100644 --- a/src/test/java/one/talon/model/LedgerPointsEntryIntegrationAPITest.java +++ b/src/test/java/one/talon/model/LedgerPointsEntryIntegrationAPITest.java @@ -50,6 +50,14 @@ public void idTest() { // TODO: test id } + /** + * Test the property 'transactionUUID' + */ + @Test + public void transactionUUIDTest() { + // TODO: test transactionUUID + } + /** * Test the property 'created' */ diff --git a/src/test/java/one/talon/model/LedgerTransactionLogEntryIntegrationAPITest.java b/src/test/java/one/talon/model/LedgerTransactionLogEntryIntegrationAPITest.java index beef8954..023686d9 100644 --- a/src/test/java/one/talon/model/LedgerTransactionLogEntryIntegrationAPITest.java +++ b/src/test/java/one/talon/model/LedgerTransactionLogEntryIntegrationAPITest.java @@ -43,6 +43,14 @@ public void testLedgerTransactionLogEntryIntegrationAPI() { // TODO: test LedgerTransactionLogEntryIntegrationAPI } + /** + * Test the property 'transactionUUID' + */ + @Test + public void transactionUUIDTest() { + // TODO: test transactionUUID + } + /** * Test the property 'created' */ diff --git a/src/test/java/one/talon/model/LoyaltyDashboardDataTest.java b/src/test/java/one/talon/model/LoyaltyDashboardDataTest.java index 2e1a7e41..a577a4b4 100644 --- a/src/test/java/one/talon/model/LoyaltyDashboardDataTest.java +++ b/src/test/java/one/talon/model/LoyaltyDashboardDataTest.java @@ -83,6 +83,14 @@ public void totalExpiredPointsTest() { // TODO: test totalExpiredPoints } + /** + * Test the property 'totalNegativePoints' + */ + @Test + public void totalNegativePointsTest() { + // TODO: test totalNegativePoints + } + /** * Test the property 'totalMembers' */ diff --git a/src/test/java/one/talon/model/LoyaltyLedgerEntryExpiryDateChangeTest.java b/src/test/java/one/talon/model/LoyaltyLedgerEntryExpiryDateChangeTest.java new file mode 100644 index 00000000..55c59c15 --- /dev/null +++ b/src/test/java/one/talon/model/LoyaltyLedgerEntryExpiryDateChangeTest.java @@ -0,0 +1,69 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.UUID; +import org.threeten.bp.OffsetDateTime; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for LoyaltyLedgerEntryExpiryDateChange + */ +public class LoyaltyLedgerEntryExpiryDateChangeTest { + private final LoyaltyLedgerEntryExpiryDateChange model = new LoyaltyLedgerEntryExpiryDateChange(); + + /** + * Model tests for LoyaltyLedgerEntryExpiryDateChange + */ + @Test + public void testLoyaltyLedgerEntryExpiryDateChange() { + // TODO: test LoyaltyLedgerEntryExpiryDateChange + } + + /** + * Test the property 'transactionUUID' + */ + @Test + public void transactionUUIDTest() { + // TODO: test transactionUUID + } + + /** + * Test the property 'previousExpiryDate' + */ + @Test + public void previousExpiryDateTest() { + // TODO: test previousExpiryDate + } + + /** + * Test the property 'newExpiryDate' + */ + @Test + public void newExpiryDateTest() { + // TODO: test newExpiryDate + } + +} diff --git a/src/test/java/one/talon/model/LoyaltyProgramTransactionTest.java b/src/test/java/one/talon/model/LoyaltyProgramTransactionTest.java index dfa998cd..a2a6db87 100644 --- a/src/test/java/one/talon/model/LoyaltyProgramTransactionTest.java +++ b/src/test/java/one/talon/model/LoyaltyProgramTransactionTest.java @@ -51,6 +51,14 @@ public void idTest() { // TODO: test id } + /** + * Test the property 'transactionUUID' + */ + @Test + public void transactionUUIDTest() { + // TODO: test transactionUUID + } + /** * Test the property 'programId' */ diff --git a/src/test/java/one/talon/model/NewMessageTestTest.java b/src/test/java/one/talon/model/NewMessageTestTest.java index c9aa388d..9ce73bc0 100644 --- a/src/test/java/one/talon/model/NewMessageTestTest.java +++ b/src/test/java/one/talon/model/NewMessageTestTest.java @@ -21,9 +21,11 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; +import one.talon.model.TemplateArgDef; import org.junit.Assert; import org.junit.Ignore; import org.junit.Test; @@ -43,22 +45,6 @@ public void testNewMessageTest() { // TODO: test NewMessageTest } - /** - * Test the property 'type' - */ - @Test - public void typeTest() { - // TODO: test type - } - - /** - * Test the property 'queryParams' - */ - @Test - public void queryParamsTest() { - // TODO: test queryParams - } - /** * Test the property 'headers' */ @@ -91,4 +77,20 @@ public void payloadTest() { // TODO: test payload } + /** + * Test the property 'params' + */ + @Test + public void paramsTest() { + // TODO: test params + } + + /** + * Test the property 'applicationIds' + */ + @Test + public void applicationIdsTest() { + // TODO: test applicationIds + } + } diff --git a/src/test/java/one/talon/model/NewPriceAdjustmentTest.java b/src/test/java/one/talon/model/NewPriceAdjustmentTest.java index 606ec708..6de20d6c 100644 --- a/src/test/java/one/talon/model/NewPriceAdjustmentTest.java +++ b/src/test/java/one/talon/model/NewPriceAdjustmentTest.java @@ -90,4 +90,12 @@ public void effectiveUntilTest() { // TODO: test effectiveUntil } + /** + * Test the property 'contextId' + */ + @Test + public void contextIdTest() { + // TODO: test contextId + } + } diff --git a/src/test/java/one/talon/model/PriceDetailTest.java b/src/test/java/one/talon/model/PriceDetailTest.java index 343e1bc5..70494b05 100644 --- a/src/test/java/one/talon/model/PriceDetailTest.java +++ b/src/test/java/one/talon/model/PriceDetailTest.java @@ -50,6 +50,14 @@ public void priceTest() { // TODO: test price } + /** + * Test the property 'adjustmentContextId' + */ + @Test + public void adjustmentContextIdTest() { + // TODO: test adjustmentContextId + } + /** * Test the property 'adjustmentReferenceId' */ diff --git a/src/test/java/one/talon/model/PriceTypeReferenceDetailTest.java b/src/test/java/one/talon/model/PriceTypeReferenceDetailTest.java new file mode 100644 index 00000000..6106f11a --- /dev/null +++ b/src/test/java/one/talon/model/PriceTypeReferenceDetailTest.java @@ -0,0 +1,75 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for PriceTypeReferenceDetail + */ +public class PriceTypeReferenceDetailTest { + private final PriceTypeReferenceDetail model = new PriceTypeReferenceDetail(); + + /** + * Model tests for PriceTypeReferenceDetail + */ + @Test + public void testPriceTypeReferenceDetail() { + // TODO: test PriceTypeReferenceDetail + } + + /** + * Test the property 'referencingType' + */ + @Test + public void referencingTypeTest() { + // TODO: test referencingType + } + + /** + * Test the property 'referencingId' + */ + @Test + public void referencingIdTest() { + // TODO: test referencingId + } + + /** + * Test the property 'referencingName' + */ + @Test + public void referencingNameTest() { + // TODO: test referencingName + } + + /** + * Test the property 'applicationId' + */ + @Test + public void applicationIdTest() { + // TODO: test applicationId + } + +} diff --git a/src/test/java/one/talon/model/PriceTypeReferencesTest.java b/src/test/java/one/talon/model/PriceTypeReferencesTest.java new file mode 100644 index 00000000..eb7c4af0 --- /dev/null +++ b/src/test/java/one/talon/model/PriceTypeReferencesTest.java @@ -0,0 +1,62 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import one.talon.model.PriceTypeReferenceDetail; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for PriceTypeReferences + */ +public class PriceTypeReferencesTest { + private final PriceTypeReferences model = new PriceTypeReferences(); + + /** + * Model tests for PriceTypeReferences + */ + @Test + public void testPriceTypeReferences() { + // TODO: test PriceTypeReferences + } + + /** + * Test the property 'priceTypeId' + */ + @Test + public void priceTypeIdTest() { + // TODO: test priceTypeId + } + + /** + * Test the property 'references' + */ + @Test + public void referencesTest() { + // TODO: test references + } + +} diff --git a/src/test/java/one/talon/model/RoleV2RolesGroupTest.java b/src/test/java/one/talon/model/RoleV2RolesGroupTest.java index de56387b..1a9028a2 100644 --- a/src/test/java/one/talon/model/RoleV2RolesGroupTest.java +++ b/src/test/java/one/talon/model/RoleV2RolesGroupTest.java @@ -68,4 +68,12 @@ public void campaignAccessGroupsTest() { // TODO: test campaignAccessGroups } + /** + * Test the property 'account' + */ + @Test + public void accountTest() { + // TODO: test account + } + } diff --git a/src/test/java/one/talon/model/SetLoyaltyPointsExpiryDateEffectPropsTest.java b/src/test/java/one/talon/model/SetLoyaltyPointsExpiryDateEffectPropsTest.java new file mode 100644 index 00000000..ee3ef0ae --- /dev/null +++ b/src/test/java/one/talon/model/SetLoyaltyPointsExpiryDateEffectPropsTest.java @@ -0,0 +1,79 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import one.talon.model.LoyaltyLedgerEntryExpiryDateChange; +import org.threeten.bp.OffsetDateTime; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for SetLoyaltyPointsExpiryDateEffectProps + */ +public class SetLoyaltyPointsExpiryDateEffectPropsTest { + private final SetLoyaltyPointsExpiryDateEffectProps model = new SetLoyaltyPointsExpiryDateEffectProps(); + + /** + * Model tests for SetLoyaltyPointsExpiryDateEffectProps + */ + @Test + public void testSetLoyaltyPointsExpiryDateEffectProps() { + // TODO: test SetLoyaltyPointsExpiryDateEffectProps + } + + /** + * Test the property 'programId' + */ + @Test + public void programIdTest() { + // TODO: test programId + } + + /** + * Test the property 'subLedgerId' + */ + @Test + public void subLedgerIdTest() { + // TODO: test subLedgerId + } + + /** + * Test the property 'newExpiryDate' + */ + @Test + public void newExpiryDateTest() { + // TODO: test newExpiryDate + } + + /** + * Test the property 'affectedTransactions' + */ + @Test + public void affectedTransactionsTest() { + // TODO: test affectedTransactions + } + +} diff --git a/src/test/java/one/talon/model/StrikethroughChangedItemTest.java b/src/test/java/one/talon/model/StrikethroughChangedItemTest.java index ddde3bbd..69405b05 100644 --- a/src/test/java/one/talon/model/StrikethroughChangedItemTest.java +++ b/src/test/java/one/talon/model/StrikethroughChangedItemTest.java @@ -23,7 +23,10 @@ import java.io.IOException; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.HashMap; import java.util.List; +import java.util.Map; +import one.talon.model.PriceDetail; import one.talon.model.StrikethroughEffect; import org.threeten.bp.OffsetDateTime; import org.junit.Assert; @@ -85,6 +88,14 @@ public void priceTest() { // TODO: test price } + /** + * Test the property 'prices' + */ + @Test + public void pricesTest() { + // TODO: test prices + } + /** * Test the property 'evaluatedAt' */ diff --git a/src/test/java/one/talon/model/StrikethroughEffectTest.java b/src/test/java/one/talon/model/StrikethroughEffectTest.java index ee75ce3f..832bc799 100644 --- a/src/test/java/one/talon/model/StrikethroughEffectTest.java +++ b/src/test/java/one/talon/model/StrikethroughEffectTest.java @@ -21,6 +21,9 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; import org.threeten.bp.OffsetDateTime; import org.junit.Assert; import org.junit.Ignore; @@ -105,4 +108,36 @@ public void endTimeTest() { // TODO: test endTime } + /** + * Test the property 'selectedPriceType' + */ + @Test + public void selectedPriceTypeTest() { + // TODO: test selectedPriceType + } + + /** + * Test the property 'selectedPrice' + */ + @Test + public void selectedPriceTest() { + // TODO: test selectedPrice + } + + /** + * Test the property 'adjustmentReferenceId' + */ + @Test + public void adjustmentReferenceIdTest() { + // TODO: test adjustmentReferenceId + } + + /** + * Test the property 'targets' + */ + @Test + public void targetsTest() { + // TODO: test targets + } + } diff --git a/src/test/java/one/talon/model/StrikethroughLabelingNotificationTest.java b/src/test/java/one/talon/model/StrikethroughLabelingNotificationTest.java index ea2cb2f6..c88783b1 100644 --- a/src/test/java/one/talon/model/StrikethroughLabelingNotificationTest.java +++ b/src/test/java/one/talon/model/StrikethroughLabelingNotificationTest.java @@ -101,4 +101,12 @@ public void changedItemsTest() { // TODO: test changedItems } + /** + * Test the property 'notificationType' + */ + @Test + public void notificationTypeTest() { + // TODO: test notificationType + } + } diff --git a/src/test/java/one/talon/model/UpdateAchievementTest.java b/src/test/java/one/talon/model/UpdateAchievementTest.java index e208d8a7..f03cebe8 100644 --- a/src/test/java/one/talon/model/UpdateAchievementTest.java +++ b/src/test/java/one/talon/model/UpdateAchievementTest.java @@ -123,4 +123,12 @@ public void endDateTest() { // TODO: test endDate } + /** + * Test the property 'allowRollbackAfterCompletion' + */ + @Test + public void allowRollbackAfterCompletionTest() { + // TODO: test allowRollbackAfterCompletion + } + } diff --git a/src/test/java/one/talon/model/UpdateCouponsDataTest.java b/src/test/java/one/talon/model/UpdateCouponsDataTest.java index 247ec338..d94ac400 100644 --- a/src/test/java/one/talon/model/UpdateCouponsDataTest.java +++ b/src/test/java/one/talon/model/UpdateCouponsDataTest.java @@ -88,4 +88,12 @@ public void employeeNameTest() { // TODO: test employeeName } + /** + * Test the property 'notificationType' + */ + @Test + public void notificationTypeTest() { + // TODO: test notificationType + } + } diff --git a/src/test/java/one/talon/model/UpdatePriceTypeTest.java b/src/test/java/one/talon/model/UpdatePriceTypeTest.java new file mode 100644 index 00000000..4660036e --- /dev/null +++ b/src/test/java/one/talon/model/UpdatePriceTypeTest.java @@ -0,0 +1,69 @@ +/* + * Talon.One API + * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package one.talon.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for UpdatePriceType + */ +public class UpdatePriceTypeTest { + private final UpdatePriceType model = new UpdatePriceType(); + + /** + * Model tests for UpdatePriceType + */ + @Test + public void testUpdatePriceType() { + // TODO: test UpdatePriceType + } + + /** + * Test the property 'title' + */ + @Test + public void titleTest() { + // TODO: test title + } + + /** + * Test the property 'description' + */ + @Test + public void descriptionTest() { + // TODO: test description + } + + /** + * Test the property 'targetedAudiencesIds' + */ + @Test + public void targetedAudiencesIdsTest() { + // TODO: test targetedAudiencesIds + } + +}