@wix/auto_sdk_payments_site-payment-method-types 1.0.2 → 1.0.3

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.
Files changed (21) hide show
  1. package/build/cjs/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.types.d.ts +71 -10
  2. package/build/cjs/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.types.js.map +1 -1
  3. package/build/cjs/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.d.ts +79 -9
  4. package/build/cjs/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js +4 -0
  5. package/build/cjs/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js.map +1 -1
  6. package/build/es/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.types.d.ts +71 -10
  7. package/build/es/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.types.js.map +1 -1
  8. package/build/es/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.d.ts +79 -9
  9. package/build/es/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js +4 -0
  10. package/build/es/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js.map +1 -1
  11. package/build/internal/cjs/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.types.d.ts +71 -10
  12. package/build/internal/cjs/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.types.js.map +1 -1
  13. package/build/internal/cjs/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.d.ts +79 -9
  14. package/build/internal/cjs/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js +4 -0
  15. package/build/internal/cjs/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js.map +1 -1
  16. package/build/internal/es/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.types.d.ts +71 -10
  17. package/build/internal/es/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.types.js.map +1 -1
  18. package/build/internal/es/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.d.ts +79 -9
  19. package/build/internal/es/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js +4 -0
  20. package/build/internal/es/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js.map +1 -1
  21. package/package.json +2 -2
@@ -1,8 +1,17 @@
1
1
  /** A way to pay online or offline for goods or services offered by a specific site. */
2
2
  export interface SitePaymentMethodType {
3
- /** Payment method type ID. */
3
+ /**
4
+ * Payment method type ID.
5
+ * @format GUID
6
+ * @immutable
7
+ */
4
8
  id?: string;
5
- /** Value used buy some legacy APIs to refer to this payment method type. Can be empty. */
9
+ /**
10
+ * Value used buy some legacy APIs to refer to this payment method type. Can be empty.
11
+ * @minLength 1
12
+ * @maxLength 50
13
+ * @immutable
14
+ */
6
15
  legacyId?: string | null;
7
16
  /**
8
17
  * Payment method type display name, based on locale.
@@ -11,6 +20,8 @@ export interface SitePaymentMethodType {
11
20
  *
12
21
  * Define your locale by specifying a `country` and `language` when calling `Get Payment Method Type` or `List Payment Method Types`.
13
22
  * For more detailed information, see the descriptions for the `country` and `language` parameters for those methods.
23
+ * @minLength 1
24
+ * @maxLength 100
14
25
  */
15
26
  displayName?: string | null;
16
27
  /**
@@ -20,6 +31,8 @@ export interface SitePaymentMethodType {
20
31
  *
21
32
  * Define your locale by specifying a `country` and `language` when calling `Get Payment Method Type` or `List Payment Method Types`.
22
33
  * For more detailed information, see the descriptions for the `country` and `language` parameters for those methods.
34
+ * @minLength 1
35
+ * @maxLength 1000
23
36
  */
24
37
  description?: string | null;
25
38
  /** Features supported for this payment method type. */
@@ -42,6 +55,8 @@ export interface SitePaymentMethodType {
42
55
  * Time (in seconds after which a transaction is marked as expired if it is not completed.
43
56
  *
44
57
  * Max: `15552000` (180 days)
58
+ * @min 1
59
+ * @max 15552000
45
60
  */
46
61
  transactionExpirationDelayInSeconds?: number | null;
47
62
  /** Indicates that payment method type is restricted for the provided currency. */
@@ -110,21 +125,38 @@ export interface Disputes {
110
125
  export interface Installments {
111
126
  /** Whether installments are supported for this payment method type. */
112
127
  supported?: boolean;
113
- /** Countries for which installments can be enabled. */
128
+ /**
129
+ * Countries for which installments can be enabled.
130
+ * @format COUNTRY
131
+ * @minSize 1
132
+ * @maxSize 200
133
+ */
114
134
  allowedCountries?: string[];
115
- /** Max number of installments that can be configured by a provider. */
135
+ /**
136
+ * Max number of installments that can be configured by a provider.
137
+ * @min 2
138
+ * @max 36
139
+ */
116
140
  maxInstallmentLimit?: number | null;
117
141
  }
118
142
  export interface Refunds {
119
143
  /** Whether refunds are supported for this payment method type. */
120
144
  supported?: boolean;
121
- /** Maximum period in which payments made using this payment method type can be refunded. */
145
+ /**
146
+ * Maximum period in which payments made using this payment method type can be refunded.
147
+ * @min 1
148
+ * @max 365
149
+ */
122
150
  maxRefundabilityPeriodInDays?: number | null;
123
151
  }
124
152
  export interface AuthCapture {
125
153
  /** Whether the authorize and capture flow is supported for this payment method type. */
126
154
  supported?: boolean;
127
- /** Period to wait for the auth capture to be completed before canceling the transaction. */
155
+ /**
156
+ * Period to wait for the auth capture to be completed before canceling the transaction.
157
+ * @min 1
158
+ * @max 365
159
+ */
128
160
  maxCapturePeriodInDays?: number | null;
129
161
  }
130
162
  export interface RegularTokenization {
@@ -165,11 +197,14 @@ export interface MerchantFlow {
165
197
  *
166
198
  * Define a locale by specifying a `country` and `language` when calling `Get Payment Method Type` or `List Payment Method Types`.
167
199
  * For more detailed information, see the method descriptions.
200
+ * @maxSize 200
168
201
  */
169
202
  icons?: Icon[];
170
203
  /**
171
204
  * Priority given to this payment method type in the list shown to the merchant.
172
205
  * A lower value relative to other payment method types means a higher position on the list.
206
+ * @min 1
207
+ * @max 10000
173
208
  */
174
209
  priority?: number;
175
210
  /** Whether the payment method type is promoted. Promoted payment method types are displayed more prominently on the Accept Payments page. */
@@ -189,15 +224,23 @@ export interface Icon {
189
224
  /**
190
225
  * Icon tag. Payment method types can have multiple icons, and tags are used to differentiate between them.
191
226
  * For example, the UI design for multiple payment method types is upgraded, and now they each have an old icon tagged "v1" and a new icon tagged "v2". Developers can then easily choose to display all the original "v1" style of icons, or all the new "v2" style.
227
+ * @minLength 1
228
+ * @maxLength 100
192
229
  */
193
230
  tag?: string | null;
194
231
  /** Icon image format. */
195
232
  format?: Format;
196
233
  }
197
234
  export interface Image {
198
- /** WixMedia image ID. */
235
+ /**
236
+ * WixMedia image ID.
237
+ * @format GUID
238
+ */
199
239
  id?: string;
200
- /** Image URL. */
240
+ /**
241
+ * Image URL.
242
+ * @format WEB_URL
243
+ */
201
244
  url?: string;
202
245
  /**
203
246
  * Original image height.
@@ -221,11 +264,14 @@ export interface BuyerFlow {
221
264
  *
222
265
  * Define a locale by specifying a `country` and `language` when calling `Get Payment Method Type` or `List Payment Method Types`.
223
266
  * For more detailed information, see the method descriptions.
267
+ * @maxSize 200
224
268
  */
225
269
  icons?: Icon[];
226
270
  /**
227
271
  * The priority given to this payment method type in the list of payment method types shown to the buyer.
228
272
  * A lower value relative to other payment method types means a higher position on the list.
273
+ * @min 1
274
+ * @max 10000
229
275
  */
230
276
  priority?: number;
231
277
  /** Whether the merchant cannot choose to accept payments from this payment method type. */
@@ -235,28 +281,35 @@ export interface BuyerFlow {
235
281
  /**
236
282
  * If set, indicates the minimum payment amount that can be made using this payment method type.
237
283
  * If no currency provided, this field will not be set, as the value depends on the currency.
284
+ * @decimalValue options { maxScale:8, gte:0.00 }
238
285
  */
239
286
  minPaymentAmount?: string | null;
240
287
  }
241
288
  export interface GetSitePaymentMethodTypeRequest {
242
- /** Payment method type ID. */
289
+ /**
290
+ * Payment method type ID.
291
+ * @format GUID
292
+ */
243
293
  sitePaymentMethodTypeId: string;
244
294
  /**
245
295
  * Language used to determine localized values for fields in the response.
246
296
  *
247
297
  * Must be a 2-letter language code in [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
298
+ * @format LANGUAGE
248
299
  */
249
300
  language?: string | null;
250
301
  /**
251
302
  * Country used to determine localized values for fields in the response.
252
303
  *
253
304
  * Must be a 2-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#officially_assigned_code_elements) format.
305
+ * @format COUNTRY
254
306
  */
255
307
  country?: string | null;
256
308
  /**
257
309
  * Currency used to determine localized values for fields in the response.
258
310
  *
259
311
  * Must be a 3-letter currency code in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) format.
312
+ * @format CURRENCY
260
313
  */
261
314
  currency?: string | null;
262
315
  }
@@ -265,24 +318,32 @@ export interface GetSitePaymentMethodTypeResponse {
265
318
  sitePaymentMethodType?: SitePaymentMethodType;
266
319
  }
267
320
  export interface ListSitePaymentMethodTypesRequest {
268
- /** IDs or legacy IDs of payment method types to retrieve. */
321
+ /**
322
+ * IDs or legacy IDs of payment method types to retrieve.
323
+ * @maxSize 250
324
+ * @minLength 1
325
+ * @maxLength 50
326
+ */
269
327
  ids?: string[];
270
328
  /**
271
329
  * Language used to determine localized values for fields in the response.
272
330
  *
273
331
  * Must be a 2-letter language code in [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
332
+ * @format LANGUAGE
274
333
  */
275
334
  language?: string | null;
276
335
  /**
277
336
  * Country used to filter payment method types and determine localized values for fields in the response.
278
337
  *
279
338
  * Must be a 2-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#officially_assigned_code_elements) format.
339
+ * @format COUNTRY
280
340
  */
281
341
  country?: string | null;
282
342
  /**
283
343
  * Currency used to determine localized values for fields in the response.
284
344
  *
285
345
  * Must be a 3-letter currency code in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) format.
346
+ * @format CURRENCY
286
347
  */
287
348
  currency?: string | null;
288
349
  }
@@ -1 +1 @@
1
- {"version":3,"file":"payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.types.js","sourceRoot":"","sources":["../../../src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.types.ts"],"names":[],"mappings":";;;AA0OA,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,qBAAW,CAAA;IACX,qBAAW,CAAA;AACb,CAAC,EAJW,MAAM,sBAAN,MAAM,QAIjB"}
1
+ {"version":3,"file":"payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.types.js","sourceRoot":"","sources":["../../../src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.types.ts"],"names":[],"mappings":";;;AAqRA,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,qBAAW,CAAA;IACX,qBAAW,CAAA;AACb,CAAC,EAJW,MAAM,sBAAN,MAAM,QAIjB"}
@@ -1,8 +1,17 @@
1
1
  /** A way to pay online or offline for goods or services offered by a specific site. */
2
2
  export interface SitePaymentMethodType {
3
- /** Payment method type ID. */
3
+ /**
4
+ * Payment method type ID.
5
+ * @format GUID
6
+ * @immutable
7
+ */
4
8
  _id?: string;
5
- /** Value used buy some legacy APIs to refer to this payment method type. Can be empty. */
9
+ /**
10
+ * Value used buy some legacy APIs to refer to this payment method type. Can be empty.
11
+ * @minLength 1
12
+ * @maxLength 50
13
+ * @immutable
14
+ */
6
15
  legacyId?: string | null;
7
16
  /**
8
17
  * Payment method type display name, based on locale.
@@ -11,6 +20,8 @@ export interface SitePaymentMethodType {
11
20
  *
12
21
  * Define your locale by specifying a `country` and `language` when calling `Get Payment Method Type` or `List Payment Method Types`.
13
22
  * For more detailed information, see the descriptions for the `country` and `language` parameters for those methods.
23
+ * @minLength 1
24
+ * @maxLength 100
14
25
  */
15
26
  displayName?: string | null;
16
27
  /**
@@ -20,6 +31,8 @@ export interface SitePaymentMethodType {
20
31
  *
21
32
  * Define your locale by specifying a `country` and `language` when calling `Get Payment Method Type` or `List Payment Method Types`.
22
33
  * For more detailed information, see the descriptions for the `country` and `language` parameters for those methods.
34
+ * @minLength 1
35
+ * @maxLength 1000
23
36
  */
24
37
  description?: string | null;
25
38
  /** Features supported for this payment method type. */
@@ -42,6 +55,8 @@ export interface SitePaymentMethodType {
42
55
  * Time (in seconds after which a transaction is marked as expired if it is not completed.
43
56
  *
44
57
  * Max: `15552000` (180 days)
58
+ * @min 1
59
+ * @max 15552000
45
60
  */
46
61
  transactionExpirationDelayInSeconds?: number | null;
47
62
  /** Indicates that payment method type is restricted for the provided currency. */
@@ -110,21 +125,38 @@ export interface Disputes {
110
125
  export interface Installments {
111
126
  /** Whether installments are supported for this payment method type. */
112
127
  supported?: boolean;
113
- /** Countries for which installments can be enabled. */
128
+ /**
129
+ * Countries for which installments can be enabled.
130
+ * @format COUNTRY
131
+ * @minSize 1
132
+ * @maxSize 200
133
+ */
114
134
  allowedCountries?: string[];
115
- /** Max number of installments that can be configured by a provider. */
135
+ /**
136
+ * Max number of installments that can be configured by a provider.
137
+ * @min 2
138
+ * @max 36
139
+ */
116
140
  maxInstallmentLimit?: number | null;
117
141
  }
118
142
  export interface Refunds {
119
143
  /** Whether refunds are supported for this payment method type. */
120
144
  supported?: boolean;
121
- /** Maximum period in which payments made using this payment method type can be refunded. */
145
+ /**
146
+ * Maximum period in which payments made using this payment method type can be refunded.
147
+ * @min 1
148
+ * @max 365
149
+ */
122
150
  maxRefundabilityPeriodInDays?: number | null;
123
151
  }
124
152
  export interface AuthCapture {
125
153
  /** Whether the authorize and capture flow is supported for this payment method type. */
126
154
  supported?: boolean;
127
- /** Period to wait for the auth capture to be completed before canceling the transaction. */
155
+ /**
156
+ * Period to wait for the auth capture to be completed before canceling the transaction.
157
+ * @min 1
158
+ * @max 365
159
+ */
128
160
  maxCapturePeriodInDays?: number | null;
129
161
  }
130
162
  export interface RegularTokenization {
@@ -165,11 +197,14 @@ export interface MerchantFlow {
165
197
  *
166
198
  * Define a locale by specifying a `country` and `language` when calling `Get Payment Method Type` or `List Payment Method Types`.
167
199
  * For more detailed information, see the method descriptions.
200
+ * @maxSize 200
168
201
  */
169
202
  icons?: Icon[];
170
203
  /**
171
204
  * Priority given to this payment method type in the list shown to the merchant.
172
205
  * A lower value relative to other payment method types means a higher position on the list.
206
+ * @min 1
207
+ * @max 10000
173
208
  */
174
209
  priority?: number;
175
210
  /** Whether the payment method type is promoted. Promoted payment method types are displayed more prominently on the Accept Payments page. */
@@ -189,6 +224,8 @@ export interface Icon {
189
224
  /**
190
225
  * Icon tag. Payment method types can have multiple icons, and tags are used to differentiate between them.
191
226
  * For example, the UI design for multiple payment method types is upgraded, and now they each have an old icon tagged "v1" and a new icon tagged "v2". Developers can then easily choose to display all the original "v1" style of icons, or all the new "v2" style.
227
+ * @minLength 1
228
+ * @maxLength 100
192
229
  */
193
230
  tag?: string | null;
194
231
  /** Icon image format. */
@@ -205,11 +242,14 @@ export interface BuyerFlow {
205
242
  *
206
243
  * Define a locale by specifying a `country` and `language` when calling `Get Payment Method Type` or `List Payment Method Types`.
207
244
  * For more detailed information, see the method descriptions.
245
+ * @maxSize 200
208
246
  */
209
247
  icons?: Icon[];
210
248
  /**
211
249
  * The priority given to this payment method type in the list of payment method types shown to the buyer.
212
250
  * A lower value relative to other payment method types means a higher position on the list.
251
+ * @min 1
252
+ * @max 10000
213
253
  */
214
254
  priority?: number;
215
255
  /** Whether the merchant cannot choose to accept payments from this payment method type. */
@@ -219,28 +259,35 @@ export interface BuyerFlow {
219
259
  /**
220
260
  * If set, indicates the minimum payment amount that can be made using this payment method type.
221
261
  * If no currency provided, this field will not be set, as the value depends on the currency.
262
+ * @decimalValue options { maxScale:8, gte:0.00 }
222
263
  */
223
264
  minPaymentAmount?: string | null;
224
265
  }
225
266
  export interface GetSitePaymentMethodTypeRequest {
226
- /** Payment method type ID. */
267
+ /**
268
+ * Payment method type ID.
269
+ * @format GUID
270
+ */
227
271
  sitePaymentMethodTypeId: string;
228
272
  /**
229
273
  * Language used to determine localized values for fields in the response.
230
274
  *
231
275
  * Must be a 2-letter language code in [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
276
+ * @format LANGUAGE
232
277
  */
233
278
  language?: string | null;
234
279
  /**
235
280
  * Country used to determine localized values for fields in the response.
236
281
  *
237
282
  * Must be a 2-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#officially_assigned_code_elements) format.
283
+ * @format COUNTRY
238
284
  */
239
285
  country?: string | null;
240
286
  /**
241
287
  * Currency used to determine localized values for fields in the response.
242
288
  *
243
289
  * Must be a 3-letter currency code in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) format.
290
+ * @format CURRENCY
244
291
  */
245
292
  currency?: string | null;
246
293
  }
@@ -249,24 +296,32 @@ export interface GetSitePaymentMethodTypeResponse {
249
296
  sitePaymentMethodType?: SitePaymentMethodType;
250
297
  }
251
298
  export interface ListSitePaymentMethodTypesRequest {
252
- /** IDs or legacy IDs of payment method types to retrieve. */
299
+ /**
300
+ * IDs or legacy IDs of payment method types to retrieve.
301
+ * @maxSize 250
302
+ * @minLength 1
303
+ * @maxLength 50
304
+ */
253
305
  ids?: string[];
254
306
  /**
255
307
  * Language used to determine localized values for fields in the response.
256
308
  *
257
309
  * Must be a 2-letter language code in [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
310
+ * @format LANGUAGE
258
311
  */
259
312
  language?: string | null;
260
313
  /**
261
314
  * Country used to filter payment method types and determine localized values for fields in the response.
262
315
  *
263
316
  * Must be a 2-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#officially_assigned_code_elements) format.
317
+ * @format COUNTRY
264
318
  */
265
319
  country?: string | null;
266
320
  /**
267
321
  * Currency used to determine localized values for fields in the response.
268
322
  *
269
323
  * Must be a 3-letter currency code in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) format.
324
+ * @format CURRENCY
270
325
  */
271
326
  currency?: string | null;
272
327
  }
@@ -402,6 +457,8 @@ export interface ListSitePaymentMethodTypesResponseNonNullableFields {
402
457
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
403
458
  * @permissionScope Manage Restaurants - all permissions
404
459
  * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
460
+ * @permissionScope Set Up Automations
461
+ * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
405
462
  * @applicableIdentity APP
406
463
  * @applicableIdentity VISITOR
407
464
  * @returns Requested site payment method type.
@@ -413,18 +470,21 @@ export interface GetSitePaymentMethodTypeOptions {
413
470
  * Language used to determine localized values for fields in the response.
414
471
  *
415
472
  * Must be a 2-letter language code in [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
473
+ * @format LANGUAGE
416
474
  */
417
475
  language?: string | null;
418
476
  /**
419
477
  * Country used to determine localized values for fields in the response.
420
478
  *
421
479
  * Must be a 2-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#officially_assigned_code_elements) format.
480
+ * @format COUNTRY
422
481
  */
423
482
  country?: string | null;
424
483
  /**
425
484
  * Currency used to determine localized values for fields in the response.
426
485
  *
427
486
  * Must be a 3-letter currency code in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) format.
487
+ * @format CURRENCY
428
488
  */
429
489
  currency?: string | null;
430
490
  }
@@ -454,30 +514,40 @@ export interface GetSitePaymentMethodTypeOptions {
454
514
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
455
515
  * @permissionScope Manage Restaurants - all permissions
456
516
  * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
517
+ * @permissionScope Set Up Automations
518
+ * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
457
519
  * @applicableIdentity APP
458
520
  * @applicableIdentity VISITOR
459
521
  * @fqn wix.payments.site_payment_method_types.v1.SitePaymentMethodTypeService.ListSitePaymentMethodTypes
460
522
  */
461
523
  export declare function listSitePaymentMethodTypes(options?: ListSitePaymentMethodTypesOptions): Promise<ListSitePaymentMethodTypesResponse & ListSitePaymentMethodTypesResponseNonNullableFields>;
462
524
  export interface ListSitePaymentMethodTypesOptions {
463
- /** IDs or legacy IDs of payment method types to retrieve. */
525
+ /**
526
+ * IDs or legacy IDs of payment method types to retrieve.
527
+ * @maxSize 250
528
+ * @minLength 1
529
+ * @maxLength 50
530
+ */
464
531
  ids?: string[];
465
532
  /**
466
533
  * Language used to determine localized values for fields in the response.
467
534
  *
468
535
  * Must be a 2-letter language code in [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
536
+ * @format LANGUAGE
469
537
  */
470
538
  language?: string | null;
471
539
  /**
472
540
  * Country used to filter payment method types and determine localized values for fields in the response.
473
541
  *
474
542
  * Must be a 2-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#officially_assigned_code_elements) format.
543
+ * @format COUNTRY
475
544
  */
476
545
  country?: string | null;
477
546
  /**
478
547
  * Currency used to determine localized values for fields in the response.
479
548
  *
480
549
  * Must be a 3-letter currency code in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) format.
550
+ * @format CURRENCY
481
551
  */
482
552
  currency?: string | null;
483
553
  }
@@ -59,6 +59,8 @@ var Format;
59
59
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
60
60
  * @permissionScope Manage Restaurants - all permissions
61
61
  * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
62
+ * @permissionScope Set Up Automations
63
+ * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
62
64
  * @applicableIdentity APP
63
65
  * @applicableIdentity VISITOR
64
66
  * @returns Requested site payment method type.
@@ -130,6 +132,8 @@ exports.getSitePaymentMethodType = getSitePaymentMethodType;
130
132
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
131
133
  * @permissionScope Manage Restaurants - all permissions
132
134
  * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
135
+ * @permissionScope Set Up Automations
136
+ * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
133
137
  * @applicableIdentity APP
134
138
  * @applicableIdentity VISITOR
135
139
  * @fqn wix.payments.site_payment_method_types.v1.SitePaymentMethodTypeService.ListSitePaymentMethodTypes
@@ -1 +1 @@
1
- {"version":3,"file":"payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js","sourceRoot":"","sources":["../../../src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,uMAAyL;AACzL,kEAAsF;AACtF,sFAAkF;AA2NlF,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,qBAAW,CAAA;IACX,qBAAW,CAAA;AACb,CAAC,EAJW,MAAM,sBAAN,MAAM,QAIjB;AAkND;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACI,KAAK,UAAU,wBAAwB,CAC5C,uBAA+B,EAC/B,OAAyC;IAEzC,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC;QACpD,uBAAuB,EAAE,uBAAuB;QAChD,QAAQ,EAAE,OAAO,EAAE,QAAQ;QAC3B,OAAO,EAAE,OAAO,EAAE,OAAO;QACzB,QAAQ,EAAE,OAAO,EAAE,QAAQ;KAC5B,CAAC,CAAC;IAEH,MAAM,OAAO,GACX,kEAAkE,CAAC,wBAAwB,CACzF,OAAO,CACR,CAAC;IAEJ,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH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CAAC;IAEH,MAAM,OAAO,GACX,kEAAkE,CAAC,0BAA0B,CAC3F,OAAO,CACR,CAAC;IAEJ,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,IAAA,gEAAuC,EAC5C,IAAA,gCAAc,EAAC,MAAM,CAAC,IAAI,EAAE;YAC1B;gBACE,WAAW,EAAE,oCAA4B;gBACzC,KAAK,EAAE;oBACL,EAAE,IAAI,EAAE,iDAAiD,EAAE;oBAC3D,EAAE,IAAI,EAAE,8CAA8C,EAAE;iBACzD;aACF;SACF,CAAC,CACF,CAAC;IACL,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE;gBACxB,GAAG,EAAE,UAAU;gBACf,QAAQ,EAAE,eAAe;gBACzB,OAAO,EAAE,cAAc;gBACvB,QAAQ,EAAE,eAAe;aAC1B;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,CAAC,CACZ,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AA3DD,gEA2DC"}
1
+ {"version":3,"file":"payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js","sourceRoot":"","sources":["../../../src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,uMAAyL;AACzL,kEAAsF;AACtF,sFAAkF;AAgQlF,IAAY,MAIX;AAJD,WAA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