@gr4vy/sdk 1.6.3 → 1.6.4
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/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/adyenautorescuesepascenariosenum.d.ts +1 -1
- package/models/components/adyenautorescuesepascenariosenum.d.ts.map +1 -1
- package/models/components/adyenautorescuesepascenariosenum.js +2 -5
- package/models/components/adyenautorescuesepascenariosenum.js.map +1 -1
- package/models/components/adyencardautorescuescenariosenum.d.ts +1 -1
- package/models/components/adyencardautorescuescenariosenum.d.ts.map +1 -1
- package/models/components/adyencardautorescuescenariosenum.js +2 -5
- package/models/components/adyencardautorescuescenariosenum.js.map +1 -1
- package/models/components/airline.d.ts +1 -1
- package/models/components/airline.d.ts.map +1 -1
- package/models/components/airline.js +3 -10
- package/models/components/airline.js.map +1 -1
- package/models/components/airlineleg.d.ts +1 -1
- package/models/components/airlineleg.d.ts.map +1 -1
- package/models/components/airlineleg.js +3 -10
- package/models/components/airlineleg.js.map +1 -1
- package/models/components/airlinepassenger.d.ts +1 -1
- package/models/components/airlinepassenger.d.ts.map +1 -1
- package/models/components/airlinepassenger.js +3 -10
- package/models/components/airlinepassenger.js.map +1 -1
- package/models/components/antifrauddecision.d.ts.map +1 -1
- package/models/components/antifrauddecision.js +2 -7
- package/models/components/antifrauddecision.js.map +1 -1
- package/models/components/approvaltarget.d.ts.map +1 -1
- package/models/components/approvaltarget.js +2 -7
- package/models/components/approvaltarget.js.map +1 -1
- package/models/components/auditlogaction.d.ts +1 -1
- package/models/components/auditlogaction.d.ts.map +1 -1
- package/models/components/auditlogaction.js +3 -11
- package/models/components/auditlogaction.js.map +1 -1
- package/models/components/avsresponsecode.d.ts.map +1 -1
- package/models/components/avsresponsecode.js +2 -7
- package/models/components/avsresponsecode.js.map +1 -1
- package/models/components/braintreedynamicdatafieldsoptions.d.ts +1 -1
- package/models/components/braintreedynamicdatafieldsoptions.d.ts.map +1 -1
- package/models/components/braintreedynamicdatafieldsoptions.js +2 -4
- package/models/components/braintreedynamicdatafieldsoptions.js.map +1 -1
- package/models/components/browserinfo.d.ts +1 -1
- package/models/components/browserinfo.d.ts.map +1 -1
- package/models/components/browserinfo.js +2 -4
- package/models/components/browserinfo.js.map +1 -1
- package/models/components/cancelstatus.d.ts.map +1 -1
- package/models/components/cancelstatus.js +2 -7
- package/models/components/cancelstatus.js.map +1 -1
- package/models/components/capturestatus.d.ts.map +1 -1
- package/models/components/capturestatus.js +2 -7
- package/models/components/capturestatus.js.map +1 -1
- package/models/components/cardscheme.d.ts +1 -1
- package/models/components/cardscheme.d.ts.map +1 -1
- package/models/components/cardscheme.js +3 -11
- package/models/components/cardscheme.js.map +1 -1
- package/models/components/cardtype.d.ts.map +1 -1
- package/models/components/cardtype.js +2 -7
- package/models/components/cardtype.js.map +1 -1
- package/models/components/createsessionstatus.d.ts.map +1 -1
- package/models/components/createsessionstatus.js +2 -7
- package/models/components/createsessionstatus.js.map +1 -1
- package/models/components/cvvresponsecode.d.ts.map +1 -1
- package/models/components/cvvresponsecode.js +2 -7
- package/models/components/cvvresponsecode.js.map +1 -1
- package/models/components/definitionfieldformat.d.ts.map +1 -1
- package/models/components/definitionfieldformat.js +2 -7
- package/models/components/definitionfieldformat.js.map +1 -1
- package/models/components/digitalwalletprovider.d.ts +1 -1
- package/models/components/digitalwalletprovider.d.ts.map +1 -1
- package/models/components/digitalwalletprovider.js +3 -11
- package/models/components/digitalwalletprovider.js.map +1 -1
- package/models/components/dlocalupirecurringinfooptions.d.ts +1 -1
- package/models/components/dlocalupirecurringinfooptions.d.ts.map +1 -1
- package/models/components/dlocalupirecurringinfooptions.js +2 -4
- package/models/components/dlocalupirecurringinfooptions.js.map +1 -1
- package/models/components/errorlocation.d.ts.map +1 -1
- package/models/components/errorlocation.js +2 -7
- package/models/components/errorlocation.js.map +1 -1
- package/models/components/forterantifraudoptions.d.ts +1 -1
- package/models/components/forterantifraudoptions.d.ts.map +1 -1
- package/models/components/forterantifraudoptions.js +2 -4
- package/models/components/forterantifraudoptions.js.map +1 -1
- package/models/components/forterantifraudoptionscartitembasicitemdata.d.ts +1 -1
- package/models/components/forterantifraudoptionscartitembasicitemdata.d.ts.map +1 -1
- package/models/components/forterantifraudoptionscartitembasicitemdata.js +2 -4
- package/models/components/forterantifraudoptionscartitembasicitemdata.js.map +1 -1
- package/models/components/forterantifraudoptionscartitemdeliverydetails.d.ts +1 -1
- package/models/components/forterantifraudoptionscartitemdeliverydetails.d.ts.map +1 -1
- package/models/components/forterantifraudoptionscartitemdeliverydetails.js +2 -4
- package/models/components/forterantifraudoptionscartitemdeliverydetails.js.map +1 -1
- package/models/components/giftcarderrorcode.d.ts.map +1 -1
- package/models/components/giftcarderrorcode.js +2 -7
- package/models/components/giftcarderrorcode.js.map +1 -1
- package/models/components/giftcardredemptionstatus.d.ts.map +1 -1
- package/models/components/giftcardredemptionstatus.js +2 -7
- package/models/components/giftcardredemptionstatus.js.map +1 -1
- package/models/components/giftcardserviceprovider.d.ts.map +1 -1
- package/models/components/giftcardserviceprovider.js +2 -7
- package/models/components/giftcardserviceprovider.js.map +1 -1
- package/models/components/instrumenttype.d.ts.map +1 -1
- package/models/components/instrumenttype.js +2 -7
- package/models/components/instrumenttype.js.map +1 -1
- package/models/components/integrationclient.d.ts +1 -1
- package/models/components/integrationclient.d.ts.map +1 -1
- package/models/components/integrationclient.js +3 -11
- package/models/components/integrationclient.js.map +1 -1
- package/models/components/method.d.ts +1 -1
- package/models/components/method.d.ts.map +1 -1
- package/models/components/method.js +3 -12
- package/models/components/method.js.map +1 -1
- package/models/components/mode.d.ts.map +1 -1
- package/models/components/mode.js +2 -7
- package/models/components/mode.js.map +1 -1
- package/models/components/networktokenpaymentmethodcreate.d.ts +1 -1
- package/models/components/networktokenpaymentmethodcreate.d.ts.map +1 -1
- package/models/components/networktokenpaymentmethodcreate.js +2 -4
- package/models/components/networktokenpaymentmethodcreate.js.map +1 -1
- package/models/components/networktokenstatus.d.ts.map +1 -1
- package/models/components/networktokenstatus.js +2 -7
- package/models/components/networktokenstatus.js.map +1 -1
- package/models/components/paymentlinkstatus.d.ts.map +1 -1
- package/models/components/paymentlinkstatus.js +2 -7
- package/models/components/paymentlinkstatus.js.map +1 -1
- package/models/components/paymentmethodstatus.d.ts +1 -1
- package/models/components/paymentmethodstatus.d.ts.map +1 -1
- package/models/components/paymentmethodstatus.js +3 -11
- package/models/components/paymentmethodstatus.js.map +1 -1
- package/models/components/paymentservicestatus.d.ts.map +1 -1
- package/models/components/paymentservicestatus.js +2 -7
- package/models/components/paymentservicestatus.js.map +1 -1
- package/models/components/payoutcategory.d.ts +1 -1
- package/models/components/payoutcategory.d.ts.map +1 -1
- package/models/components/payoutcategory.js +3 -11
- package/models/components/payoutcategory.js.map +1 -1
- package/models/components/payoutstatus.d.ts.map +1 -1
- package/models/components/payoutstatus.js +2 -7
- package/models/components/payoutstatus.js.map +1 -1
- package/models/components/paypalshippingoptionsitem.d.ts +1 -1
- package/models/components/paypalshippingoptionsitem.d.ts.map +1 -1
- package/models/components/paypalshippingoptionsitem.js +2 -4
- package/models/components/paypalshippingoptionsitem.js.map +1 -1
- package/models/components/producttype.d.ts +1 -1
- package/models/components/producttype.d.ts.map +1 -1
- package/models/components/producttype.js +3 -11
- package/models/components/producttype.js.map +1 -1
- package/models/components/redirectpaymentmethodcreate.d.ts +1 -1
- package/models/components/redirectpaymentmethodcreate.d.ts.map +1 -1
- package/models/components/redirectpaymentmethodcreate.js +2 -4
- package/models/components/redirectpaymentmethodcreate.js.map +1 -1
- package/models/components/refundstatus.d.ts.map +1 -1
- package/models/components/refundstatus.js +2 -7
- package/models/components/refundstatus.js.map +1 -1
- package/models/components/refundtargettype.d.ts +1 -1
- package/models/components/refundtargettype.d.ts.map +1 -1
- package/models/components/refundtargettype.js +3 -11
- package/models/components/refundtargettype.js.map +1 -1
- package/models/components/reportcreatortype.d.ts.map +1 -1
- package/models/components/reportcreatortype.js +2 -7
- package/models/components/reportcreatortype.js.map +1 -1
- package/models/components/reportexecutionstatus.d.ts +1 -1
- package/models/components/reportexecutionstatus.d.ts.map +1 -1
- package/models/components/reportexecutionstatus.js +3 -11
- package/models/components/reportexecutionstatus.js.map +1 -1
- package/models/components/reportschedule.d.ts +1 -1
- package/models/components/reportschedule.d.ts.map +1 -1
- package/models/components/reportschedule.js +3 -11
- package/models/components/reportschedule.js.map +1 -1
- package/models/components/reportspecmodel.d.ts.map +1 -1
- package/models/components/reportspecmodel.js +2 -7
- package/models/components/reportspecmodel.js.map +1 -1
- package/models/components/taxidkind.d.ts +1 -1
- package/models/components/taxidkind.d.ts.map +1 -1
- package/models/components/taxidkind.js +3 -11
- package/models/components/taxidkind.js.map +1 -1
- package/models/components/threedsecuremethod.d.ts.map +1 -1
- package/models/components/threedsecuremethod.js +2 -7
- package/models/components/threedsecuremethod.js.map +1 -1
- package/models/components/threedsecurestatus.d.ts.map +1 -1
- package/models/components/threedsecurestatus.js +2 -7
- package/models/components/threedsecurestatus.js.map +1 -1
- package/models/components/transactioneventoutput.d.ts.map +1 -1
- package/models/components/transactioneventoutput.js +2 -6
- package/models/components/transactioneventoutput.js.map +1 -1
- package/models/components/transactionintent.d.ts +1 -1
- package/models/components/transactionintent.d.ts.map +1 -1
- package/models/components/transactionintent.js +3 -11
- package/models/components/transactionintent.js.map +1 -1
- package/models/components/transactionintentoutcome.d.ts.map +1 -1
- package/models/components/transactionintentoutcome.js +2 -7
- package/models/components/transactionintentoutcome.js.map +1 -1
- package/models/components/transactionpaymentsource.d.ts +1 -1
- package/models/components/transactionpaymentsource.d.ts.map +1 -1
- package/models/components/transactionpaymentsource.js +3 -11
- package/models/components/transactionpaymentsource.js.map +1 -1
- package/models/components/transactionstatus.d.ts +1 -1
- package/models/components/transactionstatus.d.ts.map +1 -1
- package/models/components/transactionstatus.js +3 -11
- package/models/components/transactionstatus.js.map +1 -1
- package/models/components/userstatus.d.ts.map +1 -1
- package/models/components/userstatus.js +2 -7
- package/models/components/userstatus.js.map +1 -1
- package/models/components/voidstatus.d.ts.map +1 -1
- package/models/components/voidstatus.js +2 -7
- package/models/components/voidstatus.js.map +1 -1
- package/models/operations/listbuyerpaymentmethods.d.ts +1 -1
- package/models/operations/listbuyerpaymentmethods.d.ts.map +1 -1
- package/models/operations/listbuyerpaymentmethods.js +2 -4
- package/models/operations/listbuyerpaymentmethods.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/adyenautorescuesepascenariosenum.ts +4 -6
- package/src/models/components/adyencardautorescuescenariosenum.ts +4 -6
- package/src/models/components/airline.ts +5 -15
- package/src/models/components/airlineleg.ts +5 -15
- package/src/models/components/airlinepassenger.ts +5 -15
- package/src/models/components/antifrauddecision.ts +3 -6
- package/src/models/components/approvaltarget.ts +3 -6
- package/src/models/components/auditlogaction.ts +5 -15
- package/src/models/components/avsresponsecode.ts +3 -6
- package/src/models/components/braintreedynamicdatafieldsoptions.ts +4 -6
- package/src/models/components/browserinfo.ts +4 -6
- package/src/models/components/cancelstatus.ts +3 -6
- package/src/models/components/capturestatus.ts +3 -6
- package/src/models/components/cardscheme.ts +5 -15
- package/src/models/components/cardtype.ts +3 -6
- package/src/models/components/createsessionstatus.ts +3 -6
- package/src/models/components/cvvresponsecode.ts +3 -6
- package/src/models/components/definitionfieldformat.ts +3 -6
- package/src/models/components/digitalwalletprovider.ts +5 -15
- package/src/models/components/dlocalupirecurringinfooptions.ts +4 -6
- package/src/models/components/errorlocation.ts +3 -6
- package/src/models/components/forterantifraudoptions.ts +4 -6
- package/src/models/components/forterantifraudoptionscartitembasicitemdata.ts +4 -7
- package/src/models/components/forterantifraudoptionscartitemdeliverydetails.ts +6 -6
- package/src/models/components/giftcarderrorcode.ts +3 -6
- package/src/models/components/giftcardredemptionstatus.ts +3 -6
- package/src/models/components/giftcardserviceprovider.ts +3 -6
- package/src/models/components/instrumenttype.ts +3 -6
- package/src/models/components/integrationclient.ts +5 -15
- package/src/models/components/method.ts +6 -15
- package/src/models/components/mode.ts +4 -6
- package/src/models/components/networktokenpaymentmethodcreate.ts +4 -6
- package/src/models/components/networktokenstatus.ts +3 -6
- package/src/models/components/paymentlinkstatus.ts +3 -6
- package/src/models/components/paymentmethodstatus.ts +5 -15
- package/src/models/components/paymentservicestatus.ts +3 -6
- package/src/models/components/payoutcategory.ts +5 -15
- package/src/models/components/payoutstatus.ts +3 -6
- package/src/models/components/paypalshippingoptionsitem.ts +4 -6
- package/src/models/components/producttype.ts +5 -15
- package/src/models/components/redirectpaymentmethodcreate.ts +4 -6
- package/src/models/components/refundstatus.ts +3 -6
- package/src/models/components/refundtargettype.ts +5 -15
- package/src/models/components/reportcreatortype.ts +3 -6
- package/src/models/components/reportexecutionstatus.ts +5 -15
- package/src/models/components/reportschedule.ts +5 -15
- package/src/models/components/reportspecmodel.ts +3 -6
- package/src/models/components/taxidkind.ts +5 -15
- package/src/models/components/threedsecuremethod.ts +3 -6
- package/src/models/components/threedsecurestatus.ts +3 -6
- package/src/models/components/transactioneventoutput.ts +4 -6
- package/src/models/components/transactionintent.ts +5 -15
- package/src/models/components/transactionintentoutcome.ts +3 -6
- package/src/models/components/transactionpaymentsource.ts +5 -15
- package/src/models/components/transactionstatus.ts +5 -15
- package/src/models/components/userstatus.ts +3 -6
- package/src/models/components/voidstatus.ts +3 -6
- package/src/models/operations/listbuyerpaymentmethods.ts +4 -6
- package/src/types/enums.ts +55 -6
- package/src/types/index.ts +0 -1
- package/types/enums.d.ts +10 -6
- package/types/enums.d.ts.map +1 -1
- package/types/enums.js +76 -2
- package/types/enums.js.map +1 -1
- package/types/index.d.ts +0 -1
- package/types/index.d.ts.map +1 -1
- package/types/index.js +1 -3
- package/types/index.js.map +1 -1
|
@@ -37,21 +37,13 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.TransactionIntent$outboundSchema = exports.TransactionIntent$inboundSchema = exports.TransactionIntent = void 0;
|
|
40
|
-
const
|
|
41
|
-
const enums_js_1 = require("../../types/enums.js");
|
|
40
|
+
const openEnums = __importStar(require("../../types/enums.js"));
|
|
42
41
|
exports.TransactionIntent = {
|
|
43
42
|
Authorize: "authorize",
|
|
44
43
|
Capture: "capture",
|
|
45
44
|
};
|
|
46
45
|
/** @internal */
|
|
47
|
-
exports.TransactionIntent$inboundSchema =
|
|
48
|
-
.union([
|
|
49
|
-
z.nativeEnum(exports.TransactionIntent),
|
|
50
|
-
z.string().transform(enums_js_1.catchUnrecognizedEnum),
|
|
51
|
-
]);
|
|
46
|
+
exports.TransactionIntent$inboundSchema = openEnums.inboundSchema(exports.TransactionIntent);
|
|
52
47
|
/** @internal */
|
|
53
|
-
exports.TransactionIntent$outboundSchema =
|
|
54
|
-
z.nativeEnum(exports.TransactionIntent),
|
|
55
|
-
z.string().and(z.custom()),
|
|
56
|
-
]);
|
|
48
|
+
exports.TransactionIntent$outboundSchema = openEnums.outboundSchema(exports.TransactionIntent);
|
|
57
49
|
//# sourceMappingURL=transactionintent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactionintent.js","sourceRoot":"","sources":["../../src/models/components/transactionintent.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"transactionintent.js","sourceRoot":"","sources":["../../src/models/components/transactionintent.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,gEAAkD;AAGrC,QAAA,iBAAiB,GAAG;IAC/B,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;CACV,CAAC;AAGX,gBAAgB;AACH,QAAA,+BAA+B,GAIxC,SAAS,CAAC,aAAa,CAAC,yBAAiB,CAAC,CAAC;AAC/C,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,SAAS,CAAC,cAAc,CAAC,yBAAiB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactionintentoutcome.d.ts","sourceRoot":"","sources":["../../src/models/components/transactionintentoutcome.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"transactionintentoutcome.d.ts","sourceRoot":"","sources":["../../src/models/components/transactionintentoutcome.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,eAAO,MAAM,wBAAwB;;;;CAI3B,CAAC;AACX,MAAM,MAAM,wBAAwB,GAAG,QAAQ,CAC7C,OAAO,wBAAwB,CAChC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,wBAAwB,EACxB,CAAC,CAAC,UAAU,EACZ,OAAO,CAC4C,CAAC"}
|
|
@@ -37,17 +37,12 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.TransactionIntentOutcome$inboundSchema = exports.TransactionIntentOutcome = void 0;
|
|
40
|
-
const
|
|
41
|
-
const enums_js_1 = require("../../types/enums.js");
|
|
40
|
+
const openEnums = __importStar(require("../../types/enums.js"));
|
|
42
41
|
exports.TransactionIntentOutcome = {
|
|
43
42
|
Pending: "pending",
|
|
44
43
|
Succeeded: "succeeded",
|
|
45
44
|
Failed: "failed",
|
|
46
45
|
};
|
|
47
46
|
/** @internal */
|
|
48
|
-
exports.TransactionIntentOutcome$inboundSchema =
|
|
49
|
-
.union([
|
|
50
|
-
z.nativeEnum(exports.TransactionIntentOutcome),
|
|
51
|
-
z.string().transform(enums_js_1.catchUnrecognizedEnum),
|
|
52
|
-
]);
|
|
47
|
+
exports.TransactionIntentOutcome$inboundSchema = openEnums.inboundSchema(exports.TransactionIntentOutcome);
|
|
53
48
|
//# sourceMappingURL=transactionintentoutcome.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactionintentoutcome.js","sourceRoot":"","sources":["../../src/models/components/transactionintentoutcome.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"transactionintentoutcome.js","sourceRoot":"","sources":["../../src/models/components/transactionintentoutcome.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,gEAAkD;AAGrC,QAAA,wBAAwB,GAAG;IACtC,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;CACR,CAAC;AAKX,gBAAgB;AACH,QAAA,sCAAsC,GAI/C,SAAS,CAAC,aAAa,CAAC,gCAAwB,CAAC,CAAC"}
|
|
@@ -17,5 +17,5 @@ export type TransactionPaymentSource = OpenEnum<typeof TransactionPaymentSource>
|
|
|
17
17
|
/** @internal */
|
|
18
18
|
export declare const TransactionPaymentSource$inboundSchema: z.ZodType<TransactionPaymentSource, z.ZodTypeDef, unknown>;
|
|
19
19
|
/** @internal */
|
|
20
|
-
export declare const TransactionPaymentSource$outboundSchema: z.ZodType<
|
|
20
|
+
export declare const TransactionPaymentSource$outboundSchema: z.ZodType<string, z.ZodTypeDef, TransactionPaymentSource>;
|
|
21
21
|
//# sourceMappingURL=transactionpaymentsource.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactionpaymentsource.d.ts","sourceRoot":"","sources":["../../src/models/components/transactionpaymentsource.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"transactionpaymentsource.d.ts","sourceRoot":"","sources":["../../src/models/components/transactionpaymentsource.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;CAM3B,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,QAAQ,CAC7C,OAAO,wBAAwB,CAChC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,wBAAwB,EACxB,CAAC,CAAC,UAAU,EACZ,OAAO,CAC4C,CAAC;AACtD,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,MAAM,EACN,CAAC,CAAC,UAAU,EACZ,wBAAwB,CAC4B,CAAC"}
|
|
@@ -37,8 +37,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.TransactionPaymentSource$outboundSchema = exports.TransactionPaymentSource$inboundSchema = exports.TransactionPaymentSource = void 0;
|
|
40
|
-
const
|
|
41
|
-
const enums_js_1 = require("../../types/enums.js");
|
|
40
|
+
const openEnums = __importStar(require("../../types/enums.js"));
|
|
42
41
|
/**
|
|
43
42
|
* The way payment method information made it to this transaction.
|
|
44
43
|
*/
|
|
@@ -50,14 +49,7 @@ exports.TransactionPaymentSource = {
|
|
|
50
49
|
CardOnFile: "card_on_file",
|
|
51
50
|
};
|
|
52
51
|
/** @internal */
|
|
53
|
-
exports.TransactionPaymentSource$inboundSchema =
|
|
54
|
-
.union([
|
|
55
|
-
z.nativeEnum(exports.TransactionPaymentSource),
|
|
56
|
-
z.string().transform(enums_js_1.catchUnrecognizedEnum),
|
|
57
|
-
]);
|
|
52
|
+
exports.TransactionPaymentSource$inboundSchema = openEnums.inboundSchema(exports.TransactionPaymentSource);
|
|
58
53
|
/** @internal */
|
|
59
|
-
exports.TransactionPaymentSource$outboundSchema =
|
|
60
|
-
z.nativeEnum(exports.TransactionPaymentSource),
|
|
61
|
-
z.string().and(z.custom()),
|
|
62
|
-
]);
|
|
54
|
+
exports.TransactionPaymentSource$outboundSchema = openEnums.outboundSchema(exports.TransactionPaymentSource);
|
|
63
55
|
//# sourceMappingURL=transactionpaymentsource.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactionpaymentsource.js","sourceRoot":"","sources":["../../src/models/components/transactionpaymentsource.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"transactionpaymentsource.js","sourceRoot":"","sources":["../../src/models/components/transactionpaymentsource.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,gEAAkD;AAGlD;;GAEG;AACU,QAAA,wBAAwB,GAAG;IACtC,SAAS,EAAE,WAAW;IACtB,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,WAAW;IACtB,WAAW,EAAE,aAAa;IAC1B,UAAU,EAAE,cAAc;CAClB,CAAC;AAQX,gBAAgB;AACH,QAAA,sCAAsC,GAI/C,SAAS,CAAC,aAAa,CAAC,gCAAwB,CAAC,CAAC;AACtD,gBAAgB;AACH,QAAA,uCAAuC,GAIhD,SAAS,CAAC,cAAc,CAAC,gCAAwB,CAAC,CAAC"}
|
|
@@ -15,5 +15,5 @@ export type TransactionStatus = OpenEnum<typeof TransactionStatus>;
|
|
|
15
15
|
/** @internal */
|
|
16
16
|
export declare const TransactionStatus$inboundSchema: z.ZodType<TransactionStatus, z.ZodTypeDef, unknown>;
|
|
17
17
|
/** @internal */
|
|
18
|
-
export declare const TransactionStatus$outboundSchema: z.ZodType<
|
|
18
|
+
export declare const TransactionStatus$outboundSchema: z.ZodType<string, z.ZodTypeDef, TransactionStatus>;
|
|
19
19
|
//# sourceMappingURL=transactionstatus.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactionstatus.d.ts","sourceRoot":"","sources":["../../src/models/components/transactionstatus.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"transactionstatus.d.ts","sourceRoot":"","sources":["../../src/models/components/transactionstatus.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,eAAO,MAAM,iBAAiB;;;;;;;;;;CAUpB,CAAC;AACX,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEnE,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,iBAAiB,EACjB,CAAC,CAAC,UAAU,EACZ,OAAO,CACqC,CAAC;AAC/C,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,MAAM,EACN,CAAC,CAAC,UAAU,EACZ,iBAAiB,CAC4B,CAAC"}
|
|
@@ -37,8 +37,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.TransactionStatus$outboundSchema = exports.TransactionStatus$inboundSchema = exports.TransactionStatus = void 0;
|
|
40
|
-
const
|
|
41
|
-
const enums_js_1 = require("../../types/enums.js");
|
|
40
|
+
const openEnums = __importStar(require("../../types/enums.js"));
|
|
42
41
|
exports.TransactionStatus = {
|
|
43
42
|
Processing: "processing",
|
|
44
43
|
AuthorizationSucceeded: "authorization_succeeded",
|
|
@@ -51,14 +50,7 @@ exports.TransactionStatus = {
|
|
|
51
50
|
BuyerApprovalPending: "buyer_approval_pending",
|
|
52
51
|
};
|
|
53
52
|
/** @internal */
|
|
54
|
-
exports.TransactionStatus$inboundSchema =
|
|
55
|
-
.union([
|
|
56
|
-
z.nativeEnum(exports.TransactionStatus),
|
|
57
|
-
z.string().transform(enums_js_1.catchUnrecognizedEnum),
|
|
58
|
-
]);
|
|
53
|
+
exports.TransactionStatus$inboundSchema = openEnums.inboundSchema(exports.TransactionStatus);
|
|
59
54
|
/** @internal */
|
|
60
|
-
exports.TransactionStatus$outboundSchema =
|
|
61
|
-
z.nativeEnum(exports.TransactionStatus),
|
|
62
|
-
z.string().and(z.custom()),
|
|
63
|
-
]);
|
|
55
|
+
exports.TransactionStatus$outboundSchema = openEnums.outboundSchema(exports.TransactionStatus);
|
|
64
56
|
//# sourceMappingURL=transactionstatus.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactionstatus.js","sourceRoot":"","sources":["../../src/models/components/transactionstatus.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"transactionstatus.js","sourceRoot":"","sources":["../../src/models/components/transactionstatus.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,gEAAkD;AAGrC,QAAA,iBAAiB,GAAG;IAC/B,UAAU,EAAE,YAAY;IACxB,sBAAsB,EAAE,yBAAyB;IACjD,qBAAqB,EAAE,wBAAwB;IAC/C,mBAAmB,EAAE,sBAAsB;IAC3C,mBAAmB,EAAE,sBAAsB;IAC3C,wBAAwB,EAAE,4BAA4B;IACtD,gBAAgB,EAAE,mBAAmB;IACrC,cAAc,EAAE,iBAAiB;IACjC,oBAAoB,EAAE,wBAAwB;CACtC,CAAC;AAGX,gBAAgB;AACH,QAAA,+BAA+B,GAIxC,SAAS,CAAC,aAAa,CAAC,yBAAiB,CAAC,CAAC;AAC/C,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,SAAS,CAAC,cAAc,CAAC,yBAAiB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userstatus.d.ts","sourceRoot":"","sources":["../../src/models/components/userstatus.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"userstatus.d.ts","sourceRoot":"","sources":["../../src/models/components/userstatus.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,eAAO,MAAM,UAAU;;;;CAIb,CAAC;AACX,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAErD,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,OAAO,CAC9C,UAAU,EACV,CAAC,CAAC,UAAU,EACZ,OAAO,CAC8B,CAAC"}
|
|
@@ -37,17 +37,12 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.UserStatus$inboundSchema = exports.UserStatus = void 0;
|
|
40
|
-
const
|
|
41
|
-
const enums_js_1 = require("../../types/enums.js");
|
|
40
|
+
const openEnums = __importStar(require("../../types/enums.js"));
|
|
42
41
|
exports.UserStatus = {
|
|
43
42
|
Active: "active",
|
|
44
43
|
Pending: "pending",
|
|
45
44
|
Deleted: "deleted",
|
|
46
45
|
};
|
|
47
46
|
/** @internal */
|
|
48
|
-
exports.UserStatus$inboundSchema =
|
|
49
|
-
.union([
|
|
50
|
-
z.nativeEnum(exports.UserStatus),
|
|
51
|
-
z.string().transform(enums_js_1.catchUnrecognizedEnum),
|
|
52
|
-
]);
|
|
47
|
+
exports.UserStatus$inboundSchema = openEnums.inboundSchema(exports.UserStatus);
|
|
53
48
|
//# sourceMappingURL=userstatus.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userstatus.js","sourceRoot":"","sources":["../../src/models/components/userstatus.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"userstatus.js","sourceRoot":"","sources":["../../src/models/components/userstatus.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,gEAAkD;AAGrC,QAAA,UAAU,GAAG;IACxB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;CACV,CAAC;AAGX,gBAAgB;AACH,QAAA,wBAAwB,GAIjC,SAAS,CAAC,aAAa,CAAC,kBAAU,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"voidstatus.d.ts","sourceRoot":"","sources":["../../src/models/components/voidstatus.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"voidstatus.d.ts","sourceRoot":"","sources":["../../src/models/components/voidstatus.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,eAAO,MAAM,UAAU;;;;;CAKb,CAAC;AACX,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAErD,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,OAAO,CAC9C,UAAU,EACV,CAAC,CAAC,UAAU,EACZ,OAAO,CAC8B,CAAC"}
|
|
@@ -37,8 +37,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.VoidStatus$inboundSchema = exports.VoidStatus = void 0;
|
|
40
|
-
const
|
|
41
|
-
const enums_js_1 = require("../../types/enums.js");
|
|
40
|
+
const openEnums = __importStar(require("../../types/enums.js"));
|
|
42
41
|
exports.VoidStatus = {
|
|
43
42
|
Succeeded: "succeeded",
|
|
44
43
|
Pending: "pending",
|
|
@@ -46,9 +45,5 @@ exports.VoidStatus = {
|
|
|
46
45
|
Failed: "failed",
|
|
47
46
|
};
|
|
48
47
|
/** @internal */
|
|
49
|
-
exports.VoidStatus$inboundSchema =
|
|
50
|
-
.union([
|
|
51
|
-
z.nativeEnum(exports.VoidStatus),
|
|
52
|
-
z.string().transform(enums_js_1.catchUnrecognizedEnum),
|
|
53
|
-
]);
|
|
48
|
+
exports.VoidStatus$inboundSchema = openEnums.inboundSchema(exports.VoidStatus);
|
|
54
49
|
//# sourceMappingURL=voidstatus.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"voidstatus.js","sourceRoot":"","sources":["../../src/models/components/voidstatus.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"voidstatus.js","sourceRoot":"","sources":["../../src/models/components/voidstatus.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,gEAAkD;AAGrC,QAAA,UAAU,GAAG;IACxB,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;CACR,CAAC;AAGX,gBAAgB;AACH,QAAA,wBAAwB,GAIjC,SAAS,CAAC,aAAa,CAAC,kBAAU,CAAC,CAAC"}
|
|
@@ -45,7 +45,7 @@ export type ListBuyerPaymentMethodsRequest = {
|
|
|
45
45
|
merchantAccountId?: string | null | undefined;
|
|
46
46
|
};
|
|
47
47
|
/** @internal */
|
|
48
|
-
export declare const OrderBy$outboundSchema: z.ZodType<
|
|
48
|
+
export declare const OrderBy$outboundSchema: z.ZodType<string, z.ZodTypeDef, OrderBy>;
|
|
49
49
|
/** @internal */
|
|
50
50
|
export type ListBuyerPaymentMethodsRequest$Outbound = {
|
|
51
51
|
buyer_id?: string | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listbuyerpaymentmethods.d.ts","sourceRoot":"","sources":["../../src/models/operations/listbuyerpaymentmethods.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"listbuyerpaymentmethods.d.ts","sourceRoot":"","sources":["../../src/models/operations/listbuyerpaymentmethods.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,MAAM,MAAM,8BAA8B,GAAG;IAC3C,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO;;;CAGV,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,OAAO,CAAC,CAAC;AAE/C,MAAM,MAAM,8BAA8B,GAAG;IAC3C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpD;;OAEG;IACH,MAAM,CAAC,EAAE,cAAc,GAAG,IAAI,GAAG,SAAS,CAAC;IAC3C;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CAC/C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sBAAsB,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CACzC,CAAC;AAEpC,gBAAgB;AAChB,MAAM,MAAM,uCAAuC,GAAG;IACpD,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC,yBAAyB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtD,OAAO,EAAE,cAAc,GAAG,IAAI,CAAC;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CAC/C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,OAAO,CACnE,uCAAuC,EACvC,CAAC,CAAC,UAAU,EACZ,8BAA8B,CAgB9B,CAAC;AAEH,wBAAgB,oCAAoC,CAClD,8BAA8B,EAAE,8BAA8B,GAC7D,MAAM,CAMR"}
|
|
@@ -40,6 +40,7 @@ exports.ListBuyerPaymentMethodsRequest$outboundSchema = exports.OrderBy$outbound
|
|
|
40
40
|
exports.listBuyerPaymentMethodsRequestToJSON = listBuyerPaymentMethodsRequestToJSON;
|
|
41
41
|
const z = __importStar(require("zod/v3"));
|
|
42
42
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
43
|
+
const openEnums = __importStar(require("../../types/enums.js"));
|
|
43
44
|
/**
|
|
44
45
|
* The direction to sort the payment methods in.
|
|
45
46
|
*/
|
|
@@ -48,10 +49,7 @@ exports.OrderBy = {
|
|
|
48
49
|
Desc: "desc",
|
|
49
50
|
};
|
|
50
51
|
/** @internal */
|
|
51
|
-
exports.OrderBy$outboundSchema =
|
|
52
|
-
z.nativeEnum(exports.OrderBy),
|
|
53
|
-
z.string().and(z.custom()),
|
|
54
|
-
]);
|
|
52
|
+
exports.OrderBy$outboundSchema = openEnums.outboundSchema(exports.OrderBy);
|
|
55
53
|
/** @internal */
|
|
56
54
|
exports.ListBuyerPaymentMethodsRequest$outboundSchema = z.object({
|
|
57
55
|
buyerId: z.nullable(z.string()).optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listbuyerpaymentmethods.js","sourceRoot":"","sources":["../../src/models/operations/listbuyerpaymentmethods.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"listbuyerpaymentmethods.js","sourceRoot":"","sources":["../../src/models/operations/listbuyerpaymentmethods.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2FH,oFAQC;AAjGD,0CAA4B;AAC5B,2DAA0D;AAC1D,gEAAkD;AAOlD;;GAEG;AACU,QAAA,OAAO,GAAG;IACrB,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;CACJ,CAAC;AAqCX,gBAAgB;AACH,QAAA,sBAAsB,GACjC,SAAS,CAAC,cAAc,CAAC,eAAO,CAAC,CAAC;AAapC,gBAAgB;AACH,QAAA,6CAA6C,GAItD,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC1C,uBAAuB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC1D,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;IAC7C,OAAO,EAAE,8BAAsB,CAAC,OAAO,CAAC,MAAM,CAAC;IAC/C,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC1C,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC3C,iBAAiB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CACrD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,OAAO,EAAE,UAAU;QACnB,uBAAuB,EAAE,2BAA2B;QACpD,MAAM,EAAE,SAAS;QACjB,OAAO,EAAE,UAAU;KACpB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,oCAAoC,CAClD,8BAA8D;IAE9D,OAAO,IAAI,CAAC,SAAS,CACnB,qDAA6C,CAAC,KAAK,CACjD,8BAA8B,CAC/B,CACF,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -77,7 +77,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
77
77
|
export const SDK_METADATA = {
|
|
78
78
|
language: "typescript",
|
|
79
79
|
openapiDocVersion: "1.0.0",
|
|
80
|
-
sdkVersion: "1.6.
|
|
81
|
-
genVersion: "2.
|
|
82
|
-
userAgent: "speakeasy-sdk/typescript 1.6.
|
|
80
|
+
sdkVersion: "1.6.4",
|
|
81
|
+
genVersion: "2.750.0",
|
|
82
|
+
userAgent: "speakeasy-sdk/typescript 1.6.4 2.750.0 1.0.0 @gr4vy/sdk",
|
|
83
83
|
} as const;
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
|
-
import
|
|
6
|
+
import * as openEnums from "../../types/enums.js";
|
|
7
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
7
8
|
|
|
8
9
|
export const AdyenAutoRescueSepaScenariosEnum = {
|
|
9
10
|
AutoRescueSuccessfulFirst: "AutoRescueSuccessfulFirst",
|
|
@@ -16,10 +17,7 @@ export type AdyenAutoRescueSepaScenariosEnum = OpenEnum<
|
|
|
16
17
|
|
|
17
18
|
/** @internal */
|
|
18
19
|
export const AdyenAutoRescueSepaScenariosEnum$outboundSchema: z.ZodType<
|
|
19
|
-
|
|
20
|
+
string,
|
|
20
21
|
z.ZodTypeDef,
|
|
21
22
|
AdyenAutoRescueSepaScenariosEnum
|
|
22
|
-
> =
|
|
23
|
-
z.nativeEnum(AdyenAutoRescueSepaScenariosEnum),
|
|
24
|
-
z.string().and(z.custom<Unrecognized<string>>()),
|
|
25
|
-
]);
|
|
23
|
+
> = openEnums.outboundSchema(AdyenAutoRescueSepaScenariosEnum);
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
|
-
import
|
|
6
|
+
import * as openEnums from "../../types/enums.js";
|
|
7
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
7
8
|
|
|
8
9
|
export const AdyenCardAutoRescueScenariosEnum = {
|
|
9
10
|
AutoRescueSuccessfulFirst: "AutoRescueSuccessfulFirst",
|
|
@@ -17,10 +18,7 @@ export type AdyenCardAutoRescueScenariosEnum = OpenEnum<
|
|
|
17
18
|
|
|
18
19
|
/** @internal */
|
|
19
20
|
export const AdyenCardAutoRescueScenariosEnum$outboundSchema: z.ZodType<
|
|
20
|
-
|
|
21
|
+
string,
|
|
21
22
|
z.ZodTypeDef,
|
|
22
23
|
AdyenCardAutoRescueScenariosEnum
|
|
23
|
-
> =
|
|
24
|
-
z.nativeEnum(AdyenCardAutoRescueScenariosEnum),
|
|
25
|
-
z.string().and(z.custom<Unrecognized<string>>()),
|
|
26
|
-
]);
|
|
24
|
+
> = openEnums.outboundSchema(AdyenCardAutoRescueScenariosEnum);
|
|
@@ -5,11 +5,8 @@
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
OpenEnum,
|
|
11
|
-
Unrecognized,
|
|
12
|
-
} from "../../types/enums.js";
|
|
8
|
+
import * as openEnums from "../../types/enums.js";
|
|
9
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
13
10
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
14
11
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
15
12
|
import {
|
|
@@ -118,20 +115,13 @@ export const TicketDeliveryMethod$inboundSchema: z.ZodType<
|
|
|
118
115
|
TicketDeliveryMethod,
|
|
119
116
|
z.ZodTypeDef,
|
|
120
117
|
unknown
|
|
121
|
-
> =
|
|
122
|
-
.union([
|
|
123
|
-
z.nativeEnum(TicketDeliveryMethod),
|
|
124
|
-
z.string().transform(catchUnrecognizedEnum),
|
|
125
|
-
]);
|
|
118
|
+
> = openEnums.inboundSchema(TicketDeliveryMethod);
|
|
126
119
|
/** @internal */
|
|
127
120
|
export const TicketDeliveryMethod$outboundSchema: z.ZodType<
|
|
128
|
-
|
|
121
|
+
string,
|
|
129
122
|
z.ZodTypeDef,
|
|
130
123
|
TicketDeliveryMethod
|
|
131
|
-
> =
|
|
132
|
-
z.nativeEnum(TicketDeliveryMethod),
|
|
133
|
-
z.string().and(z.custom<Unrecognized<string>>()),
|
|
134
|
-
]);
|
|
124
|
+
> = openEnums.outboundSchema(TicketDeliveryMethod);
|
|
135
125
|
|
|
136
126
|
/** @internal */
|
|
137
127
|
export const Airline$inboundSchema: z.ZodType<Airline, z.ZodTypeDef, unknown> =
|
|
@@ -5,11 +5,8 @@
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
OpenEnum,
|
|
11
|
-
Unrecognized,
|
|
12
|
-
} from "../../types/enums.js";
|
|
8
|
+
import * as openEnums from "../../types/enums.js";
|
|
9
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
13
10
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
14
11
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
15
12
|
|
|
@@ -119,20 +116,13 @@ export const RouteType$inboundSchema: z.ZodType<
|
|
|
119
116
|
RouteType,
|
|
120
117
|
z.ZodTypeDef,
|
|
121
118
|
unknown
|
|
122
|
-
> =
|
|
123
|
-
.union([
|
|
124
|
-
z.nativeEnum(RouteType),
|
|
125
|
-
z.string().transform(catchUnrecognizedEnum),
|
|
126
|
-
]);
|
|
119
|
+
> = openEnums.inboundSchema(RouteType);
|
|
127
120
|
/** @internal */
|
|
128
121
|
export const RouteType$outboundSchema: z.ZodType<
|
|
129
|
-
|
|
122
|
+
string,
|
|
130
123
|
z.ZodTypeDef,
|
|
131
124
|
RouteType
|
|
132
|
-
> =
|
|
133
|
-
z.nativeEnum(RouteType),
|
|
134
|
-
z.string().and(z.custom<Unrecognized<string>>()),
|
|
135
|
-
]);
|
|
125
|
+
> = openEnums.outboundSchema(RouteType);
|
|
136
126
|
|
|
137
127
|
/** @internal */
|
|
138
128
|
export const AirlineLeg$inboundSchema: z.ZodType<
|
|
@@ -5,11 +5,8 @@
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
OpenEnum,
|
|
11
|
-
Unrecognized,
|
|
12
|
-
} from "../../types/enums.js";
|
|
8
|
+
import * as openEnums from "../../types/enums.js";
|
|
9
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
13
10
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
14
11
|
import { RFCDate } from "../../types/rfcdate.js";
|
|
15
12
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
@@ -72,20 +69,13 @@ export const AgeGroup$inboundSchema: z.ZodType<
|
|
|
72
69
|
AgeGroup,
|
|
73
70
|
z.ZodTypeDef,
|
|
74
71
|
unknown
|
|
75
|
-
> =
|
|
76
|
-
.union([
|
|
77
|
-
z.nativeEnum(AgeGroup),
|
|
78
|
-
z.string().transform(catchUnrecognizedEnum),
|
|
79
|
-
]);
|
|
72
|
+
> = openEnums.inboundSchema(AgeGroup);
|
|
80
73
|
/** @internal */
|
|
81
74
|
export const AgeGroup$outboundSchema: z.ZodType<
|
|
82
|
-
|
|
75
|
+
string,
|
|
83
76
|
z.ZodTypeDef,
|
|
84
77
|
AgeGroup
|
|
85
|
-
> =
|
|
86
|
-
z.nativeEnum(AgeGroup),
|
|
87
|
-
z.string().and(z.custom<Unrecognized<string>>()),
|
|
88
|
-
]);
|
|
78
|
+
> = openEnums.outboundSchema(AgeGroup);
|
|
89
79
|
|
|
90
80
|
/** @internal */
|
|
91
81
|
export const AirlinePassenger$inboundSchema: z.ZodType<
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
|
-
import
|
|
6
|
+
import * as openEnums from "../../types/enums.js";
|
|
7
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
7
8
|
|
|
8
9
|
export const AntiFraudDecision = {
|
|
9
10
|
Accept: "accept",
|
|
@@ -21,8 +22,4 @@ export const AntiFraudDecision$inboundSchema: z.ZodType<
|
|
|
21
22
|
AntiFraudDecision,
|
|
22
23
|
z.ZodTypeDef,
|
|
23
24
|
unknown
|
|
24
|
-
> =
|
|
25
|
-
.union([
|
|
26
|
-
z.nativeEnum(AntiFraudDecision),
|
|
27
|
-
z.string().transform(catchUnrecognizedEnum),
|
|
28
|
-
]);
|
|
25
|
+
> = openEnums.inboundSchema(AntiFraudDecision);
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
|
-
import
|
|
6
|
+
import * as openEnums from "../../types/enums.js";
|
|
7
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
7
8
|
|
|
8
9
|
export const ApprovalTarget = {
|
|
9
10
|
NewWindow: "new_window",
|
|
@@ -16,8 +17,4 @@ export const ApprovalTarget$inboundSchema: z.ZodType<
|
|
|
16
17
|
ApprovalTarget,
|
|
17
18
|
z.ZodTypeDef,
|
|
18
19
|
unknown
|
|
19
|
-
> =
|
|
20
|
-
.union([
|
|
21
|
-
z.nativeEnum(ApprovalTarget),
|
|
22
|
-
z.string().transform(catchUnrecognizedEnum),
|
|
23
|
-
]);
|
|
20
|
+
> = openEnums.inboundSchema(ApprovalTarget);
|
|
@@ -3,11 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
OpenEnum,
|
|
9
|
-
Unrecognized,
|
|
10
|
-
} from "../../types/enums.js";
|
|
6
|
+
import * as openEnums from "../../types/enums.js";
|
|
7
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
11
8
|
|
|
12
9
|
export const AuditLogAction = {
|
|
13
10
|
Created: "created",
|
|
@@ -24,17 +21,10 @@ export const AuditLogAction$inboundSchema: z.ZodType<
|
|
|
24
21
|
AuditLogAction,
|
|
25
22
|
z.ZodTypeDef,
|
|
26
23
|
unknown
|
|
27
|
-
> =
|
|
28
|
-
.union([
|
|
29
|
-
z.nativeEnum(AuditLogAction),
|
|
30
|
-
z.string().transform(catchUnrecognizedEnum),
|
|
31
|
-
]);
|
|
24
|
+
> = openEnums.inboundSchema(AuditLogAction);
|
|
32
25
|
/** @internal */
|
|
33
26
|
export const AuditLogAction$outboundSchema: z.ZodType<
|
|
34
|
-
|
|
27
|
+
string,
|
|
35
28
|
z.ZodTypeDef,
|
|
36
29
|
AuditLogAction
|
|
37
|
-
> =
|
|
38
|
-
z.nativeEnum(AuditLogAction),
|
|
39
|
-
z.string().and(z.custom<Unrecognized<string>>()),
|
|
40
|
-
]);
|
|
30
|
+
> = openEnums.outboundSchema(AuditLogAction);
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
|
-
import
|
|
6
|
+
import * as openEnums from "../../types/enums.js";
|
|
7
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
7
8
|
|
|
8
9
|
export const AVSResponseCode = {
|
|
9
10
|
Match: "match",
|
|
@@ -20,8 +21,4 @@ export const AVSResponseCode$inboundSchema: z.ZodType<
|
|
|
20
21
|
AVSResponseCode,
|
|
21
22
|
z.ZodTypeDef,
|
|
22
23
|
unknown
|
|
23
|
-
> =
|
|
24
|
-
.union([
|
|
25
|
-
z.nativeEnum(AVSResponseCode),
|
|
26
|
-
z.string().transform(catchUnrecognizedEnum),
|
|
27
|
-
]);
|
|
24
|
+
> = openEnums.inboundSchema(AVSResponseCode);
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
-
import
|
|
7
|
+
import * as openEnums from "../../types/enums.js";
|
|
8
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
8
9
|
|
|
9
10
|
export const VaultPaymentMethodCriteria = {
|
|
10
11
|
Always: "ALWAYS",
|
|
@@ -31,13 +32,10 @@ export type BraintreeDynamicDataFieldsOptions = {
|
|
|
31
32
|
|
|
32
33
|
/** @internal */
|
|
33
34
|
export const VaultPaymentMethodCriteria$outboundSchema: z.ZodType<
|
|
34
|
-
|
|
35
|
+
string,
|
|
35
36
|
z.ZodTypeDef,
|
|
36
37
|
VaultPaymentMethodCriteria
|
|
37
|
-
> =
|
|
38
|
-
z.nativeEnum(VaultPaymentMethodCriteria),
|
|
39
|
-
z.string().and(z.custom<Unrecognized<string>>()),
|
|
40
|
-
]);
|
|
38
|
+
> = openEnums.outboundSchema(VaultPaymentMethodCriteria);
|
|
41
39
|
|
|
42
40
|
/** @internal */
|
|
43
41
|
export type BraintreeDynamicDataFieldsOptions$Outbound = {
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
-
import
|
|
7
|
+
import * as openEnums from "../../types/enums.js";
|
|
8
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* The platform that is being used to access the website.
|
|
@@ -45,13 +46,10 @@ export type BrowserInfo = {
|
|
|
45
46
|
|
|
46
47
|
/** @internal */
|
|
47
48
|
export const UserDevice$outboundSchema: z.ZodType<
|
|
48
|
-
|
|
49
|
+
string,
|
|
49
50
|
z.ZodTypeDef,
|
|
50
51
|
UserDevice
|
|
51
|
-
> =
|
|
52
|
-
z.nativeEnum(UserDevice),
|
|
53
|
-
z.string().and(z.custom<Unrecognized<string>>()),
|
|
54
|
-
]);
|
|
52
|
+
> = openEnums.outboundSchema(UserDevice);
|
|
55
53
|
|
|
56
54
|
/** @internal */
|
|
57
55
|
export type BrowserInfo$Outbound = {
|