@wix/auto_sdk_payments_payment-acceptance-configurations 1.0.32 → 1.0.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -53,13 +53,13 @@ interface PaymentAcceptanceRule {
53
53
  /** Merchant enabled */
54
54
  merchantEnabled?: boolean;
55
55
  }
56
- interface Brands {
56
+ interface PaymentBrands {
57
57
  /**
58
- * Brand ids
58
+ * Payment brand ids
59
59
  * @maxSize 200
60
60
  * @format GUID
61
61
  */
62
- brandIds?: string[];
62
+ paymentBrandIds?: string[];
63
63
  }
64
64
  interface Countries {
65
65
  /**
@@ -77,11 +77,11 @@ interface Currencies {
77
77
  */
78
78
  currencyCodes?: string[];
79
79
  }
80
- interface Restrictions extends RestrictionsBrandsOneOf, RestrictionsCountriesOneOf, RestrictionsCurrenciesOneOf {
81
- /** Allowed brands */
82
- allowedBrands?: Brands;
83
- /** Prohibited brands */
84
- prohibitedBrands?: Brands;
80
+ interface Restrictions extends RestrictionsPaymentBrandsOneOf, RestrictionsCountriesOneOf, RestrictionsCurrenciesOneOf {
81
+ /** Allowed payment brands */
82
+ allowedPaymentBrands?: PaymentBrands;
83
+ /** Prohibited payment brands */
84
+ prohibitedPaymentBrands?: PaymentBrands;
85
85
  /** Allowed countries */
86
86
  allowedCountries?: Countries;
87
87
  /** Prohibited countries */
@@ -92,11 +92,11 @@ interface Restrictions extends RestrictionsBrandsOneOf, RestrictionsCountriesOne
92
92
  prohibitedCurrencies?: Currencies;
93
93
  }
94
94
  /** @oneof */
95
- interface RestrictionsBrandsOneOf {
96
- /** Allowed brands */
97
- allowedBrands?: Brands;
98
- /** Prohibited brands */
99
- prohibitedBrands?: Brands;
95
+ interface RestrictionsPaymentBrandsOneOf {
96
+ /** Allowed payment brands */
97
+ allowedPaymentBrands?: PaymentBrands;
98
+ /** Prohibited payment brands */
99
+ prohibitedPaymentBrands?: PaymentBrands;
100
100
  }
101
101
  /** @oneof */
102
102
  interface RestrictionsCountriesOneOf {
@@ -1080,4 +1080,4 @@ interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions {
1080
1080
  unassignTags?: Tags;
1081
1081
  }
1082
1082
 
1083
- export { type ActionEvent, type ApplicationError, type Asset, type Brands, type BulkActionMetadata, type BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions, type BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest, type BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse, type BulkUpdatePaymentAcceptanceConfigurationTagsOptions, type BulkUpdatePaymentAcceptanceConfigurationTagsRequest, type BulkUpdatePaymentAcceptanceConfigurationTagsResponse, type BulkUpdatePaymentAcceptanceConfigurationTagsResult, type Countries, type CreatePaymentAcceptanceConfigurationRequest, type CreatePaymentAcceptanceConfigurationResponse, type Currencies, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DeleteContext, type DeletePaymentAcceptanceConfigurationRequest, type DeletePaymentAcceptanceConfigurationResponse, DeleteStatus, type DeleteStatusWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type ExtendedFields, type GetPaymentAcceptanceConfigurationRequest, type GetPaymentAcceptanceConfigurationResponse, type IdentificationData, type IdentificationDataIdOneOf, type ItemMetadata, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type OdeditorAssigned, type OdeditorUnassigned, type PaymentAcceptanceConfiguration, type PaymentAcceptanceConfigurationsQueryBuilder, type PaymentAcceptanceConfigurationsQueryResult, type PaymentAcceptanceRule, type PicassoAssigned, type PicassoUnassigned, type QueryPaymentAcceptanceConfigurationsRequest, type QueryPaymentAcceptanceConfigurationsResponse, type RestoreInfo, type Restrictions, type RestrictionsBrandsOneOf, type RestrictionsCountriesOneOf, type RestrictionsCurrenciesOneOf, type ServiceProvisioned, type ServiceRemoved, type SiteCreated, SiteCreatedContext, type SiteCreatedContextWithLiterals, type SiteDeleted, type SiteHardDeleted, type SiteMarkedAsTemplate, type SiteMarkedAsWixSite, type SitePublished, type SitePurgedExternally, type SiteRenamed, type SiteTransferred, type SiteUndeleted, type SiteUnpublished, type SiteUrlChanged, SortOrder, type SortOrderWithLiterals, type Sorting, State, type StateWithLiterals, type StudioAssigned, type StudioUnassigned, type TagList, type Tags, type UpdatePaymentAcceptanceConfiguration, type UpdatePaymentAcceptanceConfigurationRequest, type UpdatePaymentAcceptanceConfigurationResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals };
1083
+ export { type ActionEvent, type ApplicationError, type Asset, type BulkActionMetadata, type BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions, type BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest, type BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse, type BulkUpdatePaymentAcceptanceConfigurationTagsOptions, type BulkUpdatePaymentAcceptanceConfigurationTagsRequest, type BulkUpdatePaymentAcceptanceConfigurationTagsResponse, type BulkUpdatePaymentAcceptanceConfigurationTagsResult, type Countries, type CreatePaymentAcceptanceConfigurationRequest, type CreatePaymentAcceptanceConfigurationResponse, type Currencies, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DeleteContext, type DeletePaymentAcceptanceConfigurationRequest, type DeletePaymentAcceptanceConfigurationResponse, DeleteStatus, type DeleteStatusWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type ExtendedFields, type GetPaymentAcceptanceConfigurationRequest, type GetPaymentAcceptanceConfigurationResponse, type IdentificationData, type IdentificationDataIdOneOf, type ItemMetadata, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type OdeditorAssigned, type OdeditorUnassigned, type PaymentAcceptanceConfiguration, type PaymentAcceptanceConfigurationsQueryBuilder, type PaymentAcceptanceConfigurationsQueryResult, type PaymentAcceptanceRule, type PaymentBrands, type PicassoAssigned, type PicassoUnassigned, type QueryPaymentAcceptanceConfigurationsRequest, type QueryPaymentAcceptanceConfigurationsResponse, type RestoreInfo, type Restrictions, type RestrictionsCountriesOneOf, type RestrictionsCurrenciesOneOf, type RestrictionsPaymentBrandsOneOf, type ServiceProvisioned, type ServiceRemoved, type SiteCreated, SiteCreatedContext, type SiteCreatedContextWithLiterals, type SiteDeleted, type SiteHardDeleted, type SiteMarkedAsTemplate, type SiteMarkedAsWixSite, type SitePublished, type SitePurgedExternally, type SiteRenamed, type SiteTransferred, type SiteUndeleted, type SiteUnpublished, type SiteUrlChanged, SortOrder, type SortOrderWithLiterals, type Sorting, State, type StateWithLiterals, type StudioAssigned, type StudioUnassigned, type TagList, type Tags, type UpdatePaymentAcceptanceConfiguration, type UpdatePaymentAcceptanceConfigurationRequest, type UpdatePaymentAcceptanceConfigurationResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals };
@@ -100,6 +100,9 @@ function createPaymentAcceptanceConfiguration(payload) {
100
100
  method: "POST",
101
101
  methodFqn: "wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.CreatePaymentAcceptanceConfiguration",
102
102
  packageName: PACKAGE_NAME,
103
+ migrationOptions: {
104
+ optInTransformResponse: true
105
+ },
103
106
  url: resolveWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationServiceUrl(
104
107
  {
105
108
  protoPath: "/v1/payment-acceptance-configurations",
@@ -129,6 +132,9 @@ function getPaymentAcceptanceConfiguration(payload) {
129
132
  method: "GET",
130
133
  methodFqn: "wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.GetPaymentAcceptanceConfiguration",
131
134
  packageName: PACKAGE_NAME,
135
+ migrationOptions: {
136
+ optInTransformResponse: true
137
+ },
132
138
  url: resolveWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationServiceUrl(
133
139
  {
134
140
  protoPath: "/v1/payment-acceptance-configurations/{paymentAcceptanceConfigurationId}",
@@ -171,6 +177,9 @@ function updatePaymentAcceptanceConfiguration(payload) {
171
177
  method: "PATCH",
172
178
  methodFqn: "wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.UpdatePaymentAcceptanceConfiguration",
173
179
  packageName: PACKAGE_NAME,
180
+ migrationOptions: {
181
+ optInTransformResponse: true
182
+ },
174
183
  url: resolveWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationServiceUrl(
175
184
  {
176
185
  protoPath: "/v1/payment-acceptance-configurations/{paymentAcceptanceConfiguration.id}",
@@ -200,6 +209,9 @@ function deletePaymentAcceptanceConfiguration(payload) {
200
209
  method: "DELETE",
201
210
  methodFqn: "wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.DeletePaymentAcceptanceConfiguration",
202
211
  packageName: PACKAGE_NAME,
212
+ migrationOptions: {
213
+ optInTransformResponse: true
214
+ },
203
215
  url: resolveWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationServiceUrl(
204
216
  {
205
217
  protoPath: "/v1/payment-acceptance-configurations/{paymentAcceptanceConfigurationId}",
@@ -220,6 +232,9 @@ function queryPaymentAcceptanceConfigurations(payload) {
220
232
  method: "GET",
221
233
  methodFqn: "wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.QueryPaymentAcceptanceConfigurations",
222
234
  packageName: PACKAGE_NAME,
235
+ migrationOptions: {
236
+ optInTransformResponse: true
237
+ },
223
238
  url: resolveWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationServiceUrl(
224
239
  {
225
240
  protoPath: "/v1/payment-acceptance-configurations/query",
@@ -262,6 +277,9 @@ function bulkUpdatePaymentAcceptanceConfigurationTags(payload) {
262
277
  method: "POST",
263
278
  methodFqn: "wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.BulkUpdatePaymentAcceptanceConfigurationTags",
264
279
  packageName: PACKAGE_NAME,
280
+ migrationOptions: {
281
+ optInTransformResponse: true
282
+ },
265
283
  url: resolveWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationServiceUrl(
266
284
  {
267
285
  protoPath: "/v1/bulk/payment-acceptance-configurations/update-tags",
@@ -284,6 +302,9 @@ function bulkUpdatePaymentAcceptanceConfigurationTagsByFilter(payload) {
284
302
  method: "POST",
285
303
  methodFqn: "wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.BulkUpdatePaymentAcceptanceConfigurationTagsByFilter",
286
304
  packageName: PACKAGE_NAME,
305
+ migrationOptions: {
306
+ optInTransformResponse: true
307
+ },
287
308
  url: resolveWixPaymentsPaymentAcceptanceConfigurationsV1PaymentAcceptanceConfigurationServiceUrl(
288
309
  {
289
310
  protoPath: "/v1/bulk/payment-acceptance-configurations/update-tags-by-filter",