@deliverart/sdk-js-payment 2.8.14 → 2.8.15
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 +5108 -2483
- package/dist/index.d.cts +18 -18
- package/dist/index.d.ts +18 -18
- package/dist/index.js +5108 -2483
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -108,7 +108,7 @@ declare const paymentDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
108
108
|
externalReference: z.ZodNullable<z.ZodString>;
|
|
109
109
|
response: z.ZodNullable<z.ZodString>;
|
|
110
110
|
validUntil: z.ZodNullable<z.ZodString>;
|
|
111
|
-
}, z.core.$strip>]>;
|
|
111
|
+
}, z.core.$strip>], "method">;
|
|
112
112
|
type PaymentDetails = z.infer<typeof paymentDetailsSchema>;
|
|
113
113
|
declare const writablePaymentSchema: z.ZodObject<{
|
|
114
114
|
status: z.ZodEnum<{
|
|
@@ -276,7 +276,7 @@ declare const paymentConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
276
276
|
createdAt: z.ZodString;
|
|
277
277
|
updatedAt: z.ZodString;
|
|
278
278
|
method: z.ZodLiteral<"credit_card">;
|
|
279
|
-
}, z.core.$strip>]>;
|
|
279
|
+
}, z.core.$strip>], "method">;
|
|
280
280
|
type PaymentConfig = z.infer<typeof paymentConfigSchema>;
|
|
281
281
|
declare const paymentConfigDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
282
282
|
id: z.ZodString;
|
|
@@ -315,7 +315,7 @@ declare const paymentConfigDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
315
315
|
updatedAt: z.ZodString;
|
|
316
316
|
method: z.ZodLiteral<"credit_card">;
|
|
317
317
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
318
|
-
}, z.core.$strip>]>;
|
|
318
|
+
}, z.core.$strip>], "method">;
|
|
319
319
|
type PaymentConfigDetails = z.infer<typeof paymentConfigDetailsSchema>;
|
|
320
320
|
declare const writablePaymentConfigSchemas: {
|
|
321
321
|
readonly bank_transfer: z.ZodObject<{
|
|
@@ -460,7 +460,7 @@ declare const paymentInfoSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
460
460
|
}>;
|
|
461
461
|
amount: z.ZodString;
|
|
462
462
|
method: z.ZodLiteral<"credit_card">;
|
|
463
|
-
}, z.core.$strip>]>;
|
|
463
|
+
}, z.core.$strip>], "method">;
|
|
464
464
|
type PaymentInfo = z.infer<typeof paymentInfoSchema>;
|
|
465
465
|
declare const paymentQuerySchema: z.ZodObject<{
|
|
466
466
|
internalReference: z.ZodOptional<z.ZodString>;
|
|
@@ -1200,7 +1200,7 @@ declare const getPaymentConfigDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
1200
1200
|
updatedAt: z.ZodString;
|
|
1201
1201
|
method: z.ZodLiteral<"credit_card">;
|
|
1202
1202
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
1203
|
-
}, z.core.$strip>]>;
|
|
1203
|
+
}, z.core.$strip>], "method">;
|
|
1204
1204
|
type GetPaymentConfigDetailsResponse = z.output<typeof getPaymentConfigDetailsResponseSchema>;
|
|
1205
1205
|
declare class GetPaymentConfigDetails extends AbstractApiRequest<typeof getPaymentConfigDetailsInputSchema, typeof getPaymentConfigDetailsResponseSchema> {
|
|
1206
1206
|
readonly method = "GET";
|
|
@@ -1244,7 +1244,7 @@ declare class GetPaymentConfigDetails extends AbstractApiRequest<typeof getPayme
|
|
|
1244
1244
|
updatedAt: z.ZodString;
|
|
1245
1245
|
method: z.ZodLiteral<"credit_card">;
|
|
1246
1246
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
1247
|
-
}, z.core.$strip>]>;
|
|
1247
|
+
}, z.core.$strip>], "method">;
|
|
1248
1248
|
readonly querySchema: undefined;
|
|
1249
1249
|
readonly headersSchema: undefined;
|
|
1250
1250
|
private readonly paymentConfigId;
|
|
@@ -1289,7 +1289,7 @@ declare const getPaymentConfigsResponseSchema: z.ZodObject<{
|
|
|
1289
1289
|
createdAt: z.ZodString;
|
|
1290
1290
|
updatedAt: z.ZodString;
|
|
1291
1291
|
method: z.ZodLiteral<"credit_card">;
|
|
1292
|
-
}, z.core.$strip>]>>;
|
|
1292
|
+
}, z.core.$strip>], "method">>;
|
|
1293
1293
|
pagination: z.ZodObject<{
|
|
1294
1294
|
from: z.ZodCoercedNumber<unknown>;
|
|
1295
1295
|
to: z.ZodCoercedNumber<unknown>;
|
|
@@ -1339,7 +1339,7 @@ declare class GetPaymentConfigs extends AbstractApiRequest<typeof getPaymentConf
|
|
|
1339
1339
|
createdAt: z.ZodString;
|
|
1340
1340
|
updatedAt: z.ZodString;
|
|
1341
1341
|
method: z.ZodLiteral<"credit_card">;
|
|
1342
|
-
}, z.core.$strip>]>>;
|
|
1342
|
+
}, z.core.$strip>], "method">>;
|
|
1343
1343
|
pagination: z.ZodObject<{
|
|
1344
1344
|
from: z.ZodCoercedNumber<unknown>;
|
|
1345
1345
|
to: z.ZodCoercedNumber<unknown>;
|
|
@@ -1409,7 +1409,7 @@ declare class GetPaymentConfigs extends AbstractApiRequest<typeof getPaymentConf
|
|
|
1409
1409
|
createdAt: z.ZodString;
|
|
1410
1410
|
updatedAt: z.ZodString;
|
|
1411
1411
|
method: z.ZodLiteral<"credit_card">;
|
|
1412
|
-
}, z.core.$strip>]>;
|
|
1412
|
+
}, z.core.$strip>], "method">;
|
|
1413
1413
|
readonly paginationDefaultEnabled = true;
|
|
1414
1414
|
constructor(options?: {
|
|
1415
1415
|
query?: GetPaymentConfigsQueryParams;
|
|
@@ -1453,7 +1453,7 @@ declare const getPaymentConfigsFromPointOfSaleResponseSchema: z.ZodArray<z.ZodDi
|
|
|
1453
1453
|
createdAt: z.ZodString;
|
|
1454
1454
|
updatedAt: z.ZodString;
|
|
1455
1455
|
method: z.ZodLiteral<"credit_card">;
|
|
1456
|
-
}, z.core.$strip>]>>;
|
|
1456
|
+
}, z.core.$strip>], "method">>;
|
|
1457
1457
|
type GetPaymentConfigsFromPointOfSaleResponse = z.infer<typeof getPaymentConfigsFromPointOfSaleResponseSchema>;
|
|
1458
1458
|
declare class GetPaymentConfigsFromPointOfSale extends AbstractApiRequest<typeof getPaymentConfigsFromPointOfSaleInputSchema, typeof getPaymentConfigsFromPointOfSaleResponseSchema, GetPaymentConfigsFromPointOfSaleQueryParams> {
|
|
1459
1459
|
readonly method: "GET";
|
|
@@ -1493,7 +1493,7 @@ declare class GetPaymentConfigsFromPointOfSale extends AbstractApiRequest<typeof
|
|
|
1493
1493
|
createdAt: z.ZodString;
|
|
1494
1494
|
updatedAt: z.ZodString;
|
|
1495
1495
|
method: z.ZodLiteral<"credit_card">;
|
|
1496
|
-
}, z.core.$strip>]>>;
|
|
1496
|
+
}, z.core.$strip>], "method">>;
|
|
1497
1497
|
readonly querySchema: z.ZodObject<{
|
|
1498
1498
|
method: z.ZodOptional<z.ZodEnum<{
|
|
1499
1499
|
stripe: "stripe";
|
|
@@ -1554,7 +1554,7 @@ declare class GetPaymentConfigsFromPointOfSale extends AbstractApiRequest<typeof
|
|
|
1554
1554
|
createdAt: z.ZodString;
|
|
1555
1555
|
updatedAt: z.ZodString;
|
|
1556
1556
|
method: z.ZodLiteral<"credit_card">;
|
|
1557
|
-
}, z.core.$strip>]>;
|
|
1557
|
+
}, z.core.$strip>], "method">;
|
|
1558
1558
|
readonly paginationDefaultEnabled = false;
|
|
1559
1559
|
private readonly pointOfSaleId;
|
|
1560
1560
|
constructor(pointOfSaleId: string, options?: {
|
|
@@ -1888,7 +1888,7 @@ declare const getPaymentDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1888
1888
|
externalReference: z.ZodNullable<z.ZodString>;
|
|
1889
1889
|
response: z.ZodNullable<z.ZodString>;
|
|
1890
1890
|
validUntil: z.ZodNullable<z.ZodString>;
|
|
1891
|
-
}, z.core.$strip>]>;
|
|
1891
|
+
}, z.core.$strip>], "method">;
|
|
1892
1892
|
type GetPaymentDetailsResponse = z.infer<typeof getPaymentDetailsResponseSchema>;
|
|
1893
1893
|
declare class GetPaymentDetails extends AbstractApiRequest<typeof getPaymentDetailsInputSchema, typeof getPaymentDetailsResponseSchema> {
|
|
1894
1894
|
readonly method = "GET";
|
|
@@ -1975,7 +1975,7 @@ declare class GetPaymentDetails extends AbstractApiRequest<typeof getPaymentDeta
|
|
|
1975
1975
|
externalReference: z.ZodNullable<z.ZodString>;
|
|
1976
1976
|
response: z.ZodNullable<z.ZodString>;
|
|
1977
1977
|
validUntil: z.ZodNullable<z.ZodString>;
|
|
1978
|
-
}, z.core.$strip>]>;
|
|
1978
|
+
}, z.core.$strip>], "method">;
|
|
1979
1979
|
readonly querySchema: undefined;
|
|
1980
1980
|
readonly headersSchema: undefined;
|
|
1981
1981
|
private readonly paymentId;
|
|
@@ -2042,7 +2042,7 @@ declare const getPaymentInfoResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2042
2042
|
}>;
|
|
2043
2043
|
amount: z.ZodString;
|
|
2044
2044
|
method: z.ZodLiteral<"credit_card">;
|
|
2045
|
-
}, z.core.$strip>]>;
|
|
2045
|
+
}, z.core.$strip>], "method">;
|
|
2046
2046
|
type GetPaymentInfoResponse = z.infer<typeof getPaymentInfoResponseSchema>;
|
|
2047
2047
|
declare class GetPaymentInfo extends AbstractApiRequest<typeof getPaymentInfoInputSchema, typeof getPaymentInfoResponseSchema> {
|
|
2048
2048
|
readonly method = "GET";
|
|
@@ -2106,7 +2106,7 @@ declare class GetPaymentInfo extends AbstractApiRequest<typeof getPaymentInfoInp
|
|
|
2106
2106
|
}>;
|
|
2107
2107
|
amount: z.ZodString;
|
|
2108
2108
|
method: z.ZodLiteral<"credit_card">;
|
|
2109
|
-
}, z.core.$strip>]>;
|
|
2109
|
+
}, z.core.$strip>], "method">;
|
|
2110
2110
|
readonly querySchema: undefined;
|
|
2111
2111
|
readonly headersSchema: undefined;
|
|
2112
2112
|
private readonly paymentId;
|
|
@@ -2529,7 +2529,7 @@ declare const updatePaymentResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
2529
2529
|
externalReference: z.ZodNullable<z.ZodString>;
|
|
2530
2530
|
response: z.ZodNullable<z.ZodString>;
|
|
2531
2531
|
validUntil: z.ZodNullable<z.ZodString>;
|
|
2532
|
-
}, z.core.$strip>]>;
|
|
2532
|
+
}, z.core.$strip>], "method">;
|
|
2533
2533
|
type UpdatePaymentResponse = z.infer<typeof updatePaymentResponseSchema>;
|
|
2534
2534
|
declare class UpdatePayment extends AbstractApiRequest<typeof updatePaymentInputSchema, typeof updatePaymentResponseSchema> {
|
|
2535
2535
|
readonly method = "PATCH";
|
|
@@ -2626,7 +2626,7 @@ declare class UpdatePayment extends AbstractApiRequest<typeof updatePaymentInput
|
|
|
2626
2626
|
externalReference: z.ZodNullable<z.ZodString>;
|
|
2627
2627
|
response: z.ZodNullable<z.ZodString>;
|
|
2628
2628
|
validUntil: z.ZodNullable<z.ZodString>;
|
|
2629
|
-
}, z.core.$strip>]>;
|
|
2629
|
+
}, z.core.$strip>], "method">;
|
|
2630
2630
|
readonly querySchema: undefined;
|
|
2631
2631
|
readonly headersSchema: undefined;
|
|
2632
2632
|
private readonly paymentId;
|
package/dist/index.d.ts
CHANGED
|
@@ -108,7 +108,7 @@ declare const paymentDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
108
108
|
externalReference: z.ZodNullable<z.ZodString>;
|
|
109
109
|
response: z.ZodNullable<z.ZodString>;
|
|
110
110
|
validUntil: z.ZodNullable<z.ZodString>;
|
|
111
|
-
}, z.core.$strip>]>;
|
|
111
|
+
}, z.core.$strip>], "method">;
|
|
112
112
|
type PaymentDetails = z.infer<typeof paymentDetailsSchema>;
|
|
113
113
|
declare const writablePaymentSchema: z.ZodObject<{
|
|
114
114
|
status: z.ZodEnum<{
|
|
@@ -276,7 +276,7 @@ declare const paymentConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
276
276
|
createdAt: z.ZodString;
|
|
277
277
|
updatedAt: z.ZodString;
|
|
278
278
|
method: z.ZodLiteral<"credit_card">;
|
|
279
|
-
}, z.core.$strip>]>;
|
|
279
|
+
}, z.core.$strip>], "method">;
|
|
280
280
|
type PaymentConfig = z.infer<typeof paymentConfigSchema>;
|
|
281
281
|
declare const paymentConfigDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
282
282
|
id: z.ZodString;
|
|
@@ -315,7 +315,7 @@ declare const paymentConfigDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
315
315
|
updatedAt: z.ZodString;
|
|
316
316
|
method: z.ZodLiteral<"credit_card">;
|
|
317
317
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
318
|
-
}, z.core.$strip>]>;
|
|
318
|
+
}, z.core.$strip>], "method">;
|
|
319
319
|
type PaymentConfigDetails = z.infer<typeof paymentConfigDetailsSchema>;
|
|
320
320
|
declare const writablePaymentConfigSchemas: {
|
|
321
321
|
readonly bank_transfer: z.ZodObject<{
|
|
@@ -460,7 +460,7 @@ declare const paymentInfoSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
460
460
|
}>;
|
|
461
461
|
amount: z.ZodString;
|
|
462
462
|
method: z.ZodLiteral<"credit_card">;
|
|
463
|
-
}, z.core.$strip>]>;
|
|
463
|
+
}, z.core.$strip>], "method">;
|
|
464
464
|
type PaymentInfo = z.infer<typeof paymentInfoSchema>;
|
|
465
465
|
declare const paymentQuerySchema: z.ZodObject<{
|
|
466
466
|
internalReference: z.ZodOptional<z.ZodString>;
|
|
@@ -1200,7 +1200,7 @@ declare const getPaymentConfigDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
1200
1200
|
updatedAt: z.ZodString;
|
|
1201
1201
|
method: z.ZodLiteral<"credit_card">;
|
|
1202
1202
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
1203
|
-
}, z.core.$strip>]>;
|
|
1203
|
+
}, z.core.$strip>], "method">;
|
|
1204
1204
|
type GetPaymentConfigDetailsResponse = z.output<typeof getPaymentConfigDetailsResponseSchema>;
|
|
1205
1205
|
declare class GetPaymentConfigDetails extends AbstractApiRequest<typeof getPaymentConfigDetailsInputSchema, typeof getPaymentConfigDetailsResponseSchema> {
|
|
1206
1206
|
readonly method = "GET";
|
|
@@ -1244,7 +1244,7 @@ declare class GetPaymentConfigDetails extends AbstractApiRequest<typeof getPayme
|
|
|
1244
1244
|
updatedAt: z.ZodString;
|
|
1245
1245
|
method: z.ZodLiteral<"credit_card">;
|
|
1246
1246
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
1247
|
-
}, z.core.$strip>]>;
|
|
1247
|
+
}, z.core.$strip>], "method">;
|
|
1248
1248
|
readonly querySchema: undefined;
|
|
1249
1249
|
readonly headersSchema: undefined;
|
|
1250
1250
|
private readonly paymentConfigId;
|
|
@@ -1289,7 +1289,7 @@ declare const getPaymentConfigsResponseSchema: z.ZodObject<{
|
|
|
1289
1289
|
createdAt: z.ZodString;
|
|
1290
1290
|
updatedAt: z.ZodString;
|
|
1291
1291
|
method: z.ZodLiteral<"credit_card">;
|
|
1292
|
-
}, z.core.$strip>]>>;
|
|
1292
|
+
}, z.core.$strip>], "method">>;
|
|
1293
1293
|
pagination: z.ZodObject<{
|
|
1294
1294
|
from: z.ZodCoercedNumber<unknown>;
|
|
1295
1295
|
to: z.ZodCoercedNumber<unknown>;
|
|
@@ -1339,7 +1339,7 @@ declare class GetPaymentConfigs extends AbstractApiRequest<typeof getPaymentConf
|
|
|
1339
1339
|
createdAt: z.ZodString;
|
|
1340
1340
|
updatedAt: z.ZodString;
|
|
1341
1341
|
method: z.ZodLiteral<"credit_card">;
|
|
1342
|
-
}, z.core.$strip>]>>;
|
|
1342
|
+
}, z.core.$strip>], "method">>;
|
|
1343
1343
|
pagination: z.ZodObject<{
|
|
1344
1344
|
from: z.ZodCoercedNumber<unknown>;
|
|
1345
1345
|
to: z.ZodCoercedNumber<unknown>;
|
|
@@ -1409,7 +1409,7 @@ declare class GetPaymentConfigs extends AbstractApiRequest<typeof getPaymentConf
|
|
|
1409
1409
|
createdAt: z.ZodString;
|
|
1410
1410
|
updatedAt: z.ZodString;
|
|
1411
1411
|
method: z.ZodLiteral<"credit_card">;
|
|
1412
|
-
}, z.core.$strip>]>;
|
|
1412
|
+
}, z.core.$strip>], "method">;
|
|
1413
1413
|
readonly paginationDefaultEnabled = true;
|
|
1414
1414
|
constructor(options?: {
|
|
1415
1415
|
query?: GetPaymentConfigsQueryParams;
|
|
@@ -1453,7 +1453,7 @@ declare const getPaymentConfigsFromPointOfSaleResponseSchema: z.ZodArray<z.ZodDi
|
|
|
1453
1453
|
createdAt: z.ZodString;
|
|
1454
1454
|
updatedAt: z.ZodString;
|
|
1455
1455
|
method: z.ZodLiteral<"credit_card">;
|
|
1456
|
-
}, z.core.$strip>]>>;
|
|
1456
|
+
}, z.core.$strip>], "method">>;
|
|
1457
1457
|
type GetPaymentConfigsFromPointOfSaleResponse = z.infer<typeof getPaymentConfigsFromPointOfSaleResponseSchema>;
|
|
1458
1458
|
declare class GetPaymentConfigsFromPointOfSale extends AbstractApiRequest<typeof getPaymentConfigsFromPointOfSaleInputSchema, typeof getPaymentConfigsFromPointOfSaleResponseSchema, GetPaymentConfigsFromPointOfSaleQueryParams> {
|
|
1459
1459
|
readonly method: "GET";
|
|
@@ -1493,7 +1493,7 @@ declare class GetPaymentConfigsFromPointOfSale extends AbstractApiRequest<typeof
|
|
|
1493
1493
|
createdAt: z.ZodString;
|
|
1494
1494
|
updatedAt: z.ZodString;
|
|
1495
1495
|
method: z.ZodLiteral<"credit_card">;
|
|
1496
|
-
}, z.core.$strip>]>>;
|
|
1496
|
+
}, z.core.$strip>], "method">>;
|
|
1497
1497
|
readonly querySchema: z.ZodObject<{
|
|
1498
1498
|
method: z.ZodOptional<z.ZodEnum<{
|
|
1499
1499
|
stripe: "stripe";
|
|
@@ -1554,7 +1554,7 @@ declare class GetPaymentConfigsFromPointOfSale extends AbstractApiRequest<typeof
|
|
|
1554
1554
|
createdAt: z.ZodString;
|
|
1555
1555
|
updatedAt: z.ZodString;
|
|
1556
1556
|
method: z.ZodLiteral<"credit_card">;
|
|
1557
|
-
}, z.core.$strip>]>;
|
|
1557
|
+
}, z.core.$strip>], "method">;
|
|
1558
1558
|
readonly paginationDefaultEnabled = false;
|
|
1559
1559
|
private readonly pointOfSaleId;
|
|
1560
1560
|
constructor(pointOfSaleId: string, options?: {
|
|
@@ -1888,7 +1888,7 @@ declare const getPaymentDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1888
1888
|
externalReference: z.ZodNullable<z.ZodString>;
|
|
1889
1889
|
response: z.ZodNullable<z.ZodString>;
|
|
1890
1890
|
validUntil: z.ZodNullable<z.ZodString>;
|
|
1891
|
-
}, z.core.$strip>]>;
|
|
1891
|
+
}, z.core.$strip>], "method">;
|
|
1892
1892
|
type GetPaymentDetailsResponse = z.infer<typeof getPaymentDetailsResponseSchema>;
|
|
1893
1893
|
declare class GetPaymentDetails extends AbstractApiRequest<typeof getPaymentDetailsInputSchema, typeof getPaymentDetailsResponseSchema> {
|
|
1894
1894
|
readonly method = "GET";
|
|
@@ -1975,7 +1975,7 @@ declare class GetPaymentDetails extends AbstractApiRequest<typeof getPaymentDeta
|
|
|
1975
1975
|
externalReference: z.ZodNullable<z.ZodString>;
|
|
1976
1976
|
response: z.ZodNullable<z.ZodString>;
|
|
1977
1977
|
validUntil: z.ZodNullable<z.ZodString>;
|
|
1978
|
-
}, z.core.$strip>]>;
|
|
1978
|
+
}, z.core.$strip>], "method">;
|
|
1979
1979
|
readonly querySchema: undefined;
|
|
1980
1980
|
readonly headersSchema: undefined;
|
|
1981
1981
|
private readonly paymentId;
|
|
@@ -2042,7 +2042,7 @@ declare const getPaymentInfoResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2042
2042
|
}>;
|
|
2043
2043
|
amount: z.ZodString;
|
|
2044
2044
|
method: z.ZodLiteral<"credit_card">;
|
|
2045
|
-
}, z.core.$strip>]>;
|
|
2045
|
+
}, z.core.$strip>], "method">;
|
|
2046
2046
|
type GetPaymentInfoResponse = z.infer<typeof getPaymentInfoResponseSchema>;
|
|
2047
2047
|
declare class GetPaymentInfo extends AbstractApiRequest<typeof getPaymentInfoInputSchema, typeof getPaymentInfoResponseSchema> {
|
|
2048
2048
|
readonly method = "GET";
|
|
@@ -2106,7 +2106,7 @@ declare class GetPaymentInfo extends AbstractApiRequest<typeof getPaymentInfoInp
|
|
|
2106
2106
|
}>;
|
|
2107
2107
|
amount: z.ZodString;
|
|
2108
2108
|
method: z.ZodLiteral<"credit_card">;
|
|
2109
|
-
}, z.core.$strip>]>;
|
|
2109
|
+
}, z.core.$strip>], "method">;
|
|
2110
2110
|
readonly querySchema: undefined;
|
|
2111
2111
|
readonly headersSchema: undefined;
|
|
2112
2112
|
private readonly paymentId;
|
|
@@ -2529,7 +2529,7 @@ declare const updatePaymentResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
2529
2529
|
externalReference: z.ZodNullable<z.ZodString>;
|
|
2530
2530
|
response: z.ZodNullable<z.ZodString>;
|
|
2531
2531
|
validUntil: z.ZodNullable<z.ZodString>;
|
|
2532
|
-
}, z.core.$strip>]>;
|
|
2532
|
+
}, z.core.$strip>], "method">;
|
|
2533
2533
|
type UpdatePaymentResponse = z.infer<typeof updatePaymentResponseSchema>;
|
|
2534
2534
|
declare class UpdatePayment extends AbstractApiRequest<typeof updatePaymentInputSchema, typeof updatePaymentResponseSchema> {
|
|
2535
2535
|
readonly method = "PATCH";
|
|
@@ -2626,7 +2626,7 @@ declare class UpdatePayment extends AbstractApiRequest<typeof updatePaymentInput
|
|
|
2626
2626
|
externalReference: z.ZodNullable<z.ZodString>;
|
|
2627
2627
|
response: z.ZodNullable<z.ZodString>;
|
|
2628
2628
|
validUntil: z.ZodNullable<z.ZodString>;
|
|
2629
|
-
}, z.core.$strip>]>;
|
|
2629
|
+
}, z.core.$strip>], "method">;
|
|
2630
2630
|
readonly querySchema: undefined;
|
|
2631
2631
|
readonly headersSchema: undefined;
|
|
2632
2632
|
private readonly paymentId;
|