@gr4vy/sdk 2.4.12 → 2.4.13
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 +2 -2
- package/lib/config.js +2 -2
- package/models/components/achbankpaymentmethodcreate.d.ts +4 -4
- package/models/components/achbankpaymentmethodcreate.d.ts.map +1 -1
- package/models/components/achbankpaymentmethodcreate.js +2 -2
- package/models/components/achbankpaymentmethodcreate.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/achbankpaymentmethodcreate.ts +5 -5
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.4.
|
|
47
|
+
readonly sdkVersion: "2.4.13";
|
|
48
48
|
readonly genVersion: "2.932.15";
|
|
49
|
-
readonly userAgent: "speakeasy-sdk/typescript 2.4.
|
|
49
|
+
readonly userAgent: "speakeasy-sdk/typescript 2.4.13 2.932.15 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.4.
|
|
40
|
+
sdkVersion: "2.4.13",
|
|
41
41
|
genVersion: "2.932.15",
|
|
42
|
-
userAgent: "speakeasy-sdk/typescript 2.4.
|
|
42
|
+
userAgent: "speakeasy-sdk/typescript 2.4.13 2.932.15 1.0.0 @gr4vy/sdk",
|
|
43
43
|
};
|
|
44
44
|
//# sourceMappingURL=config.js.map
|
|
@@ -2,14 +2,14 @@ import * as z from "zod/v3";
|
|
|
2
2
|
import { OpenEnum } from "../../types/enums.js";
|
|
3
3
|
import { BankAccountHolder, BankAccountHolder$Outbound } from "./bankaccountholder.js";
|
|
4
4
|
/**
|
|
5
|
-
* Specify whether this is a `checking` or `savings` account
|
|
5
|
+
* Specify whether this is a `checking` or `savings` account. Defaults to `checking`.
|
|
6
6
|
*/
|
|
7
7
|
export declare const AccountType: {
|
|
8
8
|
readonly Checking: "checking";
|
|
9
9
|
readonly Savings: "savings";
|
|
10
10
|
};
|
|
11
11
|
/**
|
|
12
|
-
* Specify whether this is a `checking` or `savings` account
|
|
12
|
+
* Specify whether this is a `checking` or `savings` account. Defaults to `checking`.
|
|
13
13
|
*/
|
|
14
14
|
export type AccountType = OpenEnum<typeof AccountType>;
|
|
15
15
|
/**
|
|
@@ -54,9 +54,9 @@ export type ACHBankPaymentMethodCreate = {
|
|
|
54
54
|
*/
|
|
55
55
|
isTokenized?: boolean | undefined;
|
|
56
56
|
/**
|
|
57
|
-
* Specify whether this is a `checking` or `savings` account
|
|
57
|
+
* Specify whether this is a `checking` or `savings` account. Defaults to `checking`.
|
|
58
58
|
*/
|
|
59
|
-
accountType
|
|
59
|
+
accountType?: AccountType | undefined;
|
|
60
60
|
};
|
|
61
61
|
/** @internal */
|
|
62
62
|
export declare const AccountType$outboundSchema: z.ZodType<string, z.ZodTypeDef, AccountType>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"achbankpaymentmethodcreate.d.ts","sourceRoot":"","sources":["../../src/models/components/achbankpaymentmethodcreate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EACL,iBAAiB,EACjB,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAEhC;;GAEG;AACH,eAAO,MAAM,WAAW;;;CAGd,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC,OAAO,WAAW,CAAC,CAAC;AAEvD;;;;;;GAMG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,aAAa,EAAE,iBAAiB,CAAC;IACjC;;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,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC/C;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,WAAW,EAAE,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"achbankpaymentmethodcreate.d.ts","sourceRoot":"","sources":["../../src/models/components/achbankpaymentmethodcreate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EACL,iBAAiB,EACjB,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAEhC;;GAEG;AACH,eAAO,MAAM,WAAW;;;CAGd,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC,OAAO,WAAW,CAAC,CAAC;AAEvD;;;;;;GAMG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,aAAa,EAAE,iBAAiB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BAAgB,gCAAgC,CAC9C,0BAA0B,EAAE,0BAA0B,GACrD,MAAM,CAIR"}
|
|
@@ -43,7 +43,7 @@ const primitives_js_1 = require("../../lib/primitives.js");
|
|
|
43
43
|
const openEnums = __importStar(require("../../types/enums.js"));
|
|
44
44
|
const bankaccountholder_js_1 = require("./bankaccountholder.js");
|
|
45
45
|
/**
|
|
46
|
-
* Specify whether this is a `checking` or `savings` account
|
|
46
|
+
* Specify whether this is a `checking` or `savings` account. Defaults to `checking`.
|
|
47
47
|
*/
|
|
48
48
|
exports.AccountType = {
|
|
49
49
|
Checking: "checking",
|
|
@@ -62,7 +62,7 @@ exports.ACHBankPaymentMethodCreate$outboundSchema = z.object({
|
|
|
62
62
|
accountNumber: z.string(),
|
|
63
63
|
routingNumber: z.string(),
|
|
64
64
|
isTokenized: z.boolean().default(false),
|
|
65
|
-
accountType: exports.AccountType$outboundSchema,
|
|
65
|
+
accountType: exports.AccountType$outboundSchema.default("checking"),
|
|
66
66
|
}).transform((v) => {
|
|
67
67
|
return (0, primitives_js_1.remap)(v, {
|
|
68
68
|
accountHolder: "account_holder",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"achbankpaymentmethodcreate.js","sourceRoot":"","sources":["../../src/models/components/achbankpaymentmethodcreate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyHH,4EAMC;AA7HD,0CAA4B;AAC5B,2DAA0D;AAC1D,gEAAkD;AAElD,iEAIgC;AAEhC;;GAEG;AACU,QAAA,WAAW,GAAG;IACzB,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;CACV,CAAC;AAqDX,gBAAgB;AACH,QAAA,0BAA0B,GAInC,SAAS,CAAC,cAAc,CAAC,mBAAW,CAAC,CAAC;AAgB1C,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,OAAO,CAA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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,kBAAkB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACrD,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,KAAc,CAAC;IAChD,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,WAAW,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;IACvC,WAAW,EAAE,kCAA0B,CAAC,OAAO,CAAC,UAAU,CAAC;CAC5D,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,aAAa,EAAE,gBAAgB;QAC/B,OAAO,EAAE,UAAU;QACnB,uBAAuB,EAAE,2BAA2B;QACpD,kBAAkB,EAAE,qBAAqB;QACzC,aAAa,EAAE,gBAAgB;QAC/B,aAAa,EAAE,gBAAgB;QAC/B,WAAW,EAAE,cAAc;QAC3B,WAAW,EAAE,cAAc;KAC5B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,gCAAgC,CAC9C,0BAAsD;IAEtD,OAAO,IAAI,CAAC,SAAS,CACnB,iDAAyC,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAC5E,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.4.
|
|
80
|
+
sdkVersion: "2.4.13",
|
|
81
81
|
genVersion: "2.932.15",
|
|
82
|
-
userAgent: "speakeasy-sdk/typescript 2.4.
|
|
82
|
+
userAgent: "speakeasy-sdk/typescript 2.4.13 2.932.15 1.0.0 @gr4vy/sdk",
|
|
83
83
|
} as const;
|
|
@@ -13,14 +13,14 @@ import {
|
|
|
13
13
|
} from "./bankaccountholder.js";
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
|
-
* Specify whether this is a `checking` or `savings` account
|
|
16
|
+
* Specify whether this is a `checking` or `savings` account. Defaults to `checking`.
|
|
17
17
|
*/
|
|
18
18
|
export const AccountType = {
|
|
19
19
|
Checking: "checking",
|
|
20
20
|
Savings: "savings",
|
|
21
21
|
} as const;
|
|
22
22
|
/**
|
|
23
|
-
* Specify whether this is a `checking` or `savings` account
|
|
23
|
+
* Specify whether this is a `checking` or `savings` account. Defaults to `checking`.
|
|
24
24
|
*/
|
|
25
25
|
export type AccountType = OpenEnum<typeof AccountType>;
|
|
26
26
|
|
|
@@ -66,9 +66,9 @@ export type ACHBankPaymentMethodCreate = {
|
|
|
66
66
|
*/
|
|
67
67
|
isTokenized?: boolean | undefined;
|
|
68
68
|
/**
|
|
69
|
-
* Specify whether this is a `checking` or `savings` account
|
|
69
|
+
* Specify whether this is a `checking` or `savings` account. Defaults to `checking`.
|
|
70
70
|
*/
|
|
71
|
-
accountType
|
|
71
|
+
accountType?: AccountType | undefined;
|
|
72
72
|
};
|
|
73
73
|
|
|
74
74
|
/** @internal */
|
|
@@ -107,7 +107,7 @@ export const ACHBankPaymentMethodCreate$outboundSchema: z.ZodType<
|
|
|
107
107
|
accountNumber: z.string(),
|
|
108
108
|
routingNumber: z.string(),
|
|
109
109
|
isTokenized: z.boolean().default(false),
|
|
110
|
-
accountType: AccountType$outboundSchema,
|
|
110
|
+
accountType: AccountType$outboundSchema.default("checking"),
|
|
111
111
|
}).transform((v) => {
|
|
112
112
|
return remap$(v, {
|
|
113
113
|
accountHolder: "account_holder",
|