@deliverart/sdk-js-payment 2.6.1 → 2.6.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 +7 -7
- package/dist/index.d.cts +28 -252
- package/dist/index.d.ts +28 -252
- package/dist/index.js +14 -14
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -11560,7 +11560,7 @@ var GetPaymentConfigBankTransferDetails = class extends import_sdk_js_core3.Abst
|
|
|
11560
11560
|
var import_sdk_js_core4 = require("@deliverart/sdk-js-core");
|
|
11561
11561
|
var import_sdk_js_global_types5 = require("@deliverart/sdk-js-global-types");
|
|
11562
11562
|
var getPaymentConfigBankTransferListInputSchema = external_exports.undefined();
|
|
11563
|
-
var getPaymentConfigBankTransferListResponseSchema = (0, import_sdk_js_global_types5.
|
|
11563
|
+
var getPaymentConfigBankTransferListResponseSchema = (0, import_sdk_js_global_types5.createPaginatedSchema)(
|
|
11564
11564
|
paymentConfigBankTransferSchema
|
|
11565
11565
|
);
|
|
11566
11566
|
var GetPaymentConfigBankTransferList = class extends import_sdk_js_core4.AbstractApiRequest {
|
|
@@ -11671,7 +11671,7 @@ var GetPaymentConfigCashDetails = class extends import_sdk_js_core8.AbstractApiR
|
|
|
11671
11671
|
var import_sdk_js_core9 = require("@deliverart/sdk-js-core");
|
|
11672
11672
|
var import_sdk_js_global_types7 = require("@deliverart/sdk-js-global-types");
|
|
11673
11673
|
var getPaymentConfigCashListInputSchema = external_exports.undefined();
|
|
11674
|
-
var getPaymentConfigCashListResponseSchema = (0, import_sdk_js_global_types7.
|
|
11674
|
+
var getPaymentConfigCashListResponseSchema = (0, import_sdk_js_global_types7.createPaginatedSchema)(paymentConfigCashSchema);
|
|
11675
11675
|
var GetPaymentConfigCashList = class extends import_sdk_js_core9.AbstractApiRequest {
|
|
11676
11676
|
constructor(options) {
|
|
11677
11677
|
super(void 0, options);
|
|
@@ -11757,7 +11757,7 @@ var GetPaymentConfigCreditCardDetails = class extends import_sdk_js_core12.Abstr
|
|
|
11757
11757
|
var import_sdk_js_core13 = require("@deliverart/sdk-js-core");
|
|
11758
11758
|
var import_sdk_js_global_types9 = require("@deliverart/sdk-js-global-types");
|
|
11759
11759
|
var getPaymentConfigCreditCardListInputSchema = external_exports.undefined();
|
|
11760
|
-
var getPaymentConfigCreditCardListResponseSchema = (0, import_sdk_js_global_types9.
|
|
11760
|
+
var getPaymentConfigCreditCardListResponseSchema = (0, import_sdk_js_global_types9.createPaginatedSchema)(
|
|
11761
11761
|
paymentConfigCreditCardSchema
|
|
11762
11762
|
);
|
|
11763
11763
|
var GetPaymentConfigCreditCardList = class extends import_sdk_js_core13.AbstractApiRequest {
|
|
@@ -11825,7 +11825,7 @@ var GetPaymentConfigDetails = class extends import_sdk_js_core15.AbstractApiRequ
|
|
|
11825
11825
|
var import_sdk_js_core16 = require("@deliverart/sdk-js-core");
|
|
11826
11826
|
var import_sdk_js_global_types11 = require("@deliverart/sdk-js-global-types");
|
|
11827
11827
|
var getPaymentConfigsInputSchema = external_exports.undefined();
|
|
11828
|
-
var getPaymentConfigsResponseSchema = (0, import_sdk_js_global_types11.
|
|
11828
|
+
var getPaymentConfigsResponseSchema = (0, import_sdk_js_global_types11.createPaginatedSchema)(paymentConfigSchema);
|
|
11829
11829
|
var GetPaymentConfigs = class extends import_sdk_js_core16.AbstractApiRequest {
|
|
11830
11830
|
constructor(options) {
|
|
11831
11831
|
super(void 0, options);
|
|
@@ -11934,7 +11934,7 @@ var GetPaymentConfigStripeDetails = class extends import_sdk_js_core20.AbstractA
|
|
|
11934
11934
|
var import_sdk_js_core21 = require("@deliverart/sdk-js-core");
|
|
11935
11935
|
var import_sdk_js_global_types13 = require("@deliverart/sdk-js-global-types");
|
|
11936
11936
|
var getPaymentConfigStripeListInputSchema = external_exports.undefined();
|
|
11937
|
-
var getPaymentConfigStripeListResponseSchema = (0, import_sdk_js_global_types13.
|
|
11937
|
+
var getPaymentConfigStripeListResponseSchema = (0, import_sdk_js_global_types13.createPaginatedSchema)(paymentConfigStripeSchema);
|
|
11938
11938
|
var GetPaymentConfigStripeList = class extends import_sdk_js_core21.AbstractApiRequest {
|
|
11939
11939
|
constructor(options) {
|
|
11940
11940
|
super(void 0, options);
|
|
@@ -12044,7 +12044,7 @@ var GetPaymentInfo = class extends import_sdk_js_core25.AbstractApiRequest {
|
|
|
12044
12044
|
var import_sdk_js_core26 = require("@deliverart/sdk-js-core");
|
|
12045
12045
|
var import_sdk_js_global_types15 = require("@deliverart/sdk-js-global-types");
|
|
12046
12046
|
var getPaymentsInputSchema = external_exports.undefined();
|
|
12047
|
-
var getPaymentsResponseSchema = (0, import_sdk_js_global_types15.
|
|
12047
|
+
var getPaymentsResponseSchema = (0, import_sdk_js_global_types15.createPaginatedSchema)(paymentSchema);
|
|
12048
12048
|
var GetPayments = class extends import_sdk_js_core26.AbstractApiRequest {
|
|
12049
12049
|
constructor(options) {
|
|
12050
12050
|
super(void 0, options);
|
|
@@ -12067,7 +12067,7 @@ var GetPayments = class extends import_sdk_js_core26.AbstractApiRequest {
|
|
|
12067
12067
|
var import_sdk_js_core27 = require("@deliverart/sdk-js-core");
|
|
12068
12068
|
var import_sdk_js_global_types16 = require("@deliverart/sdk-js-global-types");
|
|
12069
12069
|
var getPaymentsForPaymentConfigInputSchema = external_exports.undefined();
|
|
12070
|
-
var getPaymentsForPaymentConfigResponseSchema = (0, import_sdk_js_global_types16.
|
|
12070
|
+
var getPaymentsForPaymentConfigResponseSchema = (0, import_sdk_js_global_types16.createPaginatedSchema)(paymentSchema);
|
|
12071
12071
|
var GetPaymentsForPaymentConfig = class extends import_sdk_js_core27.AbstractApiRequest {
|
|
12072
12072
|
constructor(paymentConfigId, options) {
|
|
12073
12073
|
super(void 0, options);
|
package/dist/index.d.cts
CHANGED
|
@@ -662,7 +662,7 @@ declare class GetPaymentConfigBankTransferDetails extends AbstractApiRequest<typ
|
|
|
662
662
|
type GetPaymentConfigBankTransferListQueryParams = PaymentConfigsQueryParams;
|
|
663
663
|
declare const getPaymentConfigBankTransferListInputSchema: z.ZodUndefined;
|
|
664
664
|
type GetPaymentConfigBankTransferListInput = z.input<typeof getPaymentConfigBankTransferListInputSchema>;
|
|
665
|
-
declare const getPaymentConfigBankTransferListResponseSchema: z.
|
|
665
|
+
declare const getPaymentConfigBankTransferListResponseSchema: z.ZodObject<{
|
|
666
666
|
data: z.ZodArray<z.ZodObject<{
|
|
667
667
|
id: z.ZodString;
|
|
668
668
|
configurationCompleted: z.ZodBoolean;
|
|
@@ -684,26 +684,14 @@ declare const getPaymentConfigBankTransferListResponseSchema: z.ZodUnion<readonl
|
|
|
684
684
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
685
685
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
686
686
|
}, z.core.$strip>;
|
|
687
|
-
}, z.core.$strip
|
|
688
|
-
id: z.ZodString;
|
|
689
|
-
configurationCompleted: z.ZodBoolean;
|
|
690
|
-
createdAt: z.ZodString;
|
|
691
|
-
updatedAt: z.ZodString;
|
|
692
|
-
method: z.ZodLiteral<"bank_transfer">;
|
|
693
|
-
iban: z.ZodString;
|
|
694
|
-
bic: z.ZodString;
|
|
695
|
-
accountHolder: z.ZodString;
|
|
696
|
-
bankName: z.ZodString;
|
|
697
|
-
bankAddress: z.ZodNullable<z.ZodString>;
|
|
698
|
-
currency: z.ZodString;
|
|
699
|
-
}, z.core.$strip>>]>;
|
|
687
|
+
}, z.core.$strip>;
|
|
700
688
|
type GetPaymentConfigBankTransferListResponse = z.infer<typeof getPaymentConfigBankTransferListResponseSchema>;
|
|
701
689
|
declare class GetPaymentConfigBankTransferList extends AbstractApiRequest<typeof getPaymentConfigBankTransferListInputSchema, typeof getPaymentConfigBankTransferListResponseSchema, GetPaymentConfigBankTransferListQueryParams> {
|
|
702
690
|
readonly method: "GET";
|
|
703
691
|
readonly contentType: "application/json";
|
|
704
692
|
readonly accept: "application/json";
|
|
705
693
|
readonly inputSchema: z.ZodUndefined;
|
|
706
|
-
readonly outputSchema: z.
|
|
694
|
+
readonly outputSchema: z.ZodObject<{
|
|
707
695
|
data: z.ZodArray<z.ZodObject<{
|
|
708
696
|
id: z.ZodString;
|
|
709
697
|
configurationCompleted: z.ZodBoolean;
|
|
@@ -725,19 +713,7 @@ declare class GetPaymentConfigBankTransferList extends AbstractApiRequest<typeof
|
|
|
725
713
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
726
714
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
727
715
|
}, z.core.$strip>;
|
|
728
|
-
}, z.core.$strip
|
|
729
|
-
id: z.ZodString;
|
|
730
|
-
configurationCompleted: z.ZodBoolean;
|
|
731
|
-
createdAt: z.ZodString;
|
|
732
|
-
updatedAt: z.ZodString;
|
|
733
|
-
method: z.ZodLiteral<"bank_transfer">;
|
|
734
|
-
iban: z.ZodString;
|
|
735
|
-
bic: z.ZodString;
|
|
736
|
-
accountHolder: z.ZodString;
|
|
737
|
-
bankName: z.ZodString;
|
|
738
|
-
bankAddress: z.ZodNullable<z.ZodString>;
|
|
739
|
-
currency: z.ZodString;
|
|
740
|
-
}, z.core.$strip>>]>;
|
|
716
|
+
}, z.core.$strip>;
|
|
741
717
|
readonly querySchema: z.ZodObject<{
|
|
742
718
|
method: z.ZodOptional<z.ZodEnum<{
|
|
743
719
|
stripe: "stripe";
|
|
@@ -925,7 +901,7 @@ declare class GetPaymentConfigCashDetails extends AbstractApiRequest<typeof getP
|
|
|
925
901
|
type GetPaymentConfigCashListQueryParams = PaymentConfigsQueryParams;
|
|
926
902
|
declare const getPaymentConfigCashListInputSchema: z.ZodUndefined;
|
|
927
903
|
type GetPaymentConfigCashListInput = z.input<typeof getPaymentConfigCashListInputSchema>;
|
|
928
|
-
declare const getPaymentConfigCashListResponseSchema: z.
|
|
904
|
+
declare const getPaymentConfigCashListResponseSchema: z.ZodObject<{
|
|
929
905
|
data: z.ZodArray<z.ZodObject<{
|
|
930
906
|
id: z.ZodString;
|
|
931
907
|
configurationCompleted: z.ZodBoolean;
|
|
@@ -941,20 +917,14 @@ declare const getPaymentConfigCashListResponseSchema: z.ZodUnion<readonly [z.Zod
|
|
|
941
917
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
942
918
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
943
919
|
}, z.core.$strip>;
|
|
944
|
-
}, z.core.$strip
|
|
945
|
-
id: z.ZodString;
|
|
946
|
-
configurationCompleted: z.ZodBoolean;
|
|
947
|
-
createdAt: z.ZodString;
|
|
948
|
-
updatedAt: z.ZodString;
|
|
949
|
-
method: z.ZodLiteral<"cash">;
|
|
950
|
-
}, z.core.$strip>>]>;
|
|
920
|
+
}, z.core.$strip>;
|
|
951
921
|
type GetPaymentConfigCashListResponse = z.infer<typeof getPaymentConfigCashListResponseSchema>;
|
|
952
922
|
declare class GetPaymentConfigCashList extends AbstractApiRequest<typeof getPaymentConfigCashListInputSchema, typeof getPaymentConfigCashListResponseSchema, GetPaymentConfigCashListQueryParams> {
|
|
953
923
|
readonly method: "GET";
|
|
954
924
|
readonly contentType: "application/json";
|
|
955
925
|
readonly accept: "application/json";
|
|
956
926
|
readonly inputSchema: z.ZodUndefined;
|
|
957
|
-
readonly outputSchema: z.
|
|
927
|
+
readonly outputSchema: z.ZodObject<{
|
|
958
928
|
data: z.ZodArray<z.ZodObject<{
|
|
959
929
|
id: z.ZodString;
|
|
960
930
|
configurationCompleted: z.ZodBoolean;
|
|
@@ -970,13 +940,7 @@ declare class GetPaymentConfigCashList extends AbstractApiRequest<typeof getPaym
|
|
|
970
940
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
971
941
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
972
942
|
}, z.core.$strip>;
|
|
973
|
-
}, z.core.$strip
|
|
974
|
-
id: z.ZodString;
|
|
975
|
-
configurationCompleted: z.ZodBoolean;
|
|
976
|
-
createdAt: z.ZodString;
|
|
977
|
-
updatedAt: z.ZodString;
|
|
978
|
-
method: z.ZodLiteral<"cash">;
|
|
979
|
-
}, z.core.$strip>>]>;
|
|
943
|
+
}, z.core.$strip>;
|
|
980
944
|
readonly querySchema: z.ZodObject<{
|
|
981
945
|
method: z.ZodOptional<z.ZodEnum<{
|
|
982
946
|
stripe: "stripe";
|
|
@@ -1101,7 +1065,7 @@ declare class GetPaymentConfigCreditCardDetails extends AbstractApiRequest<typeo
|
|
|
1101
1065
|
type GetPaymentConfigCreditCardListQueryParams = PaymentConfigsQueryParams;
|
|
1102
1066
|
declare const getPaymentConfigCreditCardListInputSchema: z.ZodUndefined;
|
|
1103
1067
|
type GetPaymentConfigCreditCardListInput = z.input<typeof getPaymentConfigCreditCardListInputSchema>;
|
|
1104
|
-
declare const getPaymentConfigCreditCardListResponseSchema: z.
|
|
1068
|
+
declare const getPaymentConfigCreditCardListResponseSchema: z.ZodObject<{
|
|
1105
1069
|
data: z.ZodArray<z.ZodObject<{
|
|
1106
1070
|
id: z.ZodString;
|
|
1107
1071
|
configurationCompleted: z.ZodBoolean;
|
|
@@ -1117,20 +1081,14 @@ declare const getPaymentConfigCreditCardListResponseSchema: z.ZodUnion<readonly
|
|
|
1117
1081
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1118
1082
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1119
1083
|
}, z.core.$strip>;
|
|
1120
|
-
}, z.core.$strip
|
|
1121
|
-
id: z.ZodString;
|
|
1122
|
-
configurationCompleted: z.ZodBoolean;
|
|
1123
|
-
createdAt: z.ZodString;
|
|
1124
|
-
updatedAt: z.ZodString;
|
|
1125
|
-
method: z.ZodLiteral<"credit_card">;
|
|
1126
|
-
}, z.core.$strip>>]>;
|
|
1084
|
+
}, z.core.$strip>;
|
|
1127
1085
|
type GetPaymentConfigCreditCardListResponse = z.infer<typeof getPaymentConfigCreditCardListResponseSchema>;
|
|
1128
1086
|
declare class GetPaymentConfigCreditCardList extends AbstractApiRequest<typeof getPaymentConfigCreditCardListInputSchema, typeof getPaymentConfigCreditCardListResponseSchema, GetPaymentConfigCreditCardListQueryParams> {
|
|
1129
1087
|
readonly method: "GET";
|
|
1130
1088
|
readonly contentType: "application/json";
|
|
1131
1089
|
readonly accept: "application/json";
|
|
1132
1090
|
readonly inputSchema: z.ZodUndefined;
|
|
1133
|
-
readonly outputSchema: z.
|
|
1091
|
+
readonly outputSchema: z.ZodObject<{
|
|
1134
1092
|
data: z.ZodArray<z.ZodObject<{
|
|
1135
1093
|
id: z.ZodString;
|
|
1136
1094
|
configurationCompleted: z.ZodBoolean;
|
|
@@ -1146,13 +1104,7 @@ declare class GetPaymentConfigCreditCardList extends AbstractApiRequest<typeof g
|
|
|
1146
1104
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1147
1105
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1148
1106
|
}, z.core.$strip>;
|
|
1149
|
-
}, z.core.$strip
|
|
1150
|
-
id: z.ZodString;
|
|
1151
|
-
configurationCompleted: z.ZodBoolean;
|
|
1152
|
-
createdAt: z.ZodString;
|
|
1153
|
-
updatedAt: z.ZodString;
|
|
1154
|
-
method: z.ZodLiteral<"credit_card">;
|
|
1155
|
-
}, z.core.$strip>>]>;
|
|
1107
|
+
}, z.core.$strip>;
|
|
1156
1108
|
readonly querySchema: z.ZodObject<{
|
|
1157
1109
|
method: z.ZodOptional<z.ZodEnum<{
|
|
1158
1110
|
stripe: "stripe";
|
|
@@ -1303,7 +1255,7 @@ declare class GetPaymentConfigDetails extends AbstractApiRequest<typeof getPayme
|
|
|
1303
1255
|
type GetPaymentConfigsQueryParams = PaymentConfigsQueryParams;
|
|
1304
1256
|
declare const getPaymentConfigsInputSchema: z.ZodUndefined;
|
|
1305
1257
|
type GetPaymentConfigsInput = z.input<typeof getPaymentConfigsInputSchema>;
|
|
1306
|
-
declare const getPaymentConfigsResponseSchema: z.
|
|
1258
|
+
declare const getPaymentConfigsResponseSchema: z.ZodObject<{
|
|
1307
1259
|
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1308
1260
|
id: z.ZodString;
|
|
1309
1261
|
configurationCompleted: z.ZodBoolean;
|
|
@@ -1346,47 +1298,14 @@ declare const getPaymentConfigsResponseSchema: z.ZodUnion<readonly [z.ZodObject<
|
|
|
1346
1298
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1347
1299
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1348
1300
|
}, z.core.$strip>;
|
|
1349
|
-
}, z.core.$strip
|
|
1350
|
-
id: z.ZodString;
|
|
1351
|
-
configurationCompleted: z.ZodBoolean;
|
|
1352
|
-
createdAt: z.ZodString;
|
|
1353
|
-
updatedAt: z.ZodString;
|
|
1354
|
-
method: z.ZodLiteral<"bank_transfer">;
|
|
1355
|
-
iban: z.ZodString;
|
|
1356
|
-
bic: z.ZodString;
|
|
1357
|
-
accountHolder: z.ZodString;
|
|
1358
|
-
bankName: z.ZodString;
|
|
1359
|
-
bankAddress: z.ZodNullable<z.ZodString>;
|
|
1360
|
-
currency: z.ZodString;
|
|
1361
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1362
|
-
id: z.ZodString;
|
|
1363
|
-
configurationCompleted: z.ZodBoolean;
|
|
1364
|
-
createdAt: z.ZodString;
|
|
1365
|
-
updatedAt: z.ZodString;
|
|
1366
|
-
method: z.ZodLiteral<"stripe">;
|
|
1367
|
-
secretKey: z.ZodString;
|
|
1368
|
-
webhookSecret: z.ZodNullable<z.ZodString>;
|
|
1369
|
-
webhookId: z.ZodNullable<z.ZodString>;
|
|
1370
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1371
|
-
id: z.ZodString;
|
|
1372
|
-
configurationCompleted: z.ZodBoolean;
|
|
1373
|
-
createdAt: z.ZodString;
|
|
1374
|
-
updatedAt: z.ZodString;
|
|
1375
|
-
method: z.ZodLiteral<"cash">;
|
|
1376
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1377
|
-
id: z.ZodString;
|
|
1378
|
-
configurationCompleted: z.ZodBoolean;
|
|
1379
|
-
createdAt: z.ZodString;
|
|
1380
|
-
updatedAt: z.ZodString;
|
|
1381
|
-
method: z.ZodLiteral<"credit_card">;
|
|
1382
|
-
}, z.core.$strip>]>>]>;
|
|
1301
|
+
}, z.core.$strip>;
|
|
1383
1302
|
type GetPaymentConfigsResponse = z.infer<typeof getPaymentConfigsResponseSchema>;
|
|
1384
1303
|
declare class GetPaymentConfigs extends AbstractApiRequest<typeof getPaymentConfigsInputSchema, typeof getPaymentConfigsResponseSchema, GetPaymentConfigsQueryParams> {
|
|
1385
1304
|
readonly method: "GET";
|
|
1386
1305
|
readonly contentType: "application/json";
|
|
1387
1306
|
readonly accept: "application/json";
|
|
1388
1307
|
readonly inputSchema: z.ZodUndefined;
|
|
1389
|
-
readonly outputSchema: z.
|
|
1308
|
+
readonly outputSchema: z.ZodObject<{
|
|
1390
1309
|
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1391
1310
|
id: z.ZodString;
|
|
1392
1311
|
configurationCompleted: z.ZodBoolean;
|
|
@@ -1429,40 +1348,7 @@ declare class GetPaymentConfigs extends AbstractApiRequest<typeof getPaymentConf
|
|
|
1429
1348
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1430
1349
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1431
1350
|
}, z.core.$strip>;
|
|
1432
|
-
}, z.core.$strip
|
|
1433
|
-
id: z.ZodString;
|
|
1434
|
-
configurationCompleted: z.ZodBoolean;
|
|
1435
|
-
createdAt: z.ZodString;
|
|
1436
|
-
updatedAt: z.ZodString;
|
|
1437
|
-
method: z.ZodLiteral<"bank_transfer">;
|
|
1438
|
-
iban: z.ZodString;
|
|
1439
|
-
bic: z.ZodString;
|
|
1440
|
-
accountHolder: z.ZodString;
|
|
1441
|
-
bankName: z.ZodString;
|
|
1442
|
-
bankAddress: z.ZodNullable<z.ZodString>;
|
|
1443
|
-
currency: z.ZodString;
|
|
1444
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1445
|
-
id: z.ZodString;
|
|
1446
|
-
configurationCompleted: z.ZodBoolean;
|
|
1447
|
-
createdAt: z.ZodString;
|
|
1448
|
-
updatedAt: z.ZodString;
|
|
1449
|
-
method: z.ZodLiteral<"stripe">;
|
|
1450
|
-
secretKey: z.ZodString;
|
|
1451
|
-
webhookSecret: z.ZodNullable<z.ZodString>;
|
|
1452
|
-
webhookId: z.ZodNullable<z.ZodString>;
|
|
1453
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1454
|
-
id: z.ZodString;
|
|
1455
|
-
configurationCompleted: z.ZodBoolean;
|
|
1456
|
-
createdAt: z.ZodString;
|
|
1457
|
-
updatedAt: z.ZodString;
|
|
1458
|
-
method: z.ZodLiteral<"cash">;
|
|
1459
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1460
|
-
id: z.ZodString;
|
|
1461
|
-
configurationCompleted: z.ZodBoolean;
|
|
1462
|
-
createdAt: z.ZodString;
|
|
1463
|
-
updatedAt: z.ZodString;
|
|
1464
|
-
method: z.ZodLiteral<"credit_card">;
|
|
1465
|
-
}, z.core.$strip>]>>]>;
|
|
1351
|
+
}, z.core.$strip>;
|
|
1466
1352
|
readonly querySchema: z.ZodObject<{
|
|
1467
1353
|
method: z.ZodOptional<z.ZodEnum<{
|
|
1468
1354
|
stripe: "stripe";
|
|
@@ -1774,7 +1660,7 @@ declare class GetPaymentConfigStripeDetails extends AbstractApiRequest<typeof ge
|
|
|
1774
1660
|
type GetPaymentConfigStripeListQueryParams = PaymentConfigsQueryParams;
|
|
1775
1661
|
declare const getPaymentConfigStripeListInputSchema: z.ZodUndefined;
|
|
1776
1662
|
type GetPaymentConfigStripeListInput = z.input<typeof getPaymentConfigStripeListInputSchema>;
|
|
1777
|
-
declare const getPaymentConfigStripeListResponseSchema: z.
|
|
1663
|
+
declare const getPaymentConfigStripeListResponseSchema: z.ZodObject<{
|
|
1778
1664
|
data: z.ZodArray<z.ZodObject<{
|
|
1779
1665
|
id: z.ZodString;
|
|
1780
1666
|
configurationCompleted: z.ZodBoolean;
|
|
@@ -1793,23 +1679,14 @@ declare const getPaymentConfigStripeListResponseSchema: z.ZodUnion<readonly [z.Z
|
|
|
1793
1679
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1794
1680
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1795
1681
|
}, z.core.$strip>;
|
|
1796
|
-
}, z.core.$strip
|
|
1797
|
-
id: z.ZodString;
|
|
1798
|
-
configurationCompleted: z.ZodBoolean;
|
|
1799
|
-
createdAt: z.ZodString;
|
|
1800
|
-
updatedAt: z.ZodString;
|
|
1801
|
-
method: z.ZodLiteral<"stripe">;
|
|
1802
|
-
secretKey: z.ZodString;
|
|
1803
|
-
webhookSecret: z.ZodNullable<z.ZodString>;
|
|
1804
|
-
webhookId: z.ZodNullable<z.ZodString>;
|
|
1805
|
-
}, z.core.$strip>>]>;
|
|
1682
|
+
}, z.core.$strip>;
|
|
1806
1683
|
type GetPaymentConfigStripeListResponse = z.infer<typeof getPaymentConfigStripeListResponseSchema>;
|
|
1807
1684
|
declare class GetPaymentConfigStripeList extends AbstractApiRequest<typeof getPaymentConfigStripeListInputSchema, typeof getPaymentConfigStripeListResponseSchema, GetPaymentConfigStripeListQueryParams> {
|
|
1808
1685
|
readonly method: "GET";
|
|
1809
1686
|
readonly contentType: "application/json";
|
|
1810
1687
|
readonly accept: "application/json";
|
|
1811
1688
|
readonly inputSchema: z.ZodUndefined;
|
|
1812
|
-
readonly outputSchema: z.
|
|
1689
|
+
readonly outputSchema: z.ZodObject<{
|
|
1813
1690
|
data: z.ZodArray<z.ZodObject<{
|
|
1814
1691
|
id: z.ZodString;
|
|
1815
1692
|
configurationCompleted: z.ZodBoolean;
|
|
@@ -1828,16 +1705,7 @@ declare class GetPaymentConfigStripeList extends AbstractApiRequest<typeof getPa
|
|
|
1828
1705
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1829
1706
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1830
1707
|
}, z.core.$strip>;
|
|
1831
|
-
}, z.core.$strip
|
|
1832
|
-
id: z.ZodString;
|
|
1833
|
-
configurationCompleted: z.ZodBoolean;
|
|
1834
|
-
createdAt: z.ZodString;
|
|
1835
|
-
updatedAt: z.ZodString;
|
|
1836
|
-
method: z.ZodLiteral<"stripe">;
|
|
1837
|
-
secretKey: z.ZodString;
|
|
1838
|
-
webhookSecret: z.ZodNullable<z.ZodString>;
|
|
1839
|
-
webhookId: z.ZodNullable<z.ZodString>;
|
|
1840
|
-
}, z.core.$strip>>]>;
|
|
1708
|
+
}, z.core.$strip>;
|
|
1841
1709
|
readonly querySchema: z.ZodObject<{
|
|
1842
1710
|
method: z.ZodOptional<z.ZodEnum<{
|
|
1843
1711
|
stripe: "stripe";
|
|
@@ -2249,7 +2117,7 @@ declare class GetPaymentInfo extends AbstractApiRequest<typeof getPaymentInfoInp
|
|
|
2249
2117
|
type GetPaymentsQueryParams = PaymentQueryParams;
|
|
2250
2118
|
declare const getPaymentsInputSchema: z.ZodUndefined;
|
|
2251
2119
|
type GetPaymentsInput = z.input<typeof getPaymentsInputSchema>;
|
|
2252
|
-
declare const getPaymentsResponseSchema: z.
|
|
2120
|
+
declare const getPaymentsResponseSchema: z.ZodObject<{
|
|
2253
2121
|
data: z.ZodArray<z.ZodObject<{
|
|
2254
2122
|
id: z.ZodString;
|
|
2255
2123
|
method: z.ZodEnum<{
|
|
@@ -2282,37 +2150,14 @@ declare const getPaymentsResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2282
2150
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
2283
2151
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
2284
2152
|
}, z.core.$strip>;
|
|
2285
|
-
}, z.core.$strip
|
|
2286
|
-
id: z.ZodString;
|
|
2287
|
-
method: z.ZodEnum<{
|
|
2288
|
-
stripe: "stripe";
|
|
2289
|
-
bank_transfer: "bank_transfer";
|
|
2290
|
-
cash: "cash";
|
|
2291
|
-
credit_card: "credit_card";
|
|
2292
|
-
}>;
|
|
2293
|
-
status: z.ZodEnum<{
|
|
2294
|
-
pending: "pending";
|
|
2295
|
-
pending_verification: "pending_verification";
|
|
2296
|
-
paid: "paid";
|
|
2297
|
-
canceled: "canceled";
|
|
2298
|
-
refunded: "refunded";
|
|
2299
|
-
failed: "failed";
|
|
2300
|
-
}>;
|
|
2301
|
-
amount: z.ZodString;
|
|
2302
|
-
internalReference: z.ZodNullable<z.ZodString>;
|
|
2303
|
-
externalReference: z.ZodNullable<z.ZodString>;
|
|
2304
|
-
response: z.ZodNullable<z.ZodString>;
|
|
2305
|
-
validUntil: z.ZodNullable<z.ZodString>;
|
|
2306
|
-
createdAt: z.ZodString;
|
|
2307
|
-
updatedAt: z.ZodString;
|
|
2308
|
-
}, z.core.$strip>>]>;
|
|
2153
|
+
}, z.core.$strip>;
|
|
2309
2154
|
type GetPaymentsResponse = z.infer<typeof getPaymentsResponseSchema>;
|
|
2310
2155
|
declare class GetPayments extends AbstractApiRequest<typeof getPaymentsInputSchema, typeof getPaymentsResponseSchema, GetPaymentsQueryParams> {
|
|
2311
2156
|
readonly method: "GET";
|
|
2312
2157
|
readonly contentType: "application/json";
|
|
2313
2158
|
readonly accept: "application/json";
|
|
2314
2159
|
readonly inputSchema: z.ZodUndefined;
|
|
2315
|
-
readonly outputSchema: z.
|
|
2160
|
+
readonly outputSchema: z.ZodObject<{
|
|
2316
2161
|
data: z.ZodArray<z.ZodObject<{
|
|
2317
2162
|
id: z.ZodString;
|
|
2318
2163
|
method: z.ZodEnum<{
|
|
@@ -2345,30 +2190,7 @@ declare class GetPayments extends AbstractApiRequest<typeof getPaymentsInputSche
|
|
|
2345
2190
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
2346
2191
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
2347
2192
|
}, z.core.$strip>;
|
|
2348
|
-
}, z.core.$strip
|
|
2349
|
-
id: z.ZodString;
|
|
2350
|
-
method: z.ZodEnum<{
|
|
2351
|
-
stripe: "stripe";
|
|
2352
|
-
bank_transfer: "bank_transfer";
|
|
2353
|
-
cash: "cash";
|
|
2354
|
-
credit_card: "credit_card";
|
|
2355
|
-
}>;
|
|
2356
|
-
status: z.ZodEnum<{
|
|
2357
|
-
pending: "pending";
|
|
2358
|
-
pending_verification: "pending_verification";
|
|
2359
|
-
paid: "paid";
|
|
2360
|
-
canceled: "canceled";
|
|
2361
|
-
refunded: "refunded";
|
|
2362
|
-
failed: "failed";
|
|
2363
|
-
}>;
|
|
2364
|
-
amount: z.ZodString;
|
|
2365
|
-
internalReference: z.ZodNullable<z.ZodString>;
|
|
2366
|
-
externalReference: z.ZodNullable<z.ZodString>;
|
|
2367
|
-
response: z.ZodNullable<z.ZodString>;
|
|
2368
|
-
validUntil: z.ZodNullable<z.ZodString>;
|
|
2369
|
-
createdAt: z.ZodString;
|
|
2370
|
-
updatedAt: z.ZodString;
|
|
2371
|
-
}, z.core.$strip>>]>;
|
|
2193
|
+
}, z.core.$strip>;
|
|
2372
2194
|
readonly querySchema: z.ZodObject<{
|
|
2373
2195
|
internalReference: z.ZodOptional<z.ZodString>;
|
|
2374
2196
|
externalReference: z.ZodOptional<z.ZodString>;
|
|
@@ -2456,7 +2278,7 @@ declare class GetPayments extends AbstractApiRequest<typeof getPaymentsInputSche
|
|
|
2456
2278
|
type GetPaymentsForPaymentConfigQueryParams = PaymentQueryParams;
|
|
2457
2279
|
declare const getPaymentsForPaymentConfigInputSchema: z.ZodUndefined;
|
|
2458
2280
|
type GetPaymentsForPaymentConfigInput = z.input<typeof getPaymentsForPaymentConfigInputSchema>;
|
|
2459
|
-
declare const getPaymentsForPaymentConfigResponseSchema: z.
|
|
2281
|
+
declare const getPaymentsForPaymentConfigResponseSchema: z.ZodObject<{
|
|
2460
2282
|
data: z.ZodArray<z.ZodObject<{
|
|
2461
2283
|
id: z.ZodString;
|
|
2462
2284
|
method: z.ZodEnum<{
|
|
@@ -2489,37 +2311,14 @@ declare const getPaymentsForPaymentConfigResponseSchema: z.ZodUnion<readonly [z.
|
|
|
2489
2311
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
2490
2312
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
2491
2313
|
}, z.core.$strip>;
|
|
2492
|
-
}, z.core.$strip
|
|
2493
|
-
id: z.ZodString;
|
|
2494
|
-
method: z.ZodEnum<{
|
|
2495
|
-
stripe: "stripe";
|
|
2496
|
-
bank_transfer: "bank_transfer";
|
|
2497
|
-
cash: "cash";
|
|
2498
|
-
credit_card: "credit_card";
|
|
2499
|
-
}>;
|
|
2500
|
-
status: z.ZodEnum<{
|
|
2501
|
-
pending: "pending";
|
|
2502
|
-
pending_verification: "pending_verification";
|
|
2503
|
-
paid: "paid";
|
|
2504
|
-
canceled: "canceled";
|
|
2505
|
-
refunded: "refunded";
|
|
2506
|
-
failed: "failed";
|
|
2507
|
-
}>;
|
|
2508
|
-
amount: z.ZodString;
|
|
2509
|
-
internalReference: z.ZodNullable<z.ZodString>;
|
|
2510
|
-
externalReference: z.ZodNullable<z.ZodString>;
|
|
2511
|
-
response: z.ZodNullable<z.ZodString>;
|
|
2512
|
-
validUntil: z.ZodNullable<z.ZodString>;
|
|
2513
|
-
createdAt: z.ZodString;
|
|
2514
|
-
updatedAt: z.ZodString;
|
|
2515
|
-
}, z.core.$strip>>]>;
|
|
2314
|
+
}, z.core.$strip>;
|
|
2516
2315
|
type GetPaymentsForPaymentConfigResponse = z.infer<typeof getPaymentsForPaymentConfigResponseSchema>;
|
|
2517
2316
|
declare class GetPaymentsForPaymentConfig extends AbstractApiRequest<typeof getPaymentsForPaymentConfigInputSchema, typeof getPaymentsForPaymentConfigResponseSchema, GetPaymentsForPaymentConfigQueryParams> {
|
|
2518
2317
|
readonly method: "GET";
|
|
2519
2318
|
readonly contentType: "application/json";
|
|
2520
2319
|
readonly accept: "application/json";
|
|
2521
2320
|
readonly inputSchema: z.ZodUndefined;
|
|
2522
|
-
readonly outputSchema: z.
|
|
2321
|
+
readonly outputSchema: z.ZodObject<{
|
|
2523
2322
|
data: z.ZodArray<z.ZodObject<{
|
|
2524
2323
|
id: z.ZodString;
|
|
2525
2324
|
method: z.ZodEnum<{
|
|
@@ -2552,30 +2351,7 @@ declare class GetPaymentsForPaymentConfig extends AbstractApiRequest<typeof getP
|
|
|
2552
2351
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
2553
2352
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
2554
2353
|
}, z.core.$strip>;
|
|
2555
|
-
}, z.core.$strip
|
|
2556
|
-
id: z.ZodString;
|
|
2557
|
-
method: z.ZodEnum<{
|
|
2558
|
-
stripe: "stripe";
|
|
2559
|
-
bank_transfer: "bank_transfer";
|
|
2560
|
-
cash: "cash";
|
|
2561
|
-
credit_card: "credit_card";
|
|
2562
|
-
}>;
|
|
2563
|
-
status: z.ZodEnum<{
|
|
2564
|
-
pending: "pending";
|
|
2565
|
-
pending_verification: "pending_verification";
|
|
2566
|
-
paid: "paid";
|
|
2567
|
-
canceled: "canceled";
|
|
2568
|
-
refunded: "refunded";
|
|
2569
|
-
failed: "failed";
|
|
2570
|
-
}>;
|
|
2571
|
-
amount: z.ZodString;
|
|
2572
|
-
internalReference: z.ZodNullable<z.ZodString>;
|
|
2573
|
-
externalReference: z.ZodNullable<z.ZodString>;
|
|
2574
|
-
response: z.ZodNullable<z.ZodString>;
|
|
2575
|
-
validUntil: z.ZodNullable<z.ZodString>;
|
|
2576
|
-
createdAt: z.ZodString;
|
|
2577
|
-
updatedAt: z.ZodString;
|
|
2578
|
-
}, z.core.$strip>>]>;
|
|
2354
|
+
}, z.core.$strip>;
|
|
2579
2355
|
readonly querySchema: z.ZodObject<{
|
|
2580
2356
|
internalReference: z.ZodOptional<z.ZodString>;
|
|
2581
2357
|
externalReference: z.ZodOptional<z.ZodString>;
|
package/dist/index.d.ts
CHANGED
|
@@ -662,7 +662,7 @@ declare class GetPaymentConfigBankTransferDetails extends AbstractApiRequest<typ
|
|
|
662
662
|
type GetPaymentConfigBankTransferListQueryParams = PaymentConfigsQueryParams;
|
|
663
663
|
declare const getPaymentConfigBankTransferListInputSchema: z.ZodUndefined;
|
|
664
664
|
type GetPaymentConfigBankTransferListInput = z.input<typeof getPaymentConfigBankTransferListInputSchema>;
|
|
665
|
-
declare const getPaymentConfigBankTransferListResponseSchema: z.
|
|
665
|
+
declare const getPaymentConfigBankTransferListResponseSchema: z.ZodObject<{
|
|
666
666
|
data: z.ZodArray<z.ZodObject<{
|
|
667
667
|
id: z.ZodString;
|
|
668
668
|
configurationCompleted: z.ZodBoolean;
|
|
@@ -684,26 +684,14 @@ declare const getPaymentConfigBankTransferListResponseSchema: z.ZodUnion<readonl
|
|
|
684
684
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
685
685
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
686
686
|
}, z.core.$strip>;
|
|
687
|
-
}, z.core.$strip
|
|
688
|
-
id: z.ZodString;
|
|
689
|
-
configurationCompleted: z.ZodBoolean;
|
|
690
|
-
createdAt: z.ZodString;
|
|
691
|
-
updatedAt: z.ZodString;
|
|
692
|
-
method: z.ZodLiteral<"bank_transfer">;
|
|
693
|
-
iban: z.ZodString;
|
|
694
|
-
bic: z.ZodString;
|
|
695
|
-
accountHolder: z.ZodString;
|
|
696
|
-
bankName: z.ZodString;
|
|
697
|
-
bankAddress: z.ZodNullable<z.ZodString>;
|
|
698
|
-
currency: z.ZodString;
|
|
699
|
-
}, z.core.$strip>>]>;
|
|
687
|
+
}, z.core.$strip>;
|
|
700
688
|
type GetPaymentConfigBankTransferListResponse = z.infer<typeof getPaymentConfigBankTransferListResponseSchema>;
|
|
701
689
|
declare class GetPaymentConfigBankTransferList extends AbstractApiRequest<typeof getPaymentConfigBankTransferListInputSchema, typeof getPaymentConfigBankTransferListResponseSchema, GetPaymentConfigBankTransferListQueryParams> {
|
|
702
690
|
readonly method: "GET";
|
|
703
691
|
readonly contentType: "application/json";
|
|
704
692
|
readonly accept: "application/json";
|
|
705
693
|
readonly inputSchema: z.ZodUndefined;
|
|
706
|
-
readonly outputSchema: z.
|
|
694
|
+
readonly outputSchema: z.ZodObject<{
|
|
707
695
|
data: z.ZodArray<z.ZodObject<{
|
|
708
696
|
id: z.ZodString;
|
|
709
697
|
configurationCompleted: z.ZodBoolean;
|
|
@@ -725,19 +713,7 @@ declare class GetPaymentConfigBankTransferList extends AbstractApiRequest<typeof
|
|
|
725
713
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
726
714
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
727
715
|
}, z.core.$strip>;
|
|
728
|
-
}, z.core.$strip
|
|
729
|
-
id: z.ZodString;
|
|
730
|
-
configurationCompleted: z.ZodBoolean;
|
|
731
|
-
createdAt: z.ZodString;
|
|
732
|
-
updatedAt: z.ZodString;
|
|
733
|
-
method: z.ZodLiteral<"bank_transfer">;
|
|
734
|
-
iban: z.ZodString;
|
|
735
|
-
bic: z.ZodString;
|
|
736
|
-
accountHolder: z.ZodString;
|
|
737
|
-
bankName: z.ZodString;
|
|
738
|
-
bankAddress: z.ZodNullable<z.ZodString>;
|
|
739
|
-
currency: z.ZodString;
|
|
740
|
-
}, z.core.$strip>>]>;
|
|
716
|
+
}, z.core.$strip>;
|
|
741
717
|
readonly querySchema: z.ZodObject<{
|
|
742
718
|
method: z.ZodOptional<z.ZodEnum<{
|
|
743
719
|
stripe: "stripe";
|
|
@@ -925,7 +901,7 @@ declare class GetPaymentConfigCashDetails extends AbstractApiRequest<typeof getP
|
|
|
925
901
|
type GetPaymentConfigCashListQueryParams = PaymentConfigsQueryParams;
|
|
926
902
|
declare const getPaymentConfigCashListInputSchema: z.ZodUndefined;
|
|
927
903
|
type GetPaymentConfigCashListInput = z.input<typeof getPaymentConfigCashListInputSchema>;
|
|
928
|
-
declare const getPaymentConfigCashListResponseSchema: z.
|
|
904
|
+
declare const getPaymentConfigCashListResponseSchema: z.ZodObject<{
|
|
929
905
|
data: z.ZodArray<z.ZodObject<{
|
|
930
906
|
id: z.ZodString;
|
|
931
907
|
configurationCompleted: z.ZodBoolean;
|
|
@@ -941,20 +917,14 @@ declare const getPaymentConfigCashListResponseSchema: z.ZodUnion<readonly [z.Zod
|
|
|
941
917
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
942
918
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
943
919
|
}, z.core.$strip>;
|
|
944
|
-
}, z.core.$strip
|
|
945
|
-
id: z.ZodString;
|
|
946
|
-
configurationCompleted: z.ZodBoolean;
|
|
947
|
-
createdAt: z.ZodString;
|
|
948
|
-
updatedAt: z.ZodString;
|
|
949
|
-
method: z.ZodLiteral<"cash">;
|
|
950
|
-
}, z.core.$strip>>]>;
|
|
920
|
+
}, z.core.$strip>;
|
|
951
921
|
type GetPaymentConfigCashListResponse = z.infer<typeof getPaymentConfigCashListResponseSchema>;
|
|
952
922
|
declare class GetPaymentConfigCashList extends AbstractApiRequest<typeof getPaymentConfigCashListInputSchema, typeof getPaymentConfigCashListResponseSchema, GetPaymentConfigCashListQueryParams> {
|
|
953
923
|
readonly method: "GET";
|
|
954
924
|
readonly contentType: "application/json";
|
|
955
925
|
readonly accept: "application/json";
|
|
956
926
|
readonly inputSchema: z.ZodUndefined;
|
|
957
|
-
readonly outputSchema: z.
|
|
927
|
+
readonly outputSchema: z.ZodObject<{
|
|
958
928
|
data: z.ZodArray<z.ZodObject<{
|
|
959
929
|
id: z.ZodString;
|
|
960
930
|
configurationCompleted: z.ZodBoolean;
|
|
@@ -970,13 +940,7 @@ declare class GetPaymentConfigCashList extends AbstractApiRequest<typeof getPaym
|
|
|
970
940
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
971
941
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
972
942
|
}, z.core.$strip>;
|
|
973
|
-
}, z.core.$strip
|
|
974
|
-
id: z.ZodString;
|
|
975
|
-
configurationCompleted: z.ZodBoolean;
|
|
976
|
-
createdAt: z.ZodString;
|
|
977
|
-
updatedAt: z.ZodString;
|
|
978
|
-
method: z.ZodLiteral<"cash">;
|
|
979
|
-
}, z.core.$strip>>]>;
|
|
943
|
+
}, z.core.$strip>;
|
|
980
944
|
readonly querySchema: z.ZodObject<{
|
|
981
945
|
method: z.ZodOptional<z.ZodEnum<{
|
|
982
946
|
stripe: "stripe";
|
|
@@ -1101,7 +1065,7 @@ declare class GetPaymentConfigCreditCardDetails extends AbstractApiRequest<typeo
|
|
|
1101
1065
|
type GetPaymentConfigCreditCardListQueryParams = PaymentConfigsQueryParams;
|
|
1102
1066
|
declare const getPaymentConfigCreditCardListInputSchema: z.ZodUndefined;
|
|
1103
1067
|
type GetPaymentConfigCreditCardListInput = z.input<typeof getPaymentConfigCreditCardListInputSchema>;
|
|
1104
|
-
declare const getPaymentConfigCreditCardListResponseSchema: z.
|
|
1068
|
+
declare const getPaymentConfigCreditCardListResponseSchema: z.ZodObject<{
|
|
1105
1069
|
data: z.ZodArray<z.ZodObject<{
|
|
1106
1070
|
id: z.ZodString;
|
|
1107
1071
|
configurationCompleted: z.ZodBoolean;
|
|
@@ -1117,20 +1081,14 @@ declare const getPaymentConfigCreditCardListResponseSchema: z.ZodUnion<readonly
|
|
|
1117
1081
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1118
1082
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1119
1083
|
}, z.core.$strip>;
|
|
1120
|
-
}, z.core.$strip
|
|
1121
|
-
id: z.ZodString;
|
|
1122
|
-
configurationCompleted: z.ZodBoolean;
|
|
1123
|
-
createdAt: z.ZodString;
|
|
1124
|
-
updatedAt: z.ZodString;
|
|
1125
|
-
method: z.ZodLiteral<"credit_card">;
|
|
1126
|
-
}, z.core.$strip>>]>;
|
|
1084
|
+
}, z.core.$strip>;
|
|
1127
1085
|
type GetPaymentConfigCreditCardListResponse = z.infer<typeof getPaymentConfigCreditCardListResponseSchema>;
|
|
1128
1086
|
declare class GetPaymentConfigCreditCardList extends AbstractApiRequest<typeof getPaymentConfigCreditCardListInputSchema, typeof getPaymentConfigCreditCardListResponseSchema, GetPaymentConfigCreditCardListQueryParams> {
|
|
1129
1087
|
readonly method: "GET";
|
|
1130
1088
|
readonly contentType: "application/json";
|
|
1131
1089
|
readonly accept: "application/json";
|
|
1132
1090
|
readonly inputSchema: z.ZodUndefined;
|
|
1133
|
-
readonly outputSchema: z.
|
|
1091
|
+
readonly outputSchema: z.ZodObject<{
|
|
1134
1092
|
data: z.ZodArray<z.ZodObject<{
|
|
1135
1093
|
id: z.ZodString;
|
|
1136
1094
|
configurationCompleted: z.ZodBoolean;
|
|
@@ -1146,13 +1104,7 @@ declare class GetPaymentConfigCreditCardList extends AbstractApiRequest<typeof g
|
|
|
1146
1104
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1147
1105
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1148
1106
|
}, z.core.$strip>;
|
|
1149
|
-
}, z.core.$strip
|
|
1150
|
-
id: z.ZodString;
|
|
1151
|
-
configurationCompleted: z.ZodBoolean;
|
|
1152
|
-
createdAt: z.ZodString;
|
|
1153
|
-
updatedAt: z.ZodString;
|
|
1154
|
-
method: z.ZodLiteral<"credit_card">;
|
|
1155
|
-
}, z.core.$strip>>]>;
|
|
1107
|
+
}, z.core.$strip>;
|
|
1156
1108
|
readonly querySchema: z.ZodObject<{
|
|
1157
1109
|
method: z.ZodOptional<z.ZodEnum<{
|
|
1158
1110
|
stripe: "stripe";
|
|
@@ -1303,7 +1255,7 @@ declare class GetPaymentConfigDetails extends AbstractApiRequest<typeof getPayme
|
|
|
1303
1255
|
type GetPaymentConfigsQueryParams = PaymentConfigsQueryParams;
|
|
1304
1256
|
declare const getPaymentConfigsInputSchema: z.ZodUndefined;
|
|
1305
1257
|
type GetPaymentConfigsInput = z.input<typeof getPaymentConfigsInputSchema>;
|
|
1306
|
-
declare const getPaymentConfigsResponseSchema: z.
|
|
1258
|
+
declare const getPaymentConfigsResponseSchema: z.ZodObject<{
|
|
1307
1259
|
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1308
1260
|
id: z.ZodString;
|
|
1309
1261
|
configurationCompleted: z.ZodBoolean;
|
|
@@ -1346,47 +1298,14 @@ declare const getPaymentConfigsResponseSchema: z.ZodUnion<readonly [z.ZodObject<
|
|
|
1346
1298
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1347
1299
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1348
1300
|
}, z.core.$strip>;
|
|
1349
|
-
}, z.core.$strip
|
|
1350
|
-
id: z.ZodString;
|
|
1351
|
-
configurationCompleted: z.ZodBoolean;
|
|
1352
|
-
createdAt: z.ZodString;
|
|
1353
|
-
updatedAt: z.ZodString;
|
|
1354
|
-
method: z.ZodLiteral<"bank_transfer">;
|
|
1355
|
-
iban: z.ZodString;
|
|
1356
|
-
bic: z.ZodString;
|
|
1357
|
-
accountHolder: z.ZodString;
|
|
1358
|
-
bankName: z.ZodString;
|
|
1359
|
-
bankAddress: z.ZodNullable<z.ZodString>;
|
|
1360
|
-
currency: z.ZodString;
|
|
1361
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1362
|
-
id: z.ZodString;
|
|
1363
|
-
configurationCompleted: z.ZodBoolean;
|
|
1364
|
-
createdAt: z.ZodString;
|
|
1365
|
-
updatedAt: z.ZodString;
|
|
1366
|
-
method: z.ZodLiteral<"stripe">;
|
|
1367
|
-
secretKey: z.ZodString;
|
|
1368
|
-
webhookSecret: z.ZodNullable<z.ZodString>;
|
|
1369
|
-
webhookId: z.ZodNullable<z.ZodString>;
|
|
1370
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1371
|
-
id: z.ZodString;
|
|
1372
|
-
configurationCompleted: z.ZodBoolean;
|
|
1373
|
-
createdAt: z.ZodString;
|
|
1374
|
-
updatedAt: z.ZodString;
|
|
1375
|
-
method: z.ZodLiteral<"cash">;
|
|
1376
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1377
|
-
id: z.ZodString;
|
|
1378
|
-
configurationCompleted: z.ZodBoolean;
|
|
1379
|
-
createdAt: z.ZodString;
|
|
1380
|
-
updatedAt: z.ZodString;
|
|
1381
|
-
method: z.ZodLiteral<"credit_card">;
|
|
1382
|
-
}, z.core.$strip>]>>]>;
|
|
1301
|
+
}, z.core.$strip>;
|
|
1383
1302
|
type GetPaymentConfigsResponse = z.infer<typeof getPaymentConfigsResponseSchema>;
|
|
1384
1303
|
declare class GetPaymentConfigs extends AbstractApiRequest<typeof getPaymentConfigsInputSchema, typeof getPaymentConfigsResponseSchema, GetPaymentConfigsQueryParams> {
|
|
1385
1304
|
readonly method: "GET";
|
|
1386
1305
|
readonly contentType: "application/json";
|
|
1387
1306
|
readonly accept: "application/json";
|
|
1388
1307
|
readonly inputSchema: z.ZodUndefined;
|
|
1389
|
-
readonly outputSchema: z.
|
|
1308
|
+
readonly outputSchema: z.ZodObject<{
|
|
1390
1309
|
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1391
1310
|
id: z.ZodString;
|
|
1392
1311
|
configurationCompleted: z.ZodBoolean;
|
|
@@ -1429,40 +1348,7 @@ declare class GetPaymentConfigs extends AbstractApiRequest<typeof getPaymentConf
|
|
|
1429
1348
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1430
1349
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1431
1350
|
}, z.core.$strip>;
|
|
1432
|
-
}, z.core.$strip
|
|
1433
|
-
id: z.ZodString;
|
|
1434
|
-
configurationCompleted: z.ZodBoolean;
|
|
1435
|
-
createdAt: z.ZodString;
|
|
1436
|
-
updatedAt: z.ZodString;
|
|
1437
|
-
method: z.ZodLiteral<"bank_transfer">;
|
|
1438
|
-
iban: z.ZodString;
|
|
1439
|
-
bic: z.ZodString;
|
|
1440
|
-
accountHolder: z.ZodString;
|
|
1441
|
-
bankName: z.ZodString;
|
|
1442
|
-
bankAddress: z.ZodNullable<z.ZodString>;
|
|
1443
|
-
currency: z.ZodString;
|
|
1444
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1445
|
-
id: z.ZodString;
|
|
1446
|
-
configurationCompleted: z.ZodBoolean;
|
|
1447
|
-
createdAt: z.ZodString;
|
|
1448
|
-
updatedAt: z.ZodString;
|
|
1449
|
-
method: z.ZodLiteral<"stripe">;
|
|
1450
|
-
secretKey: z.ZodString;
|
|
1451
|
-
webhookSecret: z.ZodNullable<z.ZodString>;
|
|
1452
|
-
webhookId: z.ZodNullable<z.ZodString>;
|
|
1453
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1454
|
-
id: z.ZodString;
|
|
1455
|
-
configurationCompleted: z.ZodBoolean;
|
|
1456
|
-
createdAt: z.ZodString;
|
|
1457
|
-
updatedAt: z.ZodString;
|
|
1458
|
-
method: z.ZodLiteral<"cash">;
|
|
1459
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1460
|
-
id: z.ZodString;
|
|
1461
|
-
configurationCompleted: z.ZodBoolean;
|
|
1462
|
-
createdAt: z.ZodString;
|
|
1463
|
-
updatedAt: z.ZodString;
|
|
1464
|
-
method: z.ZodLiteral<"credit_card">;
|
|
1465
|
-
}, z.core.$strip>]>>]>;
|
|
1351
|
+
}, z.core.$strip>;
|
|
1466
1352
|
readonly querySchema: z.ZodObject<{
|
|
1467
1353
|
method: z.ZodOptional<z.ZodEnum<{
|
|
1468
1354
|
stripe: "stripe";
|
|
@@ -1774,7 +1660,7 @@ declare class GetPaymentConfigStripeDetails extends AbstractApiRequest<typeof ge
|
|
|
1774
1660
|
type GetPaymentConfigStripeListQueryParams = PaymentConfigsQueryParams;
|
|
1775
1661
|
declare const getPaymentConfigStripeListInputSchema: z.ZodUndefined;
|
|
1776
1662
|
type GetPaymentConfigStripeListInput = z.input<typeof getPaymentConfigStripeListInputSchema>;
|
|
1777
|
-
declare const getPaymentConfigStripeListResponseSchema: z.
|
|
1663
|
+
declare const getPaymentConfigStripeListResponseSchema: z.ZodObject<{
|
|
1778
1664
|
data: z.ZodArray<z.ZodObject<{
|
|
1779
1665
|
id: z.ZodString;
|
|
1780
1666
|
configurationCompleted: z.ZodBoolean;
|
|
@@ -1793,23 +1679,14 @@ declare const getPaymentConfigStripeListResponseSchema: z.ZodUnion<readonly [z.Z
|
|
|
1793
1679
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1794
1680
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1795
1681
|
}, z.core.$strip>;
|
|
1796
|
-
}, z.core.$strip
|
|
1797
|
-
id: z.ZodString;
|
|
1798
|
-
configurationCompleted: z.ZodBoolean;
|
|
1799
|
-
createdAt: z.ZodString;
|
|
1800
|
-
updatedAt: z.ZodString;
|
|
1801
|
-
method: z.ZodLiteral<"stripe">;
|
|
1802
|
-
secretKey: z.ZodString;
|
|
1803
|
-
webhookSecret: z.ZodNullable<z.ZodString>;
|
|
1804
|
-
webhookId: z.ZodNullable<z.ZodString>;
|
|
1805
|
-
}, z.core.$strip>>]>;
|
|
1682
|
+
}, z.core.$strip>;
|
|
1806
1683
|
type GetPaymentConfigStripeListResponse = z.infer<typeof getPaymentConfigStripeListResponseSchema>;
|
|
1807
1684
|
declare class GetPaymentConfigStripeList extends AbstractApiRequest<typeof getPaymentConfigStripeListInputSchema, typeof getPaymentConfigStripeListResponseSchema, GetPaymentConfigStripeListQueryParams> {
|
|
1808
1685
|
readonly method: "GET";
|
|
1809
1686
|
readonly contentType: "application/json";
|
|
1810
1687
|
readonly accept: "application/json";
|
|
1811
1688
|
readonly inputSchema: z.ZodUndefined;
|
|
1812
|
-
readonly outputSchema: z.
|
|
1689
|
+
readonly outputSchema: z.ZodObject<{
|
|
1813
1690
|
data: z.ZodArray<z.ZodObject<{
|
|
1814
1691
|
id: z.ZodString;
|
|
1815
1692
|
configurationCompleted: z.ZodBoolean;
|
|
@@ -1828,16 +1705,7 @@ declare class GetPaymentConfigStripeList extends AbstractApiRequest<typeof getPa
|
|
|
1828
1705
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1829
1706
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1830
1707
|
}, z.core.$strip>;
|
|
1831
|
-
}, z.core.$strip
|
|
1832
|
-
id: z.ZodString;
|
|
1833
|
-
configurationCompleted: z.ZodBoolean;
|
|
1834
|
-
createdAt: z.ZodString;
|
|
1835
|
-
updatedAt: z.ZodString;
|
|
1836
|
-
method: z.ZodLiteral<"stripe">;
|
|
1837
|
-
secretKey: z.ZodString;
|
|
1838
|
-
webhookSecret: z.ZodNullable<z.ZodString>;
|
|
1839
|
-
webhookId: z.ZodNullable<z.ZodString>;
|
|
1840
|
-
}, z.core.$strip>>]>;
|
|
1708
|
+
}, z.core.$strip>;
|
|
1841
1709
|
readonly querySchema: z.ZodObject<{
|
|
1842
1710
|
method: z.ZodOptional<z.ZodEnum<{
|
|
1843
1711
|
stripe: "stripe";
|
|
@@ -2249,7 +2117,7 @@ declare class GetPaymentInfo extends AbstractApiRequest<typeof getPaymentInfoInp
|
|
|
2249
2117
|
type GetPaymentsQueryParams = PaymentQueryParams;
|
|
2250
2118
|
declare const getPaymentsInputSchema: z.ZodUndefined;
|
|
2251
2119
|
type GetPaymentsInput = z.input<typeof getPaymentsInputSchema>;
|
|
2252
|
-
declare const getPaymentsResponseSchema: z.
|
|
2120
|
+
declare const getPaymentsResponseSchema: z.ZodObject<{
|
|
2253
2121
|
data: z.ZodArray<z.ZodObject<{
|
|
2254
2122
|
id: z.ZodString;
|
|
2255
2123
|
method: z.ZodEnum<{
|
|
@@ -2282,37 +2150,14 @@ declare const getPaymentsResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2282
2150
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
2283
2151
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
2284
2152
|
}, z.core.$strip>;
|
|
2285
|
-
}, z.core.$strip
|
|
2286
|
-
id: z.ZodString;
|
|
2287
|
-
method: z.ZodEnum<{
|
|
2288
|
-
stripe: "stripe";
|
|
2289
|
-
bank_transfer: "bank_transfer";
|
|
2290
|
-
cash: "cash";
|
|
2291
|
-
credit_card: "credit_card";
|
|
2292
|
-
}>;
|
|
2293
|
-
status: z.ZodEnum<{
|
|
2294
|
-
pending: "pending";
|
|
2295
|
-
pending_verification: "pending_verification";
|
|
2296
|
-
paid: "paid";
|
|
2297
|
-
canceled: "canceled";
|
|
2298
|
-
refunded: "refunded";
|
|
2299
|
-
failed: "failed";
|
|
2300
|
-
}>;
|
|
2301
|
-
amount: z.ZodString;
|
|
2302
|
-
internalReference: z.ZodNullable<z.ZodString>;
|
|
2303
|
-
externalReference: z.ZodNullable<z.ZodString>;
|
|
2304
|
-
response: z.ZodNullable<z.ZodString>;
|
|
2305
|
-
validUntil: z.ZodNullable<z.ZodString>;
|
|
2306
|
-
createdAt: z.ZodString;
|
|
2307
|
-
updatedAt: z.ZodString;
|
|
2308
|
-
}, z.core.$strip>>]>;
|
|
2153
|
+
}, z.core.$strip>;
|
|
2309
2154
|
type GetPaymentsResponse = z.infer<typeof getPaymentsResponseSchema>;
|
|
2310
2155
|
declare class GetPayments extends AbstractApiRequest<typeof getPaymentsInputSchema, typeof getPaymentsResponseSchema, GetPaymentsQueryParams> {
|
|
2311
2156
|
readonly method: "GET";
|
|
2312
2157
|
readonly contentType: "application/json";
|
|
2313
2158
|
readonly accept: "application/json";
|
|
2314
2159
|
readonly inputSchema: z.ZodUndefined;
|
|
2315
|
-
readonly outputSchema: z.
|
|
2160
|
+
readonly outputSchema: z.ZodObject<{
|
|
2316
2161
|
data: z.ZodArray<z.ZodObject<{
|
|
2317
2162
|
id: z.ZodString;
|
|
2318
2163
|
method: z.ZodEnum<{
|
|
@@ -2345,30 +2190,7 @@ declare class GetPayments extends AbstractApiRequest<typeof getPaymentsInputSche
|
|
|
2345
2190
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
2346
2191
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
2347
2192
|
}, z.core.$strip>;
|
|
2348
|
-
}, z.core.$strip
|
|
2349
|
-
id: z.ZodString;
|
|
2350
|
-
method: z.ZodEnum<{
|
|
2351
|
-
stripe: "stripe";
|
|
2352
|
-
bank_transfer: "bank_transfer";
|
|
2353
|
-
cash: "cash";
|
|
2354
|
-
credit_card: "credit_card";
|
|
2355
|
-
}>;
|
|
2356
|
-
status: z.ZodEnum<{
|
|
2357
|
-
pending: "pending";
|
|
2358
|
-
pending_verification: "pending_verification";
|
|
2359
|
-
paid: "paid";
|
|
2360
|
-
canceled: "canceled";
|
|
2361
|
-
refunded: "refunded";
|
|
2362
|
-
failed: "failed";
|
|
2363
|
-
}>;
|
|
2364
|
-
amount: z.ZodString;
|
|
2365
|
-
internalReference: z.ZodNullable<z.ZodString>;
|
|
2366
|
-
externalReference: z.ZodNullable<z.ZodString>;
|
|
2367
|
-
response: z.ZodNullable<z.ZodString>;
|
|
2368
|
-
validUntil: z.ZodNullable<z.ZodString>;
|
|
2369
|
-
createdAt: z.ZodString;
|
|
2370
|
-
updatedAt: z.ZodString;
|
|
2371
|
-
}, z.core.$strip>>]>;
|
|
2193
|
+
}, z.core.$strip>;
|
|
2372
2194
|
readonly querySchema: z.ZodObject<{
|
|
2373
2195
|
internalReference: z.ZodOptional<z.ZodString>;
|
|
2374
2196
|
externalReference: z.ZodOptional<z.ZodString>;
|
|
@@ -2456,7 +2278,7 @@ declare class GetPayments extends AbstractApiRequest<typeof getPaymentsInputSche
|
|
|
2456
2278
|
type GetPaymentsForPaymentConfigQueryParams = PaymentQueryParams;
|
|
2457
2279
|
declare const getPaymentsForPaymentConfigInputSchema: z.ZodUndefined;
|
|
2458
2280
|
type GetPaymentsForPaymentConfigInput = z.input<typeof getPaymentsForPaymentConfigInputSchema>;
|
|
2459
|
-
declare const getPaymentsForPaymentConfigResponseSchema: z.
|
|
2281
|
+
declare const getPaymentsForPaymentConfigResponseSchema: z.ZodObject<{
|
|
2460
2282
|
data: z.ZodArray<z.ZodObject<{
|
|
2461
2283
|
id: z.ZodString;
|
|
2462
2284
|
method: z.ZodEnum<{
|
|
@@ -2489,37 +2311,14 @@ declare const getPaymentsForPaymentConfigResponseSchema: z.ZodUnion<readonly [z.
|
|
|
2489
2311
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
2490
2312
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
2491
2313
|
}, z.core.$strip>;
|
|
2492
|
-
}, z.core.$strip
|
|
2493
|
-
id: z.ZodString;
|
|
2494
|
-
method: z.ZodEnum<{
|
|
2495
|
-
stripe: "stripe";
|
|
2496
|
-
bank_transfer: "bank_transfer";
|
|
2497
|
-
cash: "cash";
|
|
2498
|
-
credit_card: "credit_card";
|
|
2499
|
-
}>;
|
|
2500
|
-
status: z.ZodEnum<{
|
|
2501
|
-
pending: "pending";
|
|
2502
|
-
pending_verification: "pending_verification";
|
|
2503
|
-
paid: "paid";
|
|
2504
|
-
canceled: "canceled";
|
|
2505
|
-
refunded: "refunded";
|
|
2506
|
-
failed: "failed";
|
|
2507
|
-
}>;
|
|
2508
|
-
amount: z.ZodString;
|
|
2509
|
-
internalReference: z.ZodNullable<z.ZodString>;
|
|
2510
|
-
externalReference: z.ZodNullable<z.ZodString>;
|
|
2511
|
-
response: z.ZodNullable<z.ZodString>;
|
|
2512
|
-
validUntil: z.ZodNullable<z.ZodString>;
|
|
2513
|
-
createdAt: z.ZodString;
|
|
2514
|
-
updatedAt: z.ZodString;
|
|
2515
|
-
}, z.core.$strip>>]>;
|
|
2314
|
+
}, z.core.$strip>;
|
|
2516
2315
|
type GetPaymentsForPaymentConfigResponse = z.infer<typeof getPaymentsForPaymentConfigResponseSchema>;
|
|
2517
2316
|
declare class GetPaymentsForPaymentConfig extends AbstractApiRequest<typeof getPaymentsForPaymentConfigInputSchema, typeof getPaymentsForPaymentConfigResponseSchema, GetPaymentsForPaymentConfigQueryParams> {
|
|
2518
2317
|
readonly method: "GET";
|
|
2519
2318
|
readonly contentType: "application/json";
|
|
2520
2319
|
readonly accept: "application/json";
|
|
2521
2320
|
readonly inputSchema: z.ZodUndefined;
|
|
2522
|
-
readonly outputSchema: z.
|
|
2321
|
+
readonly outputSchema: z.ZodObject<{
|
|
2523
2322
|
data: z.ZodArray<z.ZodObject<{
|
|
2524
2323
|
id: z.ZodString;
|
|
2525
2324
|
method: z.ZodEnum<{
|
|
@@ -2552,30 +2351,7 @@ declare class GetPaymentsForPaymentConfig extends AbstractApiRequest<typeof getP
|
|
|
2552
2351
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
2553
2352
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
2554
2353
|
}, z.core.$strip>;
|
|
2555
|
-
}, z.core.$strip
|
|
2556
|
-
id: z.ZodString;
|
|
2557
|
-
method: z.ZodEnum<{
|
|
2558
|
-
stripe: "stripe";
|
|
2559
|
-
bank_transfer: "bank_transfer";
|
|
2560
|
-
cash: "cash";
|
|
2561
|
-
credit_card: "credit_card";
|
|
2562
|
-
}>;
|
|
2563
|
-
status: z.ZodEnum<{
|
|
2564
|
-
pending: "pending";
|
|
2565
|
-
pending_verification: "pending_verification";
|
|
2566
|
-
paid: "paid";
|
|
2567
|
-
canceled: "canceled";
|
|
2568
|
-
refunded: "refunded";
|
|
2569
|
-
failed: "failed";
|
|
2570
|
-
}>;
|
|
2571
|
-
amount: z.ZodString;
|
|
2572
|
-
internalReference: z.ZodNullable<z.ZodString>;
|
|
2573
|
-
externalReference: z.ZodNullable<z.ZodString>;
|
|
2574
|
-
response: z.ZodNullable<z.ZodString>;
|
|
2575
|
-
validUntil: z.ZodNullable<z.ZodString>;
|
|
2576
|
-
createdAt: z.ZodString;
|
|
2577
|
-
updatedAt: z.ZodString;
|
|
2578
|
-
}, z.core.$strip>>]>;
|
|
2354
|
+
}, z.core.$strip>;
|
|
2579
2355
|
readonly querySchema: z.ZodObject<{
|
|
2580
2356
|
internalReference: z.ZodOptional<z.ZodString>;
|
|
2581
2357
|
externalReference: z.ZodOptional<z.ZodString>;
|
package/dist/index.js
CHANGED
|
@@ -11423,9 +11423,9 @@ var GetPaymentConfigBankTransferDetails = class extends AbstractApiRequest3 {
|
|
|
11423
11423
|
|
|
11424
11424
|
// src/requests/payment-configs/bank-transfer/GetPaymentConfigBankTransferList.ts
|
|
11425
11425
|
import { AbstractApiRequest as AbstractApiRequest4 } from "@deliverart/sdk-js-core";
|
|
11426
|
-
import {
|
|
11426
|
+
import { createPaginatedSchema } from "@deliverart/sdk-js-global-types";
|
|
11427
11427
|
var getPaymentConfigBankTransferListInputSchema = external_exports.undefined();
|
|
11428
|
-
var getPaymentConfigBankTransferListResponseSchema =
|
|
11428
|
+
var getPaymentConfigBankTransferListResponseSchema = createPaginatedSchema(
|
|
11429
11429
|
paymentConfigBankTransferSchema
|
|
11430
11430
|
);
|
|
11431
11431
|
var GetPaymentConfigBankTransferList = class extends AbstractApiRequest4 {
|
|
@@ -11534,9 +11534,9 @@ var GetPaymentConfigCashDetails = class extends AbstractApiRequest8 {
|
|
|
11534
11534
|
|
|
11535
11535
|
// src/requests/payment-configs/cash/GetPaymentConfigCashList.ts
|
|
11536
11536
|
import { AbstractApiRequest as AbstractApiRequest9 } from "@deliverart/sdk-js-core";
|
|
11537
|
-
import {
|
|
11537
|
+
import { createPaginatedSchema as createPaginatedSchema2 } from "@deliverart/sdk-js-global-types";
|
|
11538
11538
|
var getPaymentConfigCashListInputSchema = external_exports.undefined();
|
|
11539
|
-
var getPaymentConfigCashListResponseSchema =
|
|
11539
|
+
var getPaymentConfigCashListResponseSchema = createPaginatedSchema2(paymentConfigCashSchema);
|
|
11540
11540
|
var GetPaymentConfigCashList = class extends AbstractApiRequest9 {
|
|
11541
11541
|
constructor(options) {
|
|
11542
11542
|
super(void 0, options);
|
|
@@ -11620,9 +11620,9 @@ var GetPaymentConfigCreditCardDetails = class extends AbstractApiRequest12 {
|
|
|
11620
11620
|
|
|
11621
11621
|
// src/requests/payment-configs/credit-card/GetPaymentConfigCreditCardList.ts
|
|
11622
11622
|
import { AbstractApiRequest as AbstractApiRequest13 } from "@deliverart/sdk-js-core";
|
|
11623
|
-
import {
|
|
11623
|
+
import { createPaginatedSchema as createPaginatedSchema3 } from "@deliverart/sdk-js-global-types";
|
|
11624
11624
|
var getPaymentConfigCreditCardListInputSchema = external_exports.undefined();
|
|
11625
|
-
var getPaymentConfigCreditCardListResponseSchema =
|
|
11625
|
+
var getPaymentConfigCreditCardListResponseSchema = createPaginatedSchema3(
|
|
11626
11626
|
paymentConfigCreditCardSchema
|
|
11627
11627
|
);
|
|
11628
11628
|
var GetPaymentConfigCreditCardList = class extends AbstractApiRequest13 {
|
|
@@ -11688,9 +11688,9 @@ var GetPaymentConfigDetails = class extends AbstractApiRequest15 {
|
|
|
11688
11688
|
|
|
11689
11689
|
// src/requests/payment-configs/GetPaymentConfigs.ts
|
|
11690
11690
|
import { AbstractApiRequest as AbstractApiRequest16 } from "@deliverart/sdk-js-core";
|
|
11691
|
-
import {
|
|
11691
|
+
import { createPaginatedSchema as createPaginatedSchema4 } from "@deliverart/sdk-js-global-types";
|
|
11692
11692
|
var getPaymentConfigsInputSchema = external_exports.undefined();
|
|
11693
|
-
var getPaymentConfigsResponseSchema =
|
|
11693
|
+
var getPaymentConfigsResponseSchema = createPaginatedSchema4(paymentConfigSchema);
|
|
11694
11694
|
var GetPaymentConfigs = class extends AbstractApiRequest16 {
|
|
11695
11695
|
constructor(options) {
|
|
11696
11696
|
super(void 0, options);
|
|
@@ -11797,9 +11797,9 @@ var GetPaymentConfigStripeDetails = class extends AbstractApiRequest20 {
|
|
|
11797
11797
|
|
|
11798
11798
|
// src/requests/payment-configs/stripe/GetPaymentConfigStripeList.ts
|
|
11799
11799
|
import { AbstractApiRequest as AbstractApiRequest21 } from "@deliverart/sdk-js-core";
|
|
11800
|
-
import {
|
|
11800
|
+
import { createPaginatedSchema as createPaginatedSchema5 } from "@deliverart/sdk-js-global-types";
|
|
11801
11801
|
var getPaymentConfigStripeListInputSchema = external_exports.undefined();
|
|
11802
|
-
var getPaymentConfigStripeListResponseSchema =
|
|
11802
|
+
var getPaymentConfigStripeListResponseSchema = createPaginatedSchema5(paymentConfigStripeSchema);
|
|
11803
11803
|
var GetPaymentConfigStripeList = class extends AbstractApiRequest21 {
|
|
11804
11804
|
constructor(options) {
|
|
11805
11805
|
super(void 0, options);
|
|
@@ -11907,9 +11907,9 @@ var GetPaymentInfo = class extends AbstractApiRequest25 {
|
|
|
11907
11907
|
|
|
11908
11908
|
// src/requests/payments/GetPayments.ts
|
|
11909
11909
|
import { AbstractApiRequest as AbstractApiRequest26 } from "@deliverart/sdk-js-core";
|
|
11910
|
-
import {
|
|
11910
|
+
import { createPaginatedSchema as createPaginatedSchema6 } from "@deliverart/sdk-js-global-types";
|
|
11911
11911
|
var getPaymentsInputSchema = external_exports.undefined();
|
|
11912
|
-
var getPaymentsResponseSchema =
|
|
11912
|
+
var getPaymentsResponseSchema = createPaginatedSchema6(paymentSchema);
|
|
11913
11913
|
var GetPayments = class extends AbstractApiRequest26 {
|
|
11914
11914
|
constructor(options) {
|
|
11915
11915
|
super(void 0, options);
|
|
@@ -11930,9 +11930,9 @@ var GetPayments = class extends AbstractApiRequest26 {
|
|
|
11930
11930
|
|
|
11931
11931
|
// src/requests/payments/GetPaymentsForPaymentConfig.ts
|
|
11932
11932
|
import { AbstractApiRequest as AbstractApiRequest27 } from "@deliverart/sdk-js-core";
|
|
11933
|
-
import {
|
|
11933
|
+
import { createPaginatedSchema as createPaginatedSchema7 } from "@deliverart/sdk-js-global-types";
|
|
11934
11934
|
var getPaymentsForPaymentConfigInputSchema = external_exports.undefined();
|
|
11935
|
-
var getPaymentsForPaymentConfigResponseSchema =
|
|
11935
|
+
var getPaymentsForPaymentConfigResponseSchema = createPaginatedSchema7(paymentSchema);
|
|
11936
11936
|
var GetPaymentsForPaymentConfig = class extends AbstractApiRequest27 {
|
|
11937
11937
|
constructor(paymentConfigId, options) {
|
|
11938
11938
|
super(void 0, options);
|
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.6.
|
|
4
|
+
"version": "2.6.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-
|
|
23
|
-
"@deliverart/sdk-js-point-of-sale": "2.6.
|
|
21
|
+
"@deliverart/sdk-js-core": "2.6.3",
|
|
22
|
+
"@deliverart/sdk-js-global-types": "2.6.3",
|
|
23
|
+
"@deliverart/sdk-js-point-of-sale": "2.6.3"
|
|
24
24
|
},
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "public"
|