@gr4vy/sdk 2.0.48 → 2.0.49
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/paymentmethodupdate.d.ts +5 -0
- package/models/components/paymentmethodupdate.d.ts.map +1 -1
- package/models/components/paymentmethodupdate.js +2 -0
- package/models/components/paymentmethodupdate.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/paymentmethodupdate.ts +7 -0
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.
|
|
47
|
+
readonly sdkVersion: "2.0.49";
|
|
48
48
|
readonly genVersion: "2.884.7";
|
|
49
|
-
readonly userAgent: "speakeasy-sdk/typescript 2.0.
|
|
49
|
+
readonly userAgent: "speakeasy-sdk/typescript 2.0.49 2.884.7 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.
|
|
40
|
+
sdkVersion: "2.0.49",
|
|
41
41
|
genVersion: "2.884.7",
|
|
42
|
-
userAgent: "speakeasy-sdk/typescript 2.0.
|
|
42
|
+
userAgent: "speakeasy-sdk/typescript 2.0.49 2.884.7 1.0.0 @gr4vy/sdk",
|
|
43
43
|
};
|
|
44
44
|
//# sourceMappingURL=config.js.map
|
|
@@ -16,12 +16,17 @@ export type PaymentMethodUpdate = {
|
|
|
16
16
|
* The scheme associated with `scheme_transaction_id`. Only applies to card payments. When setting a new value for `scheme_transaction_id`, if `scheme_transaction_id_scheme`is both omitted from the payload and previously unset, `scheme_transaction_id_scheme` will be populated from the payment method's existing `scheme`.
|
|
17
17
|
*/
|
|
18
18
|
schemeTransactionIdScheme?: CardScheme | null | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* A transaction link identifier to associate with this payment method.
|
|
21
|
+
*/
|
|
22
|
+
transactionLinkId?: string | null | undefined;
|
|
19
23
|
};
|
|
20
24
|
/** @internal */
|
|
21
25
|
export type PaymentMethodUpdate$Outbound = {
|
|
22
26
|
expiration_date?: string | null | undefined;
|
|
23
27
|
scheme_transaction_id?: string | null | undefined;
|
|
24
28
|
scheme_transaction_id_scheme?: string | null | undefined;
|
|
29
|
+
transaction_link_id?: string | null | undefined;
|
|
25
30
|
};
|
|
26
31
|
/** @internal */
|
|
27
32
|
export declare const PaymentMethodUpdate$outboundSchema: z.ZodType<PaymentMethodUpdate$Outbound, z.ZodTypeDef, PaymentMethodUpdate>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paymentmethodupdate.d.ts","sourceRoot":"","sources":["../../src/models/components/paymentmethodupdate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAA6B,MAAM,iBAAiB,CAAC;AAExE;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC3C;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAChD;;OAEG;IACH,yBAAyB,CAAC,EAAE,UAAU,GAAG,IAAI,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"paymentmethodupdate.d.ts","sourceRoot":"","sources":["../../src/models/components/paymentmethodupdate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAA6B,MAAM,iBAAiB,CAAC;AAExE;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC3C;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAChD;;OAEG;IACH,yBAAyB,CAAC,EAAE,UAAU,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1D;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CAC/C,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,4BAA4B,GAAG;IACzC,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC5C,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClD,4BAA4B,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACzD,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACjD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,mBAAmB,CAanB,CAAC;AAEH,wBAAgB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR"}
|
|
@@ -46,11 +46,13 @@ exports.PaymentMethodUpdate$outboundSchema = z.object({
|
|
|
46
46
|
expirationDate: z.nullable(z.string()).optional(),
|
|
47
47
|
schemeTransactionId: z.nullable(z.string()).optional(),
|
|
48
48
|
schemeTransactionIdScheme: z.nullable(cardscheme_js_1.CardScheme$outboundSchema).optional(),
|
|
49
|
+
transactionLinkId: z.nullable(z.string()).optional(),
|
|
49
50
|
}).transform((v) => {
|
|
50
51
|
return (0, primitives_js_1.remap)(v, {
|
|
51
52
|
expirationDate: "expiration_date",
|
|
52
53
|
schemeTransactionId: "scheme_transaction_id",
|
|
53
54
|
schemeTransactionIdScheme: "scheme_transaction_id_scheme",
|
|
55
|
+
transactionLinkId: "transaction_link_id",
|
|
54
56
|
});
|
|
55
57
|
});
|
|
56
58
|
function paymentMethodUpdateToJSON(paymentMethodUpdate) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paymentmethodupdate.js","sourceRoot":"","sources":["../../src/models/components/paymentmethodupdate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"paymentmethodupdate.js","sourceRoot":"","sources":["../../src/models/components/paymentmethodupdate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuDH,8DAMC;AA3DD,0CAA4B;AAC5B,2DAA0D;AAC1D,mDAAwE;AAgCxE,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,cAAc,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACjD,mBAAmB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACtD,yBAAyB,EAAE,CAAC,CAAC,QAAQ,CAAC,yCAAyB,CAAC,CAAC,QAAQ,EAAE;IAC3E,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,cAAc,EAAE,iBAAiB;QACjC,mBAAmB,EAAE,uBAAuB;QAC5C,yBAAyB,EAAE,8BAA8B;QACzD,iBAAiB,EAAE,qBAAqB;KACzC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,yBAAyB,CACvC,mBAAwC;IAExC,OAAO,IAAI,CAAC,SAAS,CACnB,0CAAkC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,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.
|
|
80
|
+
sdkVersion: "2.0.49",
|
|
81
81
|
genVersion: "2.884.7",
|
|
82
|
-
userAgent: "speakeasy-sdk/typescript 2.0.
|
|
82
|
+
userAgent: "speakeasy-sdk/typescript 2.0.49 2.884.7 1.0.0 @gr4vy/sdk",
|
|
83
83
|
} as const;
|
|
@@ -22,6 +22,10 @@ export type PaymentMethodUpdate = {
|
|
|
22
22
|
* The scheme associated with `scheme_transaction_id`. Only applies to card payments. When setting a new value for `scheme_transaction_id`, if `scheme_transaction_id_scheme`is both omitted from the payload and previously unset, `scheme_transaction_id_scheme` will be populated from the payment method's existing `scheme`.
|
|
23
23
|
*/
|
|
24
24
|
schemeTransactionIdScheme?: CardScheme | null | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* A transaction link identifier to associate with this payment method.
|
|
27
|
+
*/
|
|
28
|
+
transactionLinkId?: string | null | undefined;
|
|
25
29
|
};
|
|
26
30
|
|
|
27
31
|
/** @internal */
|
|
@@ -29,6 +33,7 @@ export type PaymentMethodUpdate$Outbound = {
|
|
|
29
33
|
expiration_date?: string | null | undefined;
|
|
30
34
|
scheme_transaction_id?: string | null | undefined;
|
|
31
35
|
scheme_transaction_id_scheme?: string | null | undefined;
|
|
36
|
+
transaction_link_id?: string | null | undefined;
|
|
32
37
|
};
|
|
33
38
|
|
|
34
39
|
/** @internal */
|
|
@@ -40,11 +45,13 @@ export const PaymentMethodUpdate$outboundSchema: z.ZodType<
|
|
|
40
45
|
expirationDate: z.nullable(z.string()).optional(),
|
|
41
46
|
schemeTransactionId: z.nullable(z.string()).optional(),
|
|
42
47
|
schemeTransactionIdScheme: z.nullable(CardScheme$outboundSchema).optional(),
|
|
48
|
+
transactionLinkId: z.nullable(z.string()).optional(),
|
|
43
49
|
}).transform((v) => {
|
|
44
50
|
return remap$(v, {
|
|
45
51
|
expirationDate: "expiration_date",
|
|
46
52
|
schemeTransactionId: "scheme_transaction_id",
|
|
47
53
|
schemeTransactionIdScheme: "scheme_transaction_id_scheme",
|
|
54
|
+
transactionLinkId: "transaction_link_id",
|
|
48
55
|
});
|
|
49
56
|
});
|
|
50
57
|
|