@wix/auto_sdk_payments_site-payment-method-types 1.0.3 → 1.0.5
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.
- package/build/cjs/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.context.d.ts +1 -1
- package/build/cjs/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.context.js +2 -1
- package/build/cjs/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.context.js.map +1 -1
- package/build/cjs/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.public.d.ts +1 -1
- package/build/cjs/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.public.js +2 -1
- package/build/cjs/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.public.js.map +1 -1
- package/build/cjs/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.types.d.ts +21 -0
- package/build/cjs/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.types.js +6 -1
- package/build/cjs/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.types.js.map +1 -1
- package/build/cjs/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.d.ts +35 -0
- package/build/cjs/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js +14 -1
- package/build/cjs/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js.map +1 -1
- package/build/es/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.context.d.ts +1 -1
- package/build/es/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.context.js +1 -1
- package/build/es/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.context.js.map +1 -1
- package/build/es/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.public.d.ts +1 -1
- package/build/es/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.public.js +1 -1
- package/build/es/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.public.js.map +1 -1
- package/build/es/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.types.d.ts +21 -0
- package/build/es/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.types.js +5 -0
- package/build/es/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.types.js.map +1 -1
- package/build/es/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.d.ts +35 -0
- package/build/es/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js +13 -0
- package/build/es/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js.map +1 -1
- package/build/internal/cjs/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.context.d.ts +1 -1
- package/build/internal/cjs/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.context.js +2 -1
- package/build/internal/cjs/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.context.js.map +1 -1
- package/build/internal/cjs/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.public.d.ts +1 -1
- package/build/internal/cjs/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.public.js +2 -1
- package/build/internal/cjs/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.public.js.map +1 -1
- package/build/internal/cjs/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.types.d.ts +21 -0
- package/build/internal/cjs/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.types.js +6 -1
- package/build/internal/cjs/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.types.js.map +1 -1
- package/build/internal/cjs/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.d.ts +35 -0
- package/build/internal/cjs/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js +14 -1
- package/build/internal/cjs/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js.map +1 -1
- package/build/internal/es/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.context.d.ts +1 -1
- package/build/internal/es/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.context.js +1 -1
- package/build/internal/es/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.context.js.map +1 -1
- package/build/internal/es/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.public.d.ts +1 -1
- package/build/internal/es/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.public.js +1 -1
- package/build/internal/es/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.public.js.map +1 -1
- package/build/internal/es/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.types.d.ts +21 -0
- package/build/internal/es/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.types.js +5 -0
- package/build/internal/es/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.types.js.map +1 -1
- package/build/internal/es/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.d.ts +35 -0
- package/build/internal/es/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js +13 -0
- package/build/internal/es/src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js.map +1 -1
- package/package.json +4 -4
|
@@ -2,5 +2,5 @@ import { getSitePaymentMethodType as publicGetSitePaymentMethodType, listSitePay
|
|
|
2
2
|
import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
|
|
3
3
|
export declare const getSitePaymentMethodType: MaybeContext<BuildRESTFunction<typeof publicGetSitePaymentMethodType> & typeof publicGetSitePaymentMethodType>;
|
|
4
4
|
export declare const listSitePaymentMethodTypes: MaybeContext<BuildRESTFunction<typeof publicListSitePaymentMethodTypes> & typeof publicListSitePaymentMethodTypes>;
|
|
5
|
-
export { Format } from './payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js';
|
|
5
|
+
export { Format, RequestedFields, } from './payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js';
|
|
6
6
|
export { SitePaymentMethodType, Features, IFrame, NewTab, FullPageRedirect, Barcode, QrCode, ExpressFlow, RegularFlow, Disputes, Installments, Refunds, AuthCapture, RegularTokenization, CustomTokenization, NextAction, CredentialOnFile, Moto, PromotionalMessages, MerchantFlow, Icon, BuyerFlow, GetSitePaymentMethodTypeRequest, GetSitePaymentMethodTypeResponse, ListSitePaymentMethodTypesRequest, ListSitePaymentMethodTypesResponse, SitePaymentMethodTypeNonNullableFields, GetSitePaymentMethodTypeResponseNonNullableFields, ListSitePaymentMethodTypesResponseNonNullableFields, GetSitePaymentMethodTypeOptions, ListSitePaymentMethodTypesOptions, } from './payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js';
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Format = exports.listSitePaymentMethodTypes = exports.getSitePaymentMethodType = void 0;
|
|
3
|
+
exports.RequestedFields = exports.Format = exports.listSitePaymentMethodTypes = exports.getSitePaymentMethodType = void 0;
|
|
4
4
|
const payments_site_payment_method_types_v1_site_payment_method_type_site_payment_method_types_public_js_1 = require("./payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.public.js");
|
|
5
5
|
const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
|
|
6
6
|
exports.getSitePaymentMethodType = (0, rest_modules_1.createRESTModule)(payments_site_payment_method_types_v1_site_payment_method_type_site_payment_method_types_public_js_1.getSitePaymentMethodType);
|
|
7
7
|
exports.listSitePaymentMethodTypes = (0, rest_modules_1.createRESTModule)(payments_site_payment_method_types_v1_site_payment_method_type_site_payment_method_types_public_js_1.listSitePaymentMethodTypes);
|
|
8
8
|
var payments_site_payment_method_types_v1_site_payment_method_type_site_payment_method_types_universal_js_1 = require("./payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js");
|
|
9
9
|
Object.defineProperty(exports, "Format", { enumerable: true, get: function () { return payments_site_payment_method_types_v1_site_payment_method_type_site_payment_method_types_universal_js_1.Format; } });
|
|
10
|
+
Object.defineProperty(exports, "RequestedFields", { enumerable: true, get: function () { return payments_site_payment_method_types_v1_site_payment_method_type_site_payment_method_types_universal_js_1.RequestedFields; } });
|
|
10
11
|
//# sourceMappingURL=payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.context.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.context.js","sourceRoot":"","sources":["../../../src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.context.ts"],"names":[],"mappings":";;;AAAA,6NAG8G;AAC9G,gEAAiE;AAGpD,QAAA,wBAAwB,GAGnB,IAAA,+BAAgB,EAAC,6HAA8B,CAAC,CAAC;AACtD,QAAA,0BAA0B,GAGrB,IAAA,+BAAgB,EAAC,+HAAgC,CAAC,CAAC;AAErE,
|
|
1
|
+
{"version":3,"file":"payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.context.js","sourceRoot":"","sources":["../../../src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.context.ts"],"names":[],"mappings":";;;AAAA,6NAG8G;AAC9G,gEAAiE;AAGpD,QAAA,wBAAwB,GAGnB,IAAA,+BAAgB,EAAC,6HAA8B,CAAC,CAAC;AACtD,QAAA,0BAA0B,GAGrB,IAAA,+BAAgB,EAAC,+HAAgC,CAAC,CAAC;AAErE,iOAGiH;AAF/G,+LAAA,MAAM,OAAA;AACN,wMAAA,eAAe,OAAA"}
|
|
@@ -37,4 +37,4 @@ interface ListSitePaymentMethodTypesSignature {
|
|
|
37
37
|
*/
|
|
38
38
|
(options?: ListSitePaymentMethodTypesOptions | undefined): Promise<ListSitePaymentMethodTypesResponse & ListSitePaymentMethodTypesResponseNonNullableFields>;
|
|
39
39
|
}
|
|
40
|
-
export { AuthCapture, Barcode, BuyerFlow, CredentialOnFile, CustomTokenization, Disputes, ExpressFlow, Features, Format, FullPageRedirect, GetSitePaymentMethodTypeOptions, GetSitePaymentMethodTypeRequest, GetSitePaymentMethodTypeResponse, GetSitePaymentMethodTypeResponseNonNullableFields, IFrame, Icon, Installments, ListSitePaymentMethodTypesOptions, ListSitePaymentMethodTypesRequest, ListSitePaymentMethodTypesResponse, ListSitePaymentMethodTypesResponseNonNullableFields, MerchantFlow, Moto, NewTab, NextAction, PromotionalMessages, QrCode, Refunds, RegularFlow, RegularTokenization, SitePaymentMethodType, SitePaymentMethodTypeNonNullableFields, } from './payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js';
|
|
40
|
+
export { AuthCapture, Barcode, BuyerFlow, CredentialOnFile, CustomTokenization, Disputes, ExpressFlow, Features, Format, FullPageRedirect, GetSitePaymentMethodTypeOptions, GetSitePaymentMethodTypeRequest, GetSitePaymentMethodTypeResponse, GetSitePaymentMethodTypeResponseNonNullableFields, IFrame, Icon, Installments, ListSitePaymentMethodTypesOptions, ListSitePaymentMethodTypesRequest, ListSitePaymentMethodTypesResponse, ListSitePaymentMethodTypesResponseNonNullableFields, MerchantFlow, Moto, NewTab, NextAction, PromotionalMessages, QrCode, Refunds, RegularFlow, RegularTokenization, RequestedFields, SitePaymentMethodType, SitePaymentMethodTypeNonNullableFields, } from './payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Format = exports.listSitePaymentMethodTypes = exports.getSitePaymentMethodType = exports.__metadata = void 0;
|
|
3
|
+
exports.RequestedFields = exports.Format = exports.listSitePaymentMethodTypes = exports.getSitePaymentMethodType = exports.__metadata = void 0;
|
|
4
4
|
const payments_site_payment_method_types_v1_site_payment_method_type_site_payment_method_types_universal_js_1 = require("./payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js");
|
|
5
5
|
exports.__metadata = { PACKAGE_NAME: '@wix/payments' };
|
|
6
6
|
function getSitePaymentMethodType(httpClient) {
|
|
@@ -17,4 +17,5 @@ function listSitePaymentMethodTypes(httpClient) {
|
|
|
17
17
|
exports.listSitePaymentMethodTypes = listSitePaymentMethodTypes;
|
|
18
18
|
var payments_site_payment_method_types_v1_site_payment_method_type_site_payment_method_types_universal_js_2 = require("./payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js");
|
|
19
19
|
Object.defineProperty(exports, "Format", { enumerable: true, get: function () { return payments_site_payment_method_types_v1_site_payment_method_type_site_payment_method_types_universal_js_2.Format; } });
|
|
20
|
+
Object.defineProperty(exports, "RequestedFields", { enumerable: true, get: function () { return payments_site_payment_method_types_v1_site_payment_method_type_site_payment_method_types_universal_js_2.RequestedFields; } });
|
|
20
21
|
//# sourceMappingURL=payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.public.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.public.js","sourceRoot":"","sources":["../../../src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.public.ts"],"names":[],"mappings":";;;AACA,mOASiH;AAEpG,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAE5D,SAAgB,wBAAwB,CACtC,UAAsB;IAEtB,OAAO,CACL,uBAA+B,EAC/B,OAAyC,EACzC,EAAE,CACF,IAAA,gIAAiC,EAC/B,uBAAuB,EACvB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAbD,4DAaC;AAqBD,SAAgB,0BAA0B,CACxC,UAAsB;IAEtB,OAAO,CAAC,OAA2C,EAAE,EAAE,CACrD,IAAA,kIAAmC,EACjC,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AATD,gEASC;AAuBD,
|
|
1
|
+
{"version":3,"file":"payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.public.js","sourceRoot":"","sources":["../../../src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.public.ts"],"names":[],"mappings":";;;AACA,mOASiH;AAEpG,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAE5D,SAAgB,wBAAwB,CACtC,UAAsB;IAEtB,OAAO,CACL,uBAA+B,EAC/B,OAAyC,EACzC,EAAE,CACF,IAAA,gIAAiC,EAC/B,uBAAuB,EACvB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAbD,4DAaC;AAqBD,SAAgB,0BAA0B,CACxC,UAAsB;IAEtB,OAAO,CAAC,OAA2C,EAAE,EAAE,CACrD,IAAA,kIAAmC,EACjC,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AATD,gEASC;AAuBD,iOAkCiH;AAzB/G,+LAAA,MAAM,OAAA;AAsBN,wMAAA,eAAe,OAAA"}
|
|
@@ -63,6 +63,12 @@ export interface SitePaymentMethodType {
|
|
|
63
63
|
currencyRestricted?: boolean;
|
|
64
64
|
/** Indicates the payment method type has currency restriction and it is enabled. */
|
|
65
65
|
currencyRestrictionEnabled?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* allowed currencies
|
|
68
|
+
* @maxSize 100
|
|
69
|
+
* @format CURRENCY
|
|
70
|
+
*/
|
|
71
|
+
allowedCurrencies?: string[];
|
|
66
72
|
}
|
|
67
73
|
export interface Features {
|
|
68
74
|
/** Express flow configuration. */
|
|
@@ -312,6 +318,15 @@ export interface GetSitePaymentMethodTypeRequest {
|
|
|
312
318
|
* @format CURRENCY
|
|
313
319
|
*/
|
|
314
320
|
currency?: string | null;
|
|
321
|
+
/**
|
|
322
|
+
* Requested additional fields
|
|
323
|
+
* @maxSize 2
|
|
324
|
+
*/
|
|
325
|
+
requestedFields?: RequestedFields[];
|
|
326
|
+
}
|
|
327
|
+
export declare enum RequestedFields {
|
|
328
|
+
UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
|
|
329
|
+
ALLOWED_CURRENCIES = "ALLOWED_CURRENCIES"
|
|
315
330
|
}
|
|
316
331
|
export interface GetSitePaymentMethodTypeResponse {
|
|
317
332
|
/** Requested site payment method type. */
|
|
@@ -346,6 +361,11 @@ export interface ListSitePaymentMethodTypesRequest {
|
|
|
346
361
|
* @format CURRENCY
|
|
347
362
|
*/
|
|
348
363
|
currency?: string | null;
|
|
364
|
+
/**
|
|
365
|
+
* Requested additional fields
|
|
366
|
+
* @maxSize 2
|
|
367
|
+
*/
|
|
368
|
+
requestedFields?: RequestedFields[];
|
|
349
369
|
}
|
|
350
370
|
export interface ListSitePaymentMethodTypesResponse {
|
|
351
371
|
/** List of site payment method types. */
|
|
@@ -454,6 +474,7 @@ interface SitePaymentMethodTypeNonNullableFields {
|
|
|
454
474
|
inPerson: boolean;
|
|
455
475
|
currencyRestricted: boolean;
|
|
456
476
|
currencyRestrictionEnabled: boolean;
|
|
477
|
+
allowedCurrencies: string[];
|
|
457
478
|
}
|
|
458
479
|
export interface GetSitePaymentMethodTypeResponseNonNullableFields {
|
|
459
480
|
sitePaymentMethodType?: SitePaymentMethodTypeNonNullableFields;
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Format = void 0;
|
|
3
|
+
exports.RequestedFields = exports.Format = void 0;
|
|
4
4
|
var Format;
|
|
5
5
|
(function (Format) {
|
|
6
6
|
Format["UNKNOWN_FORMAT"] = "UNKNOWN_FORMAT";
|
|
7
7
|
Format["SVG"] = "SVG";
|
|
8
8
|
Format["PNG"] = "PNG";
|
|
9
9
|
})(Format || (exports.Format = Format = {}));
|
|
10
|
+
var RequestedFields;
|
|
11
|
+
(function (RequestedFields) {
|
|
12
|
+
RequestedFields["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
|
|
13
|
+
RequestedFields["ALLOWED_CURRENCIES"] = "ALLOWED_CURRENCIES";
|
|
14
|
+
})(RequestedFields || (exports.RequestedFields = RequestedFields = {}));
|
|
10
15
|
//# sourceMappingURL=payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.types.js.map
|
|
@@ -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":";;;
|
|
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":";;;AA2RA,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,qBAAW,CAAA;IACX,qBAAW,CAAA;AACb,CAAC,EAJW,MAAM,sBAAN,MAAM,QAIjB;AAgED,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,sEAAmD,CAAA;IACnD,4DAAyC,CAAA;AAC3C,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B"}
|
|
@@ -63,6 +63,12 @@ export interface SitePaymentMethodType {
|
|
|
63
63
|
currencyRestricted?: boolean;
|
|
64
64
|
/** Indicates the payment method type has currency restriction and it is enabled. */
|
|
65
65
|
currencyRestrictionEnabled?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* allowed currencies
|
|
68
|
+
* @maxSize 100
|
|
69
|
+
* @format CURRENCY
|
|
70
|
+
*/
|
|
71
|
+
allowedCurrencies?: string[];
|
|
66
72
|
}
|
|
67
73
|
export interface Features {
|
|
68
74
|
/** Express flow configuration. */
|
|
@@ -290,6 +296,15 @@ export interface GetSitePaymentMethodTypeRequest {
|
|
|
290
296
|
* @format CURRENCY
|
|
291
297
|
*/
|
|
292
298
|
currency?: string | null;
|
|
299
|
+
/**
|
|
300
|
+
* Requested additional fields
|
|
301
|
+
* @maxSize 2
|
|
302
|
+
*/
|
|
303
|
+
requestedFields?: RequestedFields[];
|
|
304
|
+
}
|
|
305
|
+
export declare enum RequestedFields {
|
|
306
|
+
UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
|
|
307
|
+
ALLOWED_CURRENCIES = "ALLOWED_CURRENCIES"
|
|
293
308
|
}
|
|
294
309
|
export interface GetSitePaymentMethodTypeResponse {
|
|
295
310
|
/** Requested site payment method type. */
|
|
@@ -324,6 +339,11 @@ export interface ListSitePaymentMethodTypesRequest {
|
|
|
324
339
|
* @format CURRENCY
|
|
325
340
|
*/
|
|
326
341
|
currency?: string | null;
|
|
342
|
+
/**
|
|
343
|
+
* Requested additional fields
|
|
344
|
+
* @maxSize 2
|
|
345
|
+
*/
|
|
346
|
+
requestedFields?: RequestedFields[];
|
|
327
347
|
}
|
|
328
348
|
export interface ListSitePaymentMethodTypesResponse {
|
|
329
349
|
/** List of site payment method types. */
|
|
@@ -426,6 +446,7 @@ export interface SitePaymentMethodTypeNonNullableFields {
|
|
|
426
446
|
inPerson: boolean;
|
|
427
447
|
currencyRestricted: boolean;
|
|
428
448
|
currencyRestrictionEnabled: boolean;
|
|
449
|
+
allowedCurrencies: string[];
|
|
429
450
|
}
|
|
430
451
|
export interface GetSitePaymentMethodTypeResponseNonNullableFields {
|
|
431
452
|
sitePaymentMethodType?: SitePaymentMethodTypeNonNullableFields;
|
|
@@ -451,6 +472,8 @@ export interface ListSitePaymentMethodTypesResponseNonNullableFields {
|
|
|
451
472
|
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
452
473
|
* @permissionScope Manage Events
|
|
453
474
|
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
475
|
+
* @permissionScope Manage Challenges
|
|
476
|
+
* @permissionScopeId SCOPE.CHALLENGES.MANAGE
|
|
454
477
|
* @permissionScope Manage Portfolio
|
|
455
478
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
456
479
|
* @permissionScope Access Verticals by Automations
|
|
@@ -487,6 +510,11 @@ export interface GetSitePaymentMethodTypeOptions {
|
|
|
487
510
|
* @format CURRENCY
|
|
488
511
|
*/
|
|
489
512
|
currency?: string | null;
|
|
513
|
+
/**
|
|
514
|
+
* Requested additional fields
|
|
515
|
+
* @maxSize 2
|
|
516
|
+
*/
|
|
517
|
+
requestedFields?: RequestedFields[];
|
|
490
518
|
}
|
|
491
519
|
/**
|
|
492
520
|
* Retrieves a list of payment method types.
|
|
@@ -508,6 +536,8 @@ export interface GetSitePaymentMethodTypeOptions {
|
|
|
508
536
|
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
509
537
|
* @permissionScope Manage Events
|
|
510
538
|
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
539
|
+
* @permissionScope Manage Challenges
|
|
540
|
+
* @permissionScopeId SCOPE.CHALLENGES.MANAGE
|
|
511
541
|
* @permissionScope Manage Portfolio
|
|
512
542
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
513
543
|
* @permissionScope Access Verticals by Automations
|
|
@@ -550,5 +580,10 @@ export interface ListSitePaymentMethodTypesOptions {
|
|
|
550
580
|
* @format CURRENCY
|
|
551
581
|
*/
|
|
552
582
|
currency?: string | null;
|
|
583
|
+
/**
|
|
584
|
+
* Requested additional fields
|
|
585
|
+
* @maxSize 2
|
|
586
|
+
*/
|
|
587
|
+
requestedFields?: RequestedFields[];
|
|
553
588
|
}
|
|
554
589
|
export {};
|
|
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.listSitePaymentMethodTypes = exports.getSitePaymentMethodType = exports.Format = void 0;
|
|
26
|
+
exports.listSitePaymentMethodTypes = exports.getSitePaymentMethodType = exports.RequestedFields = exports.Format = void 0;
|
|
27
27
|
const transform_error_1 = require("@wix/sdk-runtime/transform-error");
|
|
28
28
|
const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-keys");
|
|
29
29
|
const ambassadorWixPaymentsSitePaymentMethodTypesV1SitePaymentMethodType = __importStar(require("./payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.http.js"));
|
|
@@ -35,6 +35,11 @@ var Format;
|
|
|
35
35
|
Format["SVG"] = "SVG";
|
|
36
36
|
Format["PNG"] = "PNG";
|
|
37
37
|
})(Format || (exports.Format = Format = {}));
|
|
38
|
+
var RequestedFields;
|
|
39
|
+
(function (RequestedFields) {
|
|
40
|
+
RequestedFields["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
|
|
41
|
+
RequestedFields["ALLOWED_CURRENCIES"] = "ALLOWED_CURRENCIES";
|
|
42
|
+
})(RequestedFields || (exports.RequestedFields = RequestedFields = {}));
|
|
38
43
|
/**
|
|
39
44
|
* Retrieves a payment method type, with some fields localized according to the caller's language and country.
|
|
40
45
|
*
|
|
@@ -53,6 +58,8 @@ var Format;
|
|
|
53
58
|
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
54
59
|
* @permissionScope Manage Events
|
|
55
60
|
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
61
|
+
* @permissionScope Manage Challenges
|
|
62
|
+
* @permissionScopeId SCOPE.CHALLENGES.MANAGE
|
|
56
63
|
* @permissionScope Manage Portfolio
|
|
57
64
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
58
65
|
* @permissionScope Access Verticals by Automations
|
|
@@ -74,6 +81,7 @@ async function getSitePaymentMethodType(sitePaymentMethodTypeId, options) {
|
|
|
74
81
|
language: options?.language,
|
|
75
82
|
country: options?.country,
|
|
76
83
|
currency: options?.currency,
|
|
84
|
+
requestedFields: options?.requestedFields,
|
|
77
85
|
});
|
|
78
86
|
const reqOpts = ambassadorWixPaymentsSitePaymentMethodTypesV1SitePaymentMethodType.getSitePaymentMethodType(payload);
|
|
79
87
|
sideEffects?.onSiteCall?.();
|
|
@@ -98,6 +106,7 @@ async function getSitePaymentMethodType(sitePaymentMethodTypeId, options) {
|
|
|
98
106
|
language: '$[1].language',
|
|
99
107
|
country: '$[1].country',
|
|
100
108
|
currency: '$[1].currency',
|
|
109
|
+
requestedFields: '$[1].requestedFields',
|
|
101
110
|
},
|
|
102
111
|
singleArgumentUnchanged: false,
|
|
103
112
|
}, ['sitePaymentMethodTypeId', 'options']);
|
|
@@ -126,6 +135,8 @@ exports.getSitePaymentMethodType = getSitePaymentMethodType;
|
|
|
126
135
|
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
127
136
|
* @permissionScope Manage Events
|
|
128
137
|
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
138
|
+
* @permissionScope Manage Challenges
|
|
139
|
+
* @permissionScopeId SCOPE.CHALLENGES.MANAGE
|
|
129
140
|
* @permissionScope Manage Portfolio
|
|
130
141
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
131
142
|
* @permissionScope Access Verticals by Automations
|
|
@@ -146,6 +157,7 @@ async function listSitePaymentMethodTypes(options) {
|
|
|
146
157
|
language: options?.language,
|
|
147
158
|
country: options?.country,
|
|
148
159
|
currency: options?.currency,
|
|
160
|
+
requestedFields: options?.requestedFields,
|
|
149
161
|
});
|
|
150
162
|
const reqOpts = ambassadorWixPaymentsSitePaymentMethodTypesV1SitePaymentMethodType.listSitePaymentMethodTypes(payload);
|
|
151
163
|
sideEffects?.onSiteCall?.();
|
|
@@ -170,6 +182,7 @@ async function listSitePaymentMethodTypes(options) {
|
|
|
170
182
|
language: '$[0].language',
|
|
171
183
|
country: '$[0].country',
|
|
172
184
|
currency: '$[0].currency',
|
|
185
|
+
requestedFields: '$[0].requestedFields',
|
|
173
186
|
},
|
|
174
187
|
singleArgumentUnchanged: false,
|
|
175
188
|
}, ['options']);
|
|
@@ -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;
|
|
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;AAsQlF,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,qBAAW,CAAA;IACX,qBAAW,CAAA;AACb,CAAC,EAJW,MAAM,sBAAN,MAAM,QAIjB;AAgED,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,sEAAmD,CAAA;IACnD,4DAAyC,CAAA;AAC3C,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B;AAiLD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;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,EAA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,CAAC,SAAS,CAAC,CACZ,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AA7DD,gEA6DC"}
|
|
@@ -2,5 +2,5 @@ import { getSitePaymentMethodType as publicGetSitePaymentMethodType, listSitePay
|
|
|
2
2
|
import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
|
|
3
3
|
export declare const getSitePaymentMethodType: MaybeContext<BuildRESTFunction<typeof publicGetSitePaymentMethodType> & typeof publicGetSitePaymentMethodType>;
|
|
4
4
|
export declare const listSitePaymentMethodTypes: MaybeContext<BuildRESTFunction<typeof publicListSitePaymentMethodTypes> & typeof publicListSitePaymentMethodTypes>;
|
|
5
|
-
export { Format } from './payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js';
|
|
5
|
+
export { Format, RequestedFields, } from './payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js';
|
|
6
6
|
export { SitePaymentMethodType, Features, IFrame, NewTab, FullPageRedirect, Barcode, QrCode, ExpressFlow, RegularFlow, Disputes, Installments, Refunds, AuthCapture, RegularTokenization, CustomTokenization, NextAction, CredentialOnFile, Moto, PromotionalMessages, MerchantFlow, Icon, BuyerFlow, GetSitePaymentMethodTypeRequest, GetSitePaymentMethodTypeResponse, ListSitePaymentMethodTypesRequest, ListSitePaymentMethodTypesResponse, SitePaymentMethodTypeNonNullableFields, GetSitePaymentMethodTypeResponseNonNullableFields, ListSitePaymentMethodTypesResponseNonNullableFields, GetSitePaymentMethodTypeOptions, ListSitePaymentMethodTypesOptions, } from './payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js';
|
|
@@ -2,5 +2,5 @@ import { getSitePaymentMethodType as publicGetSitePaymentMethodType, listSitePay
|
|
|
2
2
|
import { createRESTModule } from '@wix/sdk-runtime/rest-modules';
|
|
3
3
|
export const getSitePaymentMethodType = /*#__PURE__*/ createRESTModule(publicGetSitePaymentMethodType);
|
|
4
4
|
export const listSitePaymentMethodTypes = /*#__PURE__*/ createRESTModule(publicListSitePaymentMethodTypes);
|
|
5
|
-
export { Format } from './payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js';
|
|
5
|
+
export { Format, RequestedFields, } from './payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js';
|
|
6
6
|
//# sourceMappingURL=payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.context.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.context.js","sourceRoot":"","sources":["../../../src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.context.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,IAAI,8BAA8B,EAC1D,0BAA0B,IAAI,gCAAgC,GAC/D,MAAM,sGAAsG,CAAC;AAC9G,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAGjE,MAAM,CAAC,MAAM,wBAAwB,GAGjC,aAAa,CAAC,gBAAgB,CAAC,8BAA8B,CAAC,CAAC;AACnE,MAAM,CAAC,MAAM,0BAA0B,GAGnC,aAAa,CAAC,gBAAgB,CAAC,gCAAgC,CAAC,CAAC;AAErE,OAAO,
|
|
1
|
+
{"version":3,"file":"payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.context.js","sourceRoot":"","sources":["../../../src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.context.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,IAAI,8BAA8B,EAC1D,0BAA0B,IAAI,gCAAgC,GAC/D,MAAM,sGAAsG,CAAC;AAC9G,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAGjE,MAAM,CAAC,MAAM,wBAAwB,GAGjC,aAAa,CAAC,gBAAgB,CAAC,8BAA8B,CAAC,CAAC;AACnE,MAAM,CAAC,MAAM,0BAA0B,GAGnC,aAAa,CAAC,gBAAgB,CAAC,gCAAgC,CAAC,CAAC;AAErE,OAAO,EACL,MAAM,EACN,eAAe,GAChB,MAAM,yGAAyG,CAAC"}
|
|
@@ -37,4 +37,4 @@ interface ListSitePaymentMethodTypesSignature {
|
|
|
37
37
|
*/
|
|
38
38
|
(options?: ListSitePaymentMethodTypesOptions | undefined): Promise<ListSitePaymentMethodTypesResponse & ListSitePaymentMethodTypesResponseNonNullableFields>;
|
|
39
39
|
}
|
|
40
|
-
export { AuthCapture, Barcode, BuyerFlow, CredentialOnFile, CustomTokenization, Disputes, ExpressFlow, Features, Format, FullPageRedirect, GetSitePaymentMethodTypeOptions, GetSitePaymentMethodTypeRequest, GetSitePaymentMethodTypeResponse, GetSitePaymentMethodTypeResponseNonNullableFields, IFrame, Icon, Installments, ListSitePaymentMethodTypesOptions, ListSitePaymentMethodTypesRequest, ListSitePaymentMethodTypesResponse, ListSitePaymentMethodTypesResponseNonNullableFields, MerchantFlow, Moto, NewTab, NextAction, PromotionalMessages, QrCode, Refunds, RegularFlow, RegularTokenization, SitePaymentMethodType, SitePaymentMethodTypeNonNullableFields, } from './payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js';
|
|
40
|
+
export { AuthCapture, Barcode, BuyerFlow, CredentialOnFile, CustomTokenization, Disputes, ExpressFlow, Features, Format, FullPageRedirect, GetSitePaymentMethodTypeOptions, GetSitePaymentMethodTypeRequest, GetSitePaymentMethodTypeResponse, GetSitePaymentMethodTypeResponseNonNullableFields, IFrame, Icon, Installments, ListSitePaymentMethodTypesOptions, ListSitePaymentMethodTypesRequest, ListSitePaymentMethodTypesResponse, ListSitePaymentMethodTypesResponseNonNullableFields, MerchantFlow, Moto, NewTab, NextAction, PromotionalMessages, QrCode, Refunds, RegularFlow, RegularTokenization, RequestedFields, SitePaymentMethodType, SitePaymentMethodTypeNonNullableFields, } from './payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js';
|
|
@@ -10,5 +10,5 @@ export function listSitePaymentMethodTypes(httpClient) {
|
|
|
10
10
|
// @ts-ignore
|
|
11
11
|
{ httpClient });
|
|
12
12
|
}
|
|
13
|
-
export { Format, } from './payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js';
|
|
13
|
+
export { Format, RequestedFields, } from './payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js';
|
|
14
14
|
//# sourceMappingURL=payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.public.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.public.js","sourceRoot":"","sources":["../../../src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.public.ts"],"names":[],"mappings":"AACA,OAAO,EAOL,wBAAwB,IAAI,iCAAiC,EAC7D,0BAA0B,IAAI,mCAAmC,GAClE,MAAM,yGAAyG,CAAC;AAEjH,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAE5D,MAAM,UAAU,wBAAwB,CACtC,UAAsB;IAEtB,OAAO,CACL,uBAA+B,EAC/B,OAAyC,EACzC,EAAE,CACF,iCAAiC,CAC/B,uBAAuB,EACvB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAqBD,MAAM,UAAU,0BAA0B,CACxC,UAAsB;IAEtB,OAAO,CAAC,OAA2C,EAAE,EAAE,CACrD,mCAAmC,CACjC,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAuBD,OAAO,EASL,MAAM,
|
|
1
|
+
{"version":3,"file":"payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.public.js","sourceRoot":"","sources":["../../../src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.public.ts"],"names":[],"mappings":"AACA,OAAO,EAOL,wBAAwB,IAAI,iCAAiC,EAC7D,0BAA0B,IAAI,mCAAmC,GAClE,MAAM,yGAAyG,CAAC;AAEjH,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAE5D,MAAM,UAAU,wBAAwB,CACtC,UAAsB;IAEtB,OAAO,CACL,uBAA+B,EAC/B,OAAyC,EACzC,EAAE,CACF,iCAAiC,CAC/B,uBAAuB,EACvB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAqBD,MAAM,UAAU,0BAA0B,CACxC,UAAsB;IAEtB,OAAO,CAAC,OAA2C,EAAE,EAAE,CACrD,mCAAmC,CACjC,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAuBD,OAAO,EASL,MAAM,EAsBN,eAAe,GAGhB,MAAM,yGAAyG,CAAC"}
|
|
@@ -63,6 +63,12 @@ export interface SitePaymentMethodType {
|
|
|
63
63
|
currencyRestricted?: boolean;
|
|
64
64
|
/** Indicates the payment method type has currency restriction and it is enabled. */
|
|
65
65
|
currencyRestrictionEnabled?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* allowed currencies
|
|
68
|
+
* @maxSize 100
|
|
69
|
+
* @format CURRENCY
|
|
70
|
+
*/
|
|
71
|
+
allowedCurrencies?: string[];
|
|
66
72
|
}
|
|
67
73
|
export interface Features {
|
|
68
74
|
/** Express flow configuration. */
|
|
@@ -312,6 +318,15 @@ export interface GetSitePaymentMethodTypeRequest {
|
|
|
312
318
|
* @format CURRENCY
|
|
313
319
|
*/
|
|
314
320
|
currency?: string | null;
|
|
321
|
+
/**
|
|
322
|
+
* Requested additional fields
|
|
323
|
+
* @maxSize 2
|
|
324
|
+
*/
|
|
325
|
+
requestedFields?: RequestedFields[];
|
|
326
|
+
}
|
|
327
|
+
export declare enum RequestedFields {
|
|
328
|
+
UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
|
|
329
|
+
ALLOWED_CURRENCIES = "ALLOWED_CURRENCIES"
|
|
315
330
|
}
|
|
316
331
|
export interface GetSitePaymentMethodTypeResponse {
|
|
317
332
|
/** Requested site payment method type. */
|
|
@@ -346,6 +361,11 @@ export interface ListSitePaymentMethodTypesRequest {
|
|
|
346
361
|
* @format CURRENCY
|
|
347
362
|
*/
|
|
348
363
|
currency?: string | null;
|
|
364
|
+
/**
|
|
365
|
+
* Requested additional fields
|
|
366
|
+
* @maxSize 2
|
|
367
|
+
*/
|
|
368
|
+
requestedFields?: RequestedFields[];
|
|
349
369
|
}
|
|
350
370
|
export interface ListSitePaymentMethodTypesResponse {
|
|
351
371
|
/** List of site payment method types. */
|
|
@@ -454,6 +474,7 @@ interface SitePaymentMethodTypeNonNullableFields {
|
|
|
454
474
|
inPerson: boolean;
|
|
455
475
|
currencyRestricted: boolean;
|
|
456
476
|
currencyRestrictionEnabled: boolean;
|
|
477
|
+
allowedCurrencies: string[];
|
|
457
478
|
}
|
|
458
479
|
export interface GetSitePaymentMethodTypeResponseNonNullableFields {
|
|
459
480
|
sitePaymentMethodType?: SitePaymentMethodTypeNonNullableFields;
|
|
@@ -4,4 +4,9 @@ export var Format;
|
|
|
4
4
|
Format["SVG"] = "SVG";
|
|
5
5
|
Format["PNG"] = "PNG";
|
|
6
6
|
})(Format || (Format = {}));
|
|
7
|
+
export var RequestedFields;
|
|
8
|
+
(function (RequestedFields) {
|
|
9
|
+
RequestedFields["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
|
|
10
|
+
RequestedFields["ALLOWED_CURRENCIES"] = "ALLOWED_CURRENCIES";
|
|
11
|
+
})(RequestedFields || (RequestedFields = {}));
|
|
7
12
|
//# sourceMappingURL=payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.types.js.map
|
|
@@ -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":"
|
|
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":"AA2RA,MAAM,CAAN,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,qBAAW,CAAA;IACX,qBAAW,CAAA;AACb,CAAC,EAJW,MAAM,KAAN,MAAM,QAIjB;AAgED,MAAM,CAAN,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,sEAAmD,CAAA;IACnD,4DAAyC,CAAA;AAC3C,CAAC,EAHW,eAAe,KAAf,eAAe,QAG1B"}
|
|
@@ -63,6 +63,12 @@ export interface SitePaymentMethodType {
|
|
|
63
63
|
currencyRestricted?: boolean;
|
|
64
64
|
/** Indicates the payment method type has currency restriction and it is enabled. */
|
|
65
65
|
currencyRestrictionEnabled?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* allowed currencies
|
|
68
|
+
* @maxSize 100
|
|
69
|
+
* @format CURRENCY
|
|
70
|
+
*/
|
|
71
|
+
allowedCurrencies?: string[];
|
|
66
72
|
}
|
|
67
73
|
export interface Features {
|
|
68
74
|
/** Express flow configuration. */
|
|
@@ -290,6 +296,15 @@ export interface GetSitePaymentMethodTypeRequest {
|
|
|
290
296
|
* @format CURRENCY
|
|
291
297
|
*/
|
|
292
298
|
currency?: string | null;
|
|
299
|
+
/**
|
|
300
|
+
* Requested additional fields
|
|
301
|
+
* @maxSize 2
|
|
302
|
+
*/
|
|
303
|
+
requestedFields?: RequestedFields[];
|
|
304
|
+
}
|
|
305
|
+
export declare enum RequestedFields {
|
|
306
|
+
UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
|
|
307
|
+
ALLOWED_CURRENCIES = "ALLOWED_CURRENCIES"
|
|
293
308
|
}
|
|
294
309
|
export interface GetSitePaymentMethodTypeResponse {
|
|
295
310
|
/** Requested site payment method type. */
|
|
@@ -324,6 +339,11 @@ export interface ListSitePaymentMethodTypesRequest {
|
|
|
324
339
|
* @format CURRENCY
|
|
325
340
|
*/
|
|
326
341
|
currency?: string | null;
|
|
342
|
+
/**
|
|
343
|
+
* Requested additional fields
|
|
344
|
+
* @maxSize 2
|
|
345
|
+
*/
|
|
346
|
+
requestedFields?: RequestedFields[];
|
|
327
347
|
}
|
|
328
348
|
export interface ListSitePaymentMethodTypesResponse {
|
|
329
349
|
/** List of site payment method types. */
|
|
@@ -426,6 +446,7 @@ export interface SitePaymentMethodTypeNonNullableFields {
|
|
|
426
446
|
inPerson: boolean;
|
|
427
447
|
currencyRestricted: boolean;
|
|
428
448
|
currencyRestrictionEnabled: boolean;
|
|
449
|
+
allowedCurrencies: string[];
|
|
429
450
|
}
|
|
430
451
|
export interface GetSitePaymentMethodTypeResponseNonNullableFields {
|
|
431
452
|
sitePaymentMethodType?: SitePaymentMethodTypeNonNullableFields;
|
|
@@ -451,6 +472,8 @@ export interface ListSitePaymentMethodTypesResponseNonNullableFields {
|
|
|
451
472
|
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
452
473
|
* @permissionScope Manage Events
|
|
453
474
|
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
475
|
+
* @permissionScope Manage Challenges
|
|
476
|
+
* @permissionScopeId SCOPE.CHALLENGES.MANAGE
|
|
454
477
|
* @permissionScope Manage Portfolio
|
|
455
478
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
456
479
|
* @permissionScope Access Verticals by Automations
|
|
@@ -487,6 +510,11 @@ export interface GetSitePaymentMethodTypeOptions {
|
|
|
487
510
|
* @format CURRENCY
|
|
488
511
|
*/
|
|
489
512
|
currency?: string | null;
|
|
513
|
+
/**
|
|
514
|
+
* Requested additional fields
|
|
515
|
+
* @maxSize 2
|
|
516
|
+
*/
|
|
517
|
+
requestedFields?: RequestedFields[];
|
|
490
518
|
}
|
|
491
519
|
/**
|
|
492
520
|
* Retrieves a list of payment method types.
|
|
@@ -508,6 +536,8 @@ export interface GetSitePaymentMethodTypeOptions {
|
|
|
508
536
|
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
509
537
|
* @permissionScope Manage Events
|
|
510
538
|
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
539
|
+
* @permissionScope Manage Challenges
|
|
540
|
+
* @permissionScopeId SCOPE.CHALLENGES.MANAGE
|
|
511
541
|
* @permissionScope Manage Portfolio
|
|
512
542
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
513
543
|
* @permissionScope Access Verticals by Automations
|
|
@@ -550,5 +580,10 @@ export interface ListSitePaymentMethodTypesOptions {
|
|
|
550
580
|
* @format CURRENCY
|
|
551
581
|
*/
|
|
552
582
|
currency?: string | null;
|
|
583
|
+
/**
|
|
584
|
+
* Requested additional fields
|
|
585
|
+
* @maxSize 2
|
|
586
|
+
*/
|
|
587
|
+
requestedFields?: RequestedFields[];
|
|
553
588
|
}
|
|
554
589
|
export {};
|
|
@@ -9,6 +9,11 @@ export var Format;
|
|
|
9
9
|
Format["SVG"] = "SVG";
|
|
10
10
|
Format["PNG"] = "PNG";
|
|
11
11
|
})(Format || (Format = {}));
|
|
12
|
+
export var RequestedFields;
|
|
13
|
+
(function (RequestedFields) {
|
|
14
|
+
RequestedFields["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
|
|
15
|
+
RequestedFields["ALLOWED_CURRENCIES"] = "ALLOWED_CURRENCIES";
|
|
16
|
+
})(RequestedFields || (RequestedFields = {}));
|
|
12
17
|
/**
|
|
13
18
|
* Retrieves a payment method type, with some fields localized according to the caller's language and country.
|
|
14
19
|
*
|
|
@@ -27,6 +32,8 @@ export var Format;
|
|
|
27
32
|
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
28
33
|
* @permissionScope Manage Events
|
|
29
34
|
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
35
|
+
* @permissionScope Manage Challenges
|
|
36
|
+
* @permissionScopeId SCOPE.CHALLENGES.MANAGE
|
|
30
37
|
* @permissionScope Manage Portfolio
|
|
31
38
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
32
39
|
* @permissionScope Access Verticals by Automations
|
|
@@ -48,6 +55,7 @@ export async function getSitePaymentMethodType(sitePaymentMethodTypeId, options)
|
|
|
48
55
|
language: options?.language,
|
|
49
56
|
country: options?.country,
|
|
50
57
|
currency: options?.currency,
|
|
58
|
+
requestedFields: options?.requestedFields,
|
|
51
59
|
});
|
|
52
60
|
const reqOpts = ambassadorWixPaymentsSitePaymentMethodTypesV1SitePaymentMethodType.getSitePaymentMethodType(payload);
|
|
53
61
|
sideEffects?.onSiteCall?.();
|
|
@@ -72,6 +80,7 @@ export async function getSitePaymentMethodType(sitePaymentMethodTypeId, options)
|
|
|
72
80
|
language: '$[1].language',
|
|
73
81
|
country: '$[1].country',
|
|
74
82
|
currency: '$[1].currency',
|
|
83
|
+
requestedFields: '$[1].requestedFields',
|
|
75
84
|
},
|
|
76
85
|
singleArgumentUnchanged: false,
|
|
77
86
|
}, ['sitePaymentMethodTypeId', 'options']);
|
|
@@ -99,6 +108,8 @@ export async function getSitePaymentMethodType(sitePaymentMethodTypeId, options)
|
|
|
99
108
|
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
100
109
|
* @permissionScope Manage Events
|
|
101
110
|
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
111
|
+
* @permissionScope Manage Challenges
|
|
112
|
+
* @permissionScopeId SCOPE.CHALLENGES.MANAGE
|
|
102
113
|
* @permissionScope Manage Portfolio
|
|
103
114
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
104
115
|
* @permissionScope Access Verticals by Automations
|
|
@@ -119,6 +130,7 @@ export async function listSitePaymentMethodTypes(options) {
|
|
|
119
130
|
language: options?.language,
|
|
120
131
|
country: options?.country,
|
|
121
132
|
currency: options?.currency,
|
|
133
|
+
requestedFields: options?.requestedFields,
|
|
122
134
|
});
|
|
123
135
|
const reqOpts = ambassadorWixPaymentsSitePaymentMethodTypesV1SitePaymentMethodType.listSitePaymentMethodTypes(payload);
|
|
124
136
|
sideEffects?.onSiteCall?.();
|
|
@@ -143,6 +155,7 @@ export async function listSitePaymentMethodTypes(options) {
|
|
|
143
155
|
language: '$[0].language',
|
|
144
156
|
country: '$[0].country',
|
|
145
157
|
currency: '$[0].currency',
|
|
158
|
+
requestedFields: '$[0].requestedFields',
|
|
146
159
|
},
|
|
147
160
|
singleArgumentUnchanged: false,
|
|
148
161
|
}, ['options']);
|
|
@@ -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,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,kEAAkE,MAAM,oGAAoG,CAAC;AACzL,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;
|
|
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,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAu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AAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,uCAAuC,CAC5C,cAAc,CAAC,MAAM,CAAC,IAAI,EAAE;YAC1B;gBACE,WAAW,EAAE,4BAA4B;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,iBAAiB,CACxC,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;gBACzB,eAAe,EAAE,sBAAsB;aACxC;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"}
|
|
@@ -2,5 +2,5 @@ import { getSitePaymentMethodType as publicGetSitePaymentMethodType, listSitePay
|
|
|
2
2
|
import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
|
|
3
3
|
export declare const getSitePaymentMethodType: MaybeContext<BuildRESTFunction<typeof publicGetSitePaymentMethodType> & typeof publicGetSitePaymentMethodType>;
|
|
4
4
|
export declare const listSitePaymentMethodTypes: MaybeContext<BuildRESTFunction<typeof publicListSitePaymentMethodTypes> & typeof publicListSitePaymentMethodTypes>;
|
|
5
|
-
export { Format } from './payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js';
|
|
5
|
+
export { Format, RequestedFields, } from './payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js';
|
|
6
6
|
export { SitePaymentMethodType, Features, IFrame, NewTab, FullPageRedirect, Barcode, QrCode, ExpressFlow, RegularFlow, Disputes, Installments, Refunds, AuthCapture, RegularTokenization, CustomTokenization, NextAction, CredentialOnFile, Moto, PromotionalMessages, MerchantFlow, Icon, BuyerFlow, GetSitePaymentMethodTypeRequest, GetSitePaymentMethodTypeResponse, ListSitePaymentMethodTypesRequest, ListSitePaymentMethodTypesResponse, SitePaymentMethodTypeNonNullableFields, GetSitePaymentMethodTypeResponseNonNullableFields, ListSitePaymentMethodTypesResponseNonNullableFields, GetSitePaymentMethodTypeOptions, ListSitePaymentMethodTypesOptions, } from './payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js';
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Format = exports.listSitePaymentMethodTypes = exports.getSitePaymentMethodType = void 0;
|
|
3
|
+
exports.RequestedFields = exports.Format = exports.listSitePaymentMethodTypes = exports.getSitePaymentMethodType = void 0;
|
|
4
4
|
const payments_site_payment_method_types_v1_site_payment_method_type_site_payment_method_types_public_js_1 = require("./payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.public.js");
|
|
5
5
|
const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
|
|
6
6
|
exports.getSitePaymentMethodType = (0, rest_modules_1.createRESTModule)(payments_site_payment_method_types_v1_site_payment_method_type_site_payment_method_types_public_js_1.getSitePaymentMethodType);
|
|
7
7
|
exports.listSitePaymentMethodTypes = (0, rest_modules_1.createRESTModule)(payments_site_payment_method_types_v1_site_payment_method_type_site_payment_method_types_public_js_1.listSitePaymentMethodTypes);
|
|
8
8
|
var payments_site_payment_method_types_v1_site_payment_method_type_site_payment_method_types_universal_js_1 = require("./payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.universal.js");
|
|
9
9
|
Object.defineProperty(exports, "Format", { enumerable: true, get: function () { return payments_site_payment_method_types_v1_site_payment_method_type_site_payment_method_types_universal_js_1.Format; } });
|
|
10
|
+
Object.defineProperty(exports, "RequestedFields", { enumerable: true, get: function () { return payments_site_payment_method_types_v1_site_payment_method_type_site_payment_method_types_universal_js_1.RequestedFields; } });
|
|
10
11
|
//# sourceMappingURL=payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.context.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.context.js","sourceRoot":"","sources":["../../../../src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.context.ts"],"names":[],"mappings":";;;AAAA,6NAG8G;AAC9G,gEAAiE;AAGpD,QAAA,wBAAwB,GAGnB,IAAA,+BAAgB,EAAC,6HAA8B,CAAC,CAAC;AACtD,QAAA,0BAA0B,GAGrB,IAAA,+BAAgB,EAAC,+HAAgC,CAAC,CAAC;AAErE,
|
|
1
|
+
{"version":3,"file":"payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.context.js","sourceRoot":"","sources":["../../../../src/payments-site-payment-method-types-v1-site-payment-method-type-site-payment-method-types.context.ts"],"names":[],"mappings":";;;AAAA,6NAG8G;AAC9G,gEAAiE;AAGpD,QAAA,wBAAwB,GAGnB,IAAA,+BAAgB,EAAC,6HAA8B,CAAC,CAAC;AACtD,QAAA,0BAA0B,GAGrB,IAAA,+BAAgB,EAAC,+HAAgC,CAAC,CAAC;AAErE,iOAGiH;AAF/G,+LAAA,MAAM,OAAA;AACN,wMAAA,eAAe,OAAA"}
|