@gr4vy/sdk 2.0.4 → 2.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/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/threedsecurescenariooutcome.d.ts +2 -2
- package/models/components/threedsecurescenariooutcome.d.ts.map +1 -1
- package/models/components/threedsecurescenariooutcome.js +2 -2
- package/models/components/threedsecurescenariooutcome.js.map +1 -1
- package/models/operations/listbuyerpaymentmethods.d.ts +18 -3
- package/models/operations/listbuyerpaymentmethods.d.ts.map +1 -1
- package/models/operations/listbuyerpaymentmethods.js +14 -2
- package/models/operations/listbuyerpaymentmethods.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/threedsecurescenariooutcome.ts +4 -4
- package/src/models/operations/listbuyerpaymentmethods.ts +22 -4
package/jsr.json
CHANGED
package/lib/config.d.ts
CHANGED
|
@@ -44,8 +44,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
44
44
|
export declare const SDK_METADATA: {
|
|
45
45
|
readonly language: "typescript";
|
|
46
46
|
readonly openapiDocVersion: "1.0.0";
|
|
47
|
-
readonly sdkVersion: "2.0.
|
|
48
|
-
readonly genVersion: "2.
|
|
49
|
-
readonly userAgent: "speakeasy-sdk/typescript 2.0.
|
|
47
|
+
readonly sdkVersion: "2.0.5";
|
|
48
|
+
readonly genVersion: "2.865.2";
|
|
49
|
+
readonly userAgent: "speakeasy-sdk/typescript 2.0.5 2.865.2 1.0.0 @gr4vy/sdk";
|
|
50
50
|
};
|
|
51
51
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -37,8 +37,8 @@ function serverURLFromOptions(options) {
|
|
|
37
37
|
exports.SDK_METADATA = {
|
|
38
38
|
language: "typescript",
|
|
39
39
|
openapiDocVersion: "1.0.0",
|
|
40
|
-
sdkVersion: "2.0.
|
|
41
|
-
genVersion: "2.
|
|
42
|
-
userAgent: "speakeasy-sdk/typescript 2.0.
|
|
40
|
+
sdkVersion: "2.0.5",
|
|
41
|
+
genVersion: "2.865.2",
|
|
42
|
+
userAgent: "speakeasy-sdk/typescript 2.0.5 2.865.2 1.0.0 @gr4vy/sdk",
|
|
43
43
|
};
|
|
44
44
|
//# sourceMappingURL=config.js.map
|
|
@@ -7,7 +7,7 @@ export type ThreeDSecureScenarioOutcome = {
|
|
|
7
7
|
/**
|
|
8
8
|
* The version of 3DS which will be simulated.
|
|
9
9
|
*/
|
|
10
|
-
version
|
|
10
|
+
version?: string | null | undefined;
|
|
11
11
|
authentication: ThreeDSecureScenarioOutcomeAuthentication;
|
|
12
12
|
/**
|
|
13
13
|
* 3DS result value. Required if authentication status is "C".
|
|
@@ -18,7 +18,7 @@ export type ThreeDSecureScenarioOutcome = {
|
|
|
18
18
|
export declare const ThreeDSecureScenarioOutcome$inboundSchema: z.ZodType<ThreeDSecureScenarioOutcome, z.ZodTypeDef, unknown>;
|
|
19
19
|
/** @internal */
|
|
20
20
|
export type ThreeDSecureScenarioOutcome$Outbound = {
|
|
21
|
-
version
|
|
21
|
+
version?: string | null | undefined;
|
|
22
22
|
authentication: ThreeDSecureScenarioOutcomeAuthentication$Outbound;
|
|
23
23
|
result?: ThreeDSecureScenarioOutcomeResult$Outbound | null | undefined;
|
|
24
24
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"threedsecurescenariooutcome.d.ts","sourceRoot":"","sources":["../../src/models/components/threedsecurescenariooutcome.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,yCAAyC,EAEzC,kDAAkD,EAEnD,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,iCAAiC,EAEjC,0CAA0C,EAE3C,MAAM,wCAAwC,CAAC;AAEhD,MAAM,MAAM,2BAA2B,GAAG;IACxC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"threedsecurescenariooutcome.d.ts","sourceRoot":"","sources":["../../src/models/components/threedsecurescenariooutcome.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,yCAAyC,EAEzC,kDAAkD,EAEnD,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,iCAAiC,EAEjC,0CAA0C,EAE3C,MAAM,wCAAwC,CAAC;AAEhD,MAAM,MAAM,2BAA2B,GAAG;IACxC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,cAAc,EAAE,yCAAyC,CAAC;IAC1D;;OAEG;IACH,MAAM,CAAC,EAAE,iCAAiC,GAAG,IAAI,GAAG,SAAS,CAAC;CAC/D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,OAAO,CAMP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,oCAAoC,GAAG;IACjD,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,cAAc,EAAE,kDAAkD,CAAC;IACnE,MAAM,CAAC,EAAE,0CAA0C,GAAG,IAAI,GAAG,SAAS,CAAC;CACxE,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,oCAAoC,EACpC,CAAC,CAAC,UAAU,EACZ,2BAA2B,CAM3B,CAAC;AAEH,wBAAgB,iCAAiC,CAC/C,2BAA2B,EAAE,2BAA2B,GACvD,MAAM,CAMR;AACD,wBAAgB,mCAAmC,CACjD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,2BAA2B,EAAE,kBAAkB,CAAC,CAMlE"}
|
|
@@ -45,14 +45,14 @@ const threedsecurescenariooutcomeauthentication_js_1 = require("./threedsecuresc
|
|
|
45
45
|
const threedsecurescenariooutcomeresult_js_1 = require("./threedsecurescenariooutcomeresult.js");
|
|
46
46
|
/** @internal */
|
|
47
47
|
exports.ThreeDSecureScenarioOutcome$inboundSchema = z.object({
|
|
48
|
-
version: z.string(),
|
|
48
|
+
version: z.nullable(z.string()).optional(),
|
|
49
49
|
authentication: threedsecurescenariooutcomeauthentication_js_1.ThreeDSecureScenarioOutcomeAuthentication$inboundSchema,
|
|
50
50
|
result: z.nullable(threedsecurescenariooutcomeresult_js_1.ThreeDSecureScenarioOutcomeResult$inboundSchema)
|
|
51
51
|
.optional(),
|
|
52
52
|
});
|
|
53
53
|
/** @internal */
|
|
54
54
|
exports.ThreeDSecureScenarioOutcome$outboundSchema = z.object({
|
|
55
|
-
version: z.string(),
|
|
55
|
+
version: z.nullable(z.string()).optional(),
|
|
56
56
|
authentication: threedsecurescenariooutcomeauthentication_js_1.ThreeDSecureScenarioOutcomeAuthentication$outboundSchema,
|
|
57
57
|
result: z.nullable(threedsecurescenariooutcomeresult_js_1.ThreeDSecureScenarioOutcomeResult$outboundSchema)
|
|
58
58
|
.optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"threedsecurescenariooutcome.js","sourceRoot":"","sources":["../../src/models/components/threedsecurescenariooutcome.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6DH,8EAQC;AACD,kFAQC;AA5ED,0CAA4B;AAC5B,qDAAiD;AAGjD,iHAKwD;AACxD,iGAKgD;AAchD,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;
|
|
1
|
+
{"version":3,"file":"threedsecurescenariooutcome.js","sourceRoot":"","sources":["../../src/models/components/threedsecurescenariooutcome.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6DH,8EAQC;AACD,kFAQC;AA5ED,0CAA4B;AAC5B,qDAAiD;AAGjD,iHAKwD;AACxD,iGAKgD;AAchD,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC1C,cAAc,EAAE,sGAAuD;IACvE,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,sFAA+C,CAAC;SAChE,QAAQ,EAAE;CACd,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,0CAA0C,GAInD,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC1C,cAAc,EAAE,uGAAwD;IACxE,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,uFAAgD,CAAC;SACjE,QAAQ,EAAE;CACd,CAAC,CAAC;AAEH,SAAgB,iCAAiC,CAC/C,2BAAwD;IAExD,OAAO,IAAI,CAAC,SAAS,CACnB,kDAA0C,CAAC,KAAK,CAC9C,2BAA2B,CAC5B,CACF,CAAC;AACJ,CAAC;AACD,SAAgB,mCAAmC,CACjD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,iDAAyC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACrE,yDAAyD,CAC1D,CAAC;AACJ,CAAC"}
|
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
import * as z from "zod/v3";
|
|
2
|
-
import { OpenEnum } from "../../types/enums.js";
|
|
2
|
+
import { ClosedEnum, OpenEnum } from "../../types/enums.js";
|
|
3
3
|
export type ListBuyerPaymentMethodsGlobals = {
|
|
4
4
|
merchantAccountId?: string | undefined;
|
|
5
5
|
};
|
|
6
|
+
/**
|
|
7
|
+
* The field to sort the payment methods by.
|
|
8
|
+
*/
|
|
9
|
+
export declare const SortBy: {
|
|
10
|
+
readonly LastUsedAt: "last_used_at";
|
|
11
|
+
readonly UsageCount: "usage_count";
|
|
12
|
+
readonly CitLastUsedAt: "cit_last_used_at";
|
|
13
|
+
readonly CitUsageCount: "cit_usage_count";
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* The field to sort the payment methods by.
|
|
17
|
+
*/
|
|
18
|
+
export type SortBy = ClosedEnum<typeof SortBy>;
|
|
6
19
|
/**
|
|
7
20
|
* The direction to sort the payment methods in.
|
|
8
21
|
*/
|
|
@@ -26,7 +39,7 @@ export type ListBuyerPaymentMethodsRequest = {
|
|
|
26
39
|
/**
|
|
27
40
|
* The field to sort the payment methods by.
|
|
28
41
|
*/
|
|
29
|
-
sortBy?:
|
|
42
|
+
sortBy?: SortBy | null | undefined;
|
|
30
43
|
/**
|
|
31
44
|
* The direction to sort the payment methods in.
|
|
32
45
|
*/
|
|
@@ -45,12 +58,14 @@ export type ListBuyerPaymentMethodsRequest = {
|
|
|
45
58
|
merchantAccountId?: string | null | undefined;
|
|
46
59
|
};
|
|
47
60
|
/** @internal */
|
|
61
|
+
export declare const SortBy$outboundSchema: z.ZodNativeEnum<typeof SortBy>;
|
|
62
|
+
/** @internal */
|
|
48
63
|
export declare const OrderBy$outboundSchema: z.ZodType<string, z.ZodTypeDef, OrderBy>;
|
|
49
64
|
/** @internal */
|
|
50
65
|
export type ListBuyerPaymentMethodsRequest$Outbound = {
|
|
51
66
|
buyer_id?: string | null | undefined;
|
|
52
67
|
buyer_external_identifier?: string | null | undefined;
|
|
53
|
-
sort_by?:
|
|
68
|
+
sort_by?: string | null | undefined;
|
|
54
69
|
order_by: string;
|
|
55
70
|
country?: string | null | undefined;
|
|
56
71
|
currency?: 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;AAG5B,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,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,UAAU,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAE5D,MAAM,MAAM,8BAA8B,GAAG;IAC3C,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,MAAM;;;;;CAKT,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC;AAE/C;;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,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACnC;;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,qBAAqB,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,MAAM,CAC5C,CAAC;AAEtB,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,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,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"}
|
|
@@ -36,11 +36,20 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.ListBuyerPaymentMethodsRequest$outboundSchema = exports.OrderBy$outboundSchema = exports.OrderBy = void 0;
|
|
39
|
+
exports.ListBuyerPaymentMethodsRequest$outboundSchema = exports.OrderBy$outboundSchema = exports.SortBy$outboundSchema = exports.OrderBy = exports.SortBy = void 0;
|
|
40
40
|
exports.listBuyerPaymentMethodsRequestToJSON = listBuyerPaymentMethodsRequestToJSON;
|
|
41
41
|
const z = __importStar(require("zod/v3"));
|
|
42
42
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
43
43
|
const openEnums = __importStar(require("../../types/enums.js"));
|
|
44
|
+
/**
|
|
45
|
+
* The field to sort the payment methods by.
|
|
46
|
+
*/
|
|
47
|
+
exports.SortBy = {
|
|
48
|
+
LastUsedAt: "last_used_at",
|
|
49
|
+
UsageCount: "usage_count",
|
|
50
|
+
CitLastUsedAt: "cit_last_used_at",
|
|
51
|
+
CitUsageCount: "cit_usage_count",
|
|
52
|
+
};
|
|
44
53
|
/**
|
|
45
54
|
* The direction to sort the payment methods in.
|
|
46
55
|
*/
|
|
@@ -49,12 +58,15 @@ exports.OrderBy = {
|
|
|
49
58
|
Desc: "desc",
|
|
50
59
|
};
|
|
51
60
|
/** @internal */
|
|
61
|
+
exports.SortBy$outboundSchema = z
|
|
62
|
+
.nativeEnum(exports.SortBy);
|
|
63
|
+
/** @internal */
|
|
52
64
|
exports.OrderBy$outboundSchema = openEnums.outboundSchema(exports.OrderBy);
|
|
53
65
|
/** @internal */
|
|
54
66
|
exports.ListBuyerPaymentMethodsRequest$outboundSchema = z.object({
|
|
55
67
|
buyerId: z.nullable(z.string()).optional(),
|
|
56
68
|
buyerExternalIdentifier: z.nullable(z.string()).optional(),
|
|
57
|
-
sortBy: z.nullable(
|
|
69
|
+
sortBy: z.nullable(exports.SortBy$outboundSchema).optional(),
|
|
58
70
|
orderBy: exports.OrderBy$outboundSchema.default("desc"),
|
|
59
71
|
country: z.nullable(z.string()).optional(),
|
|
60
72
|
currency: 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6GH,oFAQC;AAnHD,0CAA4B;AAC5B,2DAA0D;AAC1D,gEAAkD;AAOlD;;GAEG;AACU,QAAA,MAAM,GAAG;IACpB,UAAU,EAAE,cAAc;IAC1B,UAAU,EAAE,aAAa;IACzB,aAAa,EAAE,kBAAkB;IACjC,aAAa,EAAE,iBAAiB;CACxB,CAAC;AAMX;;GAEG;AACU,QAAA,OAAO,GAAG;IACrB,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;CACJ,CAAC;AAqCX,gBAAgB;AACH,QAAA,qBAAqB,GAAmC,CAAC;KACnE,UAAU,CAAC,cAAM,CAAC,CAAC;AAEtB,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,6BAAqB,CAAC,CAAC,QAAQ,EAAE;IACpD,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: "2.0.
|
|
81
|
-
genVersion: "2.
|
|
82
|
-
userAgent: "speakeasy-sdk/typescript 2.0.
|
|
80
|
+
sdkVersion: "2.0.5",
|
|
81
|
+
genVersion: "2.865.2",
|
|
82
|
+
userAgent: "speakeasy-sdk/typescript 2.0.5 2.865.2 1.0.0 @gr4vy/sdk",
|
|
83
83
|
} as const;
|
|
@@ -23,7 +23,7 @@ export type ThreeDSecureScenarioOutcome = {
|
|
|
23
23
|
/**
|
|
24
24
|
* The version of 3DS which will be simulated.
|
|
25
25
|
*/
|
|
26
|
-
version
|
|
26
|
+
version?: string | null | undefined;
|
|
27
27
|
authentication: ThreeDSecureScenarioOutcomeAuthentication;
|
|
28
28
|
/**
|
|
29
29
|
* 3DS result value. Required if authentication status is "C".
|
|
@@ -37,14 +37,14 @@ export const ThreeDSecureScenarioOutcome$inboundSchema: z.ZodType<
|
|
|
37
37
|
z.ZodTypeDef,
|
|
38
38
|
unknown
|
|
39
39
|
> = z.object({
|
|
40
|
-
version: z.string(),
|
|
40
|
+
version: z.nullable(z.string()).optional(),
|
|
41
41
|
authentication: ThreeDSecureScenarioOutcomeAuthentication$inboundSchema,
|
|
42
42
|
result: z.nullable(ThreeDSecureScenarioOutcomeResult$inboundSchema)
|
|
43
43
|
.optional(),
|
|
44
44
|
});
|
|
45
45
|
/** @internal */
|
|
46
46
|
export type ThreeDSecureScenarioOutcome$Outbound = {
|
|
47
|
-
version
|
|
47
|
+
version?: string | null | undefined;
|
|
48
48
|
authentication: ThreeDSecureScenarioOutcomeAuthentication$Outbound;
|
|
49
49
|
result?: ThreeDSecureScenarioOutcomeResult$Outbound | null | undefined;
|
|
50
50
|
};
|
|
@@ -55,7 +55,7 @@ export const ThreeDSecureScenarioOutcome$outboundSchema: z.ZodType<
|
|
|
55
55
|
z.ZodTypeDef,
|
|
56
56
|
ThreeDSecureScenarioOutcome
|
|
57
57
|
> = z.object({
|
|
58
|
-
version: z.string(),
|
|
58
|
+
version: z.nullable(z.string()).optional(),
|
|
59
59
|
authentication: ThreeDSecureScenarioOutcomeAuthentication$outboundSchema,
|
|
60
60
|
result: z.nullable(ThreeDSecureScenarioOutcomeResult$outboundSchema)
|
|
61
61
|
.optional(),
|
|
@@ -5,12 +5,26 @@
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
import * as openEnums from "../../types/enums.js";
|
|
8
|
-
import { OpenEnum } from "../../types/enums.js";
|
|
8
|
+
import { ClosedEnum, OpenEnum } from "../../types/enums.js";
|
|
9
9
|
|
|
10
10
|
export type ListBuyerPaymentMethodsGlobals = {
|
|
11
11
|
merchantAccountId?: string | undefined;
|
|
12
12
|
};
|
|
13
13
|
|
|
14
|
+
/**
|
|
15
|
+
* The field to sort the payment methods by.
|
|
16
|
+
*/
|
|
17
|
+
export const SortBy = {
|
|
18
|
+
LastUsedAt: "last_used_at",
|
|
19
|
+
UsageCount: "usage_count",
|
|
20
|
+
CitLastUsedAt: "cit_last_used_at",
|
|
21
|
+
CitUsageCount: "cit_usage_count",
|
|
22
|
+
} as const;
|
|
23
|
+
/**
|
|
24
|
+
* The field to sort the payment methods by.
|
|
25
|
+
*/
|
|
26
|
+
export type SortBy = ClosedEnum<typeof SortBy>;
|
|
27
|
+
|
|
14
28
|
/**
|
|
15
29
|
* The direction to sort the payment methods in.
|
|
16
30
|
*/
|
|
@@ -35,7 +49,7 @@ export type ListBuyerPaymentMethodsRequest = {
|
|
|
35
49
|
/**
|
|
36
50
|
* The field to sort the payment methods by.
|
|
37
51
|
*/
|
|
38
|
-
sortBy?:
|
|
52
|
+
sortBy?: SortBy | null | undefined;
|
|
39
53
|
/**
|
|
40
54
|
* The direction to sort the payment methods in.
|
|
41
55
|
*/
|
|
@@ -54,6 +68,10 @@ export type ListBuyerPaymentMethodsRequest = {
|
|
|
54
68
|
merchantAccountId?: string | null | undefined;
|
|
55
69
|
};
|
|
56
70
|
|
|
71
|
+
/** @internal */
|
|
72
|
+
export const SortBy$outboundSchema: z.ZodNativeEnum<typeof SortBy> = z
|
|
73
|
+
.nativeEnum(SortBy);
|
|
74
|
+
|
|
57
75
|
/** @internal */
|
|
58
76
|
export const OrderBy$outboundSchema: z.ZodType<string, z.ZodTypeDef, OrderBy> =
|
|
59
77
|
openEnums.outboundSchema(OrderBy);
|
|
@@ -62,7 +80,7 @@ export const OrderBy$outboundSchema: z.ZodType<string, z.ZodTypeDef, OrderBy> =
|
|
|
62
80
|
export type ListBuyerPaymentMethodsRequest$Outbound = {
|
|
63
81
|
buyer_id?: string | null | undefined;
|
|
64
82
|
buyer_external_identifier?: string | null | undefined;
|
|
65
|
-
sort_by?:
|
|
83
|
+
sort_by?: string | null | undefined;
|
|
66
84
|
order_by: string;
|
|
67
85
|
country?: string | null | undefined;
|
|
68
86
|
currency?: string | null | undefined;
|
|
@@ -77,7 +95,7 @@ export const ListBuyerPaymentMethodsRequest$outboundSchema: z.ZodType<
|
|
|
77
95
|
> = z.object({
|
|
78
96
|
buyerId: z.nullable(z.string()).optional(),
|
|
79
97
|
buyerExternalIdentifier: z.nullable(z.string()).optional(),
|
|
80
|
-
sortBy: z.nullable(
|
|
98
|
+
sortBy: z.nullable(SortBy$outboundSchema).optional(),
|
|
81
99
|
orderBy: OrderBy$outboundSchema.default("desc"),
|
|
82
100
|
country: z.nullable(z.string()).optional(),
|
|
83
101
|
currency: z.nullable(z.string()).optional(),
|