@deliverart/sdk-js-payment 2.14.1 → 2.14.3
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/dist/index.cjs +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -14071,7 +14071,7 @@ var paymentInfoBaseSchema = external_exports.object({
|
|
|
14071
14071
|
});
|
|
14072
14072
|
var paymentInfoStripeSchema = paymentInfoBaseSchema.extend({
|
|
14073
14073
|
method: external_exports.literal("stripe"),
|
|
14074
|
-
sessionUrl: external_exports.string(),
|
|
14074
|
+
sessionUrl: external_exports.string().nullable(),
|
|
14075
14075
|
expiresAt: import_sdk_js_global_types3.datetimeSchema
|
|
14076
14076
|
});
|
|
14077
14077
|
var paymentInfoBankTransferSchema = paymentInfoBaseSchema.extend({
|
package/dist/index.d.cts
CHANGED
|
@@ -350,7 +350,7 @@ declare const paymentInfoStripeSchema: z.ZodObject<{
|
|
|
350
350
|
}>;
|
|
351
351
|
amount: z.ZodString;
|
|
352
352
|
method: z.ZodLiteral<"stripe">;
|
|
353
|
-
sessionUrl: z.ZodString
|
|
353
|
+
sessionUrl: z.ZodNullable<z.ZodString>;
|
|
354
354
|
expiresAt: z.ZodString;
|
|
355
355
|
}, z.core.$strip>;
|
|
356
356
|
type PaymentInfoStripe = z.infer<typeof paymentInfoStripeSchema>;
|
|
@@ -415,7 +415,7 @@ declare const paymentInfoSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
415
415
|
}>;
|
|
416
416
|
amount: z.ZodString;
|
|
417
417
|
method: z.ZodLiteral<"stripe">;
|
|
418
|
-
sessionUrl: z.ZodString
|
|
418
|
+
sessionUrl: z.ZodNullable<z.ZodString>;
|
|
419
419
|
expiresAt: z.ZodString;
|
|
420
420
|
}, z.core.$strip>, z.ZodObject<{
|
|
421
421
|
id: z.ZodString;
|
|
@@ -1997,7 +1997,7 @@ declare const getPaymentInfoResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1997
1997
|
}>;
|
|
1998
1998
|
amount: z.ZodString;
|
|
1999
1999
|
method: z.ZodLiteral<"stripe">;
|
|
2000
|
-
sessionUrl: z.ZodString
|
|
2000
|
+
sessionUrl: z.ZodNullable<z.ZodString>;
|
|
2001
2001
|
expiresAt: z.ZodString;
|
|
2002
2002
|
}, z.core.$strip>, z.ZodObject<{
|
|
2003
2003
|
id: z.ZodString;
|
|
@@ -2061,7 +2061,7 @@ declare class GetPaymentInfo extends AbstractApiRequest<typeof getPaymentInfoInp
|
|
|
2061
2061
|
}>;
|
|
2062
2062
|
amount: z.ZodString;
|
|
2063
2063
|
method: z.ZodLiteral<"stripe">;
|
|
2064
|
-
sessionUrl: z.ZodString
|
|
2064
|
+
sessionUrl: z.ZodNullable<z.ZodString>;
|
|
2065
2065
|
expiresAt: z.ZodString;
|
|
2066
2066
|
}, z.core.$strip>, z.ZodObject<{
|
|
2067
2067
|
id: z.ZodString;
|
package/dist/index.d.ts
CHANGED
|
@@ -350,7 +350,7 @@ declare const paymentInfoStripeSchema: z.ZodObject<{
|
|
|
350
350
|
}>;
|
|
351
351
|
amount: z.ZodString;
|
|
352
352
|
method: z.ZodLiteral<"stripe">;
|
|
353
|
-
sessionUrl: z.ZodString
|
|
353
|
+
sessionUrl: z.ZodNullable<z.ZodString>;
|
|
354
354
|
expiresAt: z.ZodString;
|
|
355
355
|
}, z.core.$strip>;
|
|
356
356
|
type PaymentInfoStripe = z.infer<typeof paymentInfoStripeSchema>;
|
|
@@ -415,7 +415,7 @@ declare const paymentInfoSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
415
415
|
}>;
|
|
416
416
|
amount: z.ZodString;
|
|
417
417
|
method: z.ZodLiteral<"stripe">;
|
|
418
|
-
sessionUrl: z.ZodString
|
|
418
|
+
sessionUrl: z.ZodNullable<z.ZodString>;
|
|
419
419
|
expiresAt: z.ZodString;
|
|
420
420
|
}, z.core.$strip>, z.ZodObject<{
|
|
421
421
|
id: z.ZodString;
|
|
@@ -1997,7 +1997,7 @@ declare const getPaymentInfoResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1997
1997
|
}>;
|
|
1998
1998
|
amount: z.ZodString;
|
|
1999
1999
|
method: z.ZodLiteral<"stripe">;
|
|
2000
|
-
sessionUrl: z.ZodString
|
|
2000
|
+
sessionUrl: z.ZodNullable<z.ZodString>;
|
|
2001
2001
|
expiresAt: z.ZodString;
|
|
2002
2002
|
}, z.core.$strip>, z.ZodObject<{
|
|
2003
2003
|
id: z.ZodString;
|
|
@@ -2061,7 +2061,7 @@ declare class GetPaymentInfo extends AbstractApiRequest<typeof getPaymentInfoInp
|
|
|
2061
2061
|
}>;
|
|
2062
2062
|
amount: z.ZodString;
|
|
2063
2063
|
method: z.ZodLiteral<"stripe">;
|
|
2064
|
-
sessionUrl: z.ZodString
|
|
2064
|
+
sessionUrl: z.ZodNullable<z.ZodString>;
|
|
2065
2065
|
expiresAt: z.ZodString;
|
|
2066
2066
|
}, z.core.$strip>, z.ZodObject<{
|
|
2067
2067
|
id: z.ZodString;
|
package/dist/index.js
CHANGED
|
@@ -13936,7 +13936,7 @@ var paymentInfoBaseSchema = external_exports.object({
|
|
|
13936
13936
|
});
|
|
13937
13937
|
var paymentInfoStripeSchema = paymentInfoBaseSchema.extend({
|
|
13938
13938
|
method: external_exports.literal("stripe"),
|
|
13939
|
-
sessionUrl: external_exports.string(),
|
|
13939
|
+
sessionUrl: external_exports.string().nullable(),
|
|
13940
13940
|
expiresAt: datetimeSchema
|
|
13941
13941
|
});
|
|
13942
13942
|
var paymentInfoBankTransferSchema = paymentInfoBaseSchema.extend({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deliverart/sdk-js-payment",
|
|
3
3
|
"description": "Deliverart JavaScript SDK for Payment Management",
|
|
4
|
-
"version": "2.14.
|
|
4
|
+
"version": "2.14.3",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dist"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@deliverart/sdk-js-
|
|
22
|
-
"@deliverart/sdk-js-global-types": "2.14.
|
|
23
|
-
"@deliverart/sdk-js-
|
|
21
|
+
"@deliverart/sdk-js-core": "2.14.3",
|
|
22
|
+
"@deliverart/sdk-js-global-types": "2.14.3",
|
|
23
|
+
"@deliverart/sdk-js-point-of-sale": "2.14.3"
|
|
24
24
|
},
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "public"
|