diff --git a/README.md b/README.md index f96884c5..c47382c7 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ is `https://mycompany.talon.one/v2/customer_sessions/{Id}` This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. - API version: 1.0.0 -- Package version: 2.6.0 +- Package version: 2.6.1 - Build package: org.openapitools.codegen.languages.GoClientExperimentalCodegen ## Installation @@ -79,6 +79,7 @@ ctx = context.WithValue(context.Background(), sw.ContextOperationServerVariables }, }) ``` + ## Getting Started ### Integration API @@ -569,6 +570,7 @@ Class | Method | HTTP request | Description - [InlineResponse20031](docs/InlineResponse20031.md) - [InlineResponse20032](docs/InlineResponse20032.md) - [InlineResponse20033](docs/InlineResponse20033.md) + - [InlineResponse20034](docs/InlineResponse20034.md) - [InlineResponse2004](docs/InlineResponse2004.md) - [InlineResponse2005](docs/InlineResponse2005.md) - [InlineResponse2006](docs/InlineResponse2006.md) diff --git a/api/openapi.yaml b/api/openapi.yaml index addd9c72..39cb6ce9 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -1333,7 +1333,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/LedgerTransactionLogEntryIntegrationAPI' + $ref: '#/components/schemas/inline_response_200_1' description: OK "400": content: @@ -1389,7 +1389,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_1' + $ref: '#/components/schemas/inline_response_200_2' description: OK summary: List applications tags: @@ -1515,7 +1515,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_2' + $ref: '#/components/schemas/inline_response_200_3' description: OK "400": content: @@ -1543,7 +1543,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_3' + $ref: '#/components/schemas/inline_response_200_4' description: OK summary: List notification webhooks tags: @@ -1780,7 +1780,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_2' + $ref: '#/components/schemas/inline_response_200_3' description: OK summary: Copy the campaign into the specified application tags: @@ -1852,7 +1852,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_2' + $ref: '#/components/schemas/inline_response_200_3' description: OK summary: List campaigns that match the given attributes tags: @@ -1906,7 +1906,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_4' + $ref: '#/components/schemas/inline_response_200_5' description: OK summary: List campaign rulesets tags: @@ -1984,7 +1984,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_5' + $ref: '#/components/schemas/inline_response_200_6' description: OK "204": content: {} @@ -2197,7 +2197,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_5' + $ref: '#/components/schemas/inline_response_200_6' description: OK "204": content: {} @@ -2360,7 +2360,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_6' + $ref: '#/components/schemas/inline_response_200_7' description: OK summary: List coupons tags: @@ -2563,7 +2563,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_6' + $ref: '#/components/schemas/inline_response_200_7' description: OK summary: List coupons that match the given attributes in campaign (without total count) @@ -2708,7 +2708,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_6' + $ref: '#/components/schemas/inline_response_200_7' description: OK summary: List coupons that match the given attributes (without total count) tags: @@ -2880,7 +2880,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_7' + $ref: '#/components/schemas/inline_response_200_8' description: OK summary: List referrals tags: @@ -2928,7 +2928,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_8' + $ref: '#/components/schemas/inline_response_200_9' description: OK summary: List loyalty programs tags: @@ -3367,7 +3367,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_9' + $ref: '#/components/schemas/inline_response_200_10' description: OK "400": content: @@ -3558,7 +3558,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_10' + $ref: '#/components/schemas/inline_response_200_11' description: OK "404": content: @@ -3621,7 +3621,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_11' + $ref: '#/components/schemas/inline_response_200_12' description: OK "404": content: @@ -3691,7 +3691,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_11' + $ref: '#/components/schemas/inline_response_200_12' description: OK "404": content: @@ -4202,7 +4202,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_12' + $ref: '#/components/schemas/inline_response_200_13' description: OK summary: Get access logs for Application tags: @@ -4281,7 +4281,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_13' + $ref: '#/components/schemas/inline_response_200_14' description: OK summary: List access logs tags: @@ -4337,7 +4337,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_14' + $ref: '#/components/schemas/inline_response_200_15' description: OK summary: Get analytics of campaigns tags: @@ -4388,7 +4388,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_15' + $ref: '#/components/schemas/inline_response_200_16' description: OK summary: List application's customers tags: @@ -4442,7 +4442,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_16' + $ref: '#/components/schemas/inline_response_200_17' description: OK summary: List application customers matching the given attributes tags: @@ -4481,7 +4481,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_17' + $ref: '#/components/schemas/inline_response_200_18' description: OK summary: List customer profiles matching the given attributes tags: @@ -4545,7 +4545,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_17' + $ref: '#/components/schemas/inline_response_200_18' description: OK summary: List customer profiles tags: @@ -4658,7 +4658,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_18' + $ref: '#/components/schemas/inline_response_200_19' description: OK summary: Get Activity Reports for Application Customers tags: @@ -4858,7 +4858,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_19' + $ref: '#/components/schemas/inline_response_200_20' description: OK summary: List Application sessions tags: @@ -4996,7 +4996,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_20' + $ref: '#/components/schemas/inline_response_200_21' description: OK summary: List Applications events tags: @@ -5042,7 +5042,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_21' + $ref: '#/components/schemas/inline_response_200_22' description: OK summary: List Applications event types tags: @@ -5088,7 +5088,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_22' + $ref: '#/components/schemas/inline_response_200_23' description: OK summary: List audiences tags: @@ -5147,7 +5147,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_23' + $ref: '#/components/schemas/inline_response_200_24' description: OK summary: List friends referred by customer profile tags: @@ -5189,7 +5189,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_24' + $ref: '#/components/schemas/inline_response_200_25' description: OK summary: List custom attributes tags: @@ -5609,7 +5609,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_25' + $ref: '#/components/schemas/inline_response_200_26' description: OK summary: List additional costs tags: @@ -5721,7 +5721,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_26' + $ref: '#/components/schemas/inline_response_200_27' description: OK summary: List webhooks tags: @@ -5812,7 +5812,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_27' + $ref: '#/components/schemas/inline_response_200_28' description: OK summary: List webhook activation log entries tags: @@ -5892,7 +5892,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_28' + $ref: '#/components/schemas/inline_response_200_29' description: OK summary: List webhook log entries tags: @@ -5941,7 +5941,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_29' + $ref: '#/components/schemas/inline_response_200_30' description: OK summary: List event types tags: @@ -6448,7 +6448,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_30' + $ref: '#/components/schemas/inline_response_200_31' description: OK summary: List users in account tags: @@ -6554,7 +6554,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_31' + $ref: '#/components/schemas/inline_response_200_32' description: OK summary: Get audit logs for an account tags: @@ -6743,7 +6743,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_32' + $ref: '#/components/schemas/inline_response_200_33' description: OK summary: Get exports tags: @@ -6757,7 +6757,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200_33' + $ref: '#/components/schemas/inline_response_200_34' description: OK summary: List roles tags: @@ -23541,6 +23541,44 @@ components: - data - totalResultSize inline_response_200_1: + example: + data: + - expiryDate: 2022-01-02T15:04:05Z07:00 + rulesetId: 11 + amount: 10.25 + created: 2000-01-23T04:56:07.000+00:00 + subledgerId: sub-123 + name: Reward 10% points of a purchase's current total + ruleName: Add 2 points + customerSessionId: 05c2da0d-48fa-4aa1-b629-898f58f1584d + id: 123 + type: addition + programId: 324 + startDate: 2022-01-02T15:04:05Z07:00 + - expiryDate: 2022-01-02T15:04:05Z07:00 + rulesetId: 11 + amount: 10.25 + created: 2000-01-23T04:56:07.000+00:00 + subledgerId: sub-123 + name: Reward 10% points of a purchase's current total + ruleName: Add 2 points + customerSessionId: 05c2da0d-48fa-4aa1-b629-898f58f1584d + id: 123 + type: addition + programId: 324 + startDate: 2022-01-02T15:04:05Z07:00 + hasMore: true + properties: + hasMore: + type: boolean + data: + items: + $ref: '#/components/schemas/LedgerTransactionLogEntryIntegrationAPI' + type: array + required: + - data + - hasMore + inline_response_200_2: example: data: - enableFlattenedCartItems: true @@ -23754,7 +23792,7 @@ components: required: - data - totalResultSize - inline_response_200_2: + inline_response_200_3: example: data: - callApiEffectCount: 0 @@ -23906,7 +23944,7 @@ components: required: - data - totalResultSize - inline_response_200_3: + inline_response_200_4: example: data: - headers: @@ -23936,7 +23974,7 @@ components: required: - data - totalResultSize - inline_response_200_4: + inline_response_200_5: example: data: - rbVersion: v2 @@ -24090,7 +24128,7 @@ components: required: - data - totalResultSize - inline_response_200_5: + inline_response_200_6: example: data: - recipientIntegrationId: URNGV8294NV @@ -24160,7 +24198,7 @@ components: required: - data - totalResultSize - inline_response_200_6: + inline_response_200_7: example: data: - recipientIntegrationId: URNGV8294NV @@ -24230,7 +24268,7 @@ components: required: - data - hasMore - inline_response_200_7: + inline_response_200_8: example: data: - code: 27G47Y54VH9L @@ -24270,7 +24308,7 @@ components: required: - data - hasMore - inline_response_200_8: + inline_response_200_9: example: data: - cardBased: true @@ -24346,7 +24384,7 @@ components: required: - data - totalResultSize - inline_response_200_9: + inline_response_200_10: example: data: - accountId: 3886 @@ -24390,7 +24428,7 @@ components: type: array required: - data - inline_response_200_10: + inline_response_200_11: example: data: - item: item @@ -24406,7 +24444,7 @@ components: required: - data - hasMore - inline_response_200_11: + inline_response_200_12: example: data: - accountId: 3886 @@ -24456,7 +24494,7 @@ components: type: array required: - data - inline_response_200_12: + inline_response_200_13: example: data: - method: method @@ -24484,7 +24522,7 @@ components: required: - data - hasMore - inline_response_200_13: + inline_response_200_14: example: data: - method: method @@ -24512,7 +24550,7 @@ components: required: - data - totalResultSize - inline_response_200_14: + inline_response_200_15: example: data: - date: 2000-01-23T04:56:07.000+00:00 @@ -24576,7 +24614,7 @@ components: required: - data - totalResultSize - inline_response_200_15: + inline_response_200_16: example: data: - accountId: 1 @@ -24634,7 +24672,7 @@ components: type: array required: - data - inline_response_200_16: + inline_response_200_17: example: data: - accountId: 1 @@ -24690,7 +24728,7 @@ components: required: - data - hasMore - inline_response_200_17: + inline_response_200_18: example: data: - accountId: 31 @@ -24744,7 +24782,7 @@ components: required: - data - hasMore - inline_response_200_18: + inline_response_200_19: example: data: - couponUseAttempts: 1 @@ -24784,7 +24822,7 @@ components: required: - data - hasMore - inline_response_200_19: + inline_response_200_20: example: data: - coupon: BKDB946 @@ -24903,7 +24941,7 @@ components: type: array required: - data - inline_response_200_20: + inline_response_200_21: example: data: - effects: @@ -24987,7 +25025,7 @@ components: required: - data - hasMore - inline_response_200_21: + inline_response_200_22: example: data: - data @@ -25003,7 +25041,7 @@ components: required: - data - totalResultSize - inline_response_200_22: + inline_response_200_23: example: data: - accountId: 3886 @@ -25037,7 +25075,7 @@ components: type: array required: - data - inline_response_200_23: + inline_response_200_24: example: data: - friendIntegrationId: friendIntegrationId @@ -25067,7 +25105,7 @@ components: - data - hasMore - totalResultSize - inline_response_200_24: + inline_response_200_25: example: data: - created: 2020-06-10T09:05:27.993483Z @@ -25137,7 +25175,7 @@ components: required: - data - totalResultSize - inline_response_200_25: + inline_response_200_26: example: data: - accountId: 3886 @@ -25171,7 +25209,7 @@ components: required: - data - totalResultSize - inline_response_200_26: + inline_response_200_27: example: data: - headers: @@ -25231,7 +25269,7 @@ components: required: - data - totalResultSize - inline_response_200_27: + inline_response_200_28: example: data: - webhookId: 6 @@ -25255,7 +25293,7 @@ components: required: - data - totalResultSize - inline_response_200_28: + inline_response_200_29: example: data: - requestTime: 2000-01-23T04:56:07.000+00:00 @@ -25289,7 +25327,7 @@ components: required: - data - totalResultSize - inline_response_200_29: + inline_response_200_30: example: data: - created: 2020-06-10T09:05:27.993483Z @@ -25313,7 +25351,7 @@ components: required: - data - totalResultSize - inline_response_200_30: + inline_response_200_31: example: data: - created: 2020-06-10T09:05:27.993483Z @@ -25357,7 +25395,7 @@ components: required: - data - totalResultSize - inline_response_200_31: + inline_response_200_32: example: data: - new: @@ -25405,7 +25443,7 @@ components: type: array required: - data - inline_response_200_32: + inline_response_200_33: example: data: - filter: '{}' @@ -25431,7 +25469,7 @@ components: required: - data - totalResultSize - inline_response_200_33: + inline_response_200_34: example: data: - accountId: 3886 diff --git a/api_integration.go b/api_integration.go index b052e89f..4efb44f6 100644 --- a/api_integration.go +++ b/api_integration.go @@ -54,7 +54,8 @@ To create an audience from scratch: Once you create your first audience, audience-specific rule conditions are enabled in the Rule Builder. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return apiCreateAudienceV2Request */ func (a *IntegrationApiService) CreateAudienceV2(ctx _context.Context) apiCreateAudienceV2Request { @@ -66,7 +67,8 @@ func (a *IntegrationApiService) CreateAudienceV2(ctx _context.Context) apiCreate /* Execute executes the request - @return Audience + + @return Audience */ func (r apiCreateAudienceV2Request) Execute() (Audience, *_nethttp.Response, error) { var ( @@ -227,19 +229,20 @@ When a user redeems a coupon, a reservation is automatically created after the r the used coupon will be returned in the [List customer data endpoint](/integration-api/#operation/getCustomerInventory). **Important:** -- This endpoint creates a **soft** reservation. _Any_ customer - can use a reserved coupon code and proceed to checkout. -- To create a hard reservation, use the - [Create coupons](/management-api/#operation/createCoupons) or - [Create coupons for multiple recipients](/management-api/#operation/createCouponsForMultipleRecipients) endpoints - setting the `recipientsIntegrationId` property. + - This endpoint creates a **soft** reservation. _Any_ customer + can use a reserved coupon code and proceed to checkout. + - To create a hard reservation, use the + [Create coupons](/management-api/#operation/createCoupons) or + [Create coupons for multiple recipients](/management-api/#operation/createCouponsForMultipleRecipients) endpoints + setting the `recipientsIntegrationId` property. For example, you can use this endpoint and `List customer data` to create a _coupon wallet_ by reserving coupon codes for a customer, and then displaying their coupon wallet when they visit your store. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param couponValue The code of the coupon. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param couponValue The code of the coupon. + @return apiCreateCouponReservationRequest */ func (a *IntegrationApiService) CreateCouponReservation(ctx _context.Context, couponValue string) apiCreateCouponReservationRequest { @@ -252,7 +255,8 @@ func (a *IntegrationApiService) CreateCouponReservation(ctx _context.Context, co /* Execute executes the request - @return Coupon + + @return Coupon */ func (r apiCreateCouponReservationRequest) Execute() (Coupon, *_nethttp.Response, error) { var ( @@ -403,7 +407,8 @@ func (r apiCreateReferralRequest) Body(body NewReferral) apiCreateReferralReques CreateReferral Create referral code for an advocate Creates a referral code for an advocate. The code will be valid for the referral campaign for which is created, indicated in the `campaignId` parameter, and will be associated with the profile specified in the `advocateProfileIntegrationId` parameter as the advocate's profile. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return apiCreateReferralRequest */ func (a *IntegrationApiService) CreateReferral(ctx _context.Context) apiCreateReferralRequest { @@ -415,7 +420,8 @@ func (a *IntegrationApiService) CreateReferral(ctx _context.Context) apiCreateRe /* Execute executes the request - @return Referral + + @return Referral */ func (r apiCreateReferralRequest) Execute() (Referral, *_nethttp.Response, error) { var ( @@ -561,7 +567,8 @@ func (r apiCreateReferralsForMultipleAdvocatesRequest) Silent(silent string) api CreateReferralsForMultipleAdvocates Create referral codes for multiple advocates Creates unique referral codes for multiple advocates. The code will be valid for the referral campaign for which it is created, indicated in the `campaignId` parameter, and one referral code will be associated with one advocate using the profile specified in the `advocateProfileIntegrationId` parameter as the advocate's profile. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return apiCreateReferralsForMultipleAdvocatesRequest */ func (a *IntegrationApiService) CreateReferralsForMultipleAdvocates(ctx _context.Context) apiCreateReferralsForMultipleAdvocatesRequest { @@ -573,7 +580,8 @@ func (a *IntegrationApiService) CreateReferralsForMultipleAdvocates(ctx _context /* Execute executes the request - @return InlineResponse201 + + @return InlineResponse201 */ func (r apiCreateReferralsForMultipleAdvocatesRequest) Execute() (InlineResponse201, *_nethttp.Response, error) { var ( @@ -711,8 +719,9 @@ type apiDeleteAudienceMembershipsV2Request struct { DeleteAudienceMembershipsV2 Delete audience memberships Remove all members from this audience. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param audienceId The ID of the audience. You get it via the `id` property when [creating an audience](#operation/createAudienceV2). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param audienceId The ID of the audience. You get it via the `id` property when [creating an audience](#operation/createAudienceV2). + @return apiDeleteAudienceMembershipsV2Request */ func (a *IntegrationApiService) DeleteAudienceMembershipsV2(ctx _context.Context, audienceId int32) apiDeleteAudienceMembershipsV2Request { @@ -725,7 +734,6 @@ func (a *IntegrationApiService) DeleteAudienceMembershipsV2(ctx _context.Context /* Execute executes the request - */ func (r apiDeleteAudienceMembershipsV2Request) Execute() (*_nethttp.Response, error) { var ( @@ -837,8 +845,9 @@ Delete an audience created by a third-party integration. **Warning:** This endpoint also removes any associations recorded between a customer profile and this audience. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param audienceId The ID of the audience. You get it via the `id` property when [creating an audience](#operation/createAudienceV2). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param audienceId The ID of the audience. You get it via the `id` property when [creating an audience](#operation/createAudienceV2). + @return apiDeleteAudienceV2Request */ func (a *IntegrationApiService) DeleteAudienceV2(ctx _context.Context, audienceId int32) apiDeleteAudienceV2Request { @@ -851,7 +860,6 @@ func (a *IntegrationApiService) DeleteAudienceV2(ctx _context.Context, audienceI /* Execute executes the request - */ func (r apiDeleteAudienceV2Request) Execute() (*_nethttp.Response, error) { var ( @@ -978,8 +986,9 @@ DeleteCouponReservation Delete coupon reservations Remove all the coupon reservations from the provided customer profile integration IDs and the provided coupon code. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param couponValue The code of the coupon. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param couponValue The code of the coupon. + @return apiDeleteCouponReservationRequest */ func (a *IntegrationApiService) DeleteCouponReservation(ctx _context.Context, couponValue string) apiDeleteCouponReservationRequest { @@ -992,7 +1001,6 @@ func (a *IntegrationApiService) DeleteCouponReservation(ctx _context.Context, co /* Execute executes the request - */ func (r apiDeleteCouponReservationRequest) Execute() (*_nethttp.Response, error) { var ( @@ -1120,8 +1128,9 @@ Delete all attributes on the customer profile and on entities that reference thi **Important:** To preserve performance, we recommend avoiding deleting customer data during peak-traffic hours. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param integrationId The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration Id with the [Update customer session endpoint](https://docs.talon.one/integration-api/#operation/updateCustomerSessionV2). - The Management API with the [List application's customers endpoint](https://docs.talon.one/management-api/#operation/getApplicationCustomers). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param integrationId The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration Id with the [Update customer session endpoint](https://docs.talon.one/integration-api/#operation/updateCustomerSessionV2). - The Management API with the [List application's customers endpoint](https://docs.talon.one/management-api/#operation/getApplicationCustomers). + @return apiDeleteCustomerDataRequest */ func (a *IntegrationApiService) DeleteCustomerData(ctx _context.Context, integrationId string) apiDeleteCustomerDataRequest { @@ -1134,7 +1143,6 @@ func (a *IntegrationApiService) DeleteCustomerData(ctx _context.Context, integra /* Execute executes the request - */ func (r apiDeleteCustomerDataRequest) Execute() (*_nethttp.Response, error) { var ( @@ -1286,8 +1294,9 @@ Reserved coupons also include redeemed coupons. You can also use this endpoint to get the projected loyalty balances in order to notify your customers about points that are about to expire, or to remind them how many points they have. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param integrationId The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration Id with the [Update customer session endpoint](https://docs.talon.one/integration-api/#operation/updateCustomerSessionV2). - The Management API with the [List application's customers endpoint](https://docs.talon.one/management-api/#operation/getApplicationCustomers). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param integrationId The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration Id with the [Update customer session endpoint](https://docs.talon.one/integration-api/#operation/updateCustomerSessionV2). - The Management API with the [List application's customers endpoint](https://docs.talon.one/management-api/#operation/getApplicationCustomers). + @return apiGetCustomerInventoryRequest */ func (a *IntegrationApiService) GetCustomerInventory(ctx _context.Context, integrationId string) apiGetCustomerInventoryRequest { @@ -1300,7 +1309,8 @@ func (a *IntegrationApiService) GetCustomerInventory(ctx _context.Context, integ /* Execute executes the request - @return CustomerInventory + + @return CustomerInventory */ func (r apiGetCustomerInventoryRequest) Execute() (CustomerInventory, *_nethttp.Response, error) { var ( @@ -1453,8 +1463,9 @@ You can get the same data via other endpoints that also apply changes, which can - [Update customer session](#tag/Customer-sessions/operation/updateCustomerSessionV2) - [Update customer profile](#tag/Customer-profiles/operation/updateCustomerProfileV2) - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @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 endpoint](https://docs.talon.one/management-api/#operation/getApplicationSessions). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @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 endpoint](https://docs.talon.one/management-api/#operation/getApplicationSessions). + @return apiGetCustomerSessionRequest */ func (a *IntegrationApiService) GetCustomerSession(ctx _context.Context, customerSessionId string) apiGetCustomerSessionRequest { @@ -1467,7 +1478,8 @@ func (a *IntegrationApiService) GetCustomerSession(ctx _context.Context, custome /* Execute executes the request - @return IntegrationCustomerSessionResponse + + @return IntegrationCustomerSessionResponse */ func (r apiGetCustomerSessionRequest) Execute() (IntegrationCustomerSessionResponse, *_nethttp.Response, error) { var ( @@ -1623,9 +1635,10 @@ GetLoyaltyTransactions Get loyalty ledger transaction logs Retrieve paginated 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 30 loyalty transactions for the given integration ID are returned. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param loyaltyProgramId Identifier of the loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs endpoint](https://docs.talon.one/management-api/#operation/getLoyaltyPrograms). - * @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. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param loyaltyProgramId Identifier of the loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs endpoint](https://docs.talon.one/management-api/#operation/getLoyaltyPrograms). + - @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. + @return apiGetLoyaltyTransactionsRequest */ func (a *IntegrationApiService) GetLoyaltyTransactions(ctx _context.Context, loyaltyProgramId int32, integrationId string) apiGetLoyaltyTransactionsRequest { @@ -1639,16 +1652,17 @@ func (a *IntegrationApiService) GetLoyaltyTransactions(ctx _context.Context, loy /* Execute executes the request - @return LedgerTransactionLogEntryIntegrationApi + + @return InlineResponse2001 */ -func (r apiGetLoyaltyTransactionsRequest) Execute() (LedgerTransactionLogEntryIntegrationApi, *_nethttp.Response, error) { +func (r apiGetLoyaltyTransactionsRequest) Execute() (InlineResponse2001, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue LedgerTransactionLogEntryIntegrationApi + localVarReturnValue InlineResponse2001 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "IntegrationApiService.GetLoyaltyTransactions") @@ -1729,7 +1743,7 @@ func (r apiGetLoyaltyTransactionsRequest) Execute() (LedgerTransactionLogEntryIn error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v LedgerTransactionLogEntryIntegrationApi + var v InlineResponse2001 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1796,8 +1810,9 @@ Coupons are reserved in the following ways: - To create a soft reservation (any customer can use the coupon), use the [Create coupon reservation](#operation/createCouponReservation) endpoint. - To create a hard reservation (only the given customer can use the coupon), create a coupon in the Campaign Manager for a given `recipientIntegrationId` or use the [Create coupons](/management-api/#operation/createCoupons) or [Create coupons for multiple recipients](/management-api/#operation/createCouponsForMultipleRecipients) endpoints. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param couponValue The code of the coupon. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param couponValue The code of the coupon. + @return apiGetReservedCustomersRequest */ func (a *IntegrationApiService) GetReservedCustomers(ctx _context.Context, couponValue string) apiGetReservedCustomersRequest { @@ -1810,7 +1825,8 @@ func (a *IntegrationApiService) GetReservedCustomers(ctx _context.Context, coupo /* Execute executes the request - @return InlineResponse200 + + @return InlineResponse200 */ func (r apiGetReservedCustomersRequest) Execute() (InlineResponse200, *_nethttp.Response, error) { var ( @@ -1971,8 +1987,9 @@ is enabled for the Application. [our documentation on session states](https://docs.talon.one/docs/dev/concepts/entities#customer-session-states) and [this tutorial](https://docs.talon.one/docs/dev/tutorials/partially-returning-a-session). - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @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 endpoint](https://docs.talon.one/management-api/#operation/getApplicationSessions). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @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 endpoint](https://docs.talon.one/management-api/#operation/getApplicationSessions). + @return apiReturnCartItemsRequest */ func (a *IntegrationApiService) ReturnCartItems(ctx _context.Context, customerSessionId string) apiReturnCartItemsRequest { @@ -1985,7 +2002,8 @@ func (a *IntegrationApiService) ReturnCartItems(ctx _context.Context, customerSe /* Execute executes the request - @return IntegrationStateV2 + + @return IntegrationStateV2 */ func (r apiReturnCartItemsRequest) Execute() (IntegrationStateV2, *_nethttp.Response, error) { var ( @@ -2146,22 +2164,28 @@ at a time. The `filters` object contains the following properties: -- `attr`: A [cart item attribute](https://docs.talon.one/docs/product/account/dev-tools/managing-attributes) - connected to the catalog. It is applied to all items in the catalog. -- `op`: The filtering operator indicating the relationship between the value of each - cart item in the catalog and the value of the `value` property for the attribute selected - in `attr`. + - `attr`: A [cart item attribute](https://docs.talon.one/docs/product/account/dev-tools/managing-attributes) + connected to the catalog. It is applied to all items in the catalog. + + - `op`: The filtering operator indicating the relationship between the value of each + cart item in the catalog and the value of the `value` property for the attribute selected + in `attr`. - The value of `op` can be one of the following: + The value of `op` can be one of the following: - `EQ`: Equal to `value` + - `LT`: Less than `value` + - `LE`: Less than or equal to `value` + - `GT`: Greater than `value` + - `GE`: Greater than or equal to `value` + - `IN`: One of the comma-separated values that `value` is set to. - **Note:** `GE`, `LE`, `GT`, `LT` are for numeric values only. + **Note:** `GE`, `LE`, `GT`, `LT` are for numeric values only. - `value`: The value of the attribute selected in `attr`. @@ -2170,158 +2194,171 @@ The `filters` object contains the following properties: Synchronization actions are sent as `PUT` requests. See the structure for each action:
- Adding an item to the catalog -
- - ```json - { - "actions": [ - { - "payload": { - "attributes": { - "color": "Navy blue", - "type": "shoe" - }, - "replaceIfExists": true, - "sku": "SKU1241028" - }, - "type": "ADD" - } - ] - } - ``` -
+ + Adding an item to the catalog +
+ + ```json + { + "actions": [ + { + "payload": { + "attributes": { + "color": "Navy blue", + "type": "shoe" + }, + "replaceIfExists": true, + "sku": "SKU1241028" + }, + "type": "ADD" + } + ] + } + ``` +
+
- Editing the attributes of an item in the catalog -
- - ```json - { - "actions": [ - { - "payload": { - "attributes": { - "age": 11, - "origin": "germany" - }, - "createIfNotExists": false, - "sku": "SKU1241028" - }, - "type": "PATCH" - } - ] - } - ``` -
+ + Editing the attributes of an item in the catalog +
+ + ```json + { + "actions": [ + { + "payload": { + "attributes": { + "age": 11, + "origin": "germany" + }, + "createIfNotExists": false, + "sku": "SKU1241028" + }, + "type": "PATCH" + } + ] + } + ``` +
+
- Editing the attributes of several items at once -
- - ```json - { - "actions": [ - { - "payload": { - "attributes": { - "color": "red" - }, - "filters": [ - { - "attr": "color", - "op": "EQ", - "value": "blue" - } - ] - }, - "type": "PATCH_MANY" - } - ] - } - ``` - -
+ + Editing the attributes of several items at once +
+ + ```json + { + "actions": [ + { + "payload": { + "attributes": { + "color": "red" + }, + "filters": [ + { + "attr": "color", + "op": "EQ", + "value": "blue" + } + ] + }, + "type": "PATCH_MANY" + } + ] + } + ``` + +
+
- Removing an item from the catalog -
- - ```json - { - "actions": [ - { - "payload": { - "sku": "SKU1241028" - }, - "type": "REMOVE" - } - ] - } - ``` - -
+ + Removing an item from the catalog +
+ + ```json + { + "actions": [ + { + "payload": { + "sku": "SKU1241028" + }, + "type": "REMOVE" + } + ] + } + ``` + +
+
- Removing several items from the catalog at once -
- - ```json - { - "actions": [ - { - "payload": { - "filters": [ - { - "attr": "color", - "op": "EQ", - "value": "blue" - } - ] - }, - "type": "REMOVE_MANY" - } - ] - } - ``` -
+ + Removing several items from the catalog at once +
+ + ```json + { + "actions": [ + { + "payload": { + "filters": [ + { + "attr": "color", + "op": "EQ", + "value": "blue" + } + ] + }, + "type": "REMOVE_MANY" + } + ] + } + ``` +
+
- Removing shoes of sizes above 45 from the catalog -
-

- Let's imagine that we have a shoe store and we have decided to stop selling - shoes larger than size 45. We can remove from the catalog all the shoes of sizes above 45 - with a single action:

- - ```json - { - "actions": [ - { - "payload": { - "filters": [ - { - "attr": "size", - "op": "GT", - "value": "45" - } - ] - }, - "type": "REMOVE_MANY" - } - ] - } - ``` -
+ + Removing shoes of sizes above 45 from the catalog +
+

+ Let's imagine that we have a shoe store and we have decided to stop selling + shoes larger than size 45. We can remove from the catalog all the shoes of sizes above 45 + with a single action:

+ + ```json + { + "actions": [ + { + "payload": { + "filters": [ + { + "attr": "size", + "op": "GT", + "value": "45" + } + ] + }, + "type": "REMOVE_MANY" + } + ] + } + ``` +
+
- * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param catalogId + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param catalogId + @return apiSyncCatalogRequest */ func (a *IntegrationApiService) SyncCatalog(ctx _context.Context, catalogId int32) apiSyncCatalogRequest { @@ -2334,7 +2371,8 @@ func (a *IntegrationApiService) SyncCatalog(ctx _context.Context, catalogId int3 /* Execute executes the request - @return Catalog + + @return Catalog */ func (r apiSyncCatalogRequest) Execute() (Catalog, *_nethttp.Response, error) { var ( @@ -2492,16 +2530,19 @@ TrackEvent Track event **Important:** This endpoint is **DEPRECATED**. Use [Track Event V2](https://docs.talon.one/integration-api/#tag/Events/operation/trackEventV2) instead.
- Triggers a custom event in a customer session. You can then check this event in your rules. **Important:** Talon.One offers a set of [built-in events](/docs/dev/concepts/events), ensure you do not create a custom event when you can use a built-in event. - For example, use this endpoint to trigger an event when a user updates their payment information. - Before using this endpoint, create your event as a custom attribute of type `event`. See the [Developer docs](/docs/dev/concepts/events/#creating-a-custom-event). + Triggers a custom event in a customer session. You can then check this event in your rules. **Important:** Talon.One offers a set of [built-in events](/docs/dev/concepts/events), ensure you do not create a custom event when you can use a built-in event. + For example, use this endpoint to trigger an event when a user updates their payment information. + + Before using this endpoint, create your event as a custom attribute of type `event`. See the [Developer docs](/docs/dev/concepts/events/#creating-a-custom-event). + + An event is always part of a session. If either the profile or the session does not exist, + a new empty profile/session is created. If the specified session already exists, it must belong to the same `profileId` or an error will be returned. - An event is always part of a session. If either the profile or the session does not exist, - a new empty profile/session is created. If the specified session already exists, it must belong to the same `profileId` or an error will be returned.
- * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return apiTrackEventRequest */ func (a *IntegrationApiService) TrackEvent(ctx _context.Context) apiTrackEventRequest { @@ -2513,7 +2554,8 @@ func (a *IntegrationApiService) TrackEvent(ctx _context.Context) apiTrackEventRe /* Execute executes the request - @return IntegrationState + + @return IntegrationState */ func (r apiTrackEventRequest) Execute() (IntegrationState, *_nethttp.Response, error) { var ( @@ -2689,7 +2731,8 @@ See the [tutorial](https://docs.talon.one/docs/product/tutorials/referrals/incen - Before using this endpoint, create your event as a custom attribute of type `event`. See the [Developer docs](/docs/dev/concepts/events/#creating-a-custom-event). - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return apiTrackEventV2Request */ func (a *IntegrationApiService) TrackEventV2(ctx _context.Context) apiTrackEventV2Request { @@ -2701,7 +2744,8 @@ func (a *IntegrationApiService) TrackEventV2(ctx _context.Context) apiTrackEvent /* Execute executes the request - @return IntegrationStateV2 + + @return IntegrationStateV2 */ func (r apiTrackEventV2Request) Execute() (IntegrationStateV2, *_nethttp.Response, error) { var ( @@ -2848,8 +2892,9 @@ func (r apiUpdateAudienceCustomersAttributesRequest) Body(body map[string]interf UpdateAudienceCustomersAttributes Update profile attributes for all customers in audience Update the specified profile attributes to the provided values for all customers in the specified audience. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param audienceId The ID of the audience. You get it via the `id` property when [creating an audience](#operation/createAudienceV2). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param audienceId The ID of the audience. You get it via the `id` property when [creating an audience](#operation/createAudienceV2). + @return apiUpdateAudienceCustomersAttributesRequest */ func (a *IntegrationApiService) UpdateAudienceCustomersAttributes(ctx _context.Context, audienceId int32) apiUpdateAudienceCustomersAttributesRequest { @@ -2862,7 +2907,6 @@ func (a *IntegrationApiService) UpdateAudienceCustomersAttributes(ctx _context.C /* Execute executes the request - */ func (r apiUpdateAudienceCustomersAttributesRequest) Execute() (*_nethttp.Response, error) { var ( @@ -2986,8 +3030,9 @@ Update the name of the given audience created by a third-party integration. Send To update the audience's members, use the [Update customer profile endpoint](#tag/Customer-profiles/operation/updateCustomerProfileV2). - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param audienceId The ID of the audience. You get it via the `id` property when [creating an audience](#operation/createAudienceV2). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param audienceId The ID of the audience. You get it via the `id` property when [creating an audience](#operation/createAudienceV2). + @return apiUpdateAudienceV2Request */ func (a *IntegrationApiService) UpdateAudienceV2(ctx _context.Context, audienceId int32) apiUpdateAudienceV2Request { @@ -3000,7 +3045,8 @@ func (a *IntegrationApiService) UpdateAudienceV2(ctx _context.Context, audienceI /* Execute executes the request - @return Audience + + @return Audience */ func (r apiUpdateAudienceV2Request) Execute() (Audience, *_nethttp.Response, error) { var ( @@ -3144,7 +3190,8 @@ when customers join or leave audiences. The limit of customer profiles per request is 1000. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return apiUpdateCustomerProfileAudiencesRequest */ func (a *IntegrationApiService) UpdateCustomerProfileAudiences(ctx _context.Context) apiUpdateCustomerProfileAudiencesRequest { @@ -3156,7 +3203,6 @@ func (a *IntegrationApiService) UpdateCustomerProfileAudiences(ctx _context.Cont /* Execute executes the request - */ func (r apiUpdateCustomerProfileAudiencesRequest) Execute() (*_nethttp.Response, error) { var ( @@ -3304,16 +3350,19 @@ You can use this endpoint to: - Modify the audience the customer profile is a member of.
-

Performance tips

- Updating a customer profile returns a response with the requested integration state. +

Performance tips

+ + Updating a customer profile returns a response with the requested integration state. + + You can use the `responseContent` property to save yourself extra API calls. For example, you can get + the customer profile details directly without extra requests. - You can use the `responseContent` property to save yourself extra API calls. For example, you can get - the customer profile details directly without extra requests.
- * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @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. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @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. + @return apiUpdateCustomerProfileV2Request */ func (a *IntegrationApiService) UpdateCustomerProfileV2(ctx _context.Context, integrationId string) apiUpdateCustomerProfileV2Request { @@ -3326,7 +3375,8 @@ func (a *IntegrationApiService) UpdateCustomerProfileV2(ctx _context.Context, in /* Execute executes the request - @return IntegrationStateV2 + + @return IntegrationStateV2 */ func (r apiUpdateCustomerProfileV2Request) Execute() (IntegrationStateV2, *_nethttp.Response, error) { var ( @@ -3495,7 +3545,8 @@ themselves. For example, you can use a database ID. A customer profile [can be linked to one or more sessions](/integration-api/#tag/Customer-sessions). - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return apiUpdateCustomerProfilesV2Request */ func (a *IntegrationApiService) UpdateCustomerProfilesV2(ctx _context.Context) apiUpdateCustomerProfilesV2Request { @@ -3507,7 +3558,8 @@ func (a *IntegrationApiService) UpdateCustomerProfilesV2(ctx _context.Context) a /* Execute executes the request - @return MultipleCustomerProfileIntegrationResponseV2 + + @return MultipleCustomerProfileIntegrationResponseV2 */ func (r apiUpdateCustomerProfilesV2Request) Execute() (MultipleCustomerProfileIntegrationResponseV2, *_nethttp.Response, error) { var ( @@ -3683,16 +3735,19 @@ See more information and tips about session management in the [documentation](/d **Note:** You do **not** have to create a customer profile first. If the specified profile does not exist, an empty profile is created automatically.
-

Performance tips

- Updating a customer session returns a response with the requested integration state. Use the `responseContent` property to save yourself extra API calls. For example, you can get - the customer profile details directly without extra requests. +

Performance tips

+ + Updating a customer session returns a response with the requested integration state. Use the `responseContent` property to save yourself extra API calls. For example, you can get + the customer profile details directly without extra requests. + + For more information, see the [integration tutorial](https://docs.talon.one/docs/dev/tutorials/integrating-talon-one). - For more information, see the [integration tutorial](https://docs.talon.one/docs/dev/tutorials/integrating-talon-one).
- * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @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 endpoint](https://docs.talon.one/management-api/#operation/getApplicationSessions). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @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 endpoint](https://docs.talon.one/management-api/#operation/getApplicationSessions). + @return apiUpdateCustomerSessionV2Request */ func (a *IntegrationApiService) UpdateCustomerSessionV2(ctx _context.Context, customerSessionId string) apiUpdateCustomerSessionV2Request { @@ -3705,7 +3760,8 @@ func (a *IntegrationApiService) UpdateCustomerSessionV2(ctx _context.Context, cu /* Execute executes the request - @return IntegrationStateV2 + + @return IntegrationStateV2 */ func (r apiUpdateCustomerSessionV2Request) Execute() (IntegrationStateV2, *_nethttp.Response, error) { var ( diff --git a/api_management.go b/api_management.go index 445b88ec..1f8f838d 100644 --- a/api_management.go +++ b/api_management.go @@ -46,9 +46,10 @@ Add points in the specified loyalty program for the given customer. To get the `integrationId` of the profile from a `sessionId`, use the [Update customer session](/integration-api/#operation/updateCustomerSessionV2). - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param loyaltyProgramId The identifier for the loyalty program. - * @param integrationId The identifier of the profile. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param loyaltyProgramId The identifier for the loyalty program. + - @param integrationId The identifier of the profile. + @return apiAddLoyaltyPointsRequest */ func (a *ManagementApiService) AddLoyaltyPoints(ctx _context.Context, loyaltyProgramId string, integrationId string) apiAddLoyaltyPointsRequest { @@ -62,7 +63,6 @@ func (a *ManagementApiService) AddLoyaltyPoints(ctx _context.Context, loyaltyPro /* Execute executes the request - */ func (r apiAddLoyaltyPointsRequest) Execute() (*_nethttp.Response, error) { var ( @@ -195,9 +195,10 @@ func (r apiCopyCampaignToApplicationsRequest) Body(body CampaignCopy) apiCopyCam /* CopyCampaignToApplications Copy the campaign into the specified application Copy the campaign into all specified application. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. - * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + @return apiCopyCampaignToApplicationsRequest */ func (a *ManagementApiService) CopyCampaignToApplications(ctx _context.Context, applicationId int32, campaignId int32) apiCopyCampaignToApplicationsRequest { @@ -211,16 +212,17 @@ func (a *ManagementApiService) CopyCampaignToApplications(ctx _context.Context, /* Execute executes the request - @return InlineResponse2002 + + @return InlineResponse2003 */ -func (r apiCopyCampaignToApplicationsRequest) Execute() (InlineResponse2002, *_nethttp.Response, error) { +func (r apiCopyCampaignToApplicationsRequest) Execute() (InlineResponse2003, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse2002 + localVarReturnValue InlineResponse2003 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.CopyCampaignToApplications") @@ -295,7 +297,7 @@ func (r apiCopyCampaignToApplicationsRequest) Execute() (InlineResponse2002, *_n error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse2002 + var v InlineResponse2003 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -332,7 +334,8 @@ func (r apiCreateAccountCollectionRequest) Body(body NewCollection) apiCreateAcc /* CreateAccountCollection Create account-level collection Create account-level collection. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return apiCreateAccountCollectionRequest */ func (a *ManagementApiService) CreateAccountCollection(ctx _context.Context) apiCreateAccountCollectionRequest { @@ -344,7 +347,8 @@ func (a *ManagementApiService) CreateAccountCollection(ctx _context.Context) api /* Execute executes the request - @return Collection + + @return Collection */ func (r apiCreateAccountCollectionRequest) Execute() (Collection, *_nethttp.Response, error) { var ( @@ -496,7 +500,8 @@ Create an [additional cost](/docs/product/account/dev-tools/managing-additional- These additional costs are shared across all applications in your account, and are never required. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return apiCreateAdditionalCostRequest */ func (a *ManagementApiService) CreateAdditionalCost(ctx _context.Context) apiCreateAdditionalCostRequest { @@ -508,7 +513,8 @@ func (a *ManagementApiService) CreateAdditionalCost(ctx _context.Context) apiCre /* Execute executes the request - @return AccountAdditionalCost + + @return AccountAdditionalCost */ func (r apiCreateAdditionalCostRequest) Execute() (AccountAdditionalCost, *_nethttp.Response, error) { var ( @@ -636,7 +642,8 @@ and add a rule to your campaign that only allows certain ZIP codes. These attributes are shared across all applications in your account, and are never required. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return apiCreateAttributeRequest */ func (a *ManagementApiService) CreateAttribute(ctx _context.Context) apiCreateAttributeRequest { @@ -648,7 +655,8 @@ func (a *ManagementApiService) CreateAttribute(ctx _context.Context) apiCreateAt /* Execute executes the request - @return Attribute + + @return Attribute */ func (r apiCreateAttributeRequest) Execute() (Attribute, *_nethttp.Response, error) { var ( @@ -773,8 +781,9 @@ a new campaign in one of the connected Applications. If the template was created from a campaign with rules referencing [campaign collections](https://docs.talon.one/docs/product/campaigns/managing-collections), the corresponding collections for the new campaign are created automatically. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + @return apiCreateCampaignFromTemplateRequest */ func (a *ManagementApiService) CreateCampaignFromTemplate(ctx _context.Context, applicationId int32) apiCreateCampaignFromTemplateRequest { @@ -787,7 +796,8 @@ func (a *ManagementApiService) CreateCampaignFromTemplate(ctx _context.Context, /* Execute executes the request - @return CreateTemplateCampaignResponse + + @return CreateTemplateCampaignResponse */ func (r apiCreateCampaignFromTemplateRequest) Execute() (CreateTemplateCampaignResponse, *_nethttp.Response, error) { var ( @@ -909,9 +919,10 @@ func (r apiCreateCollectionRequest) Body(body NewCampaignCollection) apiCreateCo /* CreateCollection Create collection Create a collection. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. - * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + @return apiCreateCollectionRequest */ func (a *ManagementApiService) CreateCollection(ctx _context.Context, applicationId int32, campaignId int32) apiCreateCollectionRequest { @@ -925,7 +936,8 @@ func (a *ManagementApiService) CreateCollection(ctx _context.Context, applicatio /* Execute executes the request - @return Collection + + @return Collection */ func (r apiCreateCollectionRequest) Execute() (Collection, *_nethttp.Response, error) { var ( @@ -1054,9 +1066,10 @@ func (r apiCreateCouponsRequest) Silent(silent string) apiCreateCouponsRequest { /* CreateCoupons Create coupons Create coupons according to some pattern. Up to 20.000 coupons can be created without a unique prefix. When a unique prefix is provided, up to 200.000 coupons can be created. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. - * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + @return apiCreateCouponsRequest */ func (a *ManagementApiService) CreateCoupons(ctx _context.Context, applicationId int32, campaignId int32) apiCreateCouponsRequest { @@ -1070,16 +1083,17 @@ func (a *ManagementApiService) CreateCoupons(ctx _context.Context, applicationId /* Execute executes the request - @return InlineResponse2005 + + @return InlineResponse2006 */ -func (r apiCreateCouponsRequest) Execute() (InlineResponse2005, *_nethttp.Response, error) { +func (r apiCreateCouponsRequest) Execute() (InlineResponse2006, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse2005 + localVarReturnValue InlineResponse2006 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.CreateCoupons") @@ -1157,7 +1171,7 @@ func (r apiCreateCouponsRequest) Execute() (InlineResponse2005, *_nethttp.Respon error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse2005 + var v InlineResponse2006 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1197,9 +1211,10 @@ func (r apiCreateCouponsAsyncRequest) Body(body NewCouponCreationJob) apiCreateC /* CreateCouponsAsync Create coupons asynchronously Create any number of coupons from 20,001 to 5,000,000. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. - * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + @return apiCreateCouponsAsyncRequest */ func (a *ManagementApiService) CreateCouponsAsync(ctx _context.Context, applicationId int32, campaignId int32) apiCreateCouponsAsyncRequest { @@ -1213,7 +1228,8 @@ func (a *ManagementApiService) CreateCouponsAsync(ctx _context.Context, applicat /* Execute executes the request - @return AsyncCouponCreationResponse + + @return AsyncCouponCreationResponse */ func (r apiCreateCouponsAsyncRequest) Execute() (AsyncCouponCreationResponse, *_nethttp.Response, error) { var ( @@ -1342,9 +1358,10 @@ func (r apiCreateCouponsForMultipleRecipientsRequest) Silent(silent string) apiC /* CreateCouponsForMultipleRecipients Create coupons for multiple recipients Create coupons according to some pattern for up to 1000 recipients. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. - * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + @return apiCreateCouponsForMultipleRecipientsRequest */ func (a *ManagementApiService) CreateCouponsForMultipleRecipients(ctx _context.Context, applicationId int32, campaignId int32) apiCreateCouponsForMultipleRecipientsRequest { @@ -1358,16 +1375,17 @@ func (a *ManagementApiService) CreateCouponsForMultipleRecipients(ctx _context.C /* Execute executes the request - @return InlineResponse2005 + + @return InlineResponse2006 */ -func (r apiCreateCouponsForMultipleRecipientsRequest) Execute() (InlineResponse2005, *_nethttp.Response, error) { +func (r apiCreateCouponsForMultipleRecipientsRequest) Execute() (InlineResponse2006, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse2005 + localVarReturnValue InlineResponse2006 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.CreateCouponsForMultipleRecipients") @@ -1445,7 +1463,7 @@ func (r apiCreateCouponsForMultipleRecipientsRequest) Execute() (InlineResponse2 error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse2005 + var v InlineResponse2006 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1486,8 +1504,9 @@ CreateNotificationWebhook Create notification webhook Create an outbound notification webhook. An outbound notification webhook is different from regular webhooks in that it is application-scoped and has a predefined payload (regular webhooks have user-definable payloads). - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + @return apiCreateNotificationWebhookRequest */ func (a *ManagementApiService) CreateNotificationWebhook(ctx _context.Context, applicationId int32) apiCreateNotificationWebhookRequest { @@ -1500,7 +1519,8 @@ func (a *ManagementApiService) CreateNotificationWebhook(ctx _context.Context, a /* Execute executes the request - @return NotificationWebhook + + @return NotificationWebhook */ func (r apiCreateNotificationWebhookRequest) Execute() (NotificationWebhook, *_nethttp.Response, error) { var ( @@ -1621,7 +1641,8 @@ func (r apiCreatePasswordRecoveryEmailRequest) Body(body NewPasswordEmail) apiCr CreatePasswordRecoveryEmail Request a password reset Send an email with a password recovery link to the email address of an existing account. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return apiCreatePasswordRecoveryEmailRequest */ func (a *ManagementApiService) CreatePasswordRecoveryEmail(ctx _context.Context) apiCreatePasswordRecoveryEmailRequest { @@ -1633,7 +1654,8 @@ func (a *ManagementApiService) CreatePasswordRecoveryEmail(ctx _context.Context) /* Execute executes the request - @return NewPasswordEmail + + @return NewPasswordEmail */ func (r apiCreatePasswordRecoveryEmailRequest) Execute() (NewPasswordEmail, *_nethttp.Response, error) { var ( @@ -1762,7 +1784,8 @@ This endpoint has a rate limit of 3 to 6 requests per second per account, depend **Note:** You can also use your browser's developer's console when you log into the Campaign Manager. Keep in mind that logging out destroys the token displayed in the console. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return apiCreateSessionRequest */ func (a *ManagementApiService) CreateSession(ctx _context.Context) apiCreateSessionRequest { @@ -1774,7 +1797,8 @@ func (a *ManagementApiService) CreateSession(ctx _context.Context) apiCreateSess /* Execute executes the request - @return Session + + @return Session */ func (r apiCreateSessionRequest) Execute() (Session, *_nethttp.Response, error) { var ( @@ -1888,8 +1912,9 @@ type apiDeleteAccountCollectionRequest struct { /* DeleteAccountCollection Delete account-level collection Delete the given account-level collection. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param collectionId The ID of the collection. You can get it with the [List collection in account endpoint](#operation/listCollectionsInApplication). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param collectionId The ID of the collection. You can get it with the [List collection in account endpoint](#operation/listCollectionsInApplication). + @return apiDeleteAccountCollectionRequest */ func (a *ManagementApiService) DeleteAccountCollection(ctx _context.Context, collectionId int32) apiDeleteAccountCollectionRequest { @@ -1902,7 +1927,6 @@ func (a *ManagementApiService) DeleteAccountCollection(ctx _context.Context, col /* Execute executes the request - */ func (r apiDeleteAccountCollectionRequest) Execute() (*_nethttp.Response, error) { var ( @@ -2002,9 +2026,10 @@ type apiDeleteCampaignRequest struct { /* DeleteCampaign Delete campaign Delete the given campaign. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. - * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + @return apiDeleteCampaignRequest */ func (a *ManagementApiService) DeleteCampaign(ctx _context.Context, applicationId int32, campaignId int32) apiDeleteCampaignRequest { @@ -2018,7 +2043,6 @@ func (a *ManagementApiService) DeleteCampaign(ctx _context.Context, applicationI /* Execute executes the request - */ func (r apiDeleteCampaignRequest) Execute() (*_nethttp.Response, error) { var ( @@ -2111,10 +2135,11 @@ type apiDeleteCollectionRequest struct { /* DeleteCollection Delete collection Delete the given collection. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. - * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. - * @param collectionId The ID of the collection. You can get it with the [List collection in account endpoint](#operation/listCollectionsInApplication). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + - @param collectionId The ID of the collection. You can get it with the [List collection in account endpoint](#operation/listCollectionsInApplication). + @return apiDeleteCollectionRequest */ func (a *ManagementApiService) DeleteCollection(ctx _context.Context, applicationId int32, campaignId int32, collectionId int32) apiDeleteCollectionRequest { @@ -2129,7 +2154,6 @@ func (a *ManagementApiService) DeleteCollection(ctx _context.Context, applicatio /* Execute executes the request - */ func (r apiDeleteCollectionRequest) Execute() (*_nethttp.Response, error) { var ( @@ -2232,10 +2256,11 @@ type apiDeleteCouponRequest struct { /* DeleteCoupon Delete coupon Delete the specified coupon. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. - * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. - * @param couponId The ID of the coupon code to update + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + - @param couponId The ID of the coupon code to update + @return apiDeleteCouponRequest */ func (a *ManagementApiService) DeleteCoupon(ctx _context.Context, applicationId int32, campaignId int32, couponId string) apiDeleteCouponRequest { @@ -2250,7 +2275,6 @@ func (a *ManagementApiService) DeleteCoupon(ctx _context.Context, applicationId /* Execute executes the request - */ func (r apiDeleteCouponRequest) Execute() (*_nethttp.Response, error) { var ( @@ -2421,9 +2445,10 @@ func (r apiDeleteCouponsRequest) ExactMatch(exactMatch bool) apiDeleteCouponsReq /* DeleteCoupons Delete coupons Deletes all the coupons matching the specified criteria. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. - * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + @return apiDeleteCouponsRequest */ func (a *ManagementApiService) DeleteCoupons(ctx _context.Context, applicationId int32, campaignId int32) apiDeleteCouponsRequest { @@ -2437,7 +2462,6 @@ func (a *ManagementApiService) DeleteCoupons(ctx _context.Context, applicationId /* Execute executes the request - */ func (r apiDeleteCouponsRequest) Execute() (*_nethttp.Response, error) { var ( @@ -2568,9 +2592,10 @@ type apiDeleteNotificationWebhookRequest struct { /* DeleteNotificationWebhook Delete notification webhook Remove the given existing outbound notification webhook. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. - * @param notificationWebhookId + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param notificationWebhookId + @return apiDeleteNotificationWebhookRequest */ func (a *ManagementApiService) DeleteNotificationWebhook(ctx _context.Context, applicationId int32, notificationWebhookId int32) apiDeleteNotificationWebhookRequest { @@ -2584,7 +2609,6 @@ func (a *ManagementApiService) DeleteNotificationWebhook(ctx _context.Context, a /* Execute executes the request - */ func (r apiDeleteNotificationWebhookRequest) Execute() (*_nethttp.Response, error) { var ( @@ -2677,10 +2701,11 @@ type apiDeleteReferralRequest struct { /* DeleteReferral Delete referral Delete the specified referral. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. - * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. - * @param referralId The ID of the referral code to delete + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + - @param referralId The ID of the referral code to delete + @return apiDeleteReferralRequest */ func (a *ManagementApiService) DeleteReferral(ctx _context.Context, applicationId int32, campaignId int32, referralId string) apiDeleteReferralRequest { @@ -2695,7 +2720,6 @@ func (a *ManagementApiService) DeleteReferral(ctx _context.Context, applicationI /* Execute executes the request - */ func (r apiDeleteReferralRequest) Execute() (*_nethttp.Response, error) { var ( @@ -2786,7 +2810,8 @@ type apiDestroySessionRequest struct { /* DestroySession Destroy session Destroys the session. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return apiDestroySessionRequest */ func (a *ManagementApiService) DestroySession(ctx _context.Context) apiDestroySessionRequest { @@ -2798,7 +2823,6 @@ func (a *ManagementApiService) DestroySession(ctx _context.Context) apiDestroySe /* Execute executes the request - */ func (r apiDestroySessionRequest) Execute() (*_nethttp.Response, error) { var ( @@ -2887,8 +2911,9 @@ type apiExportAccountCollectionItemsRequest struct { /* ExportAccountCollectionItems Export account-level collection's items Download a CSV file containing items from an account-level collection. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param collectionId The ID of the collection. You can get it with the [List collection in account endpoint](#operation/listCollectionsInApplication). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param collectionId The ID of the collection. You can get it with the [List collection in account endpoint](#operation/listCollectionsInApplication). + @return apiExportAccountCollectionItemsRequest */ func (a *ManagementApiService) ExportAccountCollectionItems(ctx _context.Context, collectionId int32) apiExportAccountCollectionItemsRequest { @@ -2901,7 +2926,8 @@ func (a *ManagementApiService) ExportAccountCollectionItems(ctx _context.Context /* Execute executes the request - @return string + + @return string */ func (r apiExportAccountCollectionItemsRequest) Execute() (string, *_nethttp.Response, error) { var ( @@ -3032,10 +3058,11 @@ type apiExportCollectionItemsRequest struct { /* ExportCollectionItems Export a collection's items Download a CSV file containing a collection's items. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. - * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. - * @param collectionId The ID of the collection. You can get it with the [List collection in account endpoint](#operation/listCollectionsInApplication). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + - @param collectionId The ID of the collection. You can get it with the [List collection in account endpoint](#operation/listCollectionsInApplication). + @return apiExportCollectionItemsRequest */ func (a *ManagementApiService) ExportCollectionItems(ctx _context.Context, applicationId int32, campaignId int32, collectionId int32) apiExportCollectionItemsRequest { @@ -3050,7 +3077,8 @@ func (a *ManagementApiService) ExportCollectionItems(ctx _context.Context, appli /* Execute executes the request - @return string + + @return string */ func (r apiExportCollectionItemsRequest) Execute() (string, *_nethttp.Response, error) { var ( @@ -3259,8 +3287,9 @@ func (r apiExportCouponsRequest) CampaignState(campaignState string) apiExportCo /* ExportCoupons Export coupons Download a CSV file containing the coupons that match the given properties. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + @return apiExportCouponsRequest */ func (a *ManagementApiService) ExportCoupons(ctx _context.Context, applicationId int32) apiExportCouponsRequest { @@ -3273,7 +3302,8 @@ func (a *ManagementApiService) ExportCoupons(ctx _context.Context, applicationId /* Execute executes the request - @return string + + @return string */ func (r apiExportCouponsRequest) Execute() (string, *_nethttp.Response, error) { var ( @@ -3454,8 +3484,9 @@ Download a CSV file containing the customer sessions that match the request. **Important:** Archived sessions cannot be exported. See the [retention policy](https://docs.talon.one/docs/product/server-infrastructure-and-data-retention#data-retention-policy). - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + @return apiExportCustomerSessionsRequest */ func (a *ManagementApiService) ExportCustomerSessions(ctx _context.Context, applicationId int32) apiExportCustomerSessionsRequest { @@ -3468,7 +3499,8 @@ func (a *ManagementApiService) ExportCustomerSessions(ctx _context.Context, appl /* Execute executes the request - @return string + + @return string */ func (r apiExportCustomerSessionsRequest) Execute() (string, *_nethttp.Response, error) { var ( @@ -3617,8 +3649,9 @@ func (r apiExportEffectsRequest) DateFormat(dateFormat string) apiExportEffectsR ExportEffects Export triggered effects Download a CSV file containing the triggered effects that match the given attributes. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + @return apiExportEffectsRequest */ func (a *ManagementApiService) ExportEffects(ctx _context.Context, applicationId int32) apiExportEffectsRequest { @@ -3631,7 +3664,8 @@ func (a *ManagementApiService) ExportEffects(ctx _context.Context, applicationId /* Execute executes the request - @return string + + @return string */ func (r apiExportEffectsRequest) Execute() (string, *_nethttp.Response, error) { var ( @@ -3752,8 +3786,9 @@ type apiExportLoyaltyBalanceRequest struct { /* ExportLoyaltyBalance Export customer loyalty balance to a CSV file Download a CSV file containing the balance of each customer in the loyalty program. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param loyaltyProgramId The identifier for the loyalty program. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param loyaltyProgramId The identifier for the loyalty program. + @return apiExportLoyaltyBalanceRequest */ func (a *ManagementApiService) ExportLoyaltyBalance(ctx _context.Context, loyaltyProgramId string) apiExportLoyaltyBalanceRequest { @@ -3766,7 +3801,8 @@ func (a *ManagementApiService) ExportLoyaltyBalance(ctx _context.Context, loyalt /* Execute executes the request - @return string + + @return string */ func (r apiExportLoyaltyBalanceRequest) Execute() (string, *_nethttp.Response, error) { var ( @@ -3914,9 +3950,10 @@ func (r apiExportLoyaltyLedgerRequest) DateFormat(dateFormat string) apiExportLo /* ExportLoyaltyLedger Export a customer's loyalty ledger log Download a CSV file containing a customer's ledger log in the loyalty program - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param loyaltyProgramId The identifier for the loyalty program. - * @param integrationId The identifier of the profile. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param loyaltyProgramId The identifier for the loyalty program. + - @param integrationId The identifier of the profile. + @return apiExportLoyaltyLedgerRequest */ func (a *ManagementApiService) ExportLoyaltyLedger(ctx _context.Context, loyaltyProgramId string, integrationId string) apiExportLoyaltyLedgerRequest { @@ -3930,7 +3967,8 @@ func (a *ManagementApiService) ExportLoyaltyLedger(ctx _context.Context, loyalty /* Execute executes the request - @return string + + @return string */ func (r apiExportLoyaltyLedgerRequest) Execute() (string, *_nethttp.Response, error) { var ( @@ -4095,8 +4133,9 @@ func (r apiExportReferralsRequest) DateFormat(dateFormat string) apiExportReferr /* ExportReferrals Export referrals Download a CSV file containing the referrals that match the given parameters. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + @return apiExportReferralsRequest */ func (a *ManagementApiService) ExportReferrals(ctx _context.Context, applicationId int32) apiExportReferralsRequest { @@ -4109,7 +4148,8 @@ func (a *ManagementApiService) ExportReferrals(ctx _context.Context, application /* Execute executes the request - @return string + + @return string */ func (r apiExportReferralsRequest) Execute() (string, *_nethttp.Response, error) { var ( @@ -4288,8 +4328,9 @@ func (r apiGetAccessLogsWithoutTotalCountRequest) Sort(sort string) apiGetAccess GetAccessLogsWithoutTotalCount Get access logs for Application Retrieve the list of API calls to this Application matching the specified criteria. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + @return apiGetAccessLogsWithoutTotalCountRequest */ func (a *ManagementApiService) GetAccessLogsWithoutTotalCount(ctx _context.Context, applicationId int32) apiGetAccessLogsWithoutTotalCountRequest { @@ -4302,16 +4343,17 @@ func (a *ManagementApiService) GetAccessLogsWithoutTotalCount(ctx _context.Conte /* Execute executes the request - @return InlineResponse20012 + + @return InlineResponse20013 */ -func (r apiGetAccessLogsWithoutTotalCountRequest) Execute() (InlineResponse20012, *_nethttp.Response, error) { +func (r apiGetAccessLogsWithoutTotalCountRequest) Execute() (InlineResponse20013, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse20012 + localVarReturnValue InlineResponse20013 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.GetAccessLogsWithoutTotalCount") @@ -4407,7 +4449,7 @@ func (r apiGetAccessLogsWithoutTotalCountRequest) Execute() (InlineResponse20012 error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse20012 + var v InlineResponse20013 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -4440,8 +4482,9 @@ type apiGetAccountRequest struct { GetAccount Get account details Return the details of your companies Talon.One account. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param accountId The identifier of the account. Retrieve it via the [List users in account endpoint](https://docs.talon.one/management-api#operation/getUsers), in the `accountId` property. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param accountId The identifier of the account. Retrieve it via the [List users in account endpoint](https://docs.talon.one/management-api#operation/getUsers), in the `accountId` property. + @return apiGetAccountRequest */ func (a *ManagementApiService) GetAccount(ctx _context.Context, accountId int32) apiGetAccountRequest { @@ -4454,7 +4497,8 @@ func (a *ManagementApiService) GetAccount(ctx _context.Context, accountId int32) /* Execute executes the request - @return Account + + @return Account */ func (r apiGetAccountRequest) Execute() (Account, *_nethttp.Response, error) { var ( @@ -4564,8 +4608,9 @@ type apiGetAccountAnalyticsRequest struct { GetAccountAnalytics Get account analytics Return the analytics of your Talon.One account. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param accountId The identifier of the account. Retrieve it via the [List users in account endpoint](https://docs.talon.one/management-api#operation/getUsers), in the `accountId` property. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param accountId The identifier of the account. Retrieve it via the [List users in account endpoint](https://docs.talon.one/management-api#operation/getUsers), in the `accountId` property. + @return apiGetAccountAnalyticsRequest */ func (a *ManagementApiService) GetAccountAnalytics(ctx _context.Context, accountId int32) apiGetAccountAnalyticsRequest { @@ -4578,7 +4623,8 @@ func (a *ManagementApiService) GetAccountAnalytics(ctx _context.Context, account /* Execute executes the request - @return AccountAnalytics + + @return AccountAnalytics */ func (r apiGetAccountAnalyticsRequest) Execute() (AccountAnalytics, *_nethttp.Response, error) { var ( @@ -4687,8 +4733,9 @@ type apiGetAccountCollectionRequest struct { /* GetAccountCollection Get account-level collection Retrieve a given account-level collection. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param collectionId The ID of the collection. You can get it with the [List collection in account endpoint](#operation/listCollectionsInApplication). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param collectionId The ID of the collection. You can get it with the [List collection in account endpoint](#operation/listCollectionsInApplication). + @return apiGetAccountCollectionRequest */ func (a *ManagementApiService) GetAccountCollection(ctx _context.Context, collectionId int32) apiGetAccountCollectionRequest { @@ -4701,7 +4748,8 @@ func (a *ManagementApiService) GetAccountCollection(ctx _context.Context, collec /* Execute executes the request - @return Collection + + @return Collection */ func (r apiGetAccountCollectionRequest) Execute() (Collection, *_nethttp.Response, error) { var ( @@ -4821,8 +4869,9 @@ type apiGetAdditionalCostRequest struct { GetAdditionalCost Get additional cost Returns the additional cost. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param additionalCostId + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param additionalCostId + @return apiGetAdditionalCostRequest */ func (a *ManagementApiService) GetAdditionalCost(ctx _context.Context, additionalCostId int32) apiGetAdditionalCostRequest { @@ -4835,7 +4884,8 @@ func (a *ManagementApiService) GetAdditionalCost(ctx _context.Context, additiona /* Execute executes the request - @return AccountAdditionalCost + + @return AccountAdditionalCost */ func (r apiGetAdditionalCostRequest) Execute() (AccountAdditionalCost, *_nethttp.Response, error) { var ( @@ -4962,7 +5012,8 @@ func (r apiGetAdditionalCostsRequest) Sort(sort string) apiGetAdditionalCostsReq GetAdditionalCosts List additional costs Returns all the defined additional costs for the account. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return apiGetAdditionalCostsRequest */ func (a *ManagementApiService) GetAdditionalCosts(ctx _context.Context) apiGetAdditionalCostsRequest { @@ -4974,16 +5025,17 @@ func (a *ManagementApiService) GetAdditionalCosts(ctx _context.Context) apiGetAd /* Execute executes the request - @return InlineResponse20025 + + @return InlineResponse20026 */ -func (r apiGetAdditionalCostsRequest) Execute() (InlineResponse20025, *_nethttp.Response, error) { +func (r apiGetAdditionalCostsRequest) Execute() (InlineResponse20026, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse20025 + localVarReturnValue InlineResponse20026 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.GetAdditionalCosts") @@ -5059,7 +5111,7 @@ func (r apiGetAdditionalCostsRequest) Execute() (InlineResponse20025, *_nethttp. error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse20025 + var v InlineResponse20026 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -5139,7 +5191,8 @@ func (r apiGetAllAccessLogsRequest) Sort(sort string) apiGetAllAccessLogsRequest GetAllAccessLogs List access logs Fetches the access logs for the entire account. Sensitive requests (logins) are _always_ filtered from the logs. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return apiGetAllAccessLogsRequest */ func (a *ManagementApiService) GetAllAccessLogs(ctx _context.Context) apiGetAllAccessLogsRequest { @@ -5151,16 +5204,17 @@ func (a *ManagementApiService) GetAllAccessLogs(ctx _context.Context) apiGetAllA /* Execute executes the request - @return InlineResponse20013 + + @return InlineResponse20014 */ -func (r apiGetAllAccessLogsRequest) Execute() (InlineResponse20013, *_nethttp.Response, error) { +func (r apiGetAllAccessLogsRequest) Execute() (InlineResponse20014, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse20013 + localVarReturnValue InlineResponse20014 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.GetAllAccessLogs") @@ -5255,7 +5309,7 @@ func (r apiGetAllAccessLogsRequest) Execute() (InlineResponse20013, *_nethttp.Re error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse20013 + var v InlineResponse20014 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -5286,7 +5340,8 @@ type apiGetAllRolesRequest struct { /* GetAllRoles List roles List all roles. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return apiGetAllRolesRequest */ func (a *ManagementApiService) GetAllRoles(ctx _context.Context) apiGetAllRolesRequest { @@ -5298,16 +5353,17 @@ func (a *ManagementApiService) GetAllRoles(ctx _context.Context) apiGetAllRolesR /* Execute executes the request - @return InlineResponse20033 + + @return InlineResponse20034 */ -func (r apiGetAllRolesRequest) Execute() (InlineResponse20033, *_nethttp.Response, error) { +func (r apiGetAllRolesRequest) Execute() (InlineResponse20034, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse20033 + localVarReturnValue InlineResponse20034 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.GetAllRoles") @@ -5374,7 +5430,7 @@ func (r apiGetAllRolesRequest) Execute() (InlineResponse20033, *_nethttp.Respons error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse20033 + var v InlineResponse20034 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -5406,8 +5462,9 @@ type apiGetApplicationRequest struct { /* GetApplication Get application Get the application specified by the ID. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + @return apiGetApplicationRequest */ func (a *ManagementApiService) GetApplication(ctx _context.Context, applicationId int32) apiGetApplicationRequest { @@ -5420,7 +5477,8 @@ func (a *ManagementApiService) GetApplication(ctx _context.Context, applicationI /* Execute executes the request - @return Application + + @return Application */ func (r apiGetApplicationRequest) Execute() (Application, *_nethttp.Response, error) { var ( @@ -5531,8 +5589,9 @@ GetApplicationApiHealth Get report of health of application API Display the health of the application and show the last time the Application was used. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + @return apiGetApplicationApiHealthRequest */ func (a *ManagementApiService) GetApplicationApiHealth(ctx _context.Context, applicationId int32) apiGetApplicationApiHealthRequest { @@ -5545,7 +5604,8 @@ func (a *ManagementApiService) GetApplicationApiHealth(ctx _context.Context, app /* Execute executes the request - @return ApplicationApiHealth + + @return ApplicationApiHealth */ func (r apiGetApplicationApiHealthRequest) Execute() (ApplicationApiHealth, *_nethttp.Response, error) { var ( @@ -5656,9 +5716,10 @@ type apiGetApplicationCustomerRequest struct { GetApplicationCustomer Get application's customer Retrieve the customers of the specified application. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. - * @param customerId The value of the `id` property of a customer profile. Get it with the [List Application's customers](/#tag/Customer-data/operation/getApplicationCustomers) endpoint. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param customerId The value of the `id` property of a customer profile. Get it with the [List Application's customers](/#tag/Customer-data/operation/getApplicationCustomers) endpoint. + @return apiGetApplicationCustomerRequest */ func (a *ManagementApiService) GetApplicationCustomer(ctx _context.Context, applicationId int32, customerId int32) apiGetApplicationCustomerRequest { @@ -5672,7 +5733,8 @@ func (a *ManagementApiService) GetApplicationCustomer(ctx _context.Context, appl /* Execute executes the request - @return ApplicationCustomer + + @return ApplicationCustomer */ func (r apiGetApplicationCustomerRequest) Execute() (ApplicationCustomer, *_nethttp.Response, error) { var ( @@ -5808,9 +5870,10 @@ func (r apiGetApplicationCustomerFriendsRequest) WithTotalResultSize(withTotalRe GetApplicationCustomerFriends List friends referred by customer profile List the friends referred by the specified customer profile in this Application. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. - * @param integrationId The Integration ID of the Advocate's Profile. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param integrationId The Integration ID of the Advocate's Profile. + @return apiGetApplicationCustomerFriendsRequest */ func (a *ManagementApiService) GetApplicationCustomerFriends(ctx _context.Context, applicationId int32, integrationId string) apiGetApplicationCustomerFriendsRequest { @@ -5824,16 +5887,17 @@ func (a *ManagementApiService) GetApplicationCustomerFriends(ctx _context.Contex /* Execute executes the request - @return InlineResponse20023 + + @return InlineResponse20024 */ -func (r apiGetApplicationCustomerFriendsRequest) Execute() (InlineResponse20023, *_nethttp.Response, error) { +func (r apiGetApplicationCustomerFriendsRequest) Execute() (InlineResponse20024, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse20023 + localVarReturnValue InlineResponse20024 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.GetApplicationCustomerFriends") @@ -5914,7 +5978,7 @@ func (r apiGetApplicationCustomerFriendsRequest) Execute() (InlineResponse20023, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse20023 + var v InlineResponse20024 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -5970,8 +6034,9 @@ func (r apiGetApplicationCustomersRequest) WithTotalResultSize(withTotalResultSi /* GetApplicationCustomers List application's customers List all the customers of the specified application. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + @return apiGetApplicationCustomersRequest */ func (a *ManagementApiService) GetApplicationCustomers(ctx _context.Context, applicationId int32) apiGetApplicationCustomersRequest { @@ -5984,16 +6049,17 @@ func (a *ManagementApiService) GetApplicationCustomers(ctx _context.Context, app /* Execute executes the request - @return InlineResponse20015 + + @return InlineResponse20016 */ -func (r apiGetApplicationCustomersRequest) Execute() (InlineResponse20015, *_nethttp.Response, error) { +func (r apiGetApplicationCustomersRequest) Execute() (InlineResponse20016, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse20015 + localVarReturnValue InlineResponse20016 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.GetApplicationCustomers") @@ -6073,7 +6139,7 @@ func (r apiGetApplicationCustomersRequest) Execute() (InlineResponse20015, *_net error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse20015 + var v InlineResponse20016 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -6132,8 +6198,9 @@ Get a list of the application customers matching the provided criteria. The match is successful if all the attributes of the request are found in a profile, even if the profile has more attributes that are not present on the request. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + @return apiGetApplicationCustomersByAttributesRequest */ func (a *ManagementApiService) GetApplicationCustomersByAttributes(ctx _context.Context, applicationId int32) apiGetApplicationCustomersByAttributesRequest { @@ -6146,16 +6213,17 @@ func (a *ManagementApiService) GetApplicationCustomersByAttributes(ctx _context. /* Execute executes the request - @return InlineResponse20016 + + @return InlineResponse20017 */ -func (r apiGetApplicationCustomersByAttributesRequest) Execute() (InlineResponse20016, *_nethttp.Response, error) { +func (r apiGetApplicationCustomersByAttributesRequest) Execute() (InlineResponse20017, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse20016 + localVarReturnValue InlineResponse20017 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.GetApplicationCustomersByAttributes") @@ -6238,7 +6306,7 @@ func (r apiGetApplicationCustomersByAttributesRequest) Execute() (InlineResponse error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse20016 + var v InlineResponse20017 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -6291,8 +6359,9 @@ Get all of the distinct values of the Event `type` property for events recorded See also: [Track an event](/integration-api/#operation/trackEvent) - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + @return apiGetApplicationEventTypesRequest */ func (a *ManagementApiService) GetApplicationEventTypes(ctx _context.Context, applicationId int32) apiGetApplicationEventTypesRequest { @@ -6305,16 +6374,17 @@ func (a *ManagementApiService) GetApplicationEventTypes(ctx _context.Context, ap /* Execute executes the request - @return InlineResponse20021 + + @return InlineResponse20022 */ -func (r apiGetApplicationEventTypesRequest) Execute() (InlineResponse20021, *_nethttp.Response, error) { +func (r apiGetApplicationEventTypesRequest) Execute() (InlineResponse20022, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse20021 + localVarReturnValue InlineResponse20022 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.GetApplicationEventTypes") @@ -6391,7 +6461,7 @@ func (r apiGetApplicationEventTypesRequest) Execute() (InlineResponse20021, *_ne error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse20021 + var v InlineResponse20022 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -6508,8 +6578,9 @@ func (r apiGetApplicationEventsWithoutTotalCountRequest) CampaignQuery(campaignQ GetApplicationEventsWithoutTotalCount List Applications events Lists all events recorded for an application. Instead of having the total number of results in the response, this endpoint only mentions whether there are more results. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + @return apiGetApplicationEventsWithoutTotalCountRequest */ func (a *ManagementApiService) GetApplicationEventsWithoutTotalCount(ctx _context.Context, applicationId int32) apiGetApplicationEventsWithoutTotalCountRequest { @@ -6522,16 +6593,17 @@ func (a *ManagementApiService) GetApplicationEventsWithoutTotalCount(ctx _contex /* Execute executes the request - @return InlineResponse20020 + + @return InlineResponse20021 */ -func (r apiGetApplicationEventsWithoutTotalCountRequest) Execute() (InlineResponse20020, *_nethttp.Response, error) { +func (r apiGetApplicationEventsWithoutTotalCountRequest) Execute() (InlineResponse20021, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse20020 + localVarReturnValue InlineResponse20021 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.GetApplicationEventsWithoutTotalCount") @@ -6641,7 +6713,7 @@ func (r apiGetApplicationEventsWithoutTotalCountRequest) Execute() (InlineRespon error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse20020 + var v InlineResponse20021 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -6676,9 +6748,10 @@ GetApplicationSession Get Application session Get the details of the given session. You can list the sessions with the [List Application sessions](/#tag/Customer-data/operation/getApplicationSession) endpoint. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. - * @param sessionId The **internal** ID of the session. You can get the ID with the [List Application sessions endpoint](/#tag/Customer-data/operation/getApplicationSession). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param sessionId The **internal** ID of the session. You can get the ID with the [List Application sessions endpoint](/#tag/Customer-data/operation/getApplicationSession). + @return apiGetApplicationSessionRequest */ func (a *ManagementApiService) GetApplicationSession(ctx _context.Context, applicationId int32, sessionId int32) apiGetApplicationSessionRequest { @@ -6692,7 +6765,8 @@ func (a *ManagementApiService) GetApplicationSession(ctx _context.Context, appli /* Execute executes the request - @return ApplicationSession + + @return ApplicationSession */ func (r apiGetApplicationSessionRequest) Execute() (ApplicationSession, *_nethttp.Response, error) { var ( @@ -6863,8 +6937,9 @@ func (r apiGetApplicationSessionsRequest) IntegrationId(integrationId string) ap GetApplicationSessions List Application sessions List all the sessions of the specified Application. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + @return apiGetApplicationSessionsRequest */ func (a *ManagementApiService) GetApplicationSessions(ctx _context.Context, applicationId int32) apiGetApplicationSessionsRequest { @@ -6877,16 +6952,17 @@ func (a *ManagementApiService) GetApplicationSessions(ctx _context.Context, appl /* Execute executes the request - @return InlineResponse20019 + + @return InlineResponse20020 */ -func (r apiGetApplicationSessionsRequest) Execute() (InlineResponse20019, *_nethttp.Response, error) { +func (r apiGetApplicationSessionsRequest) Execute() (InlineResponse20020, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse20019 + localVarReturnValue InlineResponse20020 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.GetApplicationSessions") @@ -6984,7 +7060,7 @@ func (r apiGetApplicationSessionsRequest) Execute() (InlineResponse20019, *_neth error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse20019 + var v InlineResponse20020 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -7033,7 +7109,8 @@ func (r apiGetApplicationsRequest) Sort(sort string) apiGetApplicationsRequest { /* GetApplications List applications List all applications in the current account. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return apiGetApplicationsRequest */ func (a *ManagementApiService) GetApplications(ctx _context.Context) apiGetApplicationsRequest { @@ -7045,16 +7122,17 @@ func (a *ManagementApiService) GetApplications(ctx _context.Context) apiGetAppli /* Execute executes the request - @return InlineResponse2001 + + @return InlineResponse2002 */ -func (r apiGetApplicationsRequest) Execute() (InlineResponse2001, *_nethttp.Response, error) { +func (r apiGetApplicationsRequest) Execute() (InlineResponse2002, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse2001 + localVarReturnValue InlineResponse2002 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.GetApplications") @@ -7130,7 +7208,7 @@ func (r apiGetApplicationsRequest) Execute() (InlineResponse2001, *_nethttp.Resp error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse2001 + var v InlineResponse2002 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -7163,8 +7241,9 @@ type apiGetAttributeRequest struct { GetAttribute Get custom attribute Returns custom attribute for the account by its id. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param attributeId + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param attributeId + @return apiGetAttributeRequest */ func (a *ManagementApiService) GetAttribute(ctx _context.Context, attributeId int32) apiGetAttributeRequest { @@ -7177,7 +7256,8 @@ func (a *ManagementApiService) GetAttribute(ctx _context.Context, attributeId in /* Execute executes the request - @return Attribute + + @return Attribute */ func (r apiGetAttributeRequest) Execute() (Attribute, *_nethttp.Response, error) { var ( @@ -7310,7 +7390,8 @@ func (r apiGetAttributesRequest) Entity(entity string) apiGetAttributesRequest { GetAttributes List custom attributes Returns all the defined custom attributes for the account. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return apiGetAttributesRequest */ func (a *ManagementApiService) GetAttributes(ctx _context.Context) apiGetAttributesRequest { @@ -7322,16 +7403,17 @@ func (a *ManagementApiService) GetAttributes(ctx _context.Context) apiGetAttribu /* Execute executes the request - @return InlineResponse20024 + + @return InlineResponse20025 */ -func (r apiGetAttributesRequest) Execute() (InlineResponse20024, *_nethttp.Response, error) { +func (r apiGetAttributesRequest) Execute() (InlineResponse20025, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse20024 + localVarReturnValue InlineResponse20025 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.GetAttributes") @@ -7410,7 +7492,7 @@ func (r apiGetAttributesRequest) Execute() (InlineResponse20024, *_nethttp.Respo error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse20024 + var v InlineResponse20025 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -7466,7 +7548,8 @@ func (r apiGetAudiencesRequest) WithTotalResultSize(withTotalResultSize bool) ap GetAudiences List audiences Get all audiences created in the account. To create an audience, use [Create audience](https://docs.talon.one/integration-api#tag/Audiences/operation/createAudienceV2). - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return apiGetAudiencesRequest */ func (a *ManagementApiService) GetAudiences(ctx _context.Context) apiGetAudiencesRequest { @@ -7478,16 +7561,17 @@ func (a *ManagementApiService) GetAudiences(ctx _context.Context) apiGetAudience /* Execute executes the request - @return InlineResponse20022 + + @return InlineResponse20023 */ -func (r apiGetAudiencesRequest) Execute() (InlineResponse20022, *_nethttp.Response, error) { +func (r apiGetAudiencesRequest) Execute() (InlineResponse20023, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse20022 + localVarReturnValue InlineResponse20023 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.GetAudiences") @@ -7566,7 +7650,7 @@ func (r apiGetAudiencesRequest) Execute() (InlineResponse20022, *_nethttp.Respon error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse20022 + var v InlineResponse20023 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -7599,9 +7683,10 @@ type apiGetCampaignRequest struct { /* GetCampaign Get campaign Retrieve the given campaign. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. - * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + @return apiGetCampaignRequest */ func (a *ManagementApiService) GetCampaign(ctx _context.Context, applicationId int32, campaignId int32) apiGetCampaignRequest { @@ -7615,7 +7700,8 @@ func (a *ManagementApiService) GetCampaign(ctx _context.Context, applicationId i /* Execute executes the request - @return Campaign + + @return Campaign */ func (r apiGetCampaignRequest) Execute() (Campaign, *_nethttp.Response, error) { var ( @@ -7744,9 +7830,10 @@ func (r apiGetCampaignAnalyticsRequest) Granularity(granularity string) apiGetCa /* GetCampaignAnalytics Get analytics of campaigns Retrieve statistical data about the performance of the given campaign. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. - * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + @return apiGetCampaignAnalyticsRequest */ func (a *ManagementApiService) GetCampaignAnalytics(ctx _context.Context, applicationId int32, campaignId int32) apiGetCampaignAnalyticsRequest { @@ -7760,16 +7847,17 @@ func (a *ManagementApiService) GetCampaignAnalytics(ctx _context.Context, applic /* Execute executes the request - @return InlineResponse20014 + + @return InlineResponse20015 */ -func (r apiGetCampaignAnalyticsRequest) Execute() (InlineResponse20014, *_nethttp.Response, error) { +func (r apiGetCampaignAnalyticsRequest) Execute() (InlineResponse20015, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse20014 + localVarReturnValue InlineResponse20015 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.GetCampaignAnalytics") @@ -7851,7 +7939,7 @@ func (r apiGetCampaignAnalyticsRequest) Execute() (InlineResponse20014, *_nethtt error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse20014 + var v InlineResponse20015 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -7914,8 +8002,9 @@ func (r apiGetCampaignByAttributesRequest) CampaignState(campaignState string) a GetCampaignByAttributes List campaigns that match the given attributes Get a list of all the campaigns that match a set of attributes. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + @return apiGetCampaignByAttributesRequest */ func (a *ManagementApiService) GetCampaignByAttributes(ctx _context.Context, applicationId int32) apiGetCampaignByAttributesRequest { @@ -7928,16 +8017,17 @@ func (a *ManagementApiService) GetCampaignByAttributes(ctx _context.Context, app /* Execute executes the request - @return InlineResponse2002 + + @return InlineResponse2003 */ -func (r apiGetCampaignByAttributesRequest) Execute() (InlineResponse2002, *_nethttp.Response, error) { +func (r apiGetCampaignByAttributesRequest) Execute() (InlineResponse2003, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse2002 + localVarReturnValue InlineResponse2003 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.GetCampaignByAttributes") @@ -8023,7 +8113,7 @@ func (r apiGetCampaignByAttributesRequest) Execute() (InlineResponse2002, *_neth error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse2002 + var v InlineResponse2003 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -8116,8 +8206,9 @@ func (r apiGetCampaignsRequest) TemplateId(templateId int32) apiGetCampaignsRequ GetCampaigns List campaigns List the campaigns of the specified application that match your filter criteria. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + @return apiGetCampaignsRequest */ func (a *ManagementApiService) GetCampaigns(ctx _context.Context, applicationId int32) apiGetCampaignsRequest { @@ -8130,16 +8221,17 @@ func (a *ManagementApiService) GetCampaigns(ctx _context.Context, applicationId /* Execute executes the request - @return InlineResponse2002 + + @return InlineResponse2003 */ -func (r apiGetCampaignsRequest) Execute() (InlineResponse2002, *_nethttp.Response, error) { +func (r apiGetCampaignsRequest) Execute() (InlineResponse2003, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse2002 + localVarReturnValue InlineResponse2003 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.GetCampaigns") @@ -8237,7 +8329,7 @@ func (r apiGetCampaignsRequest) Execute() (InlineResponse2002, *_nethttp.Respons error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse2002 + var v InlineResponse2003 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -8339,7 +8431,8 @@ func (r apiGetChangesRequest) IncludeOld(includeOld bool) apiGetChangesRequest { GetChanges Get audit logs for an account Export the audit logs displayed in **Accounts > Audit logs**. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return apiGetChangesRequest */ func (a *ManagementApiService) GetChanges(ctx _context.Context) apiGetChangesRequest { @@ -8351,16 +8444,17 @@ func (a *ManagementApiService) GetChanges(ctx _context.Context) apiGetChangesReq /* Execute executes the request - @return InlineResponse20031 + + @return InlineResponse20032 */ -func (r apiGetChangesRequest) Execute() (InlineResponse20031, *_nethttp.Response, error) { +func (r apiGetChangesRequest) Execute() (InlineResponse20032, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse20031 + localVarReturnValue InlineResponse20032 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.GetChanges") @@ -8457,7 +8551,7 @@ func (r apiGetChangesRequest) Execute() (InlineResponse20031, *_nethttp.Response error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse20031 + var v InlineResponse20032 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -8491,10 +8585,11 @@ type apiGetCollectionRequest struct { /* GetCollection Get collection Retrieve a given collection. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. - * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. - * @param collectionId The ID of the collection. You can get it with the [List collection in account endpoint](#operation/listCollectionsInApplication). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + - @param collectionId The ID of the collection. You can get it with the [List collection in account endpoint](#operation/listCollectionsInApplication). + @return apiGetCollectionRequest */ func (a *ManagementApiService) GetCollection(ctx _context.Context, applicationId int32, campaignId int32, collectionId int32) apiGetCollectionRequest { @@ -8509,7 +8604,8 @@ func (a *ManagementApiService) GetCollection(ctx _context.Context, applicationId /* Execute executes the request - @return Collection + + @return Collection */ func (r apiGetCollectionRequest) Execute() (Collection, *_nethttp.Response, error) { var ( @@ -8642,8 +8738,9 @@ func (r apiGetCollectionItemsRequest) Skip(skip int32) apiGetCollectionItemsRequ /* GetCollectionItems Get collection items Retrieve the items from the given collection. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param collectionId The ID of the collection. You can get it with the [List collection in account endpoint](#operation/listCollectionsInApplication). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param collectionId The ID of the collection. You can get it with the [List collection in account endpoint](#operation/listCollectionsInApplication). + @return apiGetCollectionItemsRequest */ func (a *ManagementApiService) GetCollectionItems(ctx _context.Context, collectionId int32) apiGetCollectionItemsRequest { @@ -8656,16 +8753,17 @@ func (a *ManagementApiService) GetCollectionItems(ctx _context.Context, collecti /* Execute executes the request - @return InlineResponse20010 + + @return InlineResponse20011 */ -func (r apiGetCollectionItemsRequest) Execute() (InlineResponse20010, *_nethttp.Response, error) { +func (r apiGetCollectionItemsRequest) Execute() (InlineResponse20011, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse20010 + localVarReturnValue InlineResponse20011 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.GetCollectionItems") @@ -8739,7 +8837,7 @@ func (r apiGetCollectionItemsRequest) Execute() (InlineResponse20010, *_nethttp. error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse20010 + var v InlineResponse20011 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -8855,9 +8953,10 @@ func (r apiGetCouponsWithoutTotalCountRequest) ExactMatch(exactMatch bool) apiGe GetCouponsWithoutTotalCount List coupons List all the coupons matching the specified criteria. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. - * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + @return apiGetCouponsWithoutTotalCountRequest */ func (a *ManagementApiService) GetCouponsWithoutTotalCount(ctx _context.Context, applicationId int32, campaignId int32) apiGetCouponsWithoutTotalCountRequest { @@ -8871,16 +8970,17 @@ func (a *ManagementApiService) GetCouponsWithoutTotalCount(ctx _context.Context, /* Execute executes the request - @return InlineResponse2006 + + @return InlineResponse2007 */ -func (r apiGetCouponsWithoutTotalCountRequest) Execute() (InlineResponse2006, *_nethttp.Response, error) { +func (r apiGetCouponsWithoutTotalCountRequest) Execute() (InlineResponse2007, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse2006 + localVarReturnValue InlineResponse2007 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.GetCouponsWithoutTotalCount") @@ -8985,7 +9085,7 @@ func (r apiGetCouponsWithoutTotalCountRequest) Execute() (InlineResponse2006, *_ error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse2006 + var v InlineResponse2007 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -9042,9 +9142,10 @@ func (r apiGetCustomerActivityReportRequest) Skip(skip int32) apiGetCustomerActi /* GetCustomerActivityReport Get customer's activity report Fetch the summary report of a given customer in the given application, in a time range. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. - * @param customerId The value of the `id` property of a customer profile. Get it with the [List Application's customers](/#tag/Customer-data/operation/getApplicationCustomers) endpoint. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param customerId The value of the `id` property of a customer profile. Get it with the [List Application's customers](/#tag/Customer-data/operation/getApplicationCustomers) endpoint. + @return apiGetCustomerActivityReportRequest */ func (a *ManagementApiService) GetCustomerActivityReport(ctx _context.Context, applicationId int32, customerId int32) apiGetCustomerActivityReportRequest { @@ -9058,7 +9159,8 @@ func (a *ManagementApiService) GetCustomerActivityReport(ctx _context.Context, a /* Execute executes the request - @return CustomerActivityReport + + @return CustomerActivityReport */ func (r apiGetCustomerActivityReportRequest) Execute() (CustomerActivityReport, *_nethttp.Response, error) { var ( @@ -9240,8 +9342,9 @@ GetCustomerActivityReportsWithoutTotalCount Get Activity Reports for Application Fetch summary reports for all application customers based on a time range. Instead of having the total number of results in the response, this endpoint only mentions whether there are more results. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + @return apiGetCustomerActivityReportsWithoutTotalCountRequest */ func (a *ManagementApiService) GetCustomerActivityReportsWithoutTotalCount(ctx _context.Context, applicationId int32) apiGetCustomerActivityReportsWithoutTotalCountRequest { @@ -9254,16 +9357,17 @@ func (a *ManagementApiService) GetCustomerActivityReportsWithoutTotalCount(ctx _ /* Execute executes the request - @return InlineResponse20018 + + @return InlineResponse20019 */ -func (r apiGetCustomerActivityReportsWithoutTotalCountRequest) Execute() (InlineResponse20018, *_nethttp.Response, error) { +func (r apiGetCustomerActivityReportsWithoutTotalCountRequest) Execute() (InlineResponse20019, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse20018 + localVarReturnValue InlineResponse20019 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.GetCustomerActivityReportsWithoutTotalCount") @@ -9362,7 +9466,7 @@ func (r apiGetCustomerActivityReportsWithoutTotalCountRequest) Execute() (Inline error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse20018 + var v InlineResponse20019 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -9413,9 +9517,10 @@ func (r apiGetCustomerAnalyticsRequest) Sort(sort string) apiGetCustomerAnalytic /* GetCustomerAnalytics Get customer's analytics report Fetch analytics for a given customer in the given application. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. - * @param customerId The value of the `id` property of a customer profile. Get it with the [List Application's customers](/#tag/Customer-data/operation/getApplicationCustomers) endpoint. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param customerId The value of the `id` property of a customer profile. Get it with the [List Application's customers](/#tag/Customer-data/operation/getApplicationCustomers) endpoint. + @return apiGetCustomerAnalyticsRequest */ func (a *ManagementApiService) GetCustomerAnalytics(ctx _context.Context, applicationId int32, customerId int32) apiGetCustomerAnalyticsRequest { @@ -9429,7 +9534,8 @@ func (a *ManagementApiService) GetCustomerAnalytics(ctx _context.Context, applic /* Execute executes the request - @return CustomerAnalytics + + @return CustomerAnalytics */ func (r apiGetCustomerAnalyticsRequest) Execute() (CustomerAnalytics, *_nethttp.Response, error) { var ( @@ -9550,17 +9656,20 @@ GetCustomerProfile Get customer profile Return the details of the specified customer profile.
-

Performance tips

- You can retrieve the same information via the Integration API, which can save you extra API requests. consider these options: +

Performance tips

+ + You can retrieve the same information via the Integration API, which can save you extra API requests. consider these options: + + - Request the customer profile to be part of the response content using + [Update Customer Session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2). + - Send an empty update with the [Update Customer Profile](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/updateCustomerProfileV2) endpoint with `runRuleEngine=false`. - - Request the customer profile to be part of the response content using - [Update Customer Session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2). - - Send an empty update with the [Update Customer Profile](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/updateCustomerProfileV2) endpoint with `runRuleEngine=false`.
- * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param customerId The value of the `id` property of a customer profile. Get it with the [List Application's customers](/#tag/Customer-data/operation/getApplicationCustomers) endpoint. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param customerId The value of the `id` property of a customer profile. Get it with the [List Application's customers](/#tag/Customer-data/operation/getApplicationCustomers) endpoint. + @return apiGetCustomerProfileRequest */ func (a *ManagementApiService) GetCustomerProfile(ctx _context.Context, customerId int32) apiGetCustomerProfileRequest { @@ -9573,7 +9682,8 @@ func (a *ManagementApiService) GetCustomerProfile(ctx _context.Context, customer /* Execute executes the request - @return CustomerProfile + + @return CustomerProfile */ func (r apiGetCustomerProfileRequest) Execute() (CustomerProfile, *_nethttp.Response, error) { var ( @@ -9693,7 +9803,8 @@ func (r apiGetCustomerProfilesRequest) Skip(skip int32) apiGetCustomerProfilesRe /* GetCustomerProfiles List customer profiles List all customer profiles. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return apiGetCustomerProfilesRequest */ func (a *ManagementApiService) GetCustomerProfiles(ctx _context.Context) apiGetCustomerProfilesRequest { @@ -9705,16 +9816,17 @@ func (a *ManagementApiService) GetCustomerProfiles(ctx _context.Context) apiGetC /* Execute executes the request - @return InlineResponse20017 + + @return InlineResponse20018 */ -func (r apiGetCustomerProfilesRequest) Execute() (InlineResponse20017, *_nethttp.Response, error) { +func (r apiGetCustomerProfilesRequest) Execute() (InlineResponse20018, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse20017 + localVarReturnValue InlineResponse20018 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.GetCustomerProfiles") @@ -9787,7 +9899,7 @@ func (r apiGetCustomerProfilesRequest) Execute() (InlineResponse20017, *_nethttp error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse20017 + var v InlineResponse20018 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -9839,7 +9951,8 @@ Get a list of the customer profiles matching the provided criteria. The match is successful if all the attributes of the request are found in a profile, even if the profile has more attributes that are not present on the request. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return apiGetCustomersByAttributesRequest */ func (a *ManagementApiService) GetCustomersByAttributes(ctx _context.Context) apiGetCustomersByAttributesRequest { @@ -9851,16 +9964,17 @@ func (a *ManagementApiService) GetCustomersByAttributes(ctx _context.Context) ap /* Execute executes the request - @return InlineResponse20017 + + @return InlineResponse20018 */ -func (r apiGetCustomersByAttributesRequest) Execute() (InlineResponse20017, *_nethttp.Response, error) { +func (r apiGetCustomersByAttributesRequest) Execute() (InlineResponse20018, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse20017 + localVarReturnValue InlineResponse20018 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.GetCustomersByAttributes") @@ -9939,7 +10053,7 @@ func (r apiGetCustomersByAttributesRequest) Execute() (InlineResponse20017, *_ne error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse20017 + var v InlineResponse20018 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -10001,7 +10115,8 @@ func (r apiGetEventTypesRequest) Sort(sort string) apiGetEventTypesRequest { GetEventTypes List event types Fetch all event type definitions for your account. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return apiGetEventTypesRequest */ func (a *ManagementApiService) GetEventTypes(ctx _context.Context) apiGetEventTypesRequest { @@ -10013,16 +10128,17 @@ func (a *ManagementApiService) GetEventTypes(ctx _context.Context) apiGetEventTy /* Execute executes the request - @return InlineResponse20029 + + @return InlineResponse20030 */ -func (r apiGetEventTypesRequest) Execute() (InlineResponse20029, *_nethttp.Response, error) { +func (r apiGetEventTypesRequest) Execute() (InlineResponse20030, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse20029 + localVarReturnValue InlineResponse20030 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.GetEventTypes") @@ -10104,7 +10220,7 @@ func (r apiGetEventTypesRequest) Execute() (InlineResponse20029, *_nethttp.Respo error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse20029 + var v InlineResponse20030 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -10166,7 +10282,8 @@ func (r apiGetExportsRequest) Entity(entity string) apiGetExportsRequest { GetExports Get exports List all past exports - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return apiGetExportsRequest */ func (a *ManagementApiService) GetExports(ctx _context.Context) apiGetExportsRequest { @@ -10178,16 +10295,17 @@ func (a *ManagementApiService) GetExports(ctx _context.Context) apiGetExportsReq /* Execute executes the request - @return InlineResponse20032 + + @return InlineResponse20033 */ -func (r apiGetExportsRequest) Execute() (InlineResponse20032, *_nethttp.Response, error) { +func (r apiGetExportsRequest) Execute() (InlineResponse20033, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse20032 + localVarReturnValue InlineResponse20033 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.GetExports") @@ -10269,7 +10387,7 @@ func (r apiGetExportsRequest) Execute() (InlineResponse20032, *_nethttp.Response error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse20032 + var v InlineResponse20033 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -10306,9 +10424,10 @@ Get the loyalty ledger for this profile integration ID. To get the `integrationId` of the profile from a `sessionId`, use the [Update customer session](/integration-api/#operation/updateCustomerSessionV2). - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param loyaltyProgramId The identifier for the loyalty program. - * @param integrationId The identifier of the profile. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param loyaltyProgramId The identifier for the loyalty program. + - @param integrationId The identifier of the profile. + @return apiGetLoyaltyPointsRequest */ func (a *ManagementApiService) GetLoyaltyPoints(ctx _context.Context, loyaltyProgramId string, integrationId string) apiGetLoyaltyPointsRequest { @@ -10322,7 +10441,8 @@ func (a *ManagementApiService) GetLoyaltyPoints(ctx _context.Context, loyaltyPro /* Execute executes the request - @return LoyaltyLedger + + @return LoyaltyLedger */ func (r apiGetLoyaltyPointsRequest) Execute() (LoyaltyLedger, *_nethttp.Response, error) { var ( @@ -10437,8 +10557,9 @@ To list all loyalty programs in your Application, use [List loyalty programs](#o To list the loyalty programs that a customer profile is part of, use the [List customer data](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/getCustomerInventory) - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param loyaltyProgramId Identifier of the loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs endpoint](https://docs.talon.one/management-api/#operation/getLoyaltyPrograms). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param loyaltyProgramId Identifier of the loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs endpoint](https://docs.talon.one/management-api/#operation/getLoyaltyPrograms). + @return apiGetLoyaltyProgramRequest */ func (a *ManagementApiService) GetLoyaltyProgram(ctx _context.Context, loyaltyProgramId int32) apiGetLoyaltyProgramRequest { @@ -10451,7 +10572,8 @@ func (a *ManagementApiService) GetLoyaltyProgram(ctx _context.Context, loyaltyPr /* Execute executes the request - @return LoyaltyProgram + + @return LoyaltyProgram */ func (r apiGetLoyaltyProgramRequest) Execute() (LoyaltyProgram, *_nethttp.Response, error) { var ( @@ -10559,7 +10681,8 @@ type apiGetLoyaltyProgramsRequest struct { /* GetLoyaltyPrograms List loyalty programs List the loyalty programs of the account. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return apiGetLoyaltyProgramsRequest */ func (a *ManagementApiService) GetLoyaltyPrograms(ctx _context.Context) apiGetLoyaltyProgramsRequest { @@ -10571,16 +10694,17 @@ func (a *ManagementApiService) GetLoyaltyPrograms(ctx _context.Context) apiGetLo /* Execute executes the request - @return InlineResponse2008 + + @return InlineResponse2009 */ -func (r apiGetLoyaltyProgramsRequest) Execute() (InlineResponse2008, *_nethttp.Response, error) { +func (r apiGetLoyaltyProgramsRequest) Execute() (InlineResponse2009, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse2008 + localVarReturnValue InlineResponse2009 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.GetLoyaltyPrograms") @@ -10647,7 +10771,7 @@ func (r apiGetLoyaltyProgramsRequest) Execute() (InlineResponse2008, *_nethttp.R error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse2008 + var v InlineResponse2009 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -10681,8 +10805,9 @@ GetLoyaltyStatistics Get loyalty program statistics by loyalty program ID Retrieve the statistics of the specified loyalty program such as the total active points, pending points, spent points and expired points. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param loyaltyProgramId Identifier of the loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs endpoint](https://docs.talon.one/management-api/#operation/getLoyaltyPrograms). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param loyaltyProgramId Identifier of the loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs endpoint](https://docs.talon.one/management-api/#operation/getLoyaltyPrograms). + @return apiGetLoyaltyStatisticsRequest */ func (a *ManagementApiService) GetLoyaltyStatistics(ctx _context.Context, loyaltyProgramId int32) apiGetLoyaltyStatisticsRequest { @@ -10695,7 +10820,8 @@ func (a *ManagementApiService) GetLoyaltyStatistics(ctx _context.Context, loyalt /* Execute executes the request - @return LoyaltyStatistics + + @return LoyaltyStatistics */ func (r apiGetLoyaltyStatisticsRequest) Execute() (LoyaltyStatistics, *_nethttp.Response, error) { var ( @@ -10805,9 +10931,10 @@ type apiGetNotificationWebhookRequest struct { /* GetNotificationWebhook Get notification webhook Return the given outbound notification webhook. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. - * @param notificationWebhookId + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param notificationWebhookId + @return apiGetNotificationWebhookRequest */ func (a *ManagementApiService) GetNotificationWebhook(ctx _context.Context, applicationId int32, notificationWebhookId int32) apiGetNotificationWebhookRequest { @@ -10821,7 +10948,8 @@ func (a *ManagementApiService) GetNotificationWebhook(ctx _context.Context, appl /* Execute executes the request - @return NotificationWebhook + + @return NotificationWebhook */ func (r apiGetNotificationWebhookRequest) Execute() (NotificationWebhook, *_nethttp.Response, error) { var ( @@ -10931,8 +11059,9 @@ type apiGetNotificationWebhooksRequest struct { /* GetNotificationWebhooks List notification webhooks List all outbound notification webhooks for this application. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + @return apiGetNotificationWebhooksRequest */ func (a *ManagementApiService) GetNotificationWebhooks(ctx _context.Context, applicationId int32) apiGetNotificationWebhooksRequest { @@ -10945,16 +11074,17 @@ func (a *ManagementApiService) GetNotificationWebhooks(ctx _context.Context, app /* Execute executes the request - @return InlineResponse2003 + + @return InlineResponse2004 */ -func (r apiGetNotificationWebhooksRequest) Execute() (InlineResponse2003, *_nethttp.Response, error) { +func (r apiGetNotificationWebhooksRequest) Execute() (InlineResponse2004, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse2003 + localVarReturnValue InlineResponse2004 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.GetNotificationWebhooks") @@ -11022,7 +11152,7 @@ func (r apiGetNotificationWebhooksRequest) Execute() (InlineResponse2003, *_neth error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse2003 + var v InlineResponse2004 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -11109,9 +11239,10 @@ func (r apiGetReferralsWithoutTotalCountRequest) Advocate(advocate string) apiGe /* GetReferralsWithoutTotalCount List referrals List all referrals of the specified campaign. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. - * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + @return apiGetReferralsWithoutTotalCountRequest */ func (a *ManagementApiService) GetReferralsWithoutTotalCount(ctx _context.Context, applicationId int32, campaignId int32) apiGetReferralsWithoutTotalCountRequest { @@ -11125,16 +11256,17 @@ func (a *ManagementApiService) GetReferralsWithoutTotalCount(ctx _context.Contex /* Execute executes the request - @return InlineResponse2007 + + @return InlineResponse2008 */ -func (r apiGetReferralsWithoutTotalCountRequest) Execute() (InlineResponse2007, *_nethttp.Response, error) { +func (r apiGetReferralsWithoutTotalCountRequest) Execute() (InlineResponse2008, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse2007 + localVarReturnValue InlineResponse2008 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.GetReferralsWithoutTotalCount") @@ -11230,7 +11362,7 @@ func (r apiGetReferralsWithoutTotalCountRequest) Execute() (InlineResponse2007, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse2007 + var v InlineResponse2008 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -11263,8 +11395,9 @@ type apiGetRoleRequest struct { GetRole Get role Get the details of the specified role. To see all the roles, use [List roles](#operation/getAllRoles). - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param roleId The Id of role. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param roleId The Id of role. + @return apiGetRoleRequest */ func (a *ManagementApiService) GetRole(ctx _context.Context, roleId int32) apiGetRoleRequest { @@ -11277,7 +11410,8 @@ func (a *ManagementApiService) GetRole(ctx _context.Context, roleId int32) apiGe /* Execute executes the request - @return Role + + @return Role */ func (r apiGetRoleRequest) Execute() (Role, *_nethttp.Response, error) { var ( @@ -11388,10 +11522,11 @@ type apiGetRulesetRequest struct { /* GetRuleset Get ruleset Retrieve the specified ruleset. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. - * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. - * @param rulesetId + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + - @param rulesetId + @return apiGetRulesetRequest */ func (a *ManagementApiService) GetRuleset(ctx _context.Context, applicationId int32, campaignId int32, rulesetId int32) apiGetRulesetRequest { @@ -11406,7 +11541,8 @@ func (a *ManagementApiService) GetRuleset(ctx _context.Context, applicationId in /* Execute executes the request - @return Ruleset + + @return Ruleset */ func (r apiGetRulesetRequest) Execute() (Ruleset, *_nethttp.Response, error) { var ( @@ -11539,9 +11675,10 @@ List all rulesets of this campaign. A ruleset is a revision of the rules of a ca **Important:** The response also includes deleted rules. You should only consider the latest revision of the returned rulesets. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. - * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + @return apiGetRulesetsRequest */ func (a *ManagementApiService) GetRulesets(ctx _context.Context, applicationId int32, campaignId int32) apiGetRulesetsRequest { @@ -11555,16 +11692,17 @@ func (a *ManagementApiService) GetRulesets(ctx _context.Context, applicationId i /* Execute executes the request - @return InlineResponse2004 + + @return InlineResponse2005 */ -func (r apiGetRulesetsRequest) Execute() (InlineResponse2004, *_nethttp.Response, error) { +func (r apiGetRulesetsRequest) Execute() (InlineResponse2005, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse2004 + localVarReturnValue InlineResponse2005 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.GetRulesets") @@ -11642,7 +11780,7 @@ func (r apiGetRulesetsRequest) Execute() (InlineResponse2004, *_nethttp.Response error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse2004 + var v InlineResponse2005 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -11675,8 +11813,9 @@ type apiGetUserRequest struct { GetUser Get user Retrieve the data (including an invitation code) for a user. Non-admin users can only get their own profile. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param userId The ID of the user. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param userId The ID of the user. + @return apiGetUserRequest */ func (a *ManagementApiService) GetUser(ctx _context.Context, userId int32) apiGetUserRequest { @@ -11689,7 +11828,8 @@ func (a *ManagementApiService) GetUser(ctx _context.Context, userId int32) apiGe /* Execute executes the request - @return User + + @return User */ func (r apiGetUserRequest) Execute() (User, *_nethttp.Response, error) { var ( @@ -11816,7 +11956,8 @@ func (r apiGetUsersRequest) Sort(sort string) apiGetUsersRequest { GetUsers List users in account Retrieve all users in your account. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return apiGetUsersRequest */ func (a *ManagementApiService) GetUsers(ctx _context.Context) apiGetUsersRequest { @@ -11828,16 +11969,17 @@ func (a *ManagementApiService) GetUsers(ctx _context.Context) apiGetUsersRequest /* Execute executes the request - @return InlineResponse20030 + + @return InlineResponse20031 */ -func (r apiGetUsersRequest) Execute() (InlineResponse20030, *_nethttp.Response, error) { +func (r apiGetUsersRequest) Execute() (InlineResponse20031, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse20030 + localVarReturnValue InlineResponse20031 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.GetUsers") @@ -11913,7 +12055,7 @@ func (r apiGetUsersRequest) Execute() (InlineResponse20030, *_nethttp.Response, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse20030 + var v InlineResponse20031 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -11945,8 +12087,9 @@ type apiGetWebhookRequest struct { /* GetWebhook Get webhook Returns a webhook by its id. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param webhookId + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param webhookId + @return apiGetWebhookRequest */ func (a *ManagementApiService) GetWebhook(ctx _context.Context, webhookId int32) apiGetWebhookRequest { @@ -11959,7 +12102,8 @@ func (a *ManagementApiService) GetWebhook(ctx _context.Context, webhookId int32) /* Execute executes the request - @return Webhook + + @return Webhook */ func (r apiGetWebhookRequest) Execute() (Webhook, *_nethttp.Response, error) { var ( @@ -12121,7 +12265,8 @@ func (r apiGetWebhookActivationLogsRequest) CreatedAfter(createdAfter time.Time) /* GetWebhookActivationLogs List webhook activation log entries Webhook activation log entries would be created as soon as an integration request triggered an effect with a webhook. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return apiGetWebhookActivationLogsRequest */ func (a *ManagementApiService) GetWebhookActivationLogs(ctx _context.Context) apiGetWebhookActivationLogsRequest { @@ -12133,16 +12278,17 @@ func (a *ManagementApiService) GetWebhookActivationLogs(ctx _context.Context) ap /* Execute executes the request - @return InlineResponse20027 + + @return InlineResponse20028 */ -func (r apiGetWebhookActivationLogsRequest) Execute() (InlineResponse20027, *_nethttp.Response, error) { +func (r apiGetWebhookActivationLogsRequest) Execute() (InlineResponse20028, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse20027 + localVarReturnValue InlineResponse20028 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.GetWebhookActivationLogs") @@ -12236,7 +12382,7 @@ func (r apiGetWebhookActivationLogsRequest) Execute() (InlineResponse20027, *_ne error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse20027 + var v InlineResponse20028 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -12327,7 +12473,8 @@ func (r apiGetWebhookLogsRequest) CreatedAfter(createdAfter time.Time) apiGetWeb /* GetWebhookLogs List webhook log entries Retrieve all webhook log entries. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return apiGetWebhookLogsRequest */ func (a *ManagementApiService) GetWebhookLogs(ctx _context.Context) apiGetWebhookLogsRequest { @@ -12339,16 +12486,17 @@ func (a *ManagementApiService) GetWebhookLogs(ctx _context.Context) apiGetWebhoo /* Execute executes the request - @return InlineResponse20028 + + @return InlineResponse20029 */ -func (r apiGetWebhookLogsRequest) Execute() (InlineResponse20028, *_nethttp.Response, error) { +func (r apiGetWebhookLogsRequest) Execute() (InlineResponse20029, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse20028 + localVarReturnValue InlineResponse20029 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.GetWebhookLogs") @@ -12445,7 +12593,7 @@ func (r apiGetWebhookLogsRequest) Execute() (InlineResponse20028, *_nethttp.Resp error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse20028 + var v InlineResponse20029 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -12500,7 +12648,8 @@ func (r apiGetWebhooksRequest) Skip(skip int32) apiGetWebhooksRequest { /* GetWebhooks List webhooks List all webhooks. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return apiGetWebhooksRequest */ func (a *ManagementApiService) GetWebhooks(ctx _context.Context) apiGetWebhooksRequest { @@ -12512,16 +12661,17 @@ func (a *ManagementApiService) GetWebhooks(ctx _context.Context) apiGetWebhooksR /* Execute executes the request - @return InlineResponse20026 + + @return InlineResponse20027 */ -func (r apiGetWebhooksRequest) Execute() (InlineResponse20026, *_nethttp.Response, error) { +func (r apiGetWebhooksRequest) Execute() (InlineResponse20027, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse20026 + localVarReturnValue InlineResponse20027 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.GetWebhooks") @@ -12600,7 +12750,7 @@ func (r apiGetWebhooksRequest) Execute() (InlineResponse20026, *_nethttp.Respons error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse20026 + var v InlineResponse20027 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -12659,8 +12809,9 @@ Asics **Note:** Before sending a request to this endpoint, ensure the data in the CSV to import is different from the data currently stored in the collection. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param collectionId The ID of the collection. You can get it with the [List collection in account endpoint](#operation/listCollectionsInApplication). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param collectionId The ID of the collection. You can get it with the [List collection in account endpoint](#operation/listCollectionsInApplication). + @return apiImportAccountCollectionRequest */ func (a *ManagementApiService) ImportAccountCollection(ctx _context.Context, collectionId int32) apiImportAccountCollectionRequest { @@ -12673,7 +12824,8 @@ func (a *ManagementApiService) ImportAccountCollection(ctx _context.Context, col /* Execute executes the request - @return Import + + @return Import */ func (r apiImportAccountCollectionRequest) Execute() (Import, *_nethttp.Response, error) { var ( @@ -12831,8 +12983,9 @@ CS-DV-04042021-UP-49D-12 CS-DG-02082021-UP-50G-07 ``` - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param attributeId + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param attributeId + @return apiImportAllowedListRequest */ func (a *ManagementApiService) ImportAllowedList(ctx _context.Context, attributeId int32) apiImportAllowedListRequest { @@ -12845,7 +12998,8 @@ func (a *ManagementApiService) ImportAllowedList(ctx _context.Context, attribute /* Execute executes the request - @return Import + + @return Import */ func (r apiImportAllowedListRequest) Execute() (Import, *_nethttp.Response, error) { var ( @@ -13016,10 +13170,11 @@ Asics **Note:** Before sending a request to this endpoint, ensure the data in the CSV to import is different from the data currently stored in the collection. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. - * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. - * @param collectionId The ID of the collection. You can get it with the [List collection in account endpoint](#operation/listCollectionsInApplication). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + - @param collectionId The ID of the collection. You can get it with the [List collection in account endpoint](#operation/listCollectionsInApplication). + @return apiImportCollectionRequest */ func (a *ManagementApiService) ImportCollection(ctx _context.Context, applicationId int32, campaignId int32, collectionId int32) apiImportCollectionRequest { @@ -13034,7 +13189,8 @@ func (a *ManagementApiService) ImportCollection(ctx _context.Context, applicatio /* Execute executes the request - @return Import + + @return Import */ func (r apiImportCollectionRequest) Execute() (Import, *_nethttp.Response, error) { var ( @@ -13168,14 +13324,14 @@ Upload a CSV file containing the coupons that should be created. The file should The CSV file can contain the following columns: -- `value` (required): The coupon code. -- `expirydate`: The end date in RFC3339 of the code redemption period. -- `startdate`: The start date in RFC3339 of the code redemption period. -- `limitval`: The maximum amount of redemptions of this code. For unlimited redemptions, use `0`. Defaults to `1` when not provided. -- `attributes`: A json object describing _custom_ referral attribute names and their values. Double the double-quotes in the object. -- `discountlimit`: The amount of discounts that can be given with this coupon code. - For example, if you created a [custom attribute](https://docs.talon.one/docs/dev/concepts/attributes#custom-attributes) - called `category` associated to the coupon entity, set it with `"{""category"": ""10_off""}"`. + - `value` (required): The coupon code. + - `expirydate`: The end date in RFC3339 of the code redemption period. + - `startdate`: The start date in RFC3339 of the code redemption period. + - `limitval`: The maximum amount of redemptions of this code. For unlimited redemptions, use `0`. Defaults to `1` when not provided. + - `attributes`: A json object describing _custom_ referral attribute names and their values. Double the double-quotes in the object. + - `discountlimit`: The amount of discounts that can be given with this coupon code. + For example, if you created a [custom attribute](https://docs.talon.one/docs/dev/concepts/attributes#custom-attributes) + called `category` associated to the coupon entity, set it with `"{""category"": ""10_off""}"`. **Important:** Do not leave empty columns in the file. @@ -13191,9 +13347,10 @@ COUP1,2018-07-01T04:00:00Z,2018-05-01T04:00:00Z,cust123,1,"{""Category"": ""10_o Once imported, you can find the `batchId` in the Campaign Manager or by using [List coupons](#tag/Coupons/operation/getCouponsWithoutTotalCount). - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. - * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + @return apiImportCouponsRequest */ func (a *ManagementApiService) ImportCoupons(ctx _context.Context, applicationId int32, campaignId int32) apiImportCouponsRequest { @@ -13207,7 +13364,8 @@ func (a *ManagementApiService) ImportCoupons(ctx _context.Context, applicationId /* Execute executes the request - @return Import + + @return Import */ func (r apiImportCouponsRequest) Execute() (Import, *_nethttp.Response, error) { var ( @@ -13351,8 +13509,9 @@ customerprofileid,amount,startdate,expirydate,subledgerid,reason URNGV8294NV,100,2009-11-10T23:00:00Z,2009-11-11T23:00:00Z,subledger1,appeasement ``` - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param loyaltyProgramId Identifier of the loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs endpoint](https://docs.talon.one/management-api/#operation/getLoyaltyPrograms). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param loyaltyProgramId Identifier of the loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs endpoint](https://docs.talon.one/management-api/#operation/getLoyaltyPrograms). + @return apiImportLoyaltyPointsRequest */ func (a *ManagementApiService) ImportLoyaltyPoints(ctx _context.Context, loyaltyProgramId int32) apiImportLoyaltyPointsRequest { @@ -13365,7 +13524,8 @@ func (a *ManagementApiService) ImportLoyaltyPoints(ctx _context.Context, loyalty /* Execute executes the request - @return Import + + @return Import */ func (r apiImportLoyaltyPointsRequest) Execute() (Import, *_nethttp.Response, error) { var ( @@ -13485,12 +13645,12 @@ ImportPoolGiveaways Import giveaway codes into a giveaway pool Upload a CSV file containing the giveaway codes that should be created. Send the file as multipart data. The CSV file can contain the following columns: -- `code` (required): the code of your giveaway, for instance, a gift card redemption code. -- `startdate`: the start date in RFC3339 of the code redemption period. -- `enddate`: the last date in RFC3339 of the code redemption period. -- `attributes`: A json object describing _custom_ giveaway attribute names and their values. Double the double-quotes in the object. - For example, if you [created a custom attribute](https://docs.talon.one/docs/dev/concepts/attributes#custom-attributes) - called `provider` associated to the giveaway entity, set it with `"{""provider"": ""myPartnerCompany""}"`. + - `code` (required): the code of your giveaway, for instance, a gift card redemption code. + - `startdate`: the start date in RFC3339 of the code redemption period. + - `enddate`: the last date in RFC3339 of the code redemption period. + - `attributes`: A json object describing _custom_ giveaway attribute names and their values. Double the double-quotes in the object. + For example, if you [created a custom attribute](https://docs.talon.one/docs/dev/concepts/attributes#custom-attributes) + called `provider` associated to the giveaway entity, set it with `"{""provider"": ""myPartnerCompany""}"`. **Important:** Do not leave empty columns in the file. @@ -13506,8 +13666,9 @@ GIVEAWAY2,2020-11-10T23:00:00Z,2022-11-11T23:00:00Z,"{""provider"": ""Amazon""}" GIVEAWAY3,2021-01-10T23:00:00Z,2022-11-11T23:00:00Z,"{""provider"": ""Aliexpress""}" ``` - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param poolId + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param poolId + @return apiImportPoolGiveawaysRequest */ func (a *ManagementApiService) ImportPoolGiveaways(ctx _context.Context, poolId int32) apiImportPoolGiveawaysRequest { @@ -13520,7 +13681,8 @@ func (a *ManagementApiService) ImportPoolGiveaways(ctx _context.Context, poolId /* Execute executes the request - @return Import + + @return Import */ func (r apiImportPoolGiveawaysRequest) Execute() (Import, *_nethttp.Response, error) { var ( @@ -13650,8 +13812,8 @@ The CSV file can contain the following columns: - `limitval`: The maximum amount of redemptions of this code. Defaults to `1` when left blank. - `attributes`: A json object describing _custom_ referral attribute names and their values. Double the double-quotes in the object. - For example, if you [created a custom attribute](https://docs.talon.one/docs/dev/concepts/attributes#custom-attributes) - called `category` associated to the referral entity, set it with `"{""category"": ""10_off""}"`. + For example, if you [created a custom attribute](https://docs.talon.one/docs/dev/concepts/attributes#custom-attributes) + called `category` associated to the referral entity, set it with `"{""category"": ""10_off""}"`. You can use the timezone of your choice. It is converted to UTC internally by Talon.One. @@ -13663,9 +13825,10 @@ REFERRAL_CODE1,2020-11-10T23:00:00Z,2021-11-11T23:00:00Z,integid_4,1,"{""my_attr REFERRAL_CODE2,2020-11-10T23:00:00Z,2021-11-11T23:00:00Z,integid1,1,"{""my_attribute"": ""20_off""}" ``` - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. - * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + @return apiImportReferralsRequest */ func (a *ManagementApiService) ImportReferrals(ctx _context.Context, applicationId int32, campaignId int32) apiImportReferralsRequest { @@ -13679,7 +13842,8 @@ func (a *ManagementApiService) ImportReferrals(ctx _context.Context, application /* Execute executes the request - @return Import + + @return Import */ func (r apiImportReferralsRequest) Execute() (Import, *_nethttp.Response, error) { var ( @@ -13821,7 +13985,8 @@ func (r apiListAccountCollectionsRequest) Name(name string) apiListAccountCollec /* ListAccountCollections List collections in account List collections in account. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return apiListAccountCollectionsRequest */ func (a *ManagementApiService) ListAccountCollections(ctx _context.Context) apiListAccountCollectionsRequest { @@ -13833,16 +13998,17 @@ func (a *ManagementApiService) ListAccountCollections(ctx _context.Context) apiL /* Execute executes the request - @return InlineResponse2009 + + @return InlineResponse20010 */ -func (r apiListAccountCollectionsRequest) Execute() (InlineResponse2009, *_nethttp.Response, error) { +func (r apiListAccountCollectionsRequest) Execute() (InlineResponse20010, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse2009 + localVarReturnValue InlineResponse20010 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.ListAccountCollections") @@ -13924,7 +14090,7 @@ func (r apiListAccountCollectionsRequest) Execute() (InlineResponse2009, *_netht error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse2009 + var v InlineResponse20010 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -14017,9 +14183,10 @@ func (r apiListCollectionsRequest) Name(name string) apiListCollectionsRequest { /* ListCollections List collections List collections in the campaign. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. - * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + @return apiListCollectionsRequest */ func (a *ManagementApiService) ListCollections(ctx _context.Context, applicationId int32, campaignId int32) apiListCollectionsRequest { @@ -14033,16 +14200,17 @@ func (a *ManagementApiService) ListCollections(ctx _context.Context, application /* Execute executes the request - @return InlineResponse20011 + + @return InlineResponse20012 */ -func (r apiListCollectionsRequest) Execute() (InlineResponse20011, *_nethttp.Response, error) { +func (r apiListCollectionsRequest) Execute() (InlineResponse20012, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse20011 + localVarReturnValue InlineResponse20012 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.ListCollections") @@ -14126,7 +14294,7 @@ func (r apiListCollectionsRequest) Execute() (InlineResponse20011, *_nethttp.Res error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse20011 + var v InlineResponse20012 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -14198,8 +14366,9 @@ func (r apiListCollectionsInApplicationRequest) Name(name string) apiListCollect /* ListCollectionsInApplication List collections in application List collections from all campaigns in the Application. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + @return apiListCollectionsInApplicationRequest */ func (a *ManagementApiService) ListCollectionsInApplication(ctx _context.Context, applicationId int32) apiListCollectionsInApplicationRequest { @@ -14212,16 +14381,17 @@ func (a *ManagementApiService) ListCollectionsInApplication(ctx _context.Context /* Execute executes the request - @return InlineResponse20011 + + @return InlineResponse20012 */ -func (r apiListCollectionsInApplicationRequest) Execute() (InlineResponse20011, *_nethttp.Response, error) { +func (r apiListCollectionsInApplicationRequest) Execute() (InlineResponse20012, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse20011 + localVarReturnValue InlineResponse20012 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.ListCollectionsInApplication") @@ -14304,7 +14474,7 @@ func (r apiListCollectionsInApplicationRequest) Execute() (InlineResponse20011, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse20011 + var v InlineResponse20012 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -14357,9 +14527,10 @@ Remove points from the specified loyalty program and specified customer profile. To get the `integrationId` of the profile from a `sessionId`, use the [Update customer session](/integration-api/#operation/updateCustomerSessionV2). - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param loyaltyProgramId The identifier for the loyalty program. - * @param integrationId The identifier of the profile. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param loyaltyProgramId The identifier for the loyalty program. + - @param integrationId The identifier of the profile. + @return apiRemoveLoyaltyPointsRequest */ func (a *ManagementApiService) RemoveLoyaltyPoints(ctx _context.Context, loyaltyProgramId string, integrationId string) apiRemoveLoyaltyPointsRequest { @@ -14373,7 +14544,6 @@ func (a *ManagementApiService) RemoveLoyaltyPoints(ctx _context.Context, loyalty /* Execute executes the request - */ func (r apiRemoveLoyaltyPointsRequest) Execute() (*_nethttp.Response, error) { var ( @@ -14506,7 +14676,8 @@ ResetPassword Reset password Consumes the supplied password reset token and updates the password for the associated account. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return apiResetPasswordRequest */ func (a *ManagementApiService) ResetPassword(ctx _context.Context) apiResetPasswordRequest { @@ -14518,7 +14689,8 @@ func (a *ManagementApiService) ResetPassword(ctx _context.Context) apiResetPassw /* Execute executes the request - @return NewPassword + + @return NewPassword */ func (r apiResetPasswordRequest) Execute() (NewPassword, *_nethttp.Response, error) { var ( @@ -14722,8 +14894,9 @@ even if the coupon has more attributes that are not present on the request. **Note:** The total count is not included in the response. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + @return apiSearchCouponsAdvancedApplicationWideWithoutTotalCountRequest */ func (a *ManagementApiService) SearchCouponsAdvancedApplicationWideWithoutTotalCount(ctx _context.Context, applicationId int32) apiSearchCouponsAdvancedApplicationWideWithoutTotalCountRequest { @@ -14736,16 +14909,17 @@ func (a *ManagementApiService) SearchCouponsAdvancedApplicationWideWithoutTotalC /* Execute executes the request - @return InlineResponse2006 + + @return InlineResponse2007 */ -func (r apiSearchCouponsAdvancedApplicationWideWithoutTotalCountRequest) Execute() (InlineResponse2006, *_nethttp.Response, error) { +func (r apiSearchCouponsAdvancedApplicationWideWithoutTotalCountRequest) Execute() (InlineResponse2007, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse2006 + localVarReturnValue InlineResponse2007 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.SearchCouponsAdvancedApplicationWideWithoutTotalCount") @@ -14858,7 +15032,7 @@ func (r apiSearchCouponsAdvancedApplicationWideWithoutTotalCountRequest) Execute error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse2006 + var v InlineResponse2007 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -14976,9 +15150,10 @@ even if the coupon has more attributes that are not present on the request. **Note:** The total count is not included in the response. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. - * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + @return apiSearchCouponsAdvancedWithoutTotalCountRequest */ func (a *ManagementApiService) SearchCouponsAdvancedWithoutTotalCount(ctx _context.Context, applicationId int32, campaignId int32) apiSearchCouponsAdvancedWithoutTotalCountRequest { @@ -14992,16 +15167,17 @@ func (a *ManagementApiService) SearchCouponsAdvancedWithoutTotalCount(ctx _conte /* Execute executes the request - @return InlineResponse2006 + + @return InlineResponse2007 */ -func (r apiSearchCouponsAdvancedWithoutTotalCountRequest) Execute() (InlineResponse2006, *_nethttp.Response, error) { +func (r apiSearchCouponsAdvancedWithoutTotalCountRequest) Execute() (InlineResponse2007, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue InlineResponse2006 + localVarReturnValue InlineResponse2007 ) localBasePath, err := r.apiService.client.cfg.ServerURLWithContext(r.ctx, "ManagementApiService.SearchCouponsAdvancedWithoutTotalCount") @@ -15112,7 +15288,7 @@ func (r apiSearchCouponsAdvancedWithoutTotalCountRequest) Execute() (InlineRespo error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 200 { - var v InlineResponse2006 + var v InlineResponse2007 err = r.apiService.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -15150,8 +15326,9 @@ func (r apiUpdateAccountCollectionRequest) Body(body UpdateCollection) apiUpdate /* UpdateAccountCollection Update account-level collection Edit the description of the account-level collection and enable or disable the collection in the specified Applications. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param collectionId The ID of the collection. You can get it with the [List collection in account endpoint](#operation/listCollectionsInApplication). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param collectionId The ID of the collection. You can get it with the [List collection in account endpoint](#operation/listCollectionsInApplication). + @return apiUpdateAccountCollectionRequest */ func (a *ManagementApiService) UpdateAccountCollection(ctx _context.Context, collectionId int32) apiUpdateAccountCollectionRequest { @@ -15164,7 +15341,8 @@ func (a *ManagementApiService) UpdateAccountCollection(ctx _context.Context, col /* Execute executes the request - @return Collection + + @return Collection */ func (r apiUpdateAccountCollectionRequest) Execute() (Collection, *_nethttp.Response, error) { var ( @@ -15316,8 +15494,9 @@ func (r apiUpdateAdditionalCostRequest) Body(body NewAdditionalCost) apiUpdateAd UpdateAdditionalCost Update additional cost Updates an existing additional cost. Once created, the only property of an additional cost that can be changed is the title (human readable description). This restriction is in place to prevent accidentally breaking live integrations. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param additionalCostId + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param additionalCostId + @return apiUpdateAdditionalCostRequest */ func (a *ManagementApiService) UpdateAdditionalCost(ctx _context.Context, additionalCostId int32) apiUpdateAdditionalCostRequest { @@ -15330,7 +15509,8 @@ func (a *ManagementApiService) UpdateAdditionalCost(ctx _context.Context, additi /* Execute executes the request - @return AccountAdditionalCost + + @return AccountAdditionalCost */ func (r apiUpdateAdditionalCostRequest) Execute() (AccountAdditionalCost, *_nethttp.Response, error) { var ( @@ -15454,8 +15634,9 @@ Updates an existing custom attribute. Once created, the only property of a custo If you **really** need to change the `type` or `name` property of a custom attribute, create a new attribute and update any relevant integrations and rules to use the new attribute. Then delete the old attribute when you are confident you have migrated any needed data from the old attribute to the new one. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param attributeId + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param attributeId + @return apiUpdateAttributeRequest */ func (a *ManagementApiService) UpdateAttribute(ctx _context.Context, attributeId int32) apiUpdateAttributeRequest { @@ -15468,7 +15649,8 @@ func (a *ManagementApiService) UpdateAttribute(ctx _context.Context, attributeId /* Execute executes the request - @return Attribute + + @return Attribute */ func (r apiUpdateAttributeRequest) Execute() (Attribute, *_nethttp.Response, error) { var ( @@ -15590,9 +15772,10 @@ func (r apiUpdateCampaignRequest) Body(body UpdateCampaign) apiUpdateCampaignReq /* UpdateCampaign Update campaign Update the given campaign. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. - * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + @return apiUpdateCampaignRequest */ func (a *ManagementApiService) UpdateCampaign(ctx _context.Context, applicationId int32, campaignId int32) apiUpdateCampaignRequest { @@ -15606,7 +15789,8 @@ func (a *ManagementApiService) UpdateCampaign(ctx _context.Context, applicationI /* Execute executes the request - @return Campaign + + @return Campaign */ func (r apiUpdateCampaignRequest) Execute() (Campaign, *_nethttp.Response, error) { var ( @@ -15730,10 +15914,11 @@ func (r apiUpdateCollectionRequest) Body(body UpdateCampaignCollection) apiUpdat /* UpdateCollection Update collection description Edit the description of the collection. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. - * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. - * @param collectionId The ID of the collection. You can get it with the [List collection in account endpoint](#operation/listCollectionsInApplication). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + - @param collectionId The ID of the collection. You can get it with the [List collection in account endpoint](#operation/listCollectionsInApplication). + @return apiUpdateCollectionRequest */ func (a *ManagementApiService) UpdateCollection(ctx _context.Context, applicationId int32, campaignId int32, collectionId int32) apiUpdateCollectionRequest { @@ -15748,7 +15933,8 @@ func (a *ManagementApiService) UpdateCollection(ctx _context.Context, applicatio /* Execute executes the request - @return Collection + + @return Collection */ func (r apiUpdateCollectionRequest) Execute() (Collection, *_nethttp.Response, error) { var ( @@ -15883,10 +16069,11 @@ func (r apiUpdateCouponRequest) Body(body UpdateCoupon) apiUpdateCouponRequest { /* UpdateCoupon Update coupon Update the specified coupon. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. - * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. - * @param couponId The ID of the coupon code to update + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + - @param couponId The ID of the coupon code to update + @return apiUpdateCouponRequest */ func (a *ManagementApiService) UpdateCoupon(ctx _context.Context, applicationId int32, campaignId int32, couponId string) apiUpdateCouponRequest { @@ -15901,7 +16088,8 @@ func (a *ManagementApiService) UpdateCoupon(ctx _context.Context, applicationId /* Execute executes the request - @return Coupon + + @return Coupon */ func (r apiUpdateCouponRequest) Execute() (Coupon, *_nethttp.Response, error) { var ( @@ -16034,9 +16222,10 @@ in the Campaign Manager or by using [List coupons](#operation/getCouponsWithoutT To update a specific coupon, use [Update coupon](#operation/updateCoupon). - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. - * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + @return apiUpdateCouponBatchRequest */ func (a *ManagementApiService) UpdateCouponBatch(ctx _context.Context, applicationId int32, campaignId int32) apiUpdateCouponBatchRequest { @@ -16050,7 +16239,6 @@ func (a *ManagementApiService) UpdateCouponBatch(ctx _context.Context, applicati /* Execute executes the request - */ func (r apiUpdateCouponBatchRequest) Execute() (*_nethttp.Response, error) { var ( @@ -16154,9 +16342,10 @@ func (r apiUpdateNotificationWebhookRequest) Body(body NewNotificationWebhook) a /* UpdateNotificationWebhook Update notification webhook Update the given outbound notification webhook. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. - * @param notificationWebhookId + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param notificationWebhookId + @return apiUpdateNotificationWebhookRequest */ func (a *ManagementApiService) UpdateNotificationWebhook(ctx _context.Context, applicationId int32, notificationWebhookId int32) apiUpdateNotificationWebhookRequest { @@ -16170,7 +16359,8 @@ func (a *ManagementApiService) UpdateNotificationWebhook(ctx _context.Context, a /* Execute executes the request - @return NotificationWebhook + + @return NotificationWebhook */ func (r apiUpdateNotificationWebhookRequest) Execute() (NotificationWebhook, *_nethttp.Response, error) { var ( @@ -16294,10 +16484,11 @@ func (r apiUpdateReferralRequest) Body(body UpdateReferral) apiUpdateReferralReq /* UpdateReferral Update referral Update the specified referral. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. - * @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. - * @param referralId The ID of the referral code to delete + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param applicationId The ID of the Application. It is displayed in your Talon.One deployment URL. + - @param campaignId The ID of the campaign. It is displayed in your Talon.One deployment URL. + - @param referralId The ID of the referral code to delete + @return apiUpdateReferralRequest */ func (a *ManagementApiService) UpdateReferral(ctx _context.Context, applicationId int32, campaignId int32, referralId string) apiUpdateReferralRequest { @@ -16312,7 +16503,8 @@ func (a *ManagementApiService) UpdateReferral(ctx _context.Context, applicationI /* Execute executes the request - @return Referral + + @return Referral */ func (r apiUpdateReferralRequest) Execute() (Referral, *_nethttp.Response, error) { var ( diff --git a/configuration.go b/configuration.go index f31dc5ef..b69c0c5a 100644 --- a/configuration.go +++ b/configuration.go @@ -97,7 +97,7 @@ type Configuration struct { func NewConfiguration() *Configuration { cfg := &Configuration{ DefaultHeader: make(map[string]string), - UserAgent: "OpenAPI-Generator/2.6.0/go", + UserAgent: "OpenAPI-Generator/2.6.1/go", Debug: false, Servers: ServerConfigurations{ { diff --git a/docs/InlineResponse2001.md b/docs/InlineResponse2001.md index 0dd82c2d..75819eca 100644 --- a/docs/InlineResponse2001.md +++ b/docs/InlineResponse2001.md @@ -4,45 +4,45 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**TotalResultSize** | Pointer to **int32** | | -**Data** | Pointer to [**[]Application**](Application.md) | | +**HasMore** | Pointer to **bool** | | +**Data** | Pointer to [**[]LedgerTransactionLogEntryIntegrationApi**](LedgerTransactionLogEntryIntegrationAPI.md) | | ## Methods -### GetTotalResultSize +### GetHasMore -`func (o *InlineResponse2001) GetTotalResultSize() int32` +`func (o *InlineResponse2001) GetHasMore() bool` -GetTotalResultSize returns the TotalResultSize field if non-nil, zero value otherwise. +GetHasMore returns the HasMore field if non-nil, zero value otherwise. -### GetTotalResultSizeOk +### GetHasMoreOk -`func (o *InlineResponse2001) GetTotalResultSizeOk() (int32, bool)` +`func (o *InlineResponse2001) GetHasMoreOk() (bool, bool)` -GetTotalResultSizeOk returns a tuple with the TotalResultSize field if it's non-nil, zero value otherwise +GetHasMoreOk returns a tuple with the HasMore field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### HasTotalResultSize +### HasHasMore -`func (o *InlineResponse2001) HasTotalResultSize() bool` +`func (o *InlineResponse2001) HasHasMore() bool` -HasTotalResultSize returns a boolean if a field has been set. +HasHasMore returns a boolean if a field has been set. -### SetTotalResultSize +### SetHasMore -`func (o *InlineResponse2001) SetTotalResultSize(v int32)` +`func (o *InlineResponse2001) SetHasMore(v bool)` -SetTotalResultSize gets a reference to the given int32 and assigns it to the TotalResultSize field. +SetHasMore gets a reference to the given bool and assigns it to the HasMore field. ### GetData -`func (o *InlineResponse2001) GetData() []Application` +`func (o *InlineResponse2001) GetData() []LedgerTransactionLogEntryIntegrationApi` GetData returns the Data field if non-nil, zero value otherwise. ### GetDataOk -`func (o *InlineResponse2001) GetDataOk() ([]Application, bool)` +`func (o *InlineResponse2001) GetDataOk() ([]LedgerTransactionLogEntryIntegrationApi, bool)` GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. @@ -55,9 +55,9 @@ HasData returns a boolean if a field has been set. ### SetData -`func (o *InlineResponse2001) SetData(v []Application)` +`func (o *InlineResponse2001) SetData(v []LedgerTransactionLogEntryIntegrationApi)` -SetData gets a reference to the given []Application and assigns it to the Data field. +SetData gets a reference to the given []LedgerTransactionLogEntryIntegrationApi and assigns it to the Data field. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20010.md b/docs/InlineResponse20010.md index 25041d00..f718de4c 100644 --- a/docs/InlineResponse20010.md +++ b/docs/InlineResponse20010.md @@ -4,8 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**HasMore** | Pointer to **bool** | | -**Data** | Pointer to [**[]CollectionItem**](CollectionItem.md) | | +**HasMore** | Pointer to **bool** | | [optional] +**TotalResultSize** | Pointer to **int32** | | [optional] +**Data** | Pointer to [**[]CollectionWithoutPayload**](CollectionWithoutPayload.md) | | ## Methods @@ -34,15 +35,40 @@ HasHasMore returns a boolean if a field has been set. SetHasMore gets a reference to the given bool and assigns it to the HasMore field. +### GetTotalResultSize + +`func (o *InlineResponse20010) GetTotalResultSize() int32` + +GetTotalResultSize returns the TotalResultSize field if non-nil, zero value otherwise. + +### GetTotalResultSizeOk + +`func (o *InlineResponse20010) GetTotalResultSizeOk() (int32, bool)` + +GetTotalResultSizeOk returns a tuple with the TotalResultSize field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### HasTotalResultSize + +`func (o *InlineResponse20010) HasTotalResultSize() bool` + +HasTotalResultSize returns a boolean if a field has been set. + +### SetTotalResultSize + +`func (o *InlineResponse20010) SetTotalResultSize(v int32)` + +SetTotalResultSize gets a reference to the given int32 and assigns it to the TotalResultSize field. + ### GetData -`func (o *InlineResponse20010) GetData() []CollectionItem` +`func (o *InlineResponse20010) GetData() []CollectionWithoutPayload` GetData returns the Data field if non-nil, zero value otherwise. ### GetDataOk -`func (o *InlineResponse20010) GetDataOk() ([]CollectionItem, bool)` +`func (o *InlineResponse20010) GetDataOk() ([]CollectionWithoutPayload, bool)` GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. @@ -55,9 +81,9 @@ HasData returns a boolean if a field has been set. ### SetData -`func (o *InlineResponse20010) SetData(v []CollectionItem)` +`func (o *InlineResponse20010) SetData(v []CollectionWithoutPayload)` -SetData gets a reference to the given []CollectionItem and assigns it to the Data field. +SetData gets a reference to the given []CollectionWithoutPayload and assigns it to the Data field. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20011.md b/docs/InlineResponse20011.md index 64e63a0c..eea1069a 100644 --- a/docs/InlineResponse20011.md +++ b/docs/InlineResponse20011.md @@ -4,9 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**HasMore** | Pointer to **bool** | | [optional] -**TotalResultSize** | Pointer to **int32** | | [optional] -**Data** | Pointer to [**[]Collection**](Collection.md) | | +**HasMore** | Pointer to **bool** | | +**Data** | Pointer to [**[]CollectionItem**](CollectionItem.md) | | ## Methods @@ -35,40 +34,15 @@ HasHasMore returns a boolean if a field has been set. SetHasMore gets a reference to the given bool and assigns it to the HasMore field. -### GetTotalResultSize - -`func (o *InlineResponse20011) GetTotalResultSize() int32` - -GetTotalResultSize returns the TotalResultSize field if non-nil, zero value otherwise. - -### GetTotalResultSizeOk - -`func (o *InlineResponse20011) GetTotalResultSizeOk() (int32, bool)` - -GetTotalResultSizeOk returns a tuple with the TotalResultSize field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### HasTotalResultSize - -`func (o *InlineResponse20011) HasTotalResultSize() bool` - -HasTotalResultSize returns a boolean if a field has been set. - -### SetTotalResultSize - -`func (o *InlineResponse20011) SetTotalResultSize(v int32)` - -SetTotalResultSize gets a reference to the given int32 and assigns it to the TotalResultSize field. - ### GetData -`func (o *InlineResponse20011) GetData() []Collection` +`func (o *InlineResponse20011) GetData() []CollectionItem` GetData returns the Data field if non-nil, zero value otherwise. ### GetDataOk -`func (o *InlineResponse20011) GetDataOk() ([]Collection, bool)` +`func (o *InlineResponse20011) GetDataOk() ([]CollectionItem, bool)` GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. @@ -81,9 +55,9 @@ HasData returns a boolean if a field has been set. ### SetData -`func (o *InlineResponse20011) SetData(v []Collection)` +`func (o *InlineResponse20011) SetData(v []CollectionItem)` -SetData gets a reference to the given []Collection and assigns it to the Data field. +SetData gets a reference to the given []CollectionItem and assigns it to the Data field. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20012.md b/docs/InlineResponse20012.md index 65ccaa46..bf69bd66 100644 --- a/docs/InlineResponse20012.md +++ b/docs/InlineResponse20012.md @@ -4,8 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**HasMore** | Pointer to **bool** | | -**Data** | Pointer to [**[]AccessLogEntry**](AccessLogEntry.md) | | +**HasMore** | Pointer to **bool** | | [optional] +**TotalResultSize** | Pointer to **int32** | | [optional] +**Data** | Pointer to [**[]Collection**](Collection.md) | | ## Methods @@ -34,15 +35,40 @@ HasHasMore returns a boolean if a field has been set. SetHasMore gets a reference to the given bool and assigns it to the HasMore field. +### GetTotalResultSize + +`func (o *InlineResponse20012) GetTotalResultSize() int32` + +GetTotalResultSize returns the TotalResultSize field if non-nil, zero value otherwise. + +### GetTotalResultSizeOk + +`func (o *InlineResponse20012) GetTotalResultSizeOk() (int32, bool)` + +GetTotalResultSizeOk returns a tuple with the TotalResultSize field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### HasTotalResultSize + +`func (o *InlineResponse20012) HasTotalResultSize() bool` + +HasTotalResultSize returns a boolean if a field has been set. + +### SetTotalResultSize + +`func (o *InlineResponse20012) SetTotalResultSize(v int32)` + +SetTotalResultSize gets a reference to the given int32 and assigns it to the TotalResultSize field. + ### GetData -`func (o *InlineResponse20012) GetData() []AccessLogEntry` +`func (o *InlineResponse20012) GetData() []Collection` GetData returns the Data field if non-nil, zero value otherwise. ### GetDataOk -`func (o *InlineResponse20012) GetDataOk() ([]AccessLogEntry, bool)` +`func (o *InlineResponse20012) GetDataOk() ([]Collection, bool)` GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. @@ -55,9 +81,9 @@ HasData returns a boolean if a field has been set. ### SetData -`func (o *InlineResponse20012) SetData(v []AccessLogEntry)` +`func (o *InlineResponse20012) SetData(v []Collection)` -SetData gets a reference to the given []AccessLogEntry and assigns it to the Data field. +SetData gets a reference to the given []Collection and assigns it to the Data field. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20013.md b/docs/InlineResponse20013.md index ac9942c6..cd06bc33 100644 --- a/docs/InlineResponse20013.md +++ b/docs/InlineResponse20013.md @@ -4,35 +4,35 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**TotalResultSize** | Pointer to **int32** | | +**HasMore** | Pointer to **bool** | | **Data** | Pointer to [**[]AccessLogEntry**](AccessLogEntry.md) | | ## Methods -### GetTotalResultSize +### GetHasMore -`func (o *InlineResponse20013) GetTotalResultSize() int32` +`func (o *InlineResponse20013) GetHasMore() bool` -GetTotalResultSize returns the TotalResultSize field if non-nil, zero value otherwise. +GetHasMore returns the HasMore field if non-nil, zero value otherwise. -### GetTotalResultSizeOk +### GetHasMoreOk -`func (o *InlineResponse20013) GetTotalResultSizeOk() (int32, bool)` +`func (o *InlineResponse20013) GetHasMoreOk() (bool, bool)` -GetTotalResultSizeOk returns a tuple with the TotalResultSize field if it's non-nil, zero value otherwise +GetHasMoreOk returns a tuple with the HasMore field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### HasTotalResultSize +### HasHasMore -`func (o *InlineResponse20013) HasTotalResultSize() bool` +`func (o *InlineResponse20013) HasHasMore() bool` -HasTotalResultSize returns a boolean if a field has been set. +HasHasMore returns a boolean if a field has been set. -### SetTotalResultSize +### SetHasMore -`func (o *InlineResponse20013) SetTotalResultSize(v int32)` +`func (o *InlineResponse20013) SetHasMore(v bool)` -SetTotalResultSize gets a reference to the given int32 and assigns it to the TotalResultSize field. +SetHasMore gets a reference to the given bool and assigns it to the HasMore field. ### GetData diff --git a/docs/InlineResponse20014.md b/docs/InlineResponse20014.md index d2637fd3..00576953 100644 --- a/docs/InlineResponse20014.md +++ b/docs/InlineResponse20014.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **TotalResultSize** | Pointer to **int32** | | -**Data** | Pointer to [**[]CampaignAnalytics**](CampaignAnalytics.md) | | +**Data** | Pointer to [**[]AccessLogEntry**](AccessLogEntry.md) | | ## Methods @@ -36,13 +36,13 @@ SetTotalResultSize gets a reference to the given int32 and assigns it to the Tot ### GetData -`func (o *InlineResponse20014) GetData() []CampaignAnalytics` +`func (o *InlineResponse20014) GetData() []AccessLogEntry` GetData returns the Data field if non-nil, zero value otherwise. ### GetDataOk -`func (o *InlineResponse20014) GetDataOk() ([]CampaignAnalytics, bool)` +`func (o *InlineResponse20014) GetDataOk() ([]AccessLogEntry, bool)` GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. @@ -55,9 +55,9 @@ HasData returns a boolean if a field has been set. ### SetData -`func (o *InlineResponse20014) SetData(v []CampaignAnalytics)` +`func (o *InlineResponse20014) SetData(v []AccessLogEntry)` -SetData gets a reference to the given []CampaignAnalytics and assigns it to the Data field. +SetData gets a reference to the given []AccessLogEntry and assigns it to the Data field. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20015.md b/docs/InlineResponse20015.md index 715615fb..ef9f18c1 100644 --- a/docs/InlineResponse20015.md +++ b/docs/InlineResponse20015.md @@ -4,9 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**TotalResultSize** | Pointer to **int32** | | [optional] -**HasMore** | Pointer to **bool** | | [optional] -**Data** | Pointer to [**[]ApplicationCustomer**](ApplicationCustomer.md) | | +**TotalResultSize** | Pointer to **int32** | | +**Data** | Pointer to [**[]CampaignAnalytics**](CampaignAnalytics.md) | | ## Methods @@ -35,40 +34,15 @@ HasTotalResultSize returns a boolean if a field has been set. SetTotalResultSize gets a reference to the given int32 and assigns it to the TotalResultSize field. -### GetHasMore - -`func (o *InlineResponse20015) GetHasMore() bool` - -GetHasMore returns the HasMore field if non-nil, zero value otherwise. - -### GetHasMoreOk - -`func (o *InlineResponse20015) GetHasMoreOk() (bool, bool)` - -GetHasMoreOk returns a tuple with the HasMore field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### HasHasMore - -`func (o *InlineResponse20015) HasHasMore() bool` - -HasHasMore returns a boolean if a field has been set. - -### SetHasMore - -`func (o *InlineResponse20015) SetHasMore(v bool)` - -SetHasMore gets a reference to the given bool and assigns it to the HasMore field. - ### GetData -`func (o *InlineResponse20015) GetData() []ApplicationCustomer` +`func (o *InlineResponse20015) GetData() []CampaignAnalytics` GetData returns the Data field if non-nil, zero value otherwise. ### GetDataOk -`func (o *InlineResponse20015) GetDataOk() ([]ApplicationCustomer, bool)` +`func (o *InlineResponse20015) GetDataOk() ([]CampaignAnalytics, bool)` GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. @@ -81,9 +55,9 @@ HasData returns a boolean if a field has been set. ### SetData -`func (o *InlineResponse20015) SetData(v []ApplicationCustomer)` +`func (o *InlineResponse20015) SetData(v []CampaignAnalytics)` -SetData gets a reference to the given []ApplicationCustomer and assigns it to the Data field. +SetData gets a reference to the given []CampaignAnalytics and assigns it to the Data field. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20016.md b/docs/InlineResponse20016.md index b28d1081..c9291fda 100644 --- a/docs/InlineResponse20016.md +++ b/docs/InlineResponse20016.md @@ -4,11 +4,37 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**HasMore** | Pointer to **bool** | | +**TotalResultSize** | Pointer to **int32** | | [optional] +**HasMore** | Pointer to **bool** | | [optional] **Data** | Pointer to [**[]ApplicationCustomer**](ApplicationCustomer.md) | | ## Methods +### GetTotalResultSize + +`func (o *InlineResponse20016) GetTotalResultSize() int32` + +GetTotalResultSize returns the TotalResultSize field if non-nil, zero value otherwise. + +### GetTotalResultSizeOk + +`func (o *InlineResponse20016) GetTotalResultSizeOk() (int32, bool)` + +GetTotalResultSizeOk returns a tuple with the TotalResultSize field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### HasTotalResultSize + +`func (o *InlineResponse20016) HasTotalResultSize() bool` + +HasTotalResultSize returns a boolean if a field has been set. + +### SetTotalResultSize + +`func (o *InlineResponse20016) SetTotalResultSize(v int32)` + +SetTotalResultSize gets a reference to the given int32 and assigns it to the TotalResultSize field. + ### GetHasMore `func (o *InlineResponse20016) GetHasMore() bool` diff --git a/docs/InlineResponse20017.md b/docs/InlineResponse20017.md index 71417bf8..349108c9 100644 --- a/docs/InlineResponse20017.md +++ b/docs/InlineResponse20017.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **HasMore** | Pointer to **bool** | | -**Data** | Pointer to [**[]CustomerProfile**](CustomerProfile.md) | | +**Data** | Pointer to [**[]ApplicationCustomer**](ApplicationCustomer.md) | | ## Methods @@ -36,13 +36,13 @@ SetHasMore gets a reference to the given bool and assigns it to the HasMore fiel ### GetData -`func (o *InlineResponse20017) GetData() []CustomerProfile` +`func (o *InlineResponse20017) GetData() []ApplicationCustomer` GetData returns the Data field if non-nil, zero value otherwise. ### GetDataOk -`func (o *InlineResponse20017) GetDataOk() ([]CustomerProfile, bool)` +`func (o *InlineResponse20017) GetDataOk() ([]ApplicationCustomer, bool)` GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. @@ -55,9 +55,9 @@ HasData returns a boolean if a field has been set. ### SetData -`func (o *InlineResponse20017) SetData(v []CustomerProfile)` +`func (o *InlineResponse20017) SetData(v []ApplicationCustomer)` -SetData gets a reference to the given []CustomerProfile and assigns it to the Data field. +SetData gets a reference to the given []ApplicationCustomer and assigns it to the Data field. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20018.md b/docs/InlineResponse20018.md index aabcb80e..bcf1da72 100644 --- a/docs/InlineResponse20018.md +++ b/docs/InlineResponse20018.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **HasMore** | Pointer to **bool** | | -**Data** | Pointer to [**[]CustomerActivityReport**](CustomerActivityReport.md) | | +**Data** | Pointer to [**[]CustomerProfile**](CustomerProfile.md) | | ## Methods @@ -36,13 +36,13 @@ SetHasMore gets a reference to the given bool and assigns it to the HasMore fiel ### GetData -`func (o *InlineResponse20018) GetData() []CustomerActivityReport` +`func (o *InlineResponse20018) GetData() []CustomerProfile` GetData returns the Data field if non-nil, zero value otherwise. ### GetDataOk -`func (o *InlineResponse20018) GetDataOk() ([]CustomerActivityReport, bool)` +`func (o *InlineResponse20018) GetDataOk() ([]CustomerProfile, bool)` GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. @@ -55,9 +55,9 @@ HasData returns a boolean if a field has been set. ### SetData -`func (o *InlineResponse20018) SetData(v []CustomerActivityReport)` +`func (o *InlineResponse20018) SetData(v []CustomerProfile)` -SetData gets a reference to the given []CustomerActivityReport and assigns it to the Data field. +SetData gets a reference to the given []CustomerProfile and assigns it to the Data field. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20019.md b/docs/InlineResponse20019.md index f7354458..c84dce8b 100644 --- a/docs/InlineResponse20019.md +++ b/docs/InlineResponse20019.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**HasMore** | Pointer to **bool** | | [optional] -**Data** | Pointer to [**[]ApplicationSession**](ApplicationSession.md) | | +**HasMore** | Pointer to **bool** | | +**Data** | Pointer to [**[]CustomerActivityReport**](CustomerActivityReport.md) | | ## Methods @@ -36,13 +36,13 @@ SetHasMore gets a reference to the given bool and assigns it to the HasMore fiel ### GetData -`func (o *InlineResponse20019) GetData() []ApplicationSession` +`func (o *InlineResponse20019) GetData() []CustomerActivityReport` GetData returns the Data field if non-nil, zero value otherwise. ### GetDataOk -`func (o *InlineResponse20019) GetDataOk() ([]ApplicationSession, bool)` +`func (o *InlineResponse20019) GetDataOk() ([]CustomerActivityReport, bool)` GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. @@ -55,9 +55,9 @@ HasData returns a boolean if a field has been set. ### SetData -`func (o *InlineResponse20019) SetData(v []ApplicationSession)` +`func (o *InlineResponse20019) SetData(v []CustomerActivityReport)` -SetData gets a reference to the given []ApplicationSession and assigns it to the Data field. +SetData gets a reference to the given []CustomerActivityReport and assigns it to the Data field. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2002.md b/docs/InlineResponse2002.md index 48583436..306641b0 100644 --- a/docs/InlineResponse2002.md +++ b/docs/InlineResponse2002.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **TotalResultSize** | Pointer to **int32** | | -**Data** | Pointer to [**[]Campaign**](Campaign.md) | | +**Data** | Pointer to [**[]Application**](Application.md) | | ## Methods @@ -36,13 +36,13 @@ SetTotalResultSize gets a reference to the given int32 and assigns it to the Tot ### GetData -`func (o *InlineResponse2002) GetData() []Campaign` +`func (o *InlineResponse2002) GetData() []Application` GetData returns the Data field if non-nil, zero value otherwise. ### GetDataOk -`func (o *InlineResponse2002) GetDataOk() ([]Campaign, bool)` +`func (o *InlineResponse2002) GetDataOk() ([]Application, bool)` GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. @@ -55,9 +55,9 @@ HasData returns a boolean if a field has been set. ### SetData -`func (o *InlineResponse2002) SetData(v []Campaign)` +`func (o *InlineResponse2002) SetData(v []Application)` -SetData gets a reference to the given []Campaign and assigns it to the Data field. +SetData gets a reference to the given []Application and assigns it to the Data field. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20020.md b/docs/InlineResponse20020.md index 39304383..fa4bf59b 100644 --- a/docs/InlineResponse20020.md +++ b/docs/InlineResponse20020.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**HasMore** | Pointer to **bool** | | -**Data** | Pointer to [**[]ApplicationEvent**](ApplicationEvent.md) | | +**HasMore** | Pointer to **bool** | | [optional] +**Data** | Pointer to [**[]ApplicationSession**](ApplicationSession.md) | | ## Methods @@ -36,13 +36,13 @@ SetHasMore gets a reference to the given bool and assigns it to the HasMore fiel ### GetData -`func (o *InlineResponse20020) GetData() []ApplicationEvent` +`func (o *InlineResponse20020) GetData() []ApplicationSession` GetData returns the Data field if non-nil, zero value otherwise. ### GetDataOk -`func (o *InlineResponse20020) GetDataOk() ([]ApplicationEvent, bool)` +`func (o *InlineResponse20020) GetDataOk() ([]ApplicationSession, bool)` GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. @@ -55,9 +55,9 @@ HasData returns a boolean if a field has been set. ### SetData -`func (o *InlineResponse20020) SetData(v []ApplicationEvent)` +`func (o *InlineResponse20020) SetData(v []ApplicationSession)` -SetData gets a reference to the given []ApplicationEvent and assigns it to the Data field. +SetData gets a reference to the given []ApplicationSession and assigns it to the Data field. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20021.md b/docs/InlineResponse20021.md index e8d0aa50..04c658c8 100644 --- a/docs/InlineResponse20021.md +++ b/docs/InlineResponse20021.md @@ -4,45 +4,45 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**TotalResultSize** | Pointer to **int32** | | -**Data** | Pointer to **[]string** | | +**HasMore** | Pointer to **bool** | | +**Data** | Pointer to [**[]ApplicationEvent**](ApplicationEvent.md) | | ## Methods -### GetTotalResultSize +### GetHasMore -`func (o *InlineResponse20021) GetTotalResultSize() int32` +`func (o *InlineResponse20021) GetHasMore() bool` -GetTotalResultSize returns the TotalResultSize field if non-nil, zero value otherwise. +GetHasMore returns the HasMore field if non-nil, zero value otherwise. -### GetTotalResultSizeOk +### GetHasMoreOk -`func (o *InlineResponse20021) GetTotalResultSizeOk() (int32, bool)` +`func (o *InlineResponse20021) GetHasMoreOk() (bool, bool)` -GetTotalResultSizeOk returns a tuple with the TotalResultSize field if it's non-nil, zero value otherwise +GetHasMoreOk returns a tuple with the HasMore field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### HasTotalResultSize +### HasHasMore -`func (o *InlineResponse20021) HasTotalResultSize() bool` +`func (o *InlineResponse20021) HasHasMore() bool` -HasTotalResultSize returns a boolean if a field has been set. +HasHasMore returns a boolean if a field has been set. -### SetTotalResultSize +### SetHasMore -`func (o *InlineResponse20021) SetTotalResultSize(v int32)` +`func (o *InlineResponse20021) SetHasMore(v bool)` -SetTotalResultSize gets a reference to the given int32 and assigns it to the TotalResultSize field. +SetHasMore gets a reference to the given bool and assigns it to the HasMore field. ### GetData -`func (o *InlineResponse20021) GetData() []string` +`func (o *InlineResponse20021) GetData() []ApplicationEvent` GetData returns the Data field if non-nil, zero value otherwise. ### GetDataOk -`func (o *InlineResponse20021) GetDataOk() ([]string, bool)` +`func (o *InlineResponse20021) GetDataOk() ([]ApplicationEvent, bool)` GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. @@ -55,9 +55,9 @@ HasData returns a boolean if a field has been set. ### SetData -`func (o *InlineResponse20021) SetData(v []string)` +`func (o *InlineResponse20021) SetData(v []ApplicationEvent)` -SetData gets a reference to the given []string and assigns it to the Data field. +SetData gets a reference to the given []ApplicationEvent and assigns it to the Data field. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20022.md b/docs/InlineResponse20022.md index 21eb4446..077bf238 100644 --- a/docs/InlineResponse20022.md +++ b/docs/InlineResponse20022.md @@ -4,37 +4,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**HasMore** | Pointer to **bool** | | [optional] -**TotalResultSize** | Pointer to **int32** | | [optional] -**Data** | Pointer to [**[]Audience**](Audience.md) | | +**TotalResultSize** | Pointer to **int32** | | +**Data** | Pointer to **[]string** | | ## Methods -### GetHasMore - -`func (o *InlineResponse20022) GetHasMore() bool` - -GetHasMore returns the HasMore field if non-nil, zero value otherwise. - -### GetHasMoreOk - -`func (o *InlineResponse20022) GetHasMoreOk() (bool, bool)` - -GetHasMoreOk returns a tuple with the HasMore field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### HasHasMore - -`func (o *InlineResponse20022) HasHasMore() bool` - -HasHasMore returns a boolean if a field has been set. - -### SetHasMore - -`func (o *InlineResponse20022) SetHasMore(v bool)` - -SetHasMore gets a reference to the given bool and assigns it to the HasMore field. - ### GetTotalResultSize `func (o *InlineResponse20022) GetTotalResultSize() int32` @@ -62,13 +36,13 @@ SetTotalResultSize gets a reference to the given int32 and assigns it to the Tot ### GetData -`func (o *InlineResponse20022) GetData() []Audience` +`func (o *InlineResponse20022) GetData() []string` GetData returns the Data field if non-nil, zero value otherwise. ### GetDataOk -`func (o *InlineResponse20022) GetDataOk() ([]Audience, bool)` +`func (o *InlineResponse20022) GetDataOk() ([]string, bool)` GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. @@ -81,9 +55,9 @@ HasData returns a boolean if a field has been set. ### SetData -`func (o *InlineResponse20022) SetData(v []Audience)` +`func (o *InlineResponse20022) SetData(v []string)` -SetData gets a reference to the given []Audience and assigns it to the Data field. +SetData gets a reference to the given []string and assigns it to the Data field. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20023.md b/docs/InlineResponse20023.md index fb16a47f..69de82fa 100644 --- a/docs/InlineResponse20023.md +++ b/docs/InlineResponse20023.md @@ -4,9 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**HasMore** | Pointer to **bool** | | -**TotalResultSize** | Pointer to **int32** | | -**Data** | Pointer to [**[]ApplicationReferee**](ApplicationReferee.md) | | +**HasMore** | Pointer to **bool** | | [optional] +**TotalResultSize** | Pointer to **int32** | | [optional] +**Data** | Pointer to [**[]Audience**](Audience.md) | | ## Methods @@ -62,13 +62,13 @@ SetTotalResultSize gets a reference to the given int32 and assigns it to the Tot ### GetData -`func (o *InlineResponse20023) GetData() []ApplicationReferee` +`func (o *InlineResponse20023) GetData() []Audience` GetData returns the Data field if non-nil, zero value otherwise. ### GetDataOk -`func (o *InlineResponse20023) GetDataOk() ([]ApplicationReferee, bool)` +`func (o *InlineResponse20023) GetDataOk() ([]Audience, bool)` GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. @@ -81,9 +81,9 @@ HasData returns a boolean if a field has been set. ### SetData -`func (o *InlineResponse20023) SetData(v []ApplicationReferee)` +`func (o *InlineResponse20023) SetData(v []Audience)` -SetData gets a reference to the given []ApplicationReferee and assigns it to the Data field. +SetData gets a reference to the given []Audience and assigns it to the Data field. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20024.md b/docs/InlineResponse20024.md index 8da05f18..8f9aa870 100644 --- a/docs/InlineResponse20024.md +++ b/docs/InlineResponse20024.md @@ -4,11 +4,37 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**HasMore** | Pointer to **bool** | | **TotalResultSize** | Pointer to **int32** | | -**Data** | Pointer to [**[]Attribute**](Attribute.md) | | +**Data** | Pointer to [**[]ApplicationReferee**](ApplicationReferee.md) | | ## Methods +### GetHasMore + +`func (o *InlineResponse20024) GetHasMore() bool` + +GetHasMore returns the HasMore field if non-nil, zero value otherwise. + +### GetHasMoreOk + +`func (o *InlineResponse20024) GetHasMoreOk() (bool, bool)` + +GetHasMoreOk returns a tuple with the HasMore field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### HasHasMore + +`func (o *InlineResponse20024) HasHasMore() bool` + +HasHasMore returns a boolean if a field has been set. + +### SetHasMore + +`func (o *InlineResponse20024) SetHasMore(v bool)` + +SetHasMore gets a reference to the given bool and assigns it to the HasMore field. + ### GetTotalResultSize `func (o *InlineResponse20024) GetTotalResultSize() int32` @@ -36,13 +62,13 @@ SetTotalResultSize gets a reference to the given int32 and assigns it to the Tot ### GetData -`func (o *InlineResponse20024) GetData() []Attribute` +`func (o *InlineResponse20024) GetData() []ApplicationReferee` GetData returns the Data field if non-nil, zero value otherwise. ### GetDataOk -`func (o *InlineResponse20024) GetDataOk() ([]Attribute, bool)` +`func (o *InlineResponse20024) GetDataOk() ([]ApplicationReferee, bool)` GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. @@ -55,9 +81,9 @@ HasData returns a boolean if a field has been set. ### SetData -`func (o *InlineResponse20024) SetData(v []Attribute)` +`func (o *InlineResponse20024) SetData(v []ApplicationReferee)` -SetData gets a reference to the given []Attribute and assigns it to the Data field. +SetData gets a reference to the given []ApplicationReferee and assigns it to the Data field. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20025.md b/docs/InlineResponse20025.md index 501f3d71..108a3e49 100644 --- a/docs/InlineResponse20025.md +++ b/docs/InlineResponse20025.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **TotalResultSize** | Pointer to **int32** | | -**Data** | Pointer to [**[]AccountAdditionalCost**](AccountAdditionalCost.md) | | +**Data** | Pointer to [**[]Attribute**](Attribute.md) | | ## Methods @@ -36,13 +36,13 @@ SetTotalResultSize gets a reference to the given int32 and assigns it to the Tot ### GetData -`func (o *InlineResponse20025) GetData() []AccountAdditionalCost` +`func (o *InlineResponse20025) GetData() []Attribute` GetData returns the Data field if non-nil, zero value otherwise. ### GetDataOk -`func (o *InlineResponse20025) GetDataOk() ([]AccountAdditionalCost, bool)` +`func (o *InlineResponse20025) GetDataOk() ([]Attribute, bool)` GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. @@ -55,9 +55,9 @@ HasData returns a boolean if a field has been set. ### SetData -`func (o *InlineResponse20025) SetData(v []AccountAdditionalCost)` +`func (o *InlineResponse20025) SetData(v []Attribute)` -SetData gets a reference to the given []AccountAdditionalCost and assigns it to the Data field. +SetData gets a reference to the given []Attribute and assigns it to the Data field. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20026.md b/docs/InlineResponse20026.md index b18d3b6c..e7905ef4 100644 --- a/docs/InlineResponse20026.md +++ b/docs/InlineResponse20026.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **TotalResultSize** | Pointer to **int32** | | -**Data** | Pointer to [**[]Webhook**](Webhook.md) | | +**Data** | Pointer to [**[]AccountAdditionalCost**](AccountAdditionalCost.md) | | ## Methods @@ -36,13 +36,13 @@ SetTotalResultSize gets a reference to the given int32 and assigns it to the Tot ### GetData -`func (o *InlineResponse20026) GetData() []Webhook` +`func (o *InlineResponse20026) GetData() []AccountAdditionalCost` GetData returns the Data field if non-nil, zero value otherwise. ### GetDataOk -`func (o *InlineResponse20026) GetDataOk() ([]Webhook, bool)` +`func (o *InlineResponse20026) GetDataOk() ([]AccountAdditionalCost, bool)` GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. @@ -55,9 +55,9 @@ HasData returns a boolean if a field has been set. ### SetData -`func (o *InlineResponse20026) SetData(v []Webhook)` +`func (o *InlineResponse20026) SetData(v []AccountAdditionalCost)` -SetData gets a reference to the given []Webhook and assigns it to the Data field. +SetData gets a reference to the given []AccountAdditionalCost and assigns it to the Data field. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20027.md b/docs/InlineResponse20027.md index 583e59fa..ec582bdb 100644 --- a/docs/InlineResponse20027.md +++ b/docs/InlineResponse20027.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **TotalResultSize** | Pointer to **int32** | | -**Data** | Pointer to [**[]WebhookActivationLogEntry**](WebhookActivationLogEntry.md) | | +**Data** | Pointer to [**[]Webhook**](Webhook.md) | | ## Methods @@ -36,13 +36,13 @@ SetTotalResultSize gets a reference to the given int32 and assigns it to the Tot ### GetData -`func (o *InlineResponse20027) GetData() []WebhookActivationLogEntry` +`func (o *InlineResponse20027) GetData() []Webhook` GetData returns the Data field if non-nil, zero value otherwise. ### GetDataOk -`func (o *InlineResponse20027) GetDataOk() ([]WebhookActivationLogEntry, bool)` +`func (o *InlineResponse20027) GetDataOk() ([]Webhook, bool)` GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. @@ -55,9 +55,9 @@ HasData returns a boolean if a field has been set. ### SetData -`func (o *InlineResponse20027) SetData(v []WebhookActivationLogEntry)` +`func (o *InlineResponse20027) SetData(v []Webhook)` -SetData gets a reference to the given []WebhookActivationLogEntry and assigns it to the Data field. +SetData gets a reference to the given []Webhook and assigns it to the Data field. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20028.md b/docs/InlineResponse20028.md index 20452d50..9f1ae9a4 100644 --- a/docs/InlineResponse20028.md +++ b/docs/InlineResponse20028.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **TotalResultSize** | Pointer to **int32** | | -**Data** | Pointer to [**[]WebhookLogEntry**](WebhookLogEntry.md) | | +**Data** | Pointer to [**[]WebhookActivationLogEntry**](WebhookActivationLogEntry.md) | | ## Methods @@ -36,13 +36,13 @@ SetTotalResultSize gets a reference to the given int32 and assigns it to the Tot ### GetData -`func (o *InlineResponse20028) GetData() []WebhookLogEntry` +`func (o *InlineResponse20028) GetData() []WebhookActivationLogEntry` GetData returns the Data field if non-nil, zero value otherwise. ### GetDataOk -`func (o *InlineResponse20028) GetDataOk() ([]WebhookLogEntry, bool)` +`func (o *InlineResponse20028) GetDataOk() ([]WebhookActivationLogEntry, bool)` GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. @@ -55,9 +55,9 @@ HasData returns a boolean if a field has been set. ### SetData -`func (o *InlineResponse20028) SetData(v []WebhookLogEntry)` +`func (o *InlineResponse20028) SetData(v []WebhookActivationLogEntry)` -SetData gets a reference to the given []WebhookLogEntry and assigns it to the Data field. +SetData gets a reference to the given []WebhookActivationLogEntry and assigns it to the Data field. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20029.md b/docs/InlineResponse20029.md index 530426b2..26f4a7b7 100644 --- a/docs/InlineResponse20029.md +++ b/docs/InlineResponse20029.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **TotalResultSize** | Pointer to **int32** | | -**Data** | Pointer to [**[]EventType**](EventType.md) | | +**Data** | Pointer to [**[]WebhookLogEntry**](WebhookLogEntry.md) | | ## Methods @@ -36,13 +36,13 @@ SetTotalResultSize gets a reference to the given int32 and assigns it to the Tot ### GetData -`func (o *InlineResponse20029) GetData() []EventType` +`func (o *InlineResponse20029) GetData() []WebhookLogEntry` GetData returns the Data field if non-nil, zero value otherwise. ### GetDataOk -`func (o *InlineResponse20029) GetDataOk() ([]EventType, bool)` +`func (o *InlineResponse20029) GetDataOk() ([]WebhookLogEntry, bool)` GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. @@ -55,9 +55,9 @@ HasData returns a boolean if a field has been set. ### SetData -`func (o *InlineResponse20029) SetData(v []EventType)` +`func (o *InlineResponse20029) SetData(v []WebhookLogEntry)` -SetData gets a reference to the given []EventType and assigns it to the Data field. +SetData gets a reference to the given []WebhookLogEntry and assigns it to the Data field. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2003.md b/docs/InlineResponse2003.md index 8ee588fc..e5d221a1 100644 --- a/docs/InlineResponse2003.md +++ b/docs/InlineResponse2003.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **TotalResultSize** | Pointer to **int32** | | -**Data** | Pointer to [**[]NotificationWebhook**](NotificationWebhook.md) | | +**Data** | Pointer to [**[]Campaign**](Campaign.md) | | ## Methods @@ -36,13 +36,13 @@ SetTotalResultSize gets a reference to the given int32 and assigns it to the Tot ### GetData -`func (o *InlineResponse2003) GetData() []NotificationWebhook` +`func (o *InlineResponse2003) GetData() []Campaign` GetData returns the Data field if non-nil, zero value otherwise. ### GetDataOk -`func (o *InlineResponse2003) GetDataOk() ([]NotificationWebhook, bool)` +`func (o *InlineResponse2003) GetDataOk() ([]Campaign, bool)` GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. @@ -55,9 +55,9 @@ HasData returns a boolean if a field has been set. ### SetData -`func (o *InlineResponse2003) SetData(v []NotificationWebhook)` +`func (o *InlineResponse2003) SetData(v []Campaign)` -SetData gets a reference to the given []NotificationWebhook and assigns it to the Data field. +SetData gets a reference to the given []Campaign and assigns it to the Data field. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20030.md b/docs/InlineResponse20030.md index 07c193ce..03528c45 100644 --- a/docs/InlineResponse20030.md +++ b/docs/InlineResponse20030.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **TotalResultSize** | Pointer to **int32** | | -**Data** | Pointer to [**[]User**](User.md) | | +**Data** | Pointer to [**[]EventType**](EventType.md) | | ## Methods @@ -36,13 +36,13 @@ SetTotalResultSize gets a reference to the given int32 and assigns it to the Tot ### GetData -`func (o *InlineResponse20030) GetData() []User` +`func (o *InlineResponse20030) GetData() []EventType` GetData returns the Data field if non-nil, zero value otherwise. ### GetDataOk -`func (o *InlineResponse20030) GetDataOk() ([]User, bool)` +`func (o *InlineResponse20030) GetDataOk() ([]EventType, bool)` GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. @@ -55,9 +55,9 @@ HasData returns a boolean if a field has been set. ### SetData -`func (o *InlineResponse20030) SetData(v []User)` +`func (o *InlineResponse20030) SetData(v []EventType)` -SetData gets a reference to the given []User and assigns it to the Data field. +SetData gets a reference to the given []EventType and assigns it to the Data field. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20031.md b/docs/InlineResponse20031.md index 1a3e9994..1002290c 100644 --- a/docs/InlineResponse20031.md +++ b/docs/InlineResponse20031.md @@ -4,9 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**TotalResultSize** | Pointer to **int32** | | [optional] -**HasMore** | Pointer to **bool** | | [optional] -**Data** | Pointer to [**[]Change**](Change.md) | | +**TotalResultSize** | Pointer to **int32** | | +**Data** | Pointer to [**[]User**](User.md) | | ## Methods @@ -35,40 +34,15 @@ HasTotalResultSize returns a boolean if a field has been set. SetTotalResultSize gets a reference to the given int32 and assigns it to the TotalResultSize field. -### GetHasMore - -`func (o *InlineResponse20031) GetHasMore() bool` - -GetHasMore returns the HasMore field if non-nil, zero value otherwise. - -### GetHasMoreOk - -`func (o *InlineResponse20031) GetHasMoreOk() (bool, bool)` - -GetHasMoreOk returns a tuple with the HasMore field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### HasHasMore - -`func (o *InlineResponse20031) HasHasMore() bool` - -HasHasMore returns a boolean if a field has been set. - -### SetHasMore - -`func (o *InlineResponse20031) SetHasMore(v bool)` - -SetHasMore gets a reference to the given bool and assigns it to the HasMore field. - ### GetData -`func (o *InlineResponse20031) GetData() []Change` +`func (o *InlineResponse20031) GetData() []User` GetData returns the Data field if non-nil, zero value otherwise. ### GetDataOk -`func (o *InlineResponse20031) GetDataOk() ([]Change, bool)` +`func (o *InlineResponse20031) GetDataOk() ([]User, bool)` GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. @@ -81,9 +55,9 @@ HasData returns a boolean if a field has been set. ### SetData -`func (o *InlineResponse20031) SetData(v []Change)` +`func (o *InlineResponse20031) SetData(v []User)` -SetData gets a reference to the given []Change and assigns it to the Data field. +SetData gets a reference to the given []User and assigns it to the Data field. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20032.md b/docs/InlineResponse20032.md index 1627a501..acf5c089 100644 --- a/docs/InlineResponse20032.md +++ b/docs/InlineResponse20032.md @@ -4,8 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**TotalResultSize** | Pointer to **int32** | | -**Data** | Pointer to [**[]Export**](Export.md) | | +**TotalResultSize** | Pointer to **int32** | | [optional] +**HasMore** | Pointer to **bool** | | [optional] +**Data** | Pointer to [**[]Change**](Change.md) | | ## Methods @@ -34,15 +35,40 @@ HasTotalResultSize returns a boolean if a field has been set. SetTotalResultSize gets a reference to the given int32 and assigns it to the TotalResultSize field. +### GetHasMore + +`func (o *InlineResponse20032) GetHasMore() bool` + +GetHasMore returns the HasMore field if non-nil, zero value otherwise. + +### GetHasMoreOk + +`func (o *InlineResponse20032) GetHasMoreOk() (bool, bool)` + +GetHasMoreOk returns a tuple with the HasMore field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### HasHasMore + +`func (o *InlineResponse20032) HasHasMore() bool` + +HasHasMore returns a boolean if a field has been set. + +### SetHasMore + +`func (o *InlineResponse20032) SetHasMore(v bool)` + +SetHasMore gets a reference to the given bool and assigns it to the HasMore field. + ### GetData -`func (o *InlineResponse20032) GetData() []Export` +`func (o *InlineResponse20032) GetData() []Change` GetData returns the Data field if non-nil, zero value otherwise. ### GetDataOk -`func (o *InlineResponse20032) GetDataOk() ([]Export, bool)` +`func (o *InlineResponse20032) GetDataOk() ([]Change, bool)` GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. @@ -55,9 +81,9 @@ HasData returns a boolean if a field has been set. ### SetData -`func (o *InlineResponse20032) SetData(v []Export)` +`func (o *InlineResponse20032) SetData(v []Change)` -SetData gets a reference to the given []Export and assigns it to the Data field. +SetData gets a reference to the given []Change and assigns it to the Data field. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20033.md b/docs/InlineResponse20033.md index 8d398278..b3552f67 100644 --- a/docs/InlineResponse20033.md +++ b/docs/InlineResponse20033.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **TotalResultSize** | Pointer to **int32** | | -**Data** | Pointer to [**[]Role**](Role.md) | | +**Data** | Pointer to [**[]Export**](Export.md) | | ## Methods @@ -36,13 +36,13 @@ SetTotalResultSize gets a reference to the given int32 and assigns it to the Tot ### GetData -`func (o *InlineResponse20033) GetData() []Role` +`func (o *InlineResponse20033) GetData() []Export` GetData returns the Data field if non-nil, zero value otherwise. ### GetDataOk -`func (o *InlineResponse20033) GetDataOk() ([]Role, bool)` +`func (o *InlineResponse20033) GetDataOk() ([]Export, bool)` GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. @@ -55,9 +55,9 @@ HasData returns a boolean if a field has been set. ### SetData -`func (o *InlineResponse20033) SetData(v []Role)` +`func (o *InlineResponse20033) SetData(v []Export)` -SetData gets a reference to the given []Role and assigns it to the Data field. +SetData gets a reference to the given []Export and assigns it to the Data field. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20034.md b/docs/InlineResponse20034.md new file mode 100644 index 00000000..ea217194 --- /dev/null +++ b/docs/InlineResponse20034.md @@ -0,0 +1,65 @@ +# InlineResponse20034 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**TotalResultSize** | Pointer to **int32** | | +**Data** | Pointer to [**[]Role**](Role.md) | | + +## Methods + +### GetTotalResultSize + +`func (o *InlineResponse20034) GetTotalResultSize() int32` + +GetTotalResultSize returns the TotalResultSize field if non-nil, zero value otherwise. + +### GetTotalResultSizeOk + +`func (o *InlineResponse20034) GetTotalResultSizeOk() (int32, bool)` + +GetTotalResultSizeOk returns a tuple with the TotalResultSize field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### HasTotalResultSize + +`func (o *InlineResponse20034) HasTotalResultSize() bool` + +HasTotalResultSize returns a boolean if a field has been set. + +### SetTotalResultSize + +`func (o *InlineResponse20034) SetTotalResultSize(v int32)` + +SetTotalResultSize gets a reference to the given int32 and assigns it to the TotalResultSize field. + +### GetData + +`func (o *InlineResponse20034) GetData() []Role` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *InlineResponse20034) GetDataOk() ([]Role, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### HasData + +`func (o *InlineResponse20034) HasData() bool` + +HasData returns a boolean if a field has been set. + +### SetData + +`func (o *InlineResponse20034) SetData(v []Role)` + +SetData gets a reference to the given []Role and assigns it to the Data field. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse2004.md b/docs/InlineResponse2004.md index 4f0bf311..3c270d7f 100644 --- a/docs/InlineResponse2004.md +++ b/docs/InlineResponse2004.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **TotalResultSize** | Pointer to **int32** | | -**Data** | Pointer to [**[]Ruleset**](Ruleset.md) | | +**Data** | Pointer to [**[]NotificationWebhook**](NotificationWebhook.md) | | ## Methods @@ -36,13 +36,13 @@ SetTotalResultSize gets a reference to the given int32 and assigns it to the Tot ### GetData -`func (o *InlineResponse2004) GetData() []Ruleset` +`func (o *InlineResponse2004) GetData() []NotificationWebhook` GetData returns the Data field if non-nil, zero value otherwise. ### GetDataOk -`func (o *InlineResponse2004) GetDataOk() ([]Ruleset, bool)` +`func (o *InlineResponse2004) GetDataOk() ([]NotificationWebhook, bool)` GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. @@ -55,9 +55,9 @@ HasData returns a boolean if a field has been set. ### SetData -`func (o *InlineResponse2004) SetData(v []Ruleset)` +`func (o *InlineResponse2004) SetData(v []NotificationWebhook)` -SetData gets a reference to the given []Ruleset and assigns it to the Data field. +SetData gets a reference to the given []NotificationWebhook and assigns it to the Data field. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2005.md b/docs/InlineResponse2005.md index cddbf28a..f34b03ba 100644 --- a/docs/InlineResponse2005.md +++ b/docs/InlineResponse2005.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **TotalResultSize** | Pointer to **int32** | | -**Data** | Pointer to [**[]Coupon**](Coupon.md) | | +**Data** | Pointer to [**[]Ruleset**](Ruleset.md) | | ## Methods @@ -36,13 +36,13 @@ SetTotalResultSize gets a reference to the given int32 and assigns it to the Tot ### GetData -`func (o *InlineResponse2005) GetData() []Coupon` +`func (o *InlineResponse2005) GetData() []Ruleset` GetData returns the Data field if non-nil, zero value otherwise. ### GetDataOk -`func (o *InlineResponse2005) GetDataOk() ([]Coupon, bool)` +`func (o *InlineResponse2005) GetDataOk() ([]Ruleset, bool)` GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. @@ -55,9 +55,9 @@ HasData returns a boolean if a field has been set. ### SetData -`func (o *InlineResponse2005) SetData(v []Coupon)` +`func (o *InlineResponse2005) SetData(v []Ruleset)` -SetData gets a reference to the given []Coupon and assigns it to the Data field. +SetData gets a reference to the given []Ruleset and assigns it to the Data field. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2006.md b/docs/InlineResponse2006.md index 18760f1f..f7a6374a 100644 --- a/docs/InlineResponse2006.md +++ b/docs/InlineResponse2006.md @@ -4,35 +4,35 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**HasMore** | Pointer to **bool** | | +**TotalResultSize** | Pointer to **int32** | | **Data** | Pointer to [**[]Coupon**](Coupon.md) | | ## Methods -### GetHasMore +### GetTotalResultSize -`func (o *InlineResponse2006) GetHasMore() bool` +`func (o *InlineResponse2006) GetTotalResultSize() int32` -GetHasMore returns the HasMore field if non-nil, zero value otherwise. +GetTotalResultSize returns the TotalResultSize field if non-nil, zero value otherwise. -### GetHasMoreOk +### GetTotalResultSizeOk -`func (o *InlineResponse2006) GetHasMoreOk() (bool, bool)` +`func (o *InlineResponse2006) GetTotalResultSizeOk() (int32, bool)` -GetHasMoreOk returns a tuple with the HasMore field if it's non-nil, zero value otherwise +GetTotalResultSizeOk returns a tuple with the TotalResultSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### HasHasMore +### HasTotalResultSize -`func (o *InlineResponse2006) HasHasMore() bool` +`func (o *InlineResponse2006) HasTotalResultSize() bool` -HasHasMore returns a boolean if a field has been set. +HasTotalResultSize returns a boolean if a field has been set. -### SetHasMore +### SetTotalResultSize -`func (o *InlineResponse2006) SetHasMore(v bool)` +`func (o *InlineResponse2006) SetTotalResultSize(v int32)` -SetHasMore gets a reference to the given bool and assigns it to the HasMore field. +SetTotalResultSize gets a reference to the given int32 and assigns it to the TotalResultSize field. ### GetData diff --git a/docs/InlineResponse2007.md b/docs/InlineResponse2007.md index 8a0488d6..628781d0 100644 --- a/docs/InlineResponse2007.md +++ b/docs/InlineResponse2007.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **HasMore** | Pointer to **bool** | | -**Data** | Pointer to [**[]Referral**](Referral.md) | | +**Data** | Pointer to [**[]Coupon**](Coupon.md) | | ## Methods @@ -36,13 +36,13 @@ SetHasMore gets a reference to the given bool and assigns it to the HasMore fiel ### GetData -`func (o *InlineResponse2007) GetData() []Referral` +`func (o *InlineResponse2007) GetData() []Coupon` GetData returns the Data field if non-nil, zero value otherwise. ### GetDataOk -`func (o *InlineResponse2007) GetDataOk() ([]Referral, bool)` +`func (o *InlineResponse2007) GetDataOk() ([]Coupon, bool)` GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. @@ -55,9 +55,9 @@ HasData returns a boolean if a field has been set. ### SetData -`func (o *InlineResponse2007) SetData(v []Referral)` +`func (o *InlineResponse2007) SetData(v []Coupon)` -SetData gets a reference to the given []Referral and assigns it to the Data field. +SetData gets a reference to the given []Coupon and assigns it to the Data field. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2008.md b/docs/InlineResponse2008.md index 0be04d9e..938419e8 100644 --- a/docs/InlineResponse2008.md +++ b/docs/InlineResponse2008.md @@ -4,45 +4,45 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**TotalResultSize** | Pointer to **int32** | | -**Data** | Pointer to [**[]LoyaltyProgram**](LoyaltyProgram.md) | | +**HasMore** | Pointer to **bool** | | +**Data** | Pointer to [**[]Referral**](Referral.md) | | ## Methods -### GetTotalResultSize +### GetHasMore -`func (o *InlineResponse2008) GetTotalResultSize() int32` +`func (o *InlineResponse2008) GetHasMore() bool` -GetTotalResultSize returns the TotalResultSize field if non-nil, zero value otherwise. +GetHasMore returns the HasMore field if non-nil, zero value otherwise. -### GetTotalResultSizeOk +### GetHasMoreOk -`func (o *InlineResponse2008) GetTotalResultSizeOk() (int32, bool)` +`func (o *InlineResponse2008) GetHasMoreOk() (bool, bool)` -GetTotalResultSizeOk returns a tuple with the TotalResultSize field if it's non-nil, zero value otherwise +GetHasMoreOk returns a tuple with the HasMore field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### HasTotalResultSize +### HasHasMore -`func (o *InlineResponse2008) HasTotalResultSize() bool` +`func (o *InlineResponse2008) HasHasMore() bool` -HasTotalResultSize returns a boolean if a field has been set. +HasHasMore returns a boolean if a field has been set. -### SetTotalResultSize +### SetHasMore -`func (o *InlineResponse2008) SetTotalResultSize(v int32)` +`func (o *InlineResponse2008) SetHasMore(v bool)` -SetTotalResultSize gets a reference to the given int32 and assigns it to the TotalResultSize field. +SetHasMore gets a reference to the given bool and assigns it to the HasMore field. ### GetData -`func (o *InlineResponse2008) GetData() []LoyaltyProgram` +`func (o *InlineResponse2008) GetData() []Referral` GetData returns the Data field if non-nil, zero value otherwise. ### GetDataOk -`func (o *InlineResponse2008) GetDataOk() ([]LoyaltyProgram, bool)` +`func (o *InlineResponse2008) GetDataOk() ([]Referral, bool)` GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. @@ -55,9 +55,9 @@ HasData returns a boolean if a field has been set. ### SetData -`func (o *InlineResponse2008) SetData(v []LoyaltyProgram)` +`func (o *InlineResponse2008) SetData(v []Referral)` -SetData gets a reference to the given []LoyaltyProgram and assigns it to the Data field. +SetData gets a reference to the given []Referral and assigns it to the Data field. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2009.md b/docs/InlineResponse2009.md index 77c39d7c..21041faf 100644 --- a/docs/InlineResponse2009.md +++ b/docs/InlineResponse2009.md @@ -4,37 +4,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**HasMore** | Pointer to **bool** | | [optional] -**TotalResultSize** | Pointer to **int32** | | [optional] -**Data** | Pointer to [**[]CollectionWithoutPayload**](CollectionWithoutPayload.md) | | +**TotalResultSize** | Pointer to **int32** | | +**Data** | Pointer to [**[]LoyaltyProgram**](LoyaltyProgram.md) | | ## Methods -### GetHasMore - -`func (o *InlineResponse2009) GetHasMore() bool` - -GetHasMore returns the HasMore field if non-nil, zero value otherwise. - -### GetHasMoreOk - -`func (o *InlineResponse2009) GetHasMoreOk() (bool, bool)` - -GetHasMoreOk returns a tuple with the HasMore field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### HasHasMore - -`func (o *InlineResponse2009) HasHasMore() bool` - -HasHasMore returns a boolean if a field has been set. - -### SetHasMore - -`func (o *InlineResponse2009) SetHasMore(v bool)` - -SetHasMore gets a reference to the given bool and assigns it to the HasMore field. - ### GetTotalResultSize `func (o *InlineResponse2009) GetTotalResultSize() int32` @@ -62,13 +36,13 @@ SetTotalResultSize gets a reference to the given int32 and assigns it to the Tot ### GetData -`func (o *InlineResponse2009) GetData() []CollectionWithoutPayload` +`func (o *InlineResponse2009) GetData() []LoyaltyProgram` GetData returns the Data field if non-nil, zero value otherwise. ### GetDataOk -`func (o *InlineResponse2009) GetDataOk() ([]CollectionWithoutPayload, bool)` +`func (o *InlineResponse2009) GetDataOk() ([]LoyaltyProgram, bool)` GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. @@ -81,9 +55,9 @@ HasData returns a boolean if a field has been set. ### SetData -`func (o *InlineResponse2009) SetData(v []CollectionWithoutPayload)` +`func (o *InlineResponse2009) SetData(v []LoyaltyProgram)` -SetData gets a reference to the given []CollectionWithoutPayload and assigns it to the Data field. +SetData gets a reference to the given []LoyaltyProgram and assigns it to the Data field. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/IntegrationApi.md b/docs/IntegrationApi.md index ae5eef0b..a2d0e681 100644 --- a/docs/IntegrationApi.md +++ b/docs/IntegrationApi.md @@ -458,7 +458,7 @@ Name | Type | Description | Notes ## GetLoyaltyTransactions -> LedgerTransactionLogEntryIntegrationApi GetLoyaltyTransactions(ctx, loyaltyProgramId, integrationId).StartDate(startDate).EndDate(endDate).PageSize(pageSize).Skip(skip).Execute() +> InlineResponse2001 GetLoyaltyTransactions(ctx, loyaltyProgramId, integrationId).StartDate(startDate).EndDate(endDate).PageSize(pageSize).Skip(skip).Execute() Get loyalty ledger transaction logs @@ -489,7 +489,7 @@ Name | Type | Description | Notes ### Return type -[**LedgerTransactionLogEntryIntegrationApi**](LedgerTransactionLogEntryIntegrationAPI.md) +[**InlineResponse2001**](inline_response_200_1.md) ### Authorization diff --git a/docs/ManagementApi.md b/docs/ManagementApi.md index 6d77e07b..7ed5e86a 100644 --- a/docs/ManagementApi.md +++ b/docs/ManagementApi.md @@ -161,7 +161,7 @@ Name | Type | Description | Notes ## CopyCampaignToApplications -> InlineResponse2002 CopyCampaignToApplications(ctx, applicationId, campaignId).Body(body).Execute() +> InlineResponse2003 CopyCampaignToApplications(ctx, applicationId, campaignId).Body(body).Execute() Copy the campaign into the specified application @@ -189,7 +189,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2002**](inline_response_200_2.md) +[**InlineResponse2003**](inline_response_200_3.md) ### Authorization @@ -414,7 +414,7 @@ Name | Type | Description | Notes ## CreateCoupons -> InlineResponse2005 CreateCoupons(ctx, applicationId, campaignId).Body(body).Silent(silent).Execute() +> InlineResponse2006 CreateCoupons(ctx, applicationId, campaignId).Body(body).Silent(silent).Execute() Create coupons @@ -443,7 +443,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2005**](inline_response_200_5.md) +[**InlineResponse2006**](inline_response_200_6.md) ### Authorization @@ -507,7 +507,7 @@ Name | Type | Description | Notes ## CreateCouponsForMultipleRecipients -> InlineResponse2005 CreateCouponsForMultipleRecipients(ctx, applicationId, campaignId).Body(body).Silent(silent).Execute() +> InlineResponse2006 CreateCouponsForMultipleRecipients(ctx, applicationId, campaignId).Body(body).Silent(silent).Execute() Create coupons for multiple recipients @@ -536,7 +536,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2005**](inline_response_200_5.md) +[**InlineResponse2006**](inline_response_200_6.md) ### Authorization @@ -1425,7 +1425,7 @@ Name | Type | Description | Notes ## GetAccessLogsWithoutTotalCount -> InlineResponse20012 GetAccessLogsWithoutTotalCount(ctx, applicationId).RangeStart(rangeStart).RangeEnd(rangeEnd).Path(path).Method(method).Status(status).PageSize(pageSize).Skip(skip).Sort(sort).Execute() +> InlineResponse20013 GetAccessLogsWithoutTotalCount(ctx, applicationId).RangeStart(rangeStart).RangeEnd(rangeEnd).Path(path).Method(method).Status(status).PageSize(pageSize).Skip(skip).Sort(sort).Execute() Get access logs for Application @@ -1458,7 +1458,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20012**](inline_response_200_12.md) +[**InlineResponse20013**](inline_response_200_13.md) ### Authorization @@ -1648,7 +1648,7 @@ Name | Type | Description | Notes ## GetAdditionalCosts -> InlineResponse20025 GetAdditionalCosts(ctx).PageSize(pageSize).Skip(skip).Sort(sort).Execute() +> InlineResponse20026 GetAdditionalCosts(ctx).PageSize(pageSize).Skip(skip).Sort(sort).Execute() List additional costs @@ -1671,7 +1671,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20025**](inline_response_200_25.md) +[**InlineResponse20026**](inline_response_200_26.md) ### Authorization @@ -1689,7 +1689,7 @@ Name | Type | Description | Notes ## GetAllAccessLogs -> InlineResponse20013 GetAllAccessLogs(ctx).RangeStart(rangeStart).RangeEnd(rangeEnd).Path(path).Method(method).Status(status).PageSize(pageSize).Skip(skip).Sort(sort).Execute() +> InlineResponse20014 GetAllAccessLogs(ctx).RangeStart(rangeStart).RangeEnd(rangeEnd).Path(path).Method(method).Status(status).PageSize(pageSize).Skip(skip).Sort(sort).Execute() List access logs @@ -1717,7 +1717,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20013**](inline_response_200_13.md) +[**InlineResponse20014**](inline_response_200_14.md) ### Authorization @@ -1735,7 +1735,7 @@ Name | Type | Description | Notes ## GetAllRoles -> InlineResponse20033 GetAllRoles(ctx).Execute() +> InlineResponse20034 GetAllRoles(ctx).Execute() List roles @@ -1752,7 +1752,7 @@ Other parameters are passed through a pointer to a apiGetAllRolesRequest struct ### Return type -[**InlineResponse20033**](inline_response_200_33.md) +[**InlineResponse20034**](inline_response_200_34.md) ### Authorization @@ -1901,7 +1901,7 @@ Name | Type | Description | Notes ## GetApplicationCustomerFriends -> InlineResponse20023 GetApplicationCustomerFriends(ctx, applicationId, integrationId).PageSize(pageSize).Skip(skip).Sort(sort).WithTotalResultSize(withTotalResultSize).Execute() +> InlineResponse20024 GetApplicationCustomerFriends(ctx, applicationId, integrationId).PageSize(pageSize).Skip(skip).Sort(sort).WithTotalResultSize(withTotalResultSize).Execute() List friends referred by customer profile @@ -1932,7 +1932,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20023**](inline_response_200_23.md) +[**InlineResponse20024**](inline_response_200_24.md) ### Authorization @@ -1950,7 +1950,7 @@ Name | Type | Description | Notes ## GetApplicationCustomers -> InlineResponse20015 GetApplicationCustomers(ctx, applicationId).IntegrationId(integrationId).PageSize(pageSize).Skip(skip).WithTotalResultSize(withTotalResultSize).Execute() +> InlineResponse20016 GetApplicationCustomers(ctx, applicationId).IntegrationId(integrationId).PageSize(pageSize).Skip(skip).WithTotalResultSize(withTotalResultSize).Execute() List application's customers @@ -1979,7 +1979,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20015**](inline_response_200_15.md) +[**InlineResponse20016**](inline_response_200_16.md) ### Authorization @@ -1997,7 +1997,7 @@ Name | Type | Description | Notes ## GetApplicationCustomersByAttributes -> InlineResponse20016 GetApplicationCustomersByAttributes(ctx, applicationId).Body(body).PageSize(pageSize).Skip(skip).WithTotalResultSize(withTotalResultSize).Execute() +> InlineResponse20017 GetApplicationCustomersByAttributes(ctx, applicationId).Body(body).PageSize(pageSize).Skip(skip).WithTotalResultSize(withTotalResultSize).Execute() List application customers matching the given attributes @@ -2026,7 +2026,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20016**](inline_response_200_16.md) +[**InlineResponse20017**](inline_response_200_17.md) ### Authorization @@ -2044,7 +2044,7 @@ Name | Type | Description | Notes ## GetApplicationEventTypes -> InlineResponse20021 GetApplicationEventTypes(ctx, applicationId).PageSize(pageSize).Skip(skip).Sort(sort).Execute() +> InlineResponse20022 GetApplicationEventTypes(ctx, applicationId).PageSize(pageSize).Skip(skip).Sort(sort).Execute() List Applications event types @@ -2072,7 +2072,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20021**](inline_response_200_21.md) +[**InlineResponse20022**](inline_response_200_22.md) ### Authorization @@ -2090,7 +2090,7 @@ Name | Type | Description | Notes ## GetApplicationEventsWithoutTotalCount -> InlineResponse20020 GetApplicationEventsWithoutTotalCount(ctx, applicationId).PageSize(pageSize).Skip(skip).Sort(sort).Type_(type_).CreatedBefore(createdBefore).CreatedAfter(createdAfter).Session(session).Profile(profile).CustomerName(customerName).CustomerEmail(customerEmail).CouponCode(couponCode).ReferralCode(referralCode).RuleQuery(ruleQuery).CampaignQuery(campaignQuery).Execute() +> InlineResponse20021 GetApplicationEventsWithoutTotalCount(ctx, applicationId).PageSize(pageSize).Skip(skip).Sort(sort).Type_(type_).CreatedBefore(createdBefore).CreatedAfter(createdAfter).Session(session).Profile(profile).CustomerName(customerName).CustomerEmail(customerEmail).CouponCode(couponCode).ReferralCode(referralCode).RuleQuery(ruleQuery).CampaignQuery(campaignQuery).Execute() List Applications events @@ -2129,7 +2129,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20020**](inline_response_200_20.md) +[**InlineResponse20021**](inline_response_200_21.md) ### Authorization @@ -2192,7 +2192,7 @@ Name | Type | Description | Notes ## GetApplicationSessions -> InlineResponse20019 GetApplicationSessions(ctx, applicationId).PageSize(pageSize).Skip(skip).Sort(sort).Profile(profile).State(state).CreatedBefore(createdBefore).CreatedAfter(createdAfter).Coupon(coupon).Referral(referral).IntegrationId(integrationId).Execute() +> InlineResponse20020 GetApplicationSessions(ctx, applicationId).PageSize(pageSize).Skip(skip).Sort(sort).Profile(profile).State(state).CreatedBefore(createdBefore).CreatedAfter(createdAfter).Coupon(coupon).Referral(referral).IntegrationId(integrationId).Execute() List Application sessions @@ -2227,7 +2227,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20019**](inline_response_200_19.md) +[**InlineResponse20020**](inline_response_200_20.md) ### Authorization @@ -2245,7 +2245,7 @@ Name | Type | Description | Notes ## GetApplications -> InlineResponse2001 GetApplications(ctx).PageSize(pageSize).Skip(skip).Sort(sort).Execute() +> InlineResponse2002 GetApplications(ctx).PageSize(pageSize).Skip(skip).Sort(sort).Execute() List applications @@ -2268,7 +2268,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2001**](inline_response_200_1.md) +[**InlineResponse2002**](inline_response_200_2.md) ### Authorization @@ -2329,7 +2329,7 @@ Name | Type | Description | Notes ## GetAttributes -> InlineResponse20024 GetAttributes(ctx).PageSize(pageSize).Skip(skip).Sort(sort).Entity(entity).Execute() +> InlineResponse20025 GetAttributes(ctx).PageSize(pageSize).Skip(skip).Sort(sort).Entity(entity).Execute() List custom attributes @@ -2353,7 +2353,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20024**](inline_response_200_24.md) +[**InlineResponse20025**](inline_response_200_25.md) ### Authorization @@ -2371,7 +2371,7 @@ Name | Type | Description | Notes ## GetAudiences -> InlineResponse20022 GetAudiences(ctx).PageSize(pageSize).Skip(skip).Sort(sort).WithTotalResultSize(withTotalResultSize).Execute() +> InlineResponse20023 GetAudiences(ctx).PageSize(pageSize).Skip(skip).Sort(sort).WithTotalResultSize(withTotalResultSize).Execute() List audiences @@ -2395,7 +2395,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20022**](inline_response_200_22.md) +[**InlineResponse20023**](inline_response_200_23.md) ### Authorization @@ -2458,7 +2458,7 @@ Name | Type | Description | Notes ## GetCampaignAnalytics -> InlineResponse20014 GetCampaignAnalytics(ctx, applicationId, campaignId).RangeStart(rangeStart).RangeEnd(rangeEnd).Granularity(granularity).Execute() +> InlineResponse20015 GetCampaignAnalytics(ctx, applicationId, campaignId).RangeStart(rangeStart).RangeEnd(rangeEnd).Granularity(granularity).Execute() Get analytics of campaigns @@ -2488,7 +2488,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20014**](inline_response_200_14.md) +[**InlineResponse20015**](inline_response_200_15.md) ### Authorization @@ -2506,7 +2506,7 @@ Name | Type | Description | Notes ## GetCampaignByAttributes -> InlineResponse2002 GetCampaignByAttributes(ctx, applicationId).Body(body).PageSize(pageSize).Skip(skip).Sort(sort).CampaignState(campaignState).Execute() +> InlineResponse2003 GetCampaignByAttributes(ctx, applicationId).Body(body).PageSize(pageSize).Skip(skip).Sort(sort).CampaignState(campaignState).Execute() List campaigns that match the given attributes @@ -2536,7 +2536,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2002**](inline_response_200_2.md) +[**InlineResponse2003**](inline_response_200_3.md) ### Authorization @@ -2554,7 +2554,7 @@ Name | Type | Description | Notes ## GetCampaigns -> InlineResponse2002 GetCampaigns(ctx, applicationId).PageSize(pageSize).Skip(skip).Sort(sort).CampaignState(campaignState).Name(name).Tags(tags).CreatedBefore(createdBefore).CreatedAfter(createdAfter).CampaignGroupId(campaignGroupId).TemplateId(templateId).Execute() +> InlineResponse2003 GetCampaigns(ctx, applicationId).PageSize(pageSize).Skip(skip).Sort(sort).CampaignState(campaignState).Name(name).Tags(tags).CreatedBefore(createdBefore).CreatedAfter(createdAfter).CampaignGroupId(campaignGroupId).TemplateId(templateId).Execute() List campaigns @@ -2589,7 +2589,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2002**](inline_response_200_2.md) +[**InlineResponse2003**](inline_response_200_3.md) ### Authorization @@ -2607,7 +2607,7 @@ Name | Type | Description | Notes ## GetChanges -> InlineResponse20031 GetChanges(ctx).PageSize(pageSize).Skip(skip).Sort(sort).ApplicationId(applicationId).EntityPath(entityPath).UserId(userId).CreatedBefore(createdBefore).CreatedAfter(createdAfter).WithTotalResultSize(withTotalResultSize).IncludeOld(includeOld).Execute() +> InlineResponse20032 GetChanges(ctx).PageSize(pageSize).Skip(skip).Sort(sort).ApplicationId(applicationId).EntityPath(entityPath).UserId(userId).CreatedBefore(createdBefore).CreatedAfter(createdAfter).WithTotalResultSize(withTotalResultSize).IncludeOld(includeOld).Execute() Get audit logs for an account @@ -2637,7 +2637,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20031**](inline_response_200_31.md) +[**InlineResponse20032**](inline_response_200_32.md) ### Authorization @@ -2702,7 +2702,7 @@ Name | Type | Description | Notes ## GetCollectionItems -> InlineResponse20010 GetCollectionItems(ctx, collectionId).PageSize(pageSize).Skip(skip).Execute() +> InlineResponse20011 GetCollectionItems(ctx, collectionId).PageSize(pageSize).Skip(skip).Execute() Get collection items @@ -2729,7 +2729,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20010**](inline_response_200_10.md) +[**InlineResponse20011**](inline_response_200_11.md) ### Authorization @@ -2747,7 +2747,7 @@ Name | Type | Description | Notes ## GetCouponsWithoutTotalCount -> InlineResponse2006 GetCouponsWithoutTotalCount(ctx, applicationId, campaignId).PageSize(pageSize).Skip(skip).Sort(sort).Value(value).CreatedBefore(createdBefore).CreatedAfter(createdAfter).Valid(valid).Usable(usable).ReferralId(referralId).RecipientIntegrationId(recipientIntegrationId).BatchId(batchId).ExactMatch(exactMatch).Execute() +> InlineResponse2007 GetCouponsWithoutTotalCount(ctx, applicationId, campaignId).PageSize(pageSize).Skip(skip).Sort(sort).Value(value).CreatedBefore(createdBefore).CreatedAfter(createdAfter).Valid(valid).Usable(usable).ReferralId(referralId).RecipientIntegrationId(recipientIntegrationId).BatchId(batchId).ExactMatch(exactMatch).Execute() List coupons @@ -2786,7 +2786,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2006**](inline_response_200_6.md) +[**InlineResponse2007**](inline_response_200_7.md) ### Authorization @@ -2853,7 +2853,7 @@ Name | Type | Description | Notes ## GetCustomerActivityReportsWithoutTotalCount -> InlineResponse20018 GetCustomerActivityReportsWithoutTotalCount(ctx, applicationId).RangeStart(rangeStart).RangeEnd(rangeEnd).PageSize(pageSize).Skip(skip).Sort(sort).Name(name).IntegrationId(integrationId).CampaignName(campaignName).AdvocateName(advocateName).Execute() +> InlineResponse20019 GetCustomerActivityReportsWithoutTotalCount(ctx, applicationId).RangeStart(rangeStart).RangeEnd(rangeEnd).PageSize(pageSize).Skip(skip).Sort(sort).Name(name).IntegrationId(integrationId).CampaignName(campaignName).AdvocateName(advocateName).Execute() Get Activity Reports for Application Customers @@ -2887,7 +2887,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20018**](inline_response_200_18.md) +[**InlineResponse20019**](inline_response_200_19.md) ### Authorization @@ -2996,7 +2996,7 @@ Name | Type | Description | Notes ## GetCustomerProfiles -> InlineResponse20017 GetCustomerProfiles(ctx).PageSize(pageSize).Skip(skip).Execute() +> InlineResponse20018 GetCustomerProfiles(ctx).PageSize(pageSize).Skip(skip).Execute() List customer profiles @@ -3018,7 +3018,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20017**](inline_response_200_17.md) +[**InlineResponse20018**](inline_response_200_18.md) ### Authorization @@ -3036,7 +3036,7 @@ Name | Type | Description | Notes ## GetCustomersByAttributes -> InlineResponse20017 GetCustomersByAttributes(ctx).Body(body).PageSize(pageSize).Skip(skip).Execute() +> InlineResponse20018 GetCustomersByAttributes(ctx).Body(body).PageSize(pageSize).Skip(skip).Execute() List customer profiles matching the given attributes @@ -3059,7 +3059,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20017**](inline_response_200_17.md) +[**InlineResponse20018**](inline_response_200_18.md) ### Authorization @@ -3077,7 +3077,7 @@ Name | Type | Description | Notes ## GetEventTypes -> InlineResponse20029 GetEventTypes(ctx).Name(name).IncludeOldVersions(includeOldVersions).PageSize(pageSize).Skip(skip).Sort(sort).Execute() +> InlineResponse20030 GetEventTypes(ctx).Name(name).IncludeOldVersions(includeOldVersions).PageSize(pageSize).Skip(skip).Sort(sort).Execute() List event types @@ -3102,7 +3102,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20029**](inline_response_200_29.md) +[**InlineResponse20030**](inline_response_200_30.md) ### Authorization @@ -3120,7 +3120,7 @@ Name | Type | Description | Notes ## GetExports -> InlineResponse20032 GetExports(ctx).PageSize(pageSize).Skip(skip).ApplicationId(applicationId).CampaignId(campaignId).Entity(entity).Execute() +> InlineResponse20033 GetExports(ctx).PageSize(pageSize).Skip(skip).ApplicationId(applicationId).CampaignId(campaignId).Entity(entity).Execute() Get exports @@ -3145,7 +3145,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20032**](inline_response_200_32.md) +[**InlineResponse20033**](inline_response_200_33.md) ### Authorization @@ -3251,7 +3251,7 @@ Name | Type | Description | Notes ## GetLoyaltyPrograms -> InlineResponse2008 GetLoyaltyPrograms(ctx).Execute() +> InlineResponse2009 GetLoyaltyPrograms(ctx).Execute() List loyalty programs @@ -3268,7 +3268,7 @@ Other parameters are passed through a pointer to a apiGetLoyaltyProgramsRequest ### Return type -[**InlineResponse2008**](inline_response_200_8.md) +[**InlineResponse2009**](inline_response_200_9.md) ### Authorization @@ -3374,7 +3374,7 @@ Name | Type | Description | Notes ## GetNotificationWebhooks -> InlineResponse2003 GetNotificationWebhooks(ctx, applicationId).Execute() +> InlineResponse2004 GetNotificationWebhooks(ctx, applicationId).Execute() List notification webhooks @@ -3399,7 +3399,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2003**](inline_response_200_3.md) +[**InlineResponse2004**](inline_response_200_4.md) ### Authorization @@ -3417,7 +3417,7 @@ Name | Type | Description | Notes ## GetReferralsWithoutTotalCount -> InlineResponse2007 GetReferralsWithoutTotalCount(ctx, applicationId, campaignId).PageSize(pageSize).Skip(skip).Sort(sort).Code(code).CreatedBefore(createdBefore).CreatedAfter(createdAfter).Valid(valid).Usable(usable).Advocate(advocate).Execute() +> InlineResponse2008 GetReferralsWithoutTotalCount(ctx, applicationId, campaignId).PageSize(pageSize).Skip(skip).Sort(sort).Code(code).CreatedBefore(createdBefore).CreatedAfter(createdAfter).Valid(valid).Usable(usable).Advocate(advocate).Execute() List referrals @@ -3453,7 +3453,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2007**](inline_response_200_7.md) +[**InlineResponse2008**](inline_response_200_8.md) ### Authorization @@ -3561,7 +3561,7 @@ Name | Type | Description | Notes ## GetRulesets -> InlineResponse2004 GetRulesets(ctx, applicationId, campaignId).PageSize(pageSize).Skip(skip).Sort(sort).Execute() +> InlineResponse2005 GetRulesets(ctx, applicationId, campaignId).PageSize(pageSize).Skip(skip).Sort(sort).Execute() List campaign rulesets @@ -3591,7 +3591,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2004**](inline_response_200_4.md) +[**InlineResponse2005**](inline_response_200_5.md) ### Authorization @@ -3652,7 +3652,7 @@ Name | Type | Description | Notes ## GetUsers -> InlineResponse20030 GetUsers(ctx).PageSize(pageSize).Skip(skip).Sort(sort).Execute() +> InlineResponse20031 GetUsers(ctx).PageSize(pageSize).Skip(skip).Sort(sort).Execute() List users in account @@ -3675,7 +3675,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20030**](inline_response_200_30.md) +[**InlineResponse20031**](inline_response_200_31.md) ### Authorization @@ -3736,7 +3736,7 @@ Name | Type | Description | Notes ## GetWebhookActivationLogs -> InlineResponse20027 GetWebhookActivationLogs(ctx).PageSize(pageSize).Skip(skip).Sort(sort).IntegrationRequestUuid(integrationRequestUuid).WebhookId(webhookId).ApplicationId(applicationId).CampaignId(campaignId).CreatedBefore(createdBefore).CreatedAfter(createdAfter).Execute() +> InlineResponse20028 GetWebhookActivationLogs(ctx).PageSize(pageSize).Skip(skip).Sort(sort).IntegrationRequestUuid(integrationRequestUuid).WebhookId(webhookId).ApplicationId(applicationId).CampaignId(campaignId).CreatedBefore(createdBefore).CreatedAfter(createdAfter).Execute() List webhook activation log entries @@ -3765,7 +3765,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20027**](inline_response_200_27.md) +[**InlineResponse20028**](inline_response_200_28.md) ### Authorization @@ -3783,7 +3783,7 @@ Name | Type | Description | Notes ## GetWebhookLogs -> InlineResponse20028 GetWebhookLogs(ctx).PageSize(pageSize).Skip(skip).Sort(sort).Status(status).WebhookId(webhookId).ApplicationId(applicationId).CampaignId(campaignId).RequestUuid(requestUuid).CreatedBefore(createdBefore).CreatedAfter(createdAfter).Execute() +> InlineResponse20029 GetWebhookLogs(ctx).PageSize(pageSize).Skip(skip).Sort(sort).Status(status).WebhookId(webhookId).ApplicationId(applicationId).CampaignId(campaignId).RequestUuid(requestUuid).CreatedBefore(createdBefore).CreatedAfter(createdAfter).Execute() List webhook log entries @@ -3813,7 +3813,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20028**](inline_response_200_28.md) +[**InlineResponse20029**](inline_response_200_29.md) ### Authorization @@ -3831,7 +3831,7 @@ Name | Type | Description | Notes ## GetWebhooks -> InlineResponse20026 GetWebhooks(ctx).ApplicationIds(applicationIds).Sort(sort).PageSize(pageSize).Skip(skip).Execute() +> InlineResponse20027 GetWebhooks(ctx).ApplicationIds(applicationIds).Sort(sort).PageSize(pageSize).Skip(skip).Execute() List webhooks @@ -3855,7 +3855,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20026**](inline_response_200_26.md) +[**InlineResponse20027**](inline_response_200_27.md) ### Authorization @@ -4189,7 +4189,7 @@ Name | Type | Description | Notes ## ListAccountCollections -> InlineResponse2009 ListAccountCollections(ctx).PageSize(pageSize).Skip(skip).Sort(sort).WithTotalResultSize(withTotalResultSize).Name(name).Execute() +> InlineResponse20010 ListAccountCollections(ctx).PageSize(pageSize).Skip(skip).Sort(sort).WithTotalResultSize(withTotalResultSize).Name(name).Execute() List collections in account @@ -4214,7 +4214,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2009**](inline_response_200_9.md) +[**InlineResponse20010**](inline_response_200_10.md) ### Authorization @@ -4232,7 +4232,7 @@ Name | Type | Description | Notes ## ListCollections -> InlineResponse20011 ListCollections(ctx, applicationId, campaignId).PageSize(pageSize).Skip(skip).Sort(sort).WithTotalResultSize(withTotalResultSize).Name(name).Execute() +> InlineResponse20012 ListCollections(ctx, applicationId, campaignId).PageSize(pageSize).Skip(skip).Sort(sort).WithTotalResultSize(withTotalResultSize).Name(name).Execute() List collections @@ -4264,7 +4264,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20011**](inline_response_200_11.md) +[**InlineResponse20012**](inline_response_200_12.md) ### Authorization @@ -4282,7 +4282,7 @@ Name | Type | Description | Notes ## ListCollectionsInApplication -> InlineResponse20011 ListCollectionsInApplication(ctx, applicationId).PageSize(pageSize).Skip(skip).Sort(sort).WithTotalResultSize(withTotalResultSize).Name(name).Execute() +> InlineResponse20012 ListCollectionsInApplication(ctx, applicationId).PageSize(pageSize).Skip(skip).Sort(sort).WithTotalResultSize(withTotalResultSize).Name(name).Execute() List collections in application @@ -4312,7 +4312,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20011**](inline_response_200_11.md) +[**InlineResponse20012**](inline_response_200_12.md) ### Authorization @@ -4415,7 +4415,7 @@ Name | Type | Description | Notes ## SearchCouponsAdvancedApplicationWideWithoutTotalCount -> InlineResponse2006 SearchCouponsAdvancedApplicationWideWithoutTotalCount(ctx, applicationId).Body(body).PageSize(pageSize).Skip(skip).Sort(sort).Value(value).CreatedBefore(createdBefore).CreatedAfter(createdAfter).Valid(valid).Usable(usable).ReferralId(referralId).RecipientIntegrationId(recipientIntegrationId).BatchId(batchId).ExactMatch(exactMatch).CampaignState(campaignState).Execute() +> InlineResponse2007 SearchCouponsAdvancedApplicationWideWithoutTotalCount(ctx, applicationId).Body(body).PageSize(pageSize).Skip(skip).Sort(sort).Value(value).CreatedBefore(createdBefore).CreatedAfter(createdAfter).Valid(valid).Usable(usable).ReferralId(referralId).RecipientIntegrationId(recipientIntegrationId).BatchId(batchId).ExactMatch(exactMatch).CampaignState(campaignState).Execute() List coupons that match the given attributes (without total count) @@ -4454,7 +4454,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2006**](inline_response_200_6.md) +[**InlineResponse2007**](inline_response_200_7.md) ### Authorization @@ -4472,7 +4472,7 @@ Name | Type | Description | Notes ## SearchCouponsAdvancedWithoutTotalCount -> InlineResponse2006 SearchCouponsAdvancedWithoutTotalCount(ctx, applicationId, campaignId).Body(body).PageSize(pageSize).Skip(skip).Sort(sort).Value(value).CreatedBefore(createdBefore).CreatedAfter(createdAfter).Valid(valid).Usable(usable).ReferralId(referralId).RecipientIntegrationId(recipientIntegrationId).ExactMatch(exactMatch).BatchId(batchId).Execute() +> InlineResponse2007 SearchCouponsAdvancedWithoutTotalCount(ctx, applicationId, campaignId).Body(body).PageSize(pageSize).Skip(skip).Sort(sort).Value(value).CreatedBefore(createdBefore).CreatedAfter(createdAfter).Valid(valid).Usable(usable).ReferralId(referralId).RecipientIntegrationId(recipientIntegrationId).ExactMatch(exactMatch).BatchId(batchId).Execute() List coupons that match the given attributes in campaign (without total count) @@ -4512,7 +4512,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2006**](inline_response_200_6.md) +[**InlineResponse2007**](inline_response_200_7.md) ### Authorization diff --git a/model_inline_response_200_1.go b/model_inline_response_200_1.go index 55a612ce..6374322f 100644 --- a/model_inline_response_200_1.go +++ b/model_inline_response_200_1.go @@ -16,29 +16,29 @@ import ( // InlineResponse2001 struct for InlineResponse2001 type InlineResponse2001 struct { - TotalResultSize int32 `json:"totalResultSize"` - Data []Application `json:"data"` + HasMore bool `json:"hasMore"` + Data []LedgerTransactionLogEntryIntegrationApi `json:"data"` } -// GetTotalResultSize returns the TotalResultSize field value -func (o *InlineResponse2001) GetTotalResultSize() int32 { +// GetHasMore returns the HasMore field value +func (o *InlineResponse2001) GetHasMore() bool { if o == nil { - var ret int32 + var ret bool return ret } - return o.TotalResultSize + return o.HasMore } -// SetTotalResultSize sets field value -func (o *InlineResponse2001) SetTotalResultSize(v int32) { - o.TotalResultSize = v +// SetHasMore sets field value +func (o *InlineResponse2001) SetHasMore(v bool) { + o.HasMore = v } // GetData returns the Data field value -func (o *InlineResponse2001) GetData() []Application { +func (o *InlineResponse2001) GetData() []LedgerTransactionLogEntryIntegrationApi { if o == nil { - var ret []Application + var ret []LedgerTransactionLogEntryIntegrationApi return ret } @@ -46,7 +46,7 @@ func (o *InlineResponse2001) GetData() []Application { } // SetData sets field value -func (o *InlineResponse2001) SetData(v []Application) { +func (o *InlineResponse2001) SetData(v []LedgerTransactionLogEntryIntegrationApi) { o.Data = v } diff --git a/model_inline_response_200_10.go b/model_inline_response_200_10.go index 00658f33..d1c1998d 100644 --- a/model_inline_response_200_10.go +++ b/model_inline_response_200_10.go @@ -16,29 +16,81 @@ import ( // InlineResponse20010 struct for InlineResponse20010 type InlineResponse20010 struct { - HasMore bool `json:"hasMore"` - Data []CollectionItem `json:"data"` + HasMore *bool `json:"hasMore,omitempty"` + TotalResultSize *int32 `json:"totalResultSize,omitempty"` + Data []CollectionWithoutPayload `json:"data"` } -// GetHasMore returns the HasMore field value +// GetHasMore returns the HasMore field value if set, zero value otherwise. func (o *InlineResponse20010) GetHasMore() bool { - if o == nil { + if o == nil || o.HasMore == nil { var ret bool return ret } + return *o.HasMore +} - return o.HasMore +// GetHasMoreOk returns a tuple with the HasMore field value if set, zero value otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse20010) GetHasMoreOk() (bool, bool) { + if o == nil || o.HasMore == nil { + var ret bool + return ret, false + } + return *o.HasMore, true } -// SetHasMore sets field value +// HasHasMore returns a boolean if a field has been set. +func (o *InlineResponse20010) HasHasMore() bool { + if o != nil && o.HasMore != nil { + return true + } + + return false +} + +// SetHasMore gets a reference to the given bool and assigns it to the HasMore field. func (o *InlineResponse20010) SetHasMore(v bool) { - o.HasMore = v + o.HasMore = &v +} + +// GetTotalResultSize returns the TotalResultSize field value if set, zero value otherwise. +func (o *InlineResponse20010) GetTotalResultSize() int32 { + if o == nil || o.TotalResultSize == nil { + var ret int32 + return ret + } + return *o.TotalResultSize +} + +// GetTotalResultSizeOk returns a tuple with the TotalResultSize field value if set, zero value otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse20010) GetTotalResultSizeOk() (int32, bool) { + if o == nil || o.TotalResultSize == nil { + var ret int32 + return ret, false + } + return *o.TotalResultSize, true +} + +// HasTotalResultSize returns a boolean if a field has been set. +func (o *InlineResponse20010) HasTotalResultSize() bool { + if o != nil && o.TotalResultSize != nil { + return true + } + + return false +} + +// SetTotalResultSize gets a reference to the given int32 and assigns it to the TotalResultSize field. +func (o *InlineResponse20010) SetTotalResultSize(v int32) { + o.TotalResultSize = &v } // GetData returns the Data field value -func (o *InlineResponse20010) GetData() []CollectionItem { +func (o *InlineResponse20010) GetData() []CollectionWithoutPayload { if o == nil { - var ret []CollectionItem + var ret []CollectionWithoutPayload return ret } @@ -46,7 +98,7 @@ func (o *InlineResponse20010) GetData() []CollectionItem { } // SetData sets field value -func (o *InlineResponse20010) SetData(v []CollectionItem) { +func (o *InlineResponse20010) SetData(v []CollectionWithoutPayload) { o.Data = v } diff --git a/model_inline_response_200_11.go b/model_inline_response_200_11.go index 11c9fc5d..99714c88 100644 --- a/model_inline_response_200_11.go +++ b/model_inline_response_200_11.go @@ -16,81 +16,29 @@ import ( // InlineResponse20011 struct for InlineResponse20011 type InlineResponse20011 struct { - HasMore *bool `json:"hasMore,omitempty"` - TotalResultSize *int32 `json:"totalResultSize,omitempty"` - Data []Collection `json:"data"` + HasMore bool `json:"hasMore"` + Data []CollectionItem `json:"data"` } -// GetHasMore returns the HasMore field value if set, zero value otherwise. +// GetHasMore returns the HasMore field value func (o *InlineResponse20011) GetHasMore() bool { - if o == nil || o.HasMore == nil { + if o == nil { var ret bool return ret } - return *o.HasMore -} -// GetHasMoreOk returns a tuple with the HasMore field value if set, zero value otherwise -// and a boolean to check if the value has been set. -func (o *InlineResponse20011) GetHasMoreOk() (bool, bool) { - if o == nil || o.HasMore == nil { - var ret bool - return ret, false - } - return *o.HasMore, true + return o.HasMore } -// HasHasMore returns a boolean if a field has been set. -func (o *InlineResponse20011) HasHasMore() bool { - if o != nil && o.HasMore != nil { - return true - } - - return false -} - -// SetHasMore gets a reference to the given bool and assigns it to the HasMore field. +// SetHasMore sets field value func (o *InlineResponse20011) SetHasMore(v bool) { - o.HasMore = &v -} - -// GetTotalResultSize returns the TotalResultSize field value if set, zero value otherwise. -func (o *InlineResponse20011) GetTotalResultSize() int32 { - if o == nil || o.TotalResultSize == nil { - var ret int32 - return ret - } - return *o.TotalResultSize -} - -// GetTotalResultSizeOk returns a tuple with the TotalResultSize field value if set, zero value otherwise -// and a boolean to check if the value has been set. -func (o *InlineResponse20011) GetTotalResultSizeOk() (int32, bool) { - if o == nil || o.TotalResultSize == nil { - var ret int32 - return ret, false - } - return *o.TotalResultSize, true -} - -// HasTotalResultSize returns a boolean if a field has been set. -func (o *InlineResponse20011) HasTotalResultSize() bool { - if o != nil && o.TotalResultSize != nil { - return true - } - - return false -} - -// SetTotalResultSize gets a reference to the given int32 and assigns it to the TotalResultSize field. -func (o *InlineResponse20011) SetTotalResultSize(v int32) { - o.TotalResultSize = &v + o.HasMore = v } // GetData returns the Data field value -func (o *InlineResponse20011) GetData() []Collection { +func (o *InlineResponse20011) GetData() []CollectionItem { if o == nil { - var ret []Collection + var ret []CollectionItem return ret } @@ -98,7 +46,7 @@ func (o *InlineResponse20011) GetData() []Collection { } // SetData sets field value -func (o *InlineResponse20011) SetData(v []Collection) { +func (o *InlineResponse20011) SetData(v []CollectionItem) { o.Data = v } diff --git a/model_inline_response_200_12.go b/model_inline_response_200_12.go index a856fff9..08d5b43e 100644 --- a/model_inline_response_200_12.go +++ b/model_inline_response_200_12.go @@ -16,29 +16,81 @@ import ( // InlineResponse20012 struct for InlineResponse20012 type InlineResponse20012 struct { - HasMore bool `json:"hasMore"` - Data []AccessLogEntry `json:"data"` + HasMore *bool `json:"hasMore,omitempty"` + TotalResultSize *int32 `json:"totalResultSize,omitempty"` + Data []Collection `json:"data"` } -// GetHasMore returns the HasMore field value +// GetHasMore returns the HasMore field value if set, zero value otherwise. func (o *InlineResponse20012) GetHasMore() bool { - if o == nil { + if o == nil || o.HasMore == nil { var ret bool return ret } + return *o.HasMore +} - return o.HasMore +// GetHasMoreOk returns a tuple with the HasMore field value if set, zero value otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse20012) GetHasMoreOk() (bool, bool) { + if o == nil || o.HasMore == nil { + var ret bool + return ret, false + } + return *o.HasMore, true } -// SetHasMore sets field value +// HasHasMore returns a boolean if a field has been set. +func (o *InlineResponse20012) HasHasMore() bool { + if o != nil && o.HasMore != nil { + return true + } + + return false +} + +// SetHasMore gets a reference to the given bool and assigns it to the HasMore field. func (o *InlineResponse20012) SetHasMore(v bool) { - o.HasMore = v + o.HasMore = &v +} + +// GetTotalResultSize returns the TotalResultSize field value if set, zero value otherwise. +func (o *InlineResponse20012) GetTotalResultSize() int32 { + if o == nil || o.TotalResultSize == nil { + var ret int32 + return ret + } + return *o.TotalResultSize +} + +// GetTotalResultSizeOk returns a tuple with the TotalResultSize field value if set, zero value otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse20012) GetTotalResultSizeOk() (int32, bool) { + if o == nil || o.TotalResultSize == nil { + var ret int32 + return ret, false + } + return *o.TotalResultSize, true +} + +// HasTotalResultSize returns a boolean if a field has been set. +func (o *InlineResponse20012) HasTotalResultSize() bool { + if o != nil && o.TotalResultSize != nil { + return true + } + + return false +} + +// SetTotalResultSize gets a reference to the given int32 and assigns it to the TotalResultSize field. +func (o *InlineResponse20012) SetTotalResultSize(v int32) { + o.TotalResultSize = &v } // GetData returns the Data field value -func (o *InlineResponse20012) GetData() []AccessLogEntry { +func (o *InlineResponse20012) GetData() []Collection { if o == nil { - var ret []AccessLogEntry + var ret []Collection return ret } @@ -46,7 +98,7 @@ func (o *InlineResponse20012) GetData() []AccessLogEntry { } // SetData sets field value -func (o *InlineResponse20012) SetData(v []AccessLogEntry) { +func (o *InlineResponse20012) SetData(v []Collection) { o.Data = v } diff --git a/model_inline_response_200_13.go b/model_inline_response_200_13.go index 8390877a..b02326b2 100644 --- a/model_inline_response_200_13.go +++ b/model_inline_response_200_13.go @@ -16,23 +16,23 @@ import ( // InlineResponse20013 struct for InlineResponse20013 type InlineResponse20013 struct { - TotalResultSize int32 `json:"totalResultSize"` - Data []AccessLogEntry `json:"data"` + HasMore bool `json:"hasMore"` + Data []AccessLogEntry `json:"data"` } -// GetTotalResultSize returns the TotalResultSize field value -func (o *InlineResponse20013) GetTotalResultSize() int32 { +// GetHasMore returns the HasMore field value +func (o *InlineResponse20013) GetHasMore() bool { if o == nil { - var ret int32 + var ret bool return ret } - return o.TotalResultSize + return o.HasMore } -// SetTotalResultSize sets field value -func (o *InlineResponse20013) SetTotalResultSize(v int32) { - o.TotalResultSize = v +// SetHasMore sets field value +func (o *InlineResponse20013) SetHasMore(v bool) { + o.HasMore = v } // GetData returns the Data field value diff --git a/model_inline_response_200_14.go b/model_inline_response_200_14.go index 998002a6..eea9f812 100644 --- a/model_inline_response_200_14.go +++ b/model_inline_response_200_14.go @@ -16,8 +16,8 @@ import ( // InlineResponse20014 struct for InlineResponse20014 type InlineResponse20014 struct { - TotalResultSize int32 `json:"totalResultSize"` - Data []CampaignAnalytics `json:"data"` + TotalResultSize int32 `json:"totalResultSize"` + Data []AccessLogEntry `json:"data"` } // GetTotalResultSize returns the TotalResultSize field value @@ -36,9 +36,9 @@ func (o *InlineResponse20014) SetTotalResultSize(v int32) { } // GetData returns the Data field value -func (o *InlineResponse20014) GetData() []CampaignAnalytics { +func (o *InlineResponse20014) GetData() []AccessLogEntry { if o == nil { - var ret []CampaignAnalytics + var ret []AccessLogEntry return ret } @@ -46,7 +46,7 @@ func (o *InlineResponse20014) GetData() []CampaignAnalytics { } // SetData sets field value -func (o *InlineResponse20014) SetData(v []CampaignAnalytics) { +func (o *InlineResponse20014) SetData(v []AccessLogEntry) { o.Data = v } diff --git a/model_inline_response_200_15.go b/model_inline_response_200_15.go index cb60e869..cdfbf773 100644 --- a/model_inline_response_200_15.go +++ b/model_inline_response_200_15.go @@ -16,81 +16,29 @@ import ( // InlineResponse20015 struct for InlineResponse20015 type InlineResponse20015 struct { - TotalResultSize *int32 `json:"totalResultSize,omitempty"` - HasMore *bool `json:"hasMore,omitempty"` - Data []ApplicationCustomer `json:"data"` + TotalResultSize int32 `json:"totalResultSize"` + Data []CampaignAnalytics `json:"data"` } -// GetTotalResultSize returns the TotalResultSize field value if set, zero value otherwise. +// GetTotalResultSize returns the TotalResultSize field value func (o *InlineResponse20015) GetTotalResultSize() int32 { - if o == nil || o.TotalResultSize == nil { + if o == nil { var ret int32 return ret } - return *o.TotalResultSize -} -// GetTotalResultSizeOk returns a tuple with the TotalResultSize field value if set, zero value otherwise -// and a boolean to check if the value has been set. -func (o *InlineResponse20015) GetTotalResultSizeOk() (int32, bool) { - if o == nil || o.TotalResultSize == nil { - var ret int32 - return ret, false - } - return *o.TotalResultSize, true + return o.TotalResultSize } -// HasTotalResultSize returns a boolean if a field has been set. -func (o *InlineResponse20015) HasTotalResultSize() bool { - if o != nil && o.TotalResultSize != nil { - return true - } - - return false -} - -// SetTotalResultSize gets a reference to the given int32 and assigns it to the TotalResultSize field. +// SetTotalResultSize sets field value func (o *InlineResponse20015) SetTotalResultSize(v int32) { - o.TotalResultSize = &v -} - -// GetHasMore returns the HasMore field value if set, zero value otherwise. -func (o *InlineResponse20015) GetHasMore() bool { - if o == nil || o.HasMore == nil { - var ret bool - return ret - } - return *o.HasMore -} - -// GetHasMoreOk returns a tuple with the HasMore field value if set, zero value otherwise -// and a boolean to check if the value has been set. -func (o *InlineResponse20015) GetHasMoreOk() (bool, bool) { - if o == nil || o.HasMore == nil { - var ret bool - return ret, false - } - return *o.HasMore, true -} - -// HasHasMore returns a boolean if a field has been set. -func (o *InlineResponse20015) HasHasMore() bool { - if o != nil && o.HasMore != nil { - return true - } - - return false -} - -// SetHasMore gets a reference to the given bool and assigns it to the HasMore field. -func (o *InlineResponse20015) SetHasMore(v bool) { - o.HasMore = &v + o.TotalResultSize = v } // GetData returns the Data field value -func (o *InlineResponse20015) GetData() []ApplicationCustomer { +func (o *InlineResponse20015) GetData() []CampaignAnalytics { if o == nil { - var ret []ApplicationCustomer + var ret []CampaignAnalytics return ret } @@ -98,7 +46,7 @@ func (o *InlineResponse20015) GetData() []ApplicationCustomer { } // SetData sets field value -func (o *InlineResponse20015) SetData(v []ApplicationCustomer) { +func (o *InlineResponse20015) SetData(v []CampaignAnalytics) { o.Data = v } diff --git a/model_inline_response_200_16.go b/model_inline_response_200_16.go index 794f2d41..ccb763ae 100644 --- a/model_inline_response_200_16.go +++ b/model_inline_response_200_16.go @@ -16,23 +16,75 @@ import ( // InlineResponse20016 struct for InlineResponse20016 type InlineResponse20016 struct { - HasMore bool `json:"hasMore"` - Data []ApplicationCustomer `json:"data"` + TotalResultSize *int32 `json:"totalResultSize,omitempty"` + HasMore *bool `json:"hasMore,omitempty"` + Data []ApplicationCustomer `json:"data"` } -// GetHasMore returns the HasMore field value +// GetTotalResultSize returns the TotalResultSize field value if set, zero value otherwise. +func (o *InlineResponse20016) GetTotalResultSize() int32 { + if o == nil || o.TotalResultSize == nil { + var ret int32 + return ret + } + return *o.TotalResultSize +} + +// GetTotalResultSizeOk returns a tuple with the TotalResultSize field value if set, zero value otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse20016) GetTotalResultSizeOk() (int32, bool) { + if o == nil || o.TotalResultSize == nil { + var ret int32 + return ret, false + } + return *o.TotalResultSize, true +} + +// HasTotalResultSize returns a boolean if a field has been set. +func (o *InlineResponse20016) HasTotalResultSize() bool { + if o != nil && o.TotalResultSize != nil { + return true + } + + return false +} + +// SetTotalResultSize gets a reference to the given int32 and assigns it to the TotalResultSize field. +func (o *InlineResponse20016) SetTotalResultSize(v int32) { + o.TotalResultSize = &v +} + +// GetHasMore returns the HasMore field value if set, zero value otherwise. func (o *InlineResponse20016) GetHasMore() bool { - if o == nil { + if o == nil || o.HasMore == nil { var ret bool return ret } + return *o.HasMore +} + +// GetHasMoreOk returns a tuple with the HasMore field value if set, zero value otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse20016) GetHasMoreOk() (bool, bool) { + if o == nil || o.HasMore == nil { + var ret bool + return ret, false + } + return *o.HasMore, true +} + +// HasHasMore returns a boolean if a field has been set. +func (o *InlineResponse20016) HasHasMore() bool { + if o != nil && o.HasMore != nil { + return true + } - return o.HasMore + return false } -// SetHasMore sets field value +// SetHasMore gets a reference to the given bool and assigns it to the HasMore field. func (o *InlineResponse20016) SetHasMore(v bool) { - o.HasMore = v + o.HasMore = &v } // GetData returns the Data field value diff --git a/model_inline_response_200_17.go b/model_inline_response_200_17.go index 4694460b..1b385488 100644 --- a/model_inline_response_200_17.go +++ b/model_inline_response_200_17.go @@ -16,8 +16,8 @@ import ( // InlineResponse20017 struct for InlineResponse20017 type InlineResponse20017 struct { - HasMore bool `json:"hasMore"` - Data []CustomerProfile `json:"data"` + HasMore bool `json:"hasMore"` + Data []ApplicationCustomer `json:"data"` } // GetHasMore returns the HasMore field value @@ -36,9 +36,9 @@ func (o *InlineResponse20017) SetHasMore(v bool) { } // GetData returns the Data field value -func (o *InlineResponse20017) GetData() []CustomerProfile { +func (o *InlineResponse20017) GetData() []ApplicationCustomer { if o == nil { - var ret []CustomerProfile + var ret []ApplicationCustomer return ret } @@ -46,7 +46,7 @@ func (o *InlineResponse20017) GetData() []CustomerProfile { } // SetData sets field value -func (o *InlineResponse20017) SetData(v []CustomerProfile) { +func (o *InlineResponse20017) SetData(v []ApplicationCustomer) { o.Data = v } diff --git a/model_inline_response_200_18.go b/model_inline_response_200_18.go index c8b27d30..c0ca7b55 100644 --- a/model_inline_response_200_18.go +++ b/model_inline_response_200_18.go @@ -16,8 +16,8 @@ import ( // InlineResponse20018 struct for InlineResponse20018 type InlineResponse20018 struct { - HasMore bool `json:"hasMore"` - Data []CustomerActivityReport `json:"data"` + HasMore bool `json:"hasMore"` + Data []CustomerProfile `json:"data"` } // GetHasMore returns the HasMore field value @@ -36,9 +36,9 @@ func (o *InlineResponse20018) SetHasMore(v bool) { } // GetData returns the Data field value -func (o *InlineResponse20018) GetData() []CustomerActivityReport { +func (o *InlineResponse20018) GetData() []CustomerProfile { if o == nil { - var ret []CustomerActivityReport + var ret []CustomerProfile return ret } @@ -46,7 +46,7 @@ func (o *InlineResponse20018) GetData() []CustomerActivityReport { } // SetData sets field value -func (o *InlineResponse20018) SetData(v []CustomerActivityReport) { +func (o *InlineResponse20018) SetData(v []CustomerProfile) { o.Data = v } diff --git a/model_inline_response_200_19.go b/model_inline_response_200_19.go index 1b803ade..aad18fe0 100644 --- a/model_inline_response_200_19.go +++ b/model_inline_response_200_19.go @@ -16,47 +16,29 @@ import ( // InlineResponse20019 struct for InlineResponse20019 type InlineResponse20019 struct { - HasMore *bool `json:"hasMore,omitempty"` - Data []ApplicationSession `json:"data"` + HasMore bool `json:"hasMore"` + Data []CustomerActivityReport `json:"data"` } -// GetHasMore returns the HasMore field value if set, zero value otherwise. +// GetHasMore returns the HasMore field value func (o *InlineResponse20019) GetHasMore() bool { - if o == nil || o.HasMore == nil { + if o == nil { var ret bool return ret } - return *o.HasMore -} - -// GetHasMoreOk returns a tuple with the HasMore field value if set, zero value otherwise -// and a boolean to check if the value has been set. -func (o *InlineResponse20019) GetHasMoreOk() (bool, bool) { - if o == nil || o.HasMore == nil { - var ret bool - return ret, false - } - return *o.HasMore, true -} - -// HasHasMore returns a boolean if a field has been set. -func (o *InlineResponse20019) HasHasMore() bool { - if o != nil && o.HasMore != nil { - return true - } - return false + return o.HasMore } -// SetHasMore gets a reference to the given bool and assigns it to the HasMore field. +// SetHasMore sets field value func (o *InlineResponse20019) SetHasMore(v bool) { - o.HasMore = &v + o.HasMore = v } // GetData returns the Data field value -func (o *InlineResponse20019) GetData() []ApplicationSession { +func (o *InlineResponse20019) GetData() []CustomerActivityReport { if o == nil { - var ret []ApplicationSession + var ret []CustomerActivityReport return ret } @@ -64,7 +46,7 @@ func (o *InlineResponse20019) GetData() []ApplicationSession { } // SetData sets field value -func (o *InlineResponse20019) SetData(v []ApplicationSession) { +func (o *InlineResponse20019) SetData(v []CustomerActivityReport) { o.Data = v } diff --git a/model_inline_response_200_2.go b/model_inline_response_200_2.go index 1cdb6e52..0d0e5a66 100644 --- a/model_inline_response_200_2.go +++ b/model_inline_response_200_2.go @@ -16,8 +16,8 @@ import ( // InlineResponse2002 struct for InlineResponse2002 type InlineResponse2002 struct { - TotalResultSize int32 `json:"totalResultSize"` - Data []Campaign `json:"data"` + TotalResultSize int32 `json:"totalResultSize"` + Data []Application `json:"data"` } // GetTotalResultSize returns the TotalResultSize field value @@ -36,9 +36,9 @@ func (o *InlineResponse2002) SetTotalResultSize(v int32) { } // GetData returns the Data field value -func (o *InlineResponse2002) GetData() []Campaign { +func (o *InlineResponse2002) GetData() []Application { if o == nil { - var ret []Campaign + var ret []Application return ret } @@ -46,7 +46,7 @@ func (o *InlineResponse2002) GetData() []Campaign { } // SetData sets field value -func (o *InlineResponse2002) SetData(v []Campaign) { +func (o *InlineResponse2002) SetData(v []Application) { o.Data = v } diff --git a/model_inline_response_200_20.go b/model_inline_response_200_20.go index bbd09dfc..69cece0f 100644 --- a/model_inline_response_200_20.go +++ b/model_inline_response_200_20.go @@ -16,29 +16,47 @@ import ( // InlineResponse20020 struct for InlineResponse20020 type InlineResponse20020 struct { - HasMore bool `json:"hasMore"` - Data []ApplicationEvent `json:"data"` + HasMore *bool `json:"hasMore,omitempty"` + Data []ApplicationSession `json:"data"` } -// GetHasMore returns the HasMore field value +// GetHasMore returns the HasMore field value if set, zero value otherwise. func (o *InlineResponse20020) GetHasMore() bool { - if o == nil { + if o == nil || o.HasMore == nil { var ret bool return ret } + return *o.HasMore +} + +// GetHasMoreOk returns a tuple with the HasMore field value if set, zero value otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse20020) GetHasMoreOk() (bool, bool) { + if o == nil || o.HasMore == nil { + var ret bool + return ret, false + } + return *o.HasMore, true +} + +// HasHasMore returns a boolean if a field has been set. +func (o *InlineResponse20020) HasHasMore() bool { + if o != nil && o.HasMore != nil { + return true + } - return o.HasMore + return false } -// SetHasMore sets field value +// SetHasMore gets a reference to the given bool and assigns it to the HasMore field. func (o *InlineResponse20020) SetHasMore(v bool) { - o.HasMore = v + o.HasMore = &v } // GetData returns the Data field value -func (o *InlineResponse20020) GetData() []ApplicationEvent { +func (o *InlineResponse20020) GetData() []ApplicationSession { if o == nil { - var ret []ApplicationEvent + var ret []ApplicationSession return ret } @@ -46,7 +64,7 @@ func (o *InlineResponse20020) GetData() []ApplicationEvent { } // SetData sets field value -func (o *InlineResponse20020) SetData(v []ApplicationEvent) { +func (o *InlineResponse20020) SetData(v []ApplicationSession) { o.Data = v } diff --git a/model_inline_response_200_21.go b/model_inline_response_200_21.go index 274971a4..1a805bc8 100644 --- a/model_inline_response_200_21.go +++ b/model_inline_response_200_21.go @@ -16,29 +16,29 @@ import ( // InlineResponse20021 struct for InlineResponse20021 type InlineResponse20021 struct { - TotalResultSize int32 `json:"totalResultSize"` - Data []string `json:"data"` + HasMore bool `json:"hasMore"` + Data []ApplicationEvent `json:"data"` } -// GetTotalResultSize returns the TotalResultSize field value -func (o *InlineResponse20021) GetTotalResultSize() int32 { +// GetHasMore returns the HasMore field value +func (o *InlineResponse20021) GetHasMore() bool { if o == nil { - var ret int32 + var ret bool return ret } - return o.TotalResultSize + return o.HasMore } -// SetTotalResultSize sets field value -func (o *InlineResponse20021) SetTotalResultSize(v int32) { - o.TotalResultSize = v +// SetHasMore sets field value +func (o *InlineResponse20021) SetHasMore(v bool) { + o.HasMore = v } // GetData returns the Data field value -func (o *InlineResponse20021) GetData() []string { +func (o *InlineResponse20021) GetData() []ApplicationEvent { if o == nil { - var ret []string + var ret []ApplicationEvent return ret } @@ -46,7 +46,7 @@ func (o *InlineResponse20021) GetData() []string { } // SetData sets field value -func (o *InlineResponse20021) SetData(v []string) { +func (o *InlineResponse20021) SetData(v []ApplicationEvent) { o.Data = v } diff --git a/model_inline_response_200_22.go b/model_inline_response_200_22.go index d8197bcb..b84a427f 100644 --- a/model_inline_response_200_22.go +++ b/model_inline_response_200_22.go @@ -16,81 +16,29 @@ import ( // InlineResponse20022 struct for InlineResponse20022 type InlineResponse20022 struct { - HasMore *bool `json:"hasMore,omitempty"` - TotalResultSize *int32 `json:"totalResultSize,omitempty"` - Data []Audience `json:"data"` + TotalResultSize int32 `json:"totalResultSize"` + Data []string `json:"data"` } -// GetHasMore returns the HasMore field value if set, zero value otherwise. -func (o *InlineResponse20022) GetHasMore() bool { - if o == nil || o.HasMore == nil { - var ret bool - return ret - } - return *o.HasMore -} - -// GetHasMoreOk returns a tuple with the HasMore field value if set, zero value otherwise -// and a boolean to check if the value has been set. -func (o *InlineResponse20022) GetHasMoreOk() (bool, bool) { - if o == nil || o.HasMore == nil { - var ret bool - return ret, false - } - return *o.HasMore, true -} - -// HasHasMore returns a boolean if a field has been set. -func (o *InlineResponse20022) HasHasMore() bool { - if o != nil && o.HasMore != nil { - return true - } - - return false -} - -// SetHasMore gets a reference to the given bool and assigns it to the HasMore field. -func (o *InlineResponse20022) SetHasMore(v bool) { - o.HasMore = &v -} - -// GetTotalResultSize returns the TotalResultSize field value if set, zero value otherwise. +// GetTotalResultSize returns the TotalResultSize field value func (o *InlineResponse20022) GetTotalResultSize() int32 { - if o == nil || o.TotalResultSize == nil { + if o == nil { var ret int32 return ret } - return *o.TotalResultSize -} - -// GetTotalResultSizeOk returns a tuple with the TotalResultSize field value if set, zero value otherwise -// and a boolean to check if the value has been set. -func (o *InlineResponse20022) GetTotalResultSizeOk() (int32, bool) { - if o == nil || o.TotalResultSize == nil { - var ret int32 - return ret, false - } - return *o.TotalResultSize, true -} - -// HasTotalResultSize returns a boolean if a field has been set. -func (o *InlineResponse20022) HasTotalResultSize() bool { - if o != nil && o.TotalResultSize != nil { - return true - } - return false + return o.TotalResultSize } -// SetTotalResultSize gets a reference to the given int32 and assigns it to the TotalResultSize field. +// SetTotalResultSize sets field value func (o *InlineResponse20022) SetTotalResultSize(v int32) { - o.TotalResultSize = &v + o.TotalResultSize = v } // GetData returns the Data field value -func (o *InlineResponse20022) GetData() []Audience { +func (o *InlineResponse20022) GetData() []string { if o == nil { - var ret []Audience + var ret []string return ret } @@ -98,7 +46,7 @@ func (o *InlineResponse20022) GetData() []Audience { } // SetData sets field value -func (o *InlineResponse20022) SetData(v []Audience) { +func (o *InlineResponse20022) SetData(v []string) { o.Data = v } diff --git a/model_inline_response_200_23.go b/model_inline_response_200_23.go index be5e51e0..1b4369a3 100644 --- a/model_inline_response_200_23.go +++ b/model_inline_response_200_23.go @@ -16,45 +16,81 @@ import ( // InlineResponse20023 struct for InlineResponse20023 type InlineResponse20023 struct { - HasMore bool `json:"hasMore"` - TotalResultSize int32 `json:"totalResultSize"` - Data []ApplicationReferee `json:"data"` + HasMore *bool `json:"hasMore,omitempty"` + TotalResultSize *int32 `json:"totalResultSize,omitempty"` + Data []Audience `json:"data"` } -// GetHasMore returns the HasMore field value +// GetHasMore returns the HasMore field value if set, zero value otherwise. func (o *InlineResponse20023) GetHasMore() bool { - if o == nil { + if o == nil || o.HasMore == nil { var ret bool return ret } + return *o.HasMore +} + +// GetHasMoreOk returns a tuple with the HasMore field value if set, zero value otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse20023) GetHasMoreOk() (bool, bool) { + if o == nil || o.HasMore == nil { + var ret bool + return ret, false + } + return *o.HasMore, true +} + +// HasHasMore returns a boolean if a field has been set. +func (o *InlineResponse20023) HasHasMore() bool { + if o != nil && o.HasMore != nil { + return true + } - return o.HasMore + return false } -// SetHasMore sets field value +// SetHasMore gets a reference to the given bool and assigns it to the HasMore field. func (o *InlineResponse20023) SetHasMore(v bool) { - o.HasMore = v + o.HasMore = &v } -// GetTotalResultSize returns the TotalResultSize field value +// GetTotalResultSize returns the TotalResultSize field value if set, zero value otherwise. func (o *InlineResponse20023) GetTotalResultSize() int32 { - if o == nil { + if o == nil || o.TotalResultSize == nil { var ret int32 return ret } + return *o.TotalResultSize +} + +// GetTotalResultSizeOk returns a tuple with the TotalResultSize field value if set, zero value otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse20023) GetTotalResultSizeOk() (int32, bool) { + if o == nil || o.TotalResultSize == nil { + var ret int32 + return ret, false + } + return *o.TotalResultSize, true +} + +// HasTotalResultSize returns a boolean if a field has been set. +func (o *InlineResponse20023) HasTotalResultSize() bool { + if o != nil && o.TotalResultSize != nil { + return true + } - return o.TotalResultSize + return false } -// SetTotalResultSize sets field value +// SetTotalResultSize gets a reference to the given int32 and assigns it to the TotalResultSize field. func (o *InlineResponse20023) SetTotalResultSize(v int32) { - o.TotalResultSize = v + o.TotalResultSize = &v } // GetData returns the Data field value -func (o *InlineResponse20023) GetData() []ApplicationReferee { +func (o *InlineResponse20023) GetData() []Audience { if o == nil { - var ret []ApplicationReferee + var ret []Audience return ret } @@ -62,7 +98,7 @@ func (o *InlineResponse20023) GetData() []ApplicationReferee { } // SetData sets field value -func (o *InlineResponse20023) SetData(v []ApplicationReferee) { +func (o *InlineResponse20023) SetData(v []Audience) { o.Data = v } diff --git a/model_inline_response_200_24.go b/model_inline_response_200_24.go index cfb1f868..cd1c09d3 100644 --- a/model_inline_response_200_24.go +++ b/model_inline_response_200_24.go @@ -16,8 +16,24 @@ import ( // InlineResponse20024 struct for InlineResponse20024 type InlineResponse20024 struct { - TotalResultSize int32 `json:"totalResultSize"` - Data []Attribute `json:"data"` + HasMore bool `json:"hasMore"` + TotalResultSize int32 `json:"totalResultSize"` + Data []ApplicationReferee `json:"data"` +} + +// GetHasMore returns the HasMore field value +func (o *InlineResponse20024) GetHasMore() bool { + if o == nil { + var ret bool + return ret + } + + return o.HasMore +} + +// SetHasMore sets field value +func (o *InlineResponse20024) SetHasMore(v bool) { + o.HasMore = v } // GetTotalResultSize returns the TotalResultSize field value @@ -36,9 +52,9 @@ func (o *InlineResponse20024) SetTotalResultSize(v int32) { } // GetData returns the Data field value -func (o *InlineResponse20024) GetData() []Attribute { +func (o *InlineResponse20024) GetData() []ApplicationReferee { if o == nil { - var ret []Attribute + var ret []ApplicationReferee return ret } @@ -46,7 +62,7 @@ func (o *InlineResponse20024) GetData() []Attribute { } // SetData sets field value -func (o *InlineResponse20024) SetData(v []Attribute) { +func (o *InlineResponse20024) SetData(v []ApplicationReferee) { o.Data = v } diff --git a/model_inline_response_200_25.go b/model_inline_response_200_25.go index 2b726a57..01eed4e0 100644 --- a/model_inline_response_200_25.go +++ b/model_inline_response_200_25.go @@ -16,8 +16,8 @@ import ( // InlineResponse20025 struct for InlineResponse20025 type InlineResponse20025 struct { - TotalResultSize int32 `json:"totalResultSize"` - Data []AccountAdditionalCost `json:"data"` + TotalResultSize int32 `json:"totalResultSize"` + Data []Attribute `json:"data"` } // GetTotalResultSize returns the TotalResultSize field value @@ -36,9 +36,9 @@ func (o *InlineResponse20025) SetTotalResultSize(v int32) { } // GetData returns the Data field value -func (o *InlineResponse20025) GetData() []AccountAdditionalCost { +func (o *InlineResponse20025) GetData() []Attribute { if o == nil { - var ret []AccountAdditionalCost + var ret []Attribute return ret } @@ -46,7 +46,7 @@ func (o *InlineResponse20025) GetData() []AccountAdditionalCost { } // SetData sets field value -func (o *InlineResponse20025) SetData(v []AccountAdditionalCost) { +func (o *InlineResponse20025) SetData(v []Attribute) { o.Data = v } diff --git a/model_inline_response_200_26.go b/model_inline_response_200_26.go index cb61680b..3577784a 100644 --- a/model_inline_response_200_26.go +++ b/model_inline_response_200_26.go @@ -16,8 +16,8 @@ import ( // InlineResponse20026 struct for InlineResponse20026 type InlineResponse20026 struct { - TotalResultSize int32 `json:"totalResultSize"` - Data []Webhook `json:"data"` + TotalResultSize int32 `json:"totalResultSize"` + Data []AccountAdditionalCost `json:"data"` } // GetTotalResultSize returns the TotalResultSize field value @@ -36,9 +36,9 @@ func (o *InlineResponse20026) SetTotalResultSize(v int32) { } // GetData returns the Data field value -func (o *InlineResponse20026) GetData() []Webhook { +func (o *InlineResponse20026) GetData() []AccountAdditionalCost { if o == nil { - var ret []Webhook + var ret []AccountAdditionalCost return ret } @@ -46,7 +46,7 @@ func (o *InlineResponse20026) GetData() []Webhook { } // SetData sets field value -func (o *InlineResponse20026) SetData(v []Webhook) { +func (o *InlineResponse20026) SetData(v []AccountAdditionalCost) { o.Data = v } diff --git a/model_inline_response_200_27.go b/model_inline_response_200_27.go index f863526c..ec86a83b 100644 --- a/model_inline_response_200_27.go +++ b/model_inline_response_200_27.go @@ -16,8 +16,8 @@ import ( // InlineResponse20027 struct for InlineResponse20027 type InlineResponse20027 struct { - TotalResultSize int32 `json:"totalResultSize"` - Data []WebhookActivationLogEntry `json:"data"` + TotalResultSize int32 `json:"totalResultSize"` + Data []Webhook `json:"data"` } // GetTotalResultSize returns the TotalResultSize field value @@ -36,9 +36,9 @@ func (o *InlineResponse20027) SetTotalResultSize(v int32) { } // GetData returns the Data field value -func (o *InlineResponse20027) GetData() []WebhookActivationLogEntry { +func (o *InlineResponse20027) GetData() []Webhook { if o == nil { - var ret []WebhookActivationLogEntry + var ret []Webhook return ret } @@ -46,7 +46,7 @@ func (o *InlineResponse20027) GetData() []WebhookActivationLogEntry { } // SetData sets field value -func (o *InlineResponse20027) SetData(v []WebhookActivationLogEntry) { +func (o *InlineResponse20027) SetData(v []Webhook) { o.Data = v } diff --git a/model_inline_response_200_28.go b/model_inline_response_200_28.go index 2a8a7af7..4e3c2579 100644 --- a/model_inline_response_200_28.go +++ b/model_inline_response_200_28.go @@ -16,8 +16,8 @@ import ( // InlineResponse20028 struct for InlineResponse20028 type InlineResponse20028 struct { - TotalResultSize int32 `json:"totalResultSize"` - Data []WebhookLogEntry `json:"data"` + TotalResultSize int32 `json:"totalResultSize"` + Data []WebhookActivationLogEntry `json:"data"` } // GetTotalResultSize returns the TotalResultSize field value @@ -36,9 +36,9 @@ func (o *InlineResponse20028) SetTotalResultSize(v int32) { } // GetData returns the Data field value -func (o *InlineResponse20028) GetData() []WebhookLogEntry { +func (o *InlineResponse20028) GetData() []WebhookActivationLogEntry { if o == nil { - var ret []WebhookLogEntry + var ret []WebhookActivationLogEntry return ret } @@ -46,7 +46,7 @@ func (o *InlineResponse20028) GetData() []WebhookLogEntry { } // SetData sets field value -func (o *InlineResponse20028) SetData(v []WebhookLogEntry) { +func (o *InlineResponse20028) SetData(v []WebhookActivationLogEntry) { o.Data = v } diff --git a/model_inline_response_200_29.go b/model_inline_response_200_29.go index da067efe..fbbcbaa2 100644 --- a/model_inline_response_200_29.go +++ b/model_inline_response_200_29.go @@ -16,8 +16,8 @@ import ( // InlineResponse20029 struct for InlineResponse20029 type InlineResponse20029 struct { - TotalResultSize int32 `json:"totalResultSize"` - Data []EventType `json:"data"` + TotalResultSize int32 `json:"totalResultSize"` + Data []WebhookLogEntry `json:"data"` } // GetTotalResultSize returns the TotalResultSize field value @@ -36,9 +36,9 @@ func (o *InlineResponse20029) SetTotalResultSize(v int32) { } // GetData returns the Data field value -func (o *InlineResponse20029) GetData() []EventType { +func (o *InlineResponse20029) GetData() []WebhookLogEntry { if o == nil { - var ret []EventType + var ret []WebhookLogEntry return ret } @@ -46,7 +46,7 @@ func (o *InlineResponse20029) GetData() []EventType { } // SetData sets field value -func (o *InlineResponse20029) SetData(v []EventType) { +func (o *InlineResponse20029) SetData(v []WebhookLogEntry) { o.Data = v } diff --git a/model_inline_response_200_3.go b/model_inline_response_200_3.go index 09c72683..d032d85e 100644 --- a/model_inline_response_200_3.go +++ b/model_inline_response_200_3.go @@ -16,8 +16,8 @@ import ( // InlineResponse2003 struct for InlineResponse2003 type InlineResponse2003 struct { - TotalResultSize int32 `json:"totalResultSize"` - Data []NotificationWebhook `json:"data"` + TotalResultSize int32 `json:"totalResultSize"` + Data []Campaign `json:"data"` } // GetTotalResultSize returns the TotalResultSize field value @@ -36,9 +36,9 @@ func (o *InlineResponse2003) SetTotalResultSize(v int32) { } // GetData returns the Data field value -func (o *InlineResponse2003) GetData() []NotificationWebhook { +func (o *InlineResponse2003) GetData() []Campaign { if o == nil { - var ret []NotificationWebhook + var ret []Campaign return ret } @@ -46,7 +46,7 @@ func (o *InlineResponse2003) GetData() []NotificationWebhook { } // SetData sets field value -func (o *InlineResponse2003) SetData(v []NotificationWebhook) { +func (o *InlineResponse2003) SetData(v []Campaign) { o.Data = v } diff --git a/model_inline_response_200_30.go b/model_inline_response_200_30.go index 1ae9790f..8d086329 100644 --- a/model_inline_response_200_30.go +++ b/model_inline_response_200_30.go @@ -16,8 +16,8 @@ import ( // InlineResponse20030 struct for InlineResponse20030 type InlineResponse20030 struct { - TotalResultSize int32 `json:"totalResultSize"` - Data []User `json:"data"` + TotalResultSize int32 `json:"totalResultSize"` + Data []EventType `json:"data"` } // GetTotalResultSize returns the TotalResultSize field value @@ -36,9 +36,9 @@ func (o *InlineResponse20030) SetTotalResultSize(v int32) { } // GetData returns the Data field value -func (o *InlineResponse20030) GetData() []User { +func (o *InlineResponse20030) GetData() []EventType { if o == nil { - var ret []User + var ret []EventType return ret } @@ -46,7 +46,7 @@ func (o *InlineResponse20030) GetData() []User { } // SetData sets field value -func (o *InlineResponse20030) SetData(v []User) { +func (o *InlineResponse20030) SetData(v []EventType) { o.Data = v } diff --git a/model_inline_response_200_31.go b/model_inline_response_200_31.go index abf4237f..6daba7b5 100644 --- a/model_inline_response_200_31.go +++ b/model_inline_response_200_31.go @@ -16,81 +16,29 @@ import ( // InlineResponse20031 struct for InlineResponse20031 type InlineResponse20031 struct { - TotalResultSize *int32 `json:"totalResultSize,omitempty"` - HasMore *bool `json:"hasMore,omitempty"` - Data []Change `json:"data"` + TotalResultSize int32 `json:"totalResultSize"` + Data []User `json:"data"` } -// GetTotalResultSize returns the TotalResultSize field value if set, zero value otherwise. +// GetTotalResultSize returns the TotalResultSize field value func (o *InlineResponse20031) GetTotalResultSize() int32 { - if o == nil || o.TotalResultSize == nil { + if o == nil { var ret int32 return ret } - return *o.TotalResultSize -} -// GetTotalResultSizeOk returns a tuple with the TotalResultSize field value if set, zero value otherwise -// and a boolean to check if the value has been set. -func (o *InlineResponse20031) GetTotalResultSizeOk() (int32, bool) { - if o == nil || o.TotalResultSize == nil { - var ret int32 - return ret, false - } - return *o.TotalResultSize, true + return o.TotalResultSize } -// HasTotalResultSize returns a boolean if a field has been set. -func (o *InlineResponse20031) HasTotalResultSize() bool { - if o != nil && o.TotalResultSize != nil { - return true - } - - return false -} - -// SetTotalResultSize gets a reference to the given int32 and assigns it to the TotalResultSize field. +// SetTotalResultSize sets field value func (o *InlineResponse20031) SetTotalResultSize(v int32) { - o.TotalResultSize = &v -} - -// GetHasMore returns the HasMore field value if set, zero value otherwise. -func (o *InlineResponse20031) GetHasMore() bool { - if o == nil || o.HasMore == nil { - var ret bool - return ret - } - return *o.HasMore -} - -// GetHasMoreOk returns a tuple with the HasMore field value if set, zero value otherwise -// and a boolean to check if the value has been set. -func (o *InlineResponse20031) GetHasMoreOk() (bool, bool) { - if o == nil || o.HasMore == nil { - var ret bool - return ret, false - } - return *o.HasMore, true -} - -// HasHasMore returns a boolean if a field has been set. -func (o *InlineResponse20031) HasHasMore() bool { - if o != nil && o.HasMore != nil { - return true - } - - return false -} - -// SetHasMore gets a reference to the given bool and assigns it to the HasMore field. -func (o *InlineResponse20031) SetHasMore(v bool) { - o.HasMore = &v + o.TotalResultSize = v } // GetData returns the Data field value -func (o *InlineResponse20031) GetData() []Change { +func (o *InlineResponse20031) GetData() []User { if o == nil { - var ret []Change + var ret []User return ret } @@ -98,7 +46,7 @@ func (o *InlineResponse20031) GetData() []Change { } // SetData sets field value -func (o *InlineResponse20031) SetData(v []Change) { +func (o *InlineResponse20031) SetData(v []User) { o.Data = v } diff --git a/model_inline_response_200_32.go b/model_inline_response_200_32.go index 96a44a42..0296ac99 100644 --- a/model_inline_response_200_32.go +++ b/model_inline_response_200_32.go @@ -16,29 +16,81 @@ import ( // InlineResponse20032 struct for InlineResponse20032 type InlineResponse20032 struct { - TotalResultSize int32 `json:"totalResultSize"` - Data []Export `json:"data"` + TotalResultSize *int32 `json:"totalResultSize,omitempty"` + HasMore *bool `json:"hasMore,omitempty"` + Data []Change `json:"data"` } -// GetTotalResultSize returns the TotalResultSize field value +// GetTotalResultSize returns the TotalResultSize field value if set, zero value otherwise. func (o *InlineResponse20032) GetTotalResultSize() int32 { - if o == nil { + if o == nil || o.TotalResultSize == nil { var ret int32 return ret } + return *o.TotalResultSize +} - return o.TotalResultSize +// GetTotalResultSizeOk returns a tuple with the TotalResultSize field value if set, zero value otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse20032) GetTotalResultSizeOk() (int32, bool) { + if o == nil || o.TotalResultSize == nil { + var ret int32 + return ret, false + } + return *o.TotalResultSize, true } -// SetTotalResultSize sets field value +// HasTotalResultSize returns a boolean if a field has been set. +func (o *InlineResponse20032) HasTotalResultSize() bool { + if o != nil && o.TotalResultSize != nil { + return true + } + + return false +} + +// SetTotalResultSize gets a reference to the given int32 and assigns it to the TotalResultSize field. func (o *InlineResponse20032) SetTotalResultSize(v int32) { - o.TotalResultSize = v + o.TotalResultSize = &v +} + +// GetHasMore returns the HasMore field value if set, zero value otherwise. +func (o *InlineResponse20032) GetHasMore() bool { + if o == nil || o.HasMore == nil { + var ret bool + return ret + } + return *o.HasMore +} + +// GetHasMoreOk returns a tuple with the HasMore field value if set, zero value otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse20032) GetHasMoreOk() (bool, bool) { + if o == nil || o.HasMore == nil { + var ret bool + return ret, false + } + return *o.HasMore, true +} + +// HasHasMore returns a boolean if a field has been set. +func (o *InlineResponse20032) HasHasMore() bool { + if o != nil && o.HasMore != nil { + return true + } + + return false +} + +// SetHasMore gets a reference to the given bool and assigns it to the HasMore field. +func (o *InlineResponse20032) SetHasMore(v bool) { + o.HasMore = &v } // GetData returns the Data field value -func (o *InlineResponse20032) GetData() []Export { +func (o *InlineResponse20032) GetData() []Change { if o == nil { - var ret []Export + var ret []Change return ret } @@ -46,7 +98,7 @@ func (o *InlineResponse20032) GetData() []Export { } // SetData sets field value -func (o *InlineResponse20032) SetData(v []Export) { +func (o *InlineResponse20032) SetData(v []Change) { o.Data = v } diff --git a/model_inline_response_200_33.go b/model_inline_response_200_33.go index 70dbfbcf..4f4a668f 100644 --- a/model_inline_response_200_33.go +++ b/model_inline_response_200_33.go @@ -16,8 +16,8 @@ import ( // InlineResponse20033 struct for InlineResponse20033 type InlineResponse20033 struct { - TotalResultSize int32 `json:"totalResultSize"` - Data []Role `json:"data"` + TotalResultSize int32 `json:"totalResultSize"` + Data []Export `json:"data"` } // GetTotalResultSize returns the TotalResultSize field value @@ -36,9 +36,9 @@ func (o *InlineResponse20033) SetTotalResultSize(v int32) { } // GetData returns the Data field value -func (o *InlineResponse20033) GetData() []Role { +func (o *InlineResponse20033) GetData() []Export { if o == nil { - var ret []Role + var ret []Export return ret } @@ -46,7 +46,7 @@ func (o *InlineResponse20033) GetData() []Role { } // SetData sets field value -func (o *InlineResponse20033) SetData(v []Role) { +func (o *InlineResponse20033) SetData(v []Export) { o.Data = v } diff --git a/model_inline_response_200_34.go b/model_inline_response_200_34.go new file mode 100644 index 00000000..75a08b12 --- /dev/null +++ b/model_inline_response_200_34.go @@ -0,0 +1,74 @@ +/* + * 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 are reading this page at `https://mycompany.talon.one/docs/api/`, the URL for the [updateCustomerSession](https://docs.talon.one/integration-api/#operation/updateCustomerSessionV2) endpoint is `https://mycompany.talon.one/v2/customer_sessions/{Id}` + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package talon + +import ( + "bytes" + "encoding/json" +) + +// InlineResponse20034 struct for InlineResponse20034 +type InlineResponse20034 struct { + TotalResultSize int32 `json:"totalResultSize"` + Data []Role `json:"data"` +} + +// GetTotalResultSize returns the TotalResultSize field value +func (o *InlineResponse20034) GetTotalResultSize() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.TotalResultSize +} + +// SetTotalResultSize sets field value +func (o *InlineResponse20034) SetTotalResultSize(v int32) { + o.TotalResultSize = v +} + +// GetData returns the Data field value +func (o *InlineResponse20034) GetData() []Role { + if o == nil { + var ret []Role + return ret + } + + return o.Data +} + +// SetData sets field value +func (o *InlineResponse20034) SetData(v []Role) { + o.Data = v +} + +type NullableInlineResponse20034 struct { + Value InlineResponse20034 + ExplicitNull bool +} + +func (v NullableInlineResponse20034) MarshalJSON() ([]byte, error) { + switch { + case v.ExplicitNull: + return []byte("null"), nil + default: + return json.Marshal(v.Value) + } +} + +func (v *NullableInlineResponse20034) UnmarshalJSON(src []byte) error { + if bytes.Equal(src, []byte("null")) { + v.ExplicitNull = true + return nil + } + + return json.Unmarshal(src, &v.Value) +} diff --git a/model_inline_response_200_4.go b/model_inline_response_200_4.go index 9bb88055..f8cd6f58 100644 --- a/model_inline_response_200_4.go +++ b/model_inline_response_200_4.go @@ -16,8 +16,8 @@ import ( // InlineResponse2004 struct for InlineResponse2004 type InlineResponse2004 struct { - TotalResultSize int32 `json:"totalResultSize"` - Data []Ruleset `json:"data"` + TotalResultSize int32 `json:"totalResultSize"` + Data []NotificationWebhook `json:"data"` } // GetTotalResultSize returns the TotalResultSize field value @@ -36,9 +36,9 @@ func (o *InlineResponse2004) SetTotalResultSize(v int32) { } // GetData returns the Data field value -func (o *InlineResponse2004) GetData() []Ruleset { +func (o *InlineResponse2004) GetData() []NotificationWebhook { if o == nil { - var ret []Ruleset + var ret []NotificationWebhook return ret } @@ -46,7 +46,7 @@ func (o *InlineResponse2004) GetData() []Ruleset { } // SetData sets field value -func (o *InlineResponse2004) SetData(v []Ruleset) { +func (o *InlineResponse2004) SetData(v []NotificationWebhook) { o.Data = v } diff --git a/model_inline_response_200_5.go b/model_inline_response_200_5.go index 61480ede..990ae920 100644 --- a/model_inline_response_200_5.go +++ b/model_inline_response_200_5.go @@ -16,8 +16,8 @@ import ( // InlineResponse2005 struct for InlineResponse2005 type InlineResponse2005 struct { - TotalResultSize int32 `json:"totalResultSize"` - Data []Coupon `json:"data"` + TotalResultSize int32 `json:"totalResultSize"` + Data []Ruleset `json:"data"` } // GetTotalResultSize returns the TotalResultSize field value @@ -36,9 +36,9 @@ func (o *InlineResponse2005) SetTotalResultSize(v int32) { } // GetData returns the Data field value -func (o *InlineResponse2005) GetData() []Coupon { +func (o *InlineResponse2005) GetData() []Ruleset { if o == nil { - var ret []Coupon + var ret []Ruleset return ret } @@ -46,7 +46,7 @@ func (o *InlineResponse2005) GetData() []Coupon { } // SetData sets field value -func (o *InlineResponse2005) SetData(v []Coupon) { +func (o *InlineResponse2005) SetData(v []Ruleset) { o.Data = v } diff --git a/model_inline_response_200_6.go b/model_inline_response_200_6.go index 42ddbd44..521c6430 100644 --- a/model_inline_response_200_6.go +++ b/model_inline_response_200_6.go @@ -16,23 +16,23 @@ import ( // InlineResponse2006 struct for InlineResponse2006 type InlineResponse2006 struct { - HasMore bool `json:"hasMore"` - Data []Coupon `json:"data"` + TotalResultSize int32 `json:"totalResultSize"` + Data []Coupon `json:"data"` } -// GetHasMore returns the HasMore field value -func (o *InlineResponse2006) GetHasMore() bool { +// GetTotalResultSize returns the TotalResultSize field value +func (o *InlineResponse2006) GetTotalResultSize() int32 { if o == nil { - var ret bool + var ret int32 return ret } - return o.HasMore + return o.TotalResultSize } -// SetHasMore sets field value -func (o *InlineResponse2006) SetHasMore(v bool) { - o.HasMore = v +// SetTotalResultSize sets field value +func (o *InlineResponse2006) SetTotalResultSize(v int32) { + o.TotalResultSize = v } // GetData returns the Data field value diff --git a/model_inline_response_200_7.go b/model_inline_response_200_7.go index ad515fed..4e0dc18e 100644 --- a/model_inline_response_200_7.go +++ b/model_inline_response_200_7.go @@ -16,8 +16,8 @@ import ( // InlineResponse2007 struct for InlineResponse2007 type InlineResponse2007 struct { - HasMore bool `json:"hasMore"` - Data []Referral `json:"data"` + HasMore bool `json:"hasMore"` + Data []Coupon `json:"data"` } // GetHasMore returns the HasMore field value @@ -36,9 +36,9 @@ func (o *InlineResponse2007) SetHasMore(v bool) { } // GetData returns the Data field value -func (o *InlineResponse2007) GetData() []Referral { +func (o *InlineResponse2007) GetData() []Coupon { if o == nil { - var ret []Referral + var ret []Coupon return ret } @@ -46,7 +46,7 @@ func (o *InlineResponse2007) GetData() []Referral { } // SetData sets field value -func (o *InlineResponse2007) SetData(v []Referral) { +func (o *InlineResponse2007) SetData(v []Coupon) { o.Data = v } diff --git a/model_inline_response_200_8.go b/model_inline_response_200_8.go index 26d8985c..b829bd42 100644 --- a/model_inline_response_200_8.go +++ b/model_inline_response_200_8.go @@ -16,29 +16,29 @@ import ( // InlineResponse2008 struct for InlineResponse2008 type InlineResponse2008 struct { - TotalResultSize int32 `json:"totalResultSize"` - Data []LoyaltyProgram `json:"data"` + HasMore bool `json:"hasMore"` + Data []Referral `json:"data"` } -// GetTotalResultSize returns the TotalResultSize field value -func (o *InlineResponse2008) GetTotalResultSize() int32 { +// GetHasMore returns the HasMore field value +func (o *InlineResponse2008) GetHasMore() bool { if o == nil { - var ret int32 + var ret bool return ret } - return o.TotalResultSize + return o.HasMore } -// SetTotalResultSize sets field value -func (o *InlineResponse2008) SetTotalResultSize(v int32) { - o.TotalResultSize = v +// SetHasMore sets field value +func (o *InlineResponse2008) SetHasMore(v bool) { + o.HasMore = v } // GetData returns the Data field value -func (o *InlineResponse2008) GetData() []LoyaltyProgram { +func (o *InlineResponse2008) GetData() []Referral { if o == nil { - var ret []LoyaltyProgram + var ret []Referral return ret } @@ -46,7 +46,7 @@ func (o *InlineResponse2008) GetData() []LoyaltyProgram { } // SetData sets field value -func (o *InlineResponse2008) SetData(v []LoyaltyProgram) { +func (o *InlineResponse2008) SetData(v []Referral) { o.Data = v } diff --git a/model_inline_response_200_9.go b/model_inline_response_200_9.go index e3ec8663..09be024d 100644 --- a/model_inline_response_200_9.go +++ b/model_inline_response_200_9.go @@ -16,81 +16,29 @@ import ( // InlineResponse2009 struct for InlineResponse2009 type InlineResponse2009 struct { - HasMore *bool `json:"hasMore,omitempty"` - TotalResultSize *int32 `json:"totalResultSize,omitempty"` - Data []CollectionWithoutPayload `json:"data"` + TotalResultSize int32 `json:"totalResultSize"` + Data []LoyaltyProgram `json:"data"` } -// GetHasMore returns the HasMore field value if set, zero value otherwise. -func (o *InlineResponse2009) GetHasMore() bool { - if o == nil || o.HasMore == nil { - var ret bool - return ret - } - return *o.HasMore -} - -// GetHasMoreOk returns a tuple with the HasMore field value if set, zero value otherwise -// and a boolean to check if the value has been set. -func (o *InlineResponse2009) GetHasMoreOk() (bool, bool) { - if o == nil || o.HasMore == nil { - var ret bool - return ret, false - } - return *o.HasMore, true -} - -// HasHasMore returns a boolean if a field has been set. -func (o *InlineResponse2009) HasHasMore() bool { - if o != nil && o.HasMore != nil { - return true - } - - return false -} - -// SetHasMore gets a reference to the given bool and assigns it to the HasMore field. -func (o *InlineResponse2009) SetHasMore(v bool) { - o.HasMore = &v -} - -// GetTotalResultSize returns the TotalResultSize field value if set, zero value otherwise. +// GetTotalResultSize returns the TotalResultSize field value func (o *InlineResponse2009) GetTotalResultSize() int32 { - if o == nil || o.TotalResultSize == nil { + if o == nil { var ret int32 return ret } - return *o.TotalResultSize -} - -// GetTotalResultSizeOk returns a tuple with the TotalResultSize field value if set, zero value otherwise -// and a boolean to check if the value has been set. -func (o *InlineResponse2009) GetTotalResultSizeOk() (int32, bool) { - if o == nil || o.TotalResultSize == nil { - var ret int32 - return ret, false - } - return *o.TotalResultSize, true -} - -// HasTotalResultSize returns a boolean if a field has been set. -func (o *InlineResponse2009) HasTotalResultSize() bool { - if o != nil && o.TotalResultSize != nil { - return true - } - return false + return o.TotalResultSize } -// SetTotalResultSize gets a reference to the given int32 and assigns it to the TotalResultSize field. +// SetTotalResultSize sets field value func (o *InlineResponse2009) SetTotalResultSize(v int32) { - o.TotalResultSize = &v + o.TotalResultSize = v } // GetData returns the Data field value -func (o *InlineResponse2009) GetData() []CollectionWithoutPayload { +func (o *InlineResponse2009) GetData() []LoyaltyProgram { if o == nil { - var ret []CollectionWithoutPayload + var ret []LoyaltyProgram return ret } @@ -98,7 +46,7 @@ func (o *InlineResponse2009) GetData() []CollectionWithoutPayload { } // SetData sets field value -func (o *InlineResponse2009) SetData(v []CollectionWithoutPayload) { +func (o *InlineResponse2009) SetData(v []LoyaltyProgram) { o.Data = v }