@deliverart/sdk-js-payment 0.0.4 → 1.1.1
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 +4431 -496
- package/dist/index.d.cts +1482 -848
- package/dist/index.d.ts +1482 -848
- package/dist/index.js +4392 -451
- package/package.json +11 -26
- package/.changeset/config.json +0 -11
- package/.github/workflows/workflow.yml +0 -47
- package/.prettierrc +0 -7
- package/CHANGELOG.md +0 -55
- package/README.md +0 -3
- package/eslint.config.js +0 -41
- package/src/index.ts +0 -3
- package/src/models.ts +0 -168
- package/src/requests/index.ts +0 -2
- package/src/requests/payment-configs/DeletePaymentConfig.ts +0 -27
- package/src/requests/payment-configs/GetPaymentConfigDetails.ts +0 -33
- package/src/requests/payment-configs/GetPaymentConfigs.ts +0 -50
- package/src/requests/payment-configs/bank-transfer/CreatePaymentConfigBankTransfer.ts +0 -38
- package/src/requests/payment-configs/bank-transfer/DeletePaymentConfigBankTransfer.ts +0 -27
- package/src/requests/payment-configs/bank-transfer/GetPaymentConfigBankTransferDetails.ts +0 -37
- package/src/requests/payment-configs/bank-transfer/GetPaymentConfigBankTransferList.ts +0 -54
- package/src/requests/payment-configs/bank-transfer/UpdatePaymentConfigBankTransfer.ts +0 -45
- package/src/requests/payment-configs/bank-transfer/index.ts +0 -5
- package/src/requests/payment-configs/cash/CreatePaymentConfigCash.ts +0 -36
- package/src/requests/payment-configs/cash/DeletePaymentConfigCash.ts +0 -27
- package/src/requests/payment-configs/cash/GetPaymentConfigCashDetails.ts +0 -33
- package/src/requests/payment-configs/cash/GetPaymentConfigCashList.ts +0 -52
- package/src/requests/payment-configs/cash/index.ts +0 -4
- package/src/requests/payment-configs/credit-card/CreatePaymentConfigCreditCard.ts +0 -38
- package/src/requests/payment-configs/credit-card/DeletePaymentConfigCreditCard.ts +0 -27
- package/src/requests/payment-configs/credit-card/GetPaymentConfigCreditCardDetails.ts +0 -36
- package/src/requests/payment-configs/credit-card/GetPaymentConfigCreditCardList.ts +0 -54
- package/src/requests/payment-configs/credit-card/index.ts +0 -4
- package/src/requests/payment-configs/index.ts +0 -7
- package/src/requests/payment-configs/stripe/CreatePaymentConfigStripe.ts +0 -36
- package/src/requests/payment-configs/stripe/DeletePaymentConfigStripe.ts +0 -27
- package/src/requests/payment-configs/stripe/GetPaymentConfigStripeDetails.ts +0 -33
- package/src/requests/payment-configs/stripe/GetPaymentConfigStripeList.ts +0 -53
- package/src/requests/payment-configs/stripe/UpdatePaymentConfigStripe.ts +0 -43
- package/src/requests/payment-configs/stripe/index.ts +0 -5
- package/src/requests/payments/DeletePayment.ts +0 -27
- package/src/requests/payments/GetPaymentDetails.ts +0 -30
- package/src/requests/payments/GetPayments.ts +0 -45
- package/src/requests/payments/GetPaymentsForPaymentConfig.ts +0 -53
- package/src/requests/payments/UpdatePayment.ts +0 -32
- package/src/requests/payments/index.ts +0 -5
- package/src/types.ts +0 -194
- package/tsconfig.json +0 -15
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import * as _deliverart_sdk_js_global_types from '@deliverart/sdk-js-global-types';
|
|
2
|
+
import { Paginated } from '@deliverart/sdk-js-global-types';
|
|
1
3
|
import { z } from 'zod';
|
|
2
4
|
import { AbstractApiRequest } from '@deliverart/sdk-js-core';
|
|
3
|
-
import { Paginated } from '@deliverart/sdk-js-global-types';
|
|
4
5
|
import { AxiosResponse } from 'axios';
|
|
5
6
|
|
|
6
7
|
declare const paymentSchema: z.ZodObject<{
|
|
@@ -38,7 +39,10 @@ declare const paymentSchema: z.ZodObject<{
|
|
|
38
39
|
updatedAt: string;
|
|
39
40
|
}>;
|
|
40
41
|
type Payment = z.infer<typeof paymentSchema>;
|
|
41
|
-
declare const paymentDetailsSchema: z.ZodObject<{
|
|
42
|
+
declare const paymentDetailsSchema: z.ZodDiscriminatedUnion<"method", [z.ZodObject<{
|
|
43
|
+
method: z.ZodLiteral<"stripe">;
|
|
44
|
+
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/stripe/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/stripe/:id">>;
|
|
45
|
+
} & Omit<{
|
|
42
46
|
id: z.ZodString;
|
|
43
47
|
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
44
48
|
status: z.ZodEnum<["pending", "pending_verification", "paid", "canceled", "refunded", "failed"]>;
|
|
@@ -49,12 +53,10 @@ declare const paymentDetailsSchema: z.ZodObject<{
|
|
|
49
53
|
validUntil: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
50
54
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
51
55
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
52
|
-
}
|
|
53
|
-
config: z.ZodEffects<z.ZodString, string, string>;
|
|
54
|
-
}, "strip", z.ZodTypeAny, {
|
|
56
|
+
}, "method">, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
55
57
|
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
56
58
|
id: string;
|
|
57
|
-
method: "stripe"
|
|
59
|
+
method: "stripe";
|
|
58
60
|
amount: string;
|
|
59
61
|
internalReference: string | null;
|
|
60
62
|
externalReference: string | null;
|
|
@@ -62,11 +64,11 @@ declare const paymentDetailsSchema: z.ZodObject<{
|
|
|
62
64
|
validUntil: string | null;
|
|
63
65
|
createdAt: string;
|
|
64
66
|
updatedAt: string;
|
|
65
|
-
config:
|
|
67
|
+
config: _deliverart_sdk_js_global_types.IriObject<"/payment_configs/stripe/:id">;
|
|
66
68
|
}, {
|
|
67
69
|
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
68
70
|
id: string;
|
|
69
|
-
method: "stripe"
|
|
71
|
+
method: "stripe";
|
|
70
72
|
amount: string;
|
|
71
73
|
internalReference: string | null;
|
|
72
74
|
externalReference: string | null;
|
|
@@ -74,8 +76,122 @@ declare const paymentDetailsSchema: z.ZodObject<{
|
|
|
74
76
|
validUntil: string | null;
|
|
75
77
|
createdAt: string;
|
|
76
78
|
updatedAt: string;
|
|
77
|
-
config: string
|
|
78
|
-
}
|
|
79
|
+
config: string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/stripe/:id">;
|
|
80
|
+
}>, z.ZodObject<{
|
|
81
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
82
|
+
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/bank_transfer/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/bank_transfer/:id">>;
|
|
83
|
+
} & Omit<{
|
|
84
|
+
id: z.ZodString;
|
|
85
|
+
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
86
|
+
status: z.ZodEnum<["pending", "pending_verification", "paid", "canceled", "refunded", "failed"]>;
|
|
87
|
+
amount: z.ZodString;
|
|
88
|
+
internalReference: z.ZodNullable<z.ZodString>;
|
|
89
|
+
externalReference: z.ZodNullable<z.ZodString>;
|
|
90
|
+
response: z.ZodNullable<z.ZodString>;
|
|
91
|
+
validUntil: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
92
|
+
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
93
|
+
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
94
|
+
}, "method">, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
95
|
+
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
96
|
+
id: string;
|
|
97
|
+
method: "bank_transfer";
|
|
98
|
+
amount: string;
|
|
99
|
+
internalReference: string | null;
|
|
100
|
+
externalReference: string | null;
|
|
101
|
+
response: string | null;
|
|
102
|
+
validUntil: string | null;
|
|
103
|
+
createdAt: string;
|
|
104
|
+
updatedAt: string;
|
|
105
|
+
config: _deliverart_sdk_js_global_types.IriObject<"/payment_configs/bank_transfer/:id">;
|
|
106
|
+
}, {
|
|
107
|
+
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
108
|
+
id: string;
|
|
109
|
+
method: "bank_transfer";
|
|
110
|
+
amount: string;
|
|
111
|
+
internalReference: string | null;
|
|
112
|
+
externalReference: string | null;
|
|
113
|
+
response: string | null;
|
|
114
|
+
validUntil: string | null;
|
|
115
|
+
createdAt: string;
|
|
116
|
+
updatedAt: string;
|
|
117
|
+
config: string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/bank_transfer/:id">;
|
|
118
|
+
}>, z.ZodObject<{
|
|
119
|
+
method: z.ZodLiteral<"cash">;
|
|
120
|
+
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/cash/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/cash/:id">>;
|
|
121
|
+
} & Omit<{
|
|
122
|
+
id: z.ZodString;
|
|
123
|
+
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
124
|
+
status: z.ZodEnum<["pending", "pending_verification", "paid", "canceled", "refunded", "failed"]>;
|
|
125
|
+
amount: z.ZodString;
|
|
126
|
+
internalReference: z.ZodNullable<z.ZodString>;
|
|
127
|
+
externalReference: z.ZodNullable<z.ZodString>;
|
|
128
|
+
response: z.ZodNullable<z.ZodString>;
|
|
129
|
+
validUntil: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
130
|
+
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
131
|
+
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
132
|
+
}, "method">, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
133
|
+
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
134
|
+
id: string;
|
|
135
|
+
method: "cash";
|
|
136
|
+
amount: string;
|
|
137
|
+
internalReference: string | null;
|
|
138
|
+
externalReference: string | null;
|
|
139
|
+
response: string | null;
|
|
140
|
+
validUntil: string | null;
|
|
141
|
+
createdAt: string;
|
|
142
|
+
updatedAt: string;
|
|
143
|
+
config: _deliverart_sdk_js_global_types.IriObject<"/payment_configs/cash/:id">;
|
|
144
|
+
}, {
|
|
145
|
+
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
146
|
+
id: string;
|
|
147
|
+
method: "cash";
|
|
148
|
+
amount: string;
|
|
149
|
+
internalReference: string | null;
|
|
150
|
+
externalReference: string | null;
|
|
151
|
+
response: string | null;
|
|
152
|
+
validUntil: string | null;
|
|
153
|
+
createdAt: string;
|
|
154
|
+
updatedAt: string;
|
|
155
|
+
config: string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/cash/:id">;
|
|
156
|
+
}>, z.ZodObject<{
|
|
157
|
+
method: z.ZodLiteral<"credit_card">;
|
|
158
|
+
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/credit_card/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/credit_card/:id">>;
|
|
159
|
+
} & Omit<{
|
|
160
|
+
id: z.ZodString;
|
|
161
|
+
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
162
|
+
status: z.ZodEnum<["pending", "pending_verification", "paid", "canceled", "refunded", "failed"]>;
|
|
163
|
+
amount: z.ZodString;
|
|
164
|
+
internalReference: z.ZodNullable<z.ZodString>;
|
|
165
|
+
externalReference: z.ZodNullable<z.ZodString>;
|
|
166
|
+
response: z.ZodNullable<z.ZodString>;
|
|
167
|
+
validUntil: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
168
|
+
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
169
|
+
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
170
|
+
}, "method">, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
171
|
+
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
172
|
+
id: string;
|
|
173
|
+
method: "credit_card";
|
|
174
|
+
amount: string;
|
|
175
|
+
internalReference: string | null;
|
|
176
|
+
externalReference: string | null;
|
|
177
|
+
response: string | null;
|
|
178
|
+
validUntil: string | null;
|
|
179
|
+
createdAt: string;
|
|
180
|
+
updatedAt: string;
|
|
181
|
+
config: _deliverart_sdk_js_global_types.IriObject<"/payment_configs/credit_card/:id">;
|
|
182
|
+
}, {
|
|
183
|
+
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
184
|
+
id: string;
|
|
185
|
+
method: "credit_card";
|
|
186
|
+
amount: string;
|
|
187
|
+
internalReference: string | null;
|
|
188
|
+
externalReference: string | null;
|
|
189
|
+
response: string | null;
|
|
190
|
+
validUntil: string | null;
|
|
191
|
+
createdAt: string;
|
|
192
|
+
updatedAt: string;
|
|
193
|
+
config: string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/credit_card/:id">;
|
|
194
|
+
}>]>;
|
|
79
195
|
type PaymentDetails = z.infer<typeof paymentDetailsSchema>;
|
|
80
196
|
declare const writablePaymentSchema: z.ZodObject<Pick<{
|
|
81
197
|
id: z.ZodString;
|
|
@@ -88,8 +204,6 @@ declare const writablePaymentSchema: z.ZodObject<Pick<{
|
|
|
88
204
|
validUntil: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
89
205
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
90
206
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
91
|
-
} & {
|
|
92
|
-
config: z.ZodEffects<z.ZodString, string, string>;
|
|
93
207
|
}, "status" | "response">, "strip", z.ZodTypeAny, {
|
|
94
208
|
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
95
209
|
response: string | null;
|
|
@@ -97,6 +211,7 @@ declare const writablePaymentSchema: z.ZodObject<Pick<{
|
|
|
97
211
|
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
98
212
|
response: string | null;
|
|
99
213
|
}>;
|
|
214
|
+
type WritablePayment = z.infer<typeof writablePaymentSchema>;
|
|
100
215
|
declare const paymentConfigBaseSchema: z.ZodObject<{
|
|
101
216
|
id: z.ZodString;
|
|
102
217
|
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
@@ -116,26 +231,19 @@ declare const paymentConfigBaseSchema: z.ZodObject<{
|
|
|
116
231
|
updatedAt: string;
|
|
117
232
|
configurationCompleted: boolean;
|
|
118
233
|
}>;
|
|
119
|
-
declare const
|
|
120
|
-
pointOfSale: z.ZodEffects<z.ZodString, string, string>;
|
|
121
|
-
}, "strip", z.ZodTypeAny, {
|
|
122
|
-
pointOfSale: string;
|
|
123
|
-
}, {
|
|
124
|
-
pointOfSale: string;
|
|
125
|
-
}>;
|
|
126
|
-
declare const paymentConfigBankTransferSchema: z.ZodObject<Omit<{
|
|
234
|
+
declare const paymentConfigBankTransferSchema: z.ZodObject<{
|
|
127
235
|
id: z.ZodString;
|
|
128
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
129
236
|
configurationCompleted: z.ZodBoolean;
|
|
130
237
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
131
238
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
132
|
-
}
|
|
133
|
-
method: z.
|
|
239
|
+
} & {
|
|
240
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
241
|
+
} & {
|
|
134
242
|
iban: z.ZodString;
|
|
135
243
|
bic: z.ZodString;
|
|
136
244
|
accountHolder: z.ZodString;
|
|
137
245
|
bankName: z.ZodString;
|
|
138
|
-
bankAddress: z.
|
|
246
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
139
247
|
currency: z.ZodString;
|
|
140
248
|
}, "strip", z.ZodTypeAny, {
|
|
141
249
|
id: string;
|
|
@@ -147,8 +255,8 @@ declare const paymentConfigBankTransferSchema: z.ZodObject<Omit<{
|
|
|
147
255
|
bic: string;
|
|
148
256
|
accountHolder: string;
|
|
149
257
|
bankName: string;
|
|
258
|
+
bankAddress: string | null;
|
|
150
259
|
currency: string;
|
|
151
|
-
bankAddress?: string | null | undefined;
|
|
152
260
|
}, {
|
|
153
261
|
id: string;
|
|
154
262
|
method: "bank_transfer";
|
|
@@ -159,312 +267,310 @@ declare const paymentConfigBankTransferSchema: z.ZodObject<Omit<{
|
|
|
159
267
|
bic: string;
|
|
160
268
|
accountHolder: string;
|
|
161
269
|
bankName: string;
|
|
270
|
+
bankAddress: string | null;
|
|
162
271
|
currency: string;
|
|
163
|
-
bankAddress?: string | null | undefined;
|
|
164
272
|
}>;
|
|
165
273
|
type PaymentConfigBankTransfer = z.infer<typeof paymentConfigBankTransferSchema>;
|
|
166
|
-
declare const paymentConfigBankTransferDetailsSchema: z.ZodObject<
|
|
274
|
+
declare const paymentConfigBankTransferDetailsSchema: z.ZodObject<{
|
|
167
275
|
id: z.ZodString;
|
|
168
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
169
276
|
configurationCompleted: z.ZodBoolean;
|
|
170
277
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
171
278
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
172
|
-
}
|
|
173
|
-
method: z.
|
|
279
|
+
} & {
|
|
280
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
281
|
+
} & {
|
|
174
282
|
iban: z.ZodString;
|
|
175
283
|
bic: z.ZodString;
|
|
176
284
|
accountHolder: z.ZodString;
|
|
177
285
|
bankName: z.ZodString;
|
|
178
|
-
bankAddress: z.
|
|
286
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
179
287
|
currency: z.ZodString;
|
|
180
288
|
} & {
|
|
181
|
-
pointOfSale: z.
|
|
289
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
182
290
|
}, "strip", z.ZodTypeAny, {
|
|
183
291
|
id: string;
|
|
184
292
|
method: "bank_transfer";
|
|
185
293
|
createdAt: string;
|
|
186
294
|
updatedAt: string;
|
|
295
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
187
296
|
configurationCompleted: boolean;
|
|
188
|
-
pointOfSale: string;
|
|
189
297
|
iban: string;
|
|
190
298
|
bic: string;
|
|
191
299
|
accountHolder: string;
|
|
192
300
|
bankName: string;
|
|
301
|
+
bankAddress: string | null;
|
|
193
302
|
currency: string;
|
|
194
|
-
bankAddress?: string | null | undefined;
|
|
195
303
|
}, {
|
|
196
304
|
id: string;
|
|
197
305
|
method: "bank_transfer";
|
|
198
306
|
createdAt: string;
|
|
199
307
|
updatedAt: string;
|
|
308
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
200
309
|
configurationCompleted: boolean;
|
|
201
|
-
pointOfSale: string;
|
|
202
310
|
iban: string;
|
|
203
311
|
bic: string;
|
|
204
312
|
accountHolder: string;
|
|
205
313
|
bankName: string;
|
|
314
|
+
bankAddress: string | null;
|
|
206
315
|
currency: string;
|
|
207
|
-
bankAddress?: string | null | undefined;
|
|
208
316
|
}>;
|
|
209
317
|
type PaymentConfigBankTransferDetails = z.infer<typeof paymentConfigBankTransferDetailsSchema>;
|
|
210
|
-
declare const writablePaymentConfigBankTransferSchema: z.ZodObject<Pick<
|
|
318
|
+
declare const writablePaymentConfigBankTransferSchema: z.ZodObject<Pick<{
|
|
211
319
|
id: z.ZodString;
|
|
212
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
213
320
|
configurationCompleted: z.ZodBoolean;
|
|
214
321
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
215
322
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
216
|
-
}
|
|
217
|
-
method: z.
|
|
323
|
+
} & {
|
|
324
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
325
|
+
} & {
|
|
218
326
|
iban: z.ZodString;
|
|
219
327
|
bic: z.ZodString;
|
|
220
328
|
accountHolder: z.ZodString;
|
|
221
329
|
bankName: z.ZodString;
|
|
222
|
-
bankAddress: z.
|
|
330
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
223
331
|
currency: z.ZodString;
|
|
224
332
|
} & {
|
|
225
|
-
pointOfSale: z.
|
|
333
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
226
334
|
}, "pointOfSale" | "iban" | "bic" | "accountHolder" | "bankName" | "bankAddress" | "currency">, "strip", z.ZodTypeAny, {
|
|
227
|
-
pointOfSale:
|
|
335
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
228
336
|
iban: string;
|
|
229
337
|
bic: string;
|
|
230
338
|
accountHolder: string;
|
|
231
339
|
bankName: string;
|
|
340
|
+
bankAddress: string | null;
|
|
232
341
|
currency: string;
|
|
233
|
-
bankAddress?: string | null | undefined;
|
|
234
342
|
}, {
|
|
235
|
-
pointOfSale: string
|
|
343
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
236
344
|
iban: string;
|
|
237
345
|
bic: string;
|
|
238
346
|
accountHolder: string;
|
|
239
347
|
bankName: string;
|
|
348
|
+
bankAddress: string | null;
|
|
240
349
|
currency: string;
|
|
241
|
-
bankAddress?: string | null | undefined;
|
|
242
350
|
}>;
|
|
243
|
-
|
|
351
|
+
type WritablePaymentConfigBankTransfer = z.infer<typeof writablePaymentConfigBankTransferSchema>;
|
|
352
|
+
declare const paymentConfigStripeSchema: z.ZodObject<{
|
|
244
353
|
id: z.ZodString;
|
|
245
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
246
354
|
configurationCompleted: z.ZodBoolean;
|
|
247
355
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
248
356
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
249
|
-
}
|
|
250
|
-
method: z.
|
|
357
|
+
} & {
|
|
358
|
+
method: z.ZodLiteral<"stripe">;
|
|
359
|
+
} & {
|
|
360
|
+
secretKey: z.ZodString;
|
|
361
|
+
webhookSecret: z.ZodNullable<z.ZodString>;
|
|
362
|
+
webhookId: z.ZodNullable<z.ZodString>;
|
|
251
363
|
}, "strip", z.ZodTypeAny, {
|
|
252
364
|
id: string;
|
|
253
|
-
method: "
|
|
365
|
+
method: "stripe";
|
|
254
366
|
createdAt: string;
|
|
255
367
|
updatedAt: string;
|
|
256
368
|
configurationCompleted: boolean;
|
|
369
|
+
secretKey: string;
|
|
370
|
+
webhookSecret: string | null;
|
|
371
|
+
webhookId: string | null;
|
|
257
372
|
}, {
|
|
258
373
|
id: string;
|
|
259
|
-
method: "
|
|
374
|
+
method: "stripe";
|
|
260
375
|
createdAt: string;
|
|
261
376
|
updatedAt: string;
|
|
262
377
|
configurationCompleted: boolean;
|
|
378
|
+
secretKey: string;
|
|
379
|
+
webhookSecret: string | null;
|
|
380
|
+
webhookId: string | null;
|
|
263
381
|
}>;
|
|
264
|
-
type
|
|
265
|
-
declare const
|
|
382
|
+
type PaymentConfigStripe = z.infer<typeof paymentConfigStripeSchema>;
|
|
383
|
+
declare const paymentConfigStripeDetailsSchema: z.ZodObject<{
|
|
266
384
|
id: z.ZodString;
|
|
267
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
268
385
|
configurationCompleted: z.ZodBoolean;
|
|
269
386
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
270
387
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
271
|
-
}, "method"> & {
|
|
272
|
-
method: z.ZodEnum<["cash"]>;
|
|
273
388
|
} & {
|
|
274
|
-
|
|
389
|
+
method: z.ZodLiteral<"stripe">;
|
|
390
|
+
} & {
|
|
391
|
+
secretKey: z.ZodString;
|
|
392
|
+
webhookSecret: z.ZodNullable<z.ZodString>;
|
|
393
|
+
webhookId: z.ZodNullable<z.ZodString>;
|
|
394
|
+
} & {
|
|
395
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
275
396
|
}, "strip", z.ZodTypeAny, {
|
|
276
397
|
id: string;
|
|
277
|
-
method: "
|
|
398
|
+
method: "stripe";
|
|
278
399
|
createdAt: string;
|
|
279
400
|
updatedAt: string;
|
|
401
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
280
402
|
configurationCompleted: boolean;
|
|
281
|
-
|
|
403
|
+
secretKey: string;
|
|
404
|
+
webhookSecret: string | null;
|
|
405
|
+
webhookId: string | null;
|
|
282
406
|
}, {
|
|
283
407
|
id: string;
|
|
284
|
-
method: "
|
|
408
|
+
method: "stripe";
|
|
285
409
|
createdAt: string;
|
|
286
410
|
updatedAt: string;
|
|
411
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
287
412
|
configurationCompleted: boolean;
|
|
288
|
-
|
|
413
|
+
secretKey: string;
|
|
414
|
+
webhookSecret: string | null;
|
|
415
|
+
webhookId: string | null;
|
|
289
416
|
}>;
|
|
290
|
-
type
|
|
291
|
-
declare const
|
|
417
|
+
type PaymentConfigStripeDetails = z.infer<typeof paymentConfigStripeDetailsSchema>;
|
|
418
|
+
declare const writablePaymentConfigStripeSchema: z.ZodObject<Pick<{
|
|
292
419
|
id: z.ZodString;
|
|
293
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
294
420
|
configurationCompleted: z.ZodBoolean;
|
|
295
421
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
296
422
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
297
|
-
}, "method"> & {
|
|
298
|
-
method: z.ZodEnum<["cash"]>;
|
|
299
423
|
} & {
|
|
300
|
-
|
|
301
|
-
}
|
|
302
|
-
|
|
424
|
+
method: z.ZodLiteral<"stripe">;
|
|
425
|
+
} & {
|
|
426
|
+
secretKey: z.ZodString;
|
|
427
|
+
webhookSecret: z.ZodNullable<z.ZodString>;
|
|
428
|
+
webhookId: z.ZodNullable<z.ZodString>;
|
|
429
|
+
} & {
|
|
430
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
431
|
+
}, "pointOfSale" | "secretKey">, "strip", z.ZodTypeAny, {
|
|
432
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
433
|
+
secretKey: string;
|
|
303
434
|
}, {
|
|
304
|
-
pointOfSale: string
|
|
435
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
436
|
+
secretKey: string;
|
|
305
437
|
}>;
|
|
306
|
-
|
|
438
|
+
type WritablePaymentConfigStripe = z.infer<typeof writablePaymentConfigStripeSchema>;
|
|
439
|
+
declare const paymentConfigCashSchema: z.ZodObject<{
|
|
307
440
|
id: z.ZodString;
|
|
308
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
309
441
|
configurationCompleted: z.ZodBoolean;
|
|
310
442
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
311
443
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
312
|
-
}
|
|
313
|
-
method: z.
|
|
444
|
+
} & {
|
|
445
|
+
method: z.ZodLiteral<"cash">;
|
|
314
446
|
}, "strip", z.ZodTypeAny, {
|
|
315
447
|
id: string;
|
|
316
|
-
method: "
|
|
448
|
+
method: "cash";
|
|
317
449
|
createdAt: string;
|
|
318
450
|
updatedAt: string;
|
|
319
451
|
configurationCompleted: boolean;
|
|
320
452
|
}, {
|
|
321
453
|
id: string;
|
|
322
|
-
method: "
|
|
454
|
+
method: "cash";
|
|
323
455
|
createdAt: string;
|
|
324
456
|
updatedAt: string;
|
|
325
457
|
configurationCompleted: boolean;
|
|
326
458
|
}>;
|
|
327
|
-
type
|
|
328
|
-
declare const
|
|
459
|
+
type PaymentConfigCash = z.infer<typeof paymentConfigCashSchema>;
|
|
460
|
+
declare const paymentConfigCashDetailsSchema: z.ZodObject<{
|
|
329
461
|
id: z.ZodString;
|
|
330
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
331
462
|
configurationCompleted: z.ZodBoolean;
|
|
332
463
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
333
464
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
334
|
-
}, "method"> & {
|
|
335
|
-
method: z.ZodEnum<["credit_card"]>;
|
|
336
465
|
} & {
|
|
337
|
-
|
|
466
|
+
method: z.ZodLiteral<"cash">;
|
|
467
|
+
} & {
|
|
468
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
338
469
|
}, "strip", z.ZodTypeAny, {
|
|
339
470
|
id: string;
|
|
340
|
-
method: "
|
|
471
|
+
method: "cash";
|
|
341
472
|
createdAt: string;
|
|
342
473
|
updatedAt: string;
|
|
474
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
343
475
|
configurationCompleted: boolean;
|
|
344
|
-
pointOfSale: string;
|
|
345
476
|
}, {
|
|
346
477
|
id: string;
|
|
347
|
-
method: "
|
|
478
|
+
method: "cash";
|
|
348
479
|
createdAt: string;
|
|
349
480
|
updatedAt: string;
|
|
481
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
350
482
|
configurationCompleted: boolean;
|
|
351
|
-
pointOfSale: string;
|
|
352
483
|
}>;
|
|
353
|
-
type
|
|
354
|
-
declare const
|
|
484
|
+
type PaymentConfigCashDetails = z.infer<typeof paymentConfigCashDetailsSchema>;
|
|
485
|
+
declare const writablePaymentConfigCashSchema: z.ZodObject<Pick<{
|
|
355
486
|
id: z.ZodString;
|
|
356
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
357
487
|
configurationCompleted: z.ZodBoolean;
|
|
358
488
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
359
489
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
360
|
-
}, "method"> & {
|
|
361
|
-
method: z.ZodEnum<["credit_card"]>;
|
|
362
490
|
} & {
|
|
363
|
-
|
|
491
|
+
method: z.ZodLiteral<"cash">;
|
|
492
|
+
} & {
|
|
493
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
364
494
|
}, "pointOfSale">, "strip", z.ZodTypeAny, {
|
|
365
|
-
pointOfSale:
|
|
495
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
366
496
|
}, {
|
|
367
|
-
pointOfSale: string
|
|
497
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
368
498
|
}>;
|
|
369
|
-
|
|
499
|
+
type WritablePaymentConfigCash = z.infer<typeof writablePaymentConfigCashSchema>;
|
|
500
|
+
declare const paymentConfigCreditCardSchema: z.ZodObject<{
|
|
370
501
|
id: z.ZodString;
|
|
371
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
372
502
|
configurationCompleted: z.ZodBoolean;
|
|
373
503
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
374
504
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
375
|
-
}
|
|
376
|
-
method: z.
|
|
377
|
-
secretKey: z.ZodString;
|
|
378
|
-
webhookSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
379
|
-
webhookId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
505
|
+
} & {
|
|
506
|
+
method: z.ZodLiteral<"credit_card">;
|
|
380
507
|
}, "strip", z.ZodTypeAny, {
|
|
381
508
|
id: string;
|
|
382
|
-
method: "
|
|
509
|
+
method: "credit_card";
|
|
383
510
|
createdAt: string;
|
|
384
511
|
updatedAt: string;
|
|
385
512
|
configurationCompleted: boolean;
|
|
386
|
-
secretKey: string;
|
|
387
|
-
webhookSecret?: string | null | undefined;
|
|
388
|
-
webhookId?: string | null | undefined;
|
|
389
513
|
}, {
|
|
390
514
|
id: string;
|
|
391
|
-
method: "
|
|
515
|
+
method: "credit_card";
|
|
392
516
|
createdAt: string;
|
|
393
517
|
updatedAt: string;
|
|
394
518
|
configurationCompleted: boolean;
|
|
395
|
-
secretKey: string;
|
|
396
|
-
webhookSecret?: string | null | undefined;
|
|
397
|
-
webhookId?: string | null | undefined;
|
|
398
519
|
}>;
|
|
399
|
-
type
|
|
400
|
-
declare const
|
|
520
|
+
type PaymentConfigCreditCard = z.infer<typeof paymentConfigCreditCardSchema>;
|
|
521
|
+
declare const paymentConfigCreditCardDetailsSchema: z.ZodObject<{
|
|
401
522
|
id: z.ZodString;
|
|
402
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
403
523
|
configurationCompleted: z.ZodBoolean;
|
|
404
524
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
405
525
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
406
|
-
}, "method"> & {
|
|
407
|
-
method: z.ZodEnum<["stripe"]>;
|
|
408
|
-
secretKey: z.ZodString;
|
|
409
|
-
webhookSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
410
|
-
webhookId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
411
526
|
} & {
|
|
412
|
-
|
|
527
|
+
method: z.ZodLiteral<"credit_card">;
|
|
528
|
+
} & {
|
|
529
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
413
530
|
}, "strip", z.ZodTypeAny, {
|
|
414
531
|
id: string;
|
|
415
|
-
method: "
|
|
532
|
+
method: "credit_card";
|
|
416
533
|
createdAt: string;
|
|
417
534
|
updatedAt: string;
|
|
535
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
418
536
|
configurationCompleted: boolean;
|
|
419
|
-
pointOfSale: string;
|
|
420
|
-
secretKey: string;
|
|
421
|
-
webhookSecret?: string | null | undefined;
|
|
422
|
-
webhookId?: string | null | undefined;
|
|
423
537
|
}, {
|
|
424
538
|
id: string;
|
|
425
|
-
method: "
|
|
539
|
+
method: "credit_card";
|
|
426
540
|
createdAt: string;
|
|
427
541
|
updatedAt: string;
|
|
542
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
428
543
|
configurationCompleted: boolean;
|
|
429
|
-
pointOfSale: string;
|
|
430
|
-
secretKey: string;
|
|
431
|
-
webhookSecret?: string | null | undefined;
|
|
432
|
-
webhookId?: string | null | undefined;
|
|
433
544
|
}>;
|
|
434
|
-
type
|
|
435
|
-
declare const
|
|
545
|
+
type PaymentConfigCreditCardDetails = z.infer<typeof paymentConfigCreditCardDetailsSchema>;
|
|
546
|
+
declare const writablePaymentConfigCreditCardSchema: z.ZodObject<Pick<{
|
|
436
547
|
id: z.ZodString;
|
|
437
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
438
548
|
configurationCompleted: z.ZodBoolean;
|
|
439
549
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
440
550
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
441
|
-
}, "method"> & {
|
|
442
|
-
method: z.ZodEnum<["stripe"]>;
|
|
443
|
-
secretKey: z.ZodString;
|
|
444
|
-
webhookSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
445
|
-
webhookId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
446
551
|
} & {
|
|
447
|
-
|
|
448
|
-
}
|
|
449
|
-
pointOfSale: string
|
|
450
|
-
|
|
552
|
+
method: z.ZodLiteral<"credit_card">;
|
|
553
|
+
} & {
|
|
554
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
555
|
+
}, "pointOfSale">, "strip", z.ZodTypeAny, {
|
|
556
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
451
557
|
}, {
|
|
452
|
-
pointOfSale: string
|
|
453
|
-
secretKey: string;
|
|
558
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
454
559
|
}>;
|
|
455
|
-
|
|
560
|
+
type WritablePaymentConfigCreditCard = z.infer<typeof writablePaymentConfigCreditCardSchema>;
|
|
561
|
+
declare const paymentConfigSchema: z.ZodDiscriminatedUnion<"method", [z.ZodObject<{
|
|
456
562
|
id: z.ZodString;
|
|
457
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
458
563
|
configurationCompleted: z.ZodBoolean;
|
|
459
564
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
460
565
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
461
|
-
}
|
|
462
|
-
method: z.
|
|
566
|
+
} & {
|
|
567
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
568
|
+
} & {
|
|
463
569
|
iban: z.ZodString;
|
|
464
570
|
bic: z.ZodString;
|
|
465
571
|
accountHolder: z.ZodString;
|
|
466
572
|
bankName: z.ZodString;
|
|
467
|
-
bankAddress: z.
|
|
573
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
468
574
|
currency: z.ZodString;
|
|
469
575
|
}, "strip", z.ZodTypeAny, {
|
|
470
576
|
id: string;
|
|
@@ -476,8 +582,8 @@ declare const paymentConfigSchema: z.ZodDiscriminatedUnion<"method", [z.ZodObjec
|
|
|
476
582
|
bic: string;
|
|
477
583
|
accountHolder: string;
|
|
478
584
|
bankName: string;
|
|
585
|
+
bankAddress: string | null;
|
|
479
586
|
currency: string;
|
|
480
|
-
bankAddress?: string | null | undefined;
|
|
481
587
|
}, {
|
|
482
588
|
id: string;
|
|
483
589
|
method: "bank_transfer";
|
|
@@ -488,204 +594,283 @@ declare const paymentConfigSchema: z.ZodDiscriminatedUnion<"method", [z.ZodObjec
|
|
|
488
594
|
bic: string;
|
|
489
595
|
accountHolder: string;
|
|
490
596
|
bankName: string;
|
|
597
|
+
bankAddress: string | null;
|
|
491
598
|
currency: string;
|
|
492
|
-
|
|
493
|
-
}>, z.ZodObject<Omit<{
|
|
599
|
+
}>, z.ZodObject<{
|
|
494
600
|
id: z.ZodString;
|
|
495
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
496
601
|
configurationCompleted: z.ZodBoolean;
|
|
497
602
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
498
603
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
499
|
-
}
|
|
500
|
-
method: z.
|
|
604
|
+
} & {
|
|
605
|
+
method: z.ZodLiteral<"stripe">;
|
|
606
|
+
} & {
|
|
607
|
+
secretKey: z.ZodString;
|
|
608
|
+
webhookSecret: z.ZodNullable<z.ZodString>;
|
|
609
|
+
webhookId: z.ZodNullable<z.ZodString>;
|
|
501
610
|
}, "strip", z.ZodTypeAny, {
|
|
502
611
|
id: string;
|
|
503
|
-
method: "
|
|
612
|
+
method: "stripe";
|
|
504
613
|
createdAt: string;
|
|
505
614
|
updatedAt: string;
|
|
506
615
|
configurationCompleted: boolean;
|
|
616
|
+
secretKey: string;
|
|
617
|
+
webhookSecret: string | null;
|
|
618
|
+
webhookId: string | null;
|
|
507
619
|
}, {
|
|
508
620
|
id: string;
|
|
509
|
-
method: "
|
|
621
|
+
method: "stripe";
|
|
510
622
|
createdAt: string;
|
|
511
623
|
updatedAt: string;
|
|
512
624
|
configurationCompleted: boolean;
|
|
513
|
-
|
|
625
|
+
secretKey: string;
|
|
626
|
+
webhookSecret: string | null;
|
|
627
|
+
webhookId: string | null;
|
|
628
|
+
}>, z.ZodObject<{
|
|
514
629
|
id: z.ZodString;
|
|
515
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
516
630
|
configurationCompleted: z.ZodBoolean;
|
|
517
631
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
518
632
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
519
|
-
}
|
|
520
|
-
method: z.
|
|
633
|
+
} & {
|
|
634
|
+
method: z.ZodLiteral<"cash">;
|
|
521
635
|
}, "strip", z.ZodTypeAny, {
|
|
522
636
|
id: string;
|
|
523
|
-
method: "
|
|
637
|
+
method: "cash";
|
|
524
638
|
createdAt: string;
|
|
525
639
|
updatedAt: string;
|
|
526
640
|
configurationCompleted: boolean;
|
|
527
641
|
}, {
|
|
528
642
|
id: string;
|
|
529
|
-
method: "
|
|
643
|
+
method: "cash";
|
|
530
644
|
createdAt: string;
|
|
531
645
|
updatedAt: string;
|
|
532
646
|
configurationCompleted: boolean;
|
|
533
|
-
}>, z.ZodObject<
|
|
647
|
+
}>, z.ZodObject<{
|
|
534
648
|
id: z.ZodString;
|
|
535
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
536
649
|
configurationCompleted: z.ZodBoolean;
|
|
537
650
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
538
651
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
539
|
-
}
|
|
540
|
-
method: z.
|
|
541
|
-
secretKey: z.ZodString;
|
|
542
|
-
webhookSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
543
|
-
webhookId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
652
|
+
} & {
|
|
653
|
+
method: z.ZodLiteral<"credit_card">;
|
|
544
654
|
}, "strip", z.ZodTypeAny, {
|
|
545
655
|
id: string;
|
|
546
|
-
method: "
|
|
656
|
+
method: "credit_card";
|
|
547
657
|
createdAt: string;
|
|
548
658
|
updatedAt: string;
|
|
549
659
|
configurationCompleted: boolean;
|
|
550
|
-
secretKey: string;
|
|
551
|
-
webhookSecret?: string | null | undefined;
|
|
552
|
-
webhookId?: string | null | undefined;
|
|
553
660
|
}, {
|
|
554
661
|
id: string;
|
|
555
|
-
method: "
|
|
662
|
+
method: "credit_card";
|
|
556
663
|
createdAt: string;
|
|
557
664
|
updatedAt: string;
|
|
558
665
|
configurationCompleted: boolean;
|
|
559
|
-
secretKey: string;
|
|
560
|
-
webhookSecret?: string | null | undefined;
|
|
561
|
-
webhookId?: string | null | undefined;
|
|
562
666
|
}>]>;
|
|
563
667
|
type PaymentConfig = z.infer<typeof paymentConfigSchema>;
|
|
564
|
-
declare const paymentConfigDetailsSchema: z.ZodDiscriminatedUnion<"method", [z.ZodObject<
|
|
668
|
+
declare const paymentConfigDetailsSchema: z.ZodDiscriminatedUnion<"method", [z.ZodObject<{
|
|
565
669
|
id: z.ZodString;
|
|
566
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
567
670
|
configurationCompleted: z.ZodBoolean;
|
|
568
671
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
569
672
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
570
|
-
}
|
|
571
|
-
method: z.
|
|
673
|
+
} & {
|
|
674
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
675
|
+
} & {
|
|
572
676
|
iban: z.ZodString;
|
|
573
677
|
bic: z.ZodString;
|
|
574
678
|
accountHolder: z.ZodString;
|
|
575
679
|
bankName: z.ZodString;
|
|
576
|
-
bankAddress: z.
|
|
680
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
577
681
|
currency: z.ZodString;
|
|
578
682
|
} & {
|
|
579
|
-
pointOfSale: z.
|
|
683
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
580
684
|
}, "strip", z.ZodTypeAny, {
|
|
581
685
|
id: string;
|
|
582
686
|
method: "bank_transfer";
|
|
583
687
|
createdAt: string;
|
|
584
688
|
updatedAt: string;
|
|
689
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
585
690
|
configurationCompleted: boolean;
|
|
586
|
-
pointOfSale: string;
|
|
587
691
|
iban: string;
|
|
588
692
|
bic: string;
|
|
589
693
|
accountHolder: string;
|
|
590
694
|
bankName: string;
|
|
695
|
+
bankAddress: string | null;
|
|
591
696
|
currency: string;
|
|
592
|
-
bankAddress?: string | null | undefined;
|
|
593
697
|
}, {
|
|
594
698
|
id: string;
|
|
595
699
|
method: "bank_transfer";
|
|
596
700
|
createdAt: string;
|
|
597
701
|
updatedAt: string;
|
|
702
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
598
703
|
configurationCompleted: boolean;
|
|
599
|
-
pointOfSale: string;
|
|
600
704
|
iban: string;
|
|
601
705
|
bic: string;
|
|
602
706
|
accountHolder: string;
|
|
603
707
|
bankName: string;
|
|
708
|
+
bankAddress: string | null;
|
|
604
709
|
currency: string;
|
|
605
|
-
|
|
606
|
-
}>, z.ZodObject<Omit<{
|
|
710
|
+
}>, z.ZodObject<{
|
|
607
711
|
id: z.ZodString;
|
|
608
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
609
712
|
configurationCompleted: z.ZodBoolean;
|
|
610
713
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
611
714
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
612
|
-
}, "method"> & {
|
|
613
|
-
method: z.ZodEnum<["cash"]>;
|
|
614
715
|
} & {
|
|
615
|
-
|
|
716
|
+
method: z.ZodLiteral<"stripe">;
|
|
717
|
+
} & {
|
|
718
|
+
secretKey: z.ZodString;
|
|
719
|
+
webhookSecret: z.ZodNullable<z.ZodString>;
|
|
720
|
+
webhookId: z.ZodNullable<z.ZodString>;
|
|
721
|
+
} & {
|
|
722
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
616
723
|
}, "strip", z.ZodTypeAny, {
|
|
617
724
|
id: string;
|
|
618
|
-
method: "
|
|
725
|
+
method: "stripe";
|
|
619
726
|
createdAt: string;
|
|
620
727
|
updatedAt: string;
|
|
728
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
621
729
|
configurationCompleted: boolean;
|
|
622
|
-
|
|
730
|
+
secretKey: string;
|
|
731
|
+
webhookSecret: string | null;
|
|
732
|
+
webhookId: string | null;
|
|
623
733
|
}, {
|
|
624
734
|
id: string;
|
|
625
|
-
method: "
|
|
735
|
+
method: "stripe";
|
|
626
736
|
createdAt: string;
|
|
627
737
|
updatedAt: string;
|
|
738
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
628
739
|
configurationCompleted: boolean;
|
|
629
|
-
|
|
630
|
-
|
|
740
|
+
secretKey: string;
|
|
741
|
+
webhookSecret: string | null;
|
|
742
|
+
webhookId: string | null;
|
|
743
|
+
}>, z.ZodObject<{
|
|
631
744
|
id: z.ZodString;
|
|
632
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
633
745
|
configurationCompleted: z.ZodBoolean;
|
|
634
746
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
635
747
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
636
|
-
}, "method"> & {
|
|
637
|
-
method: z.ZodEnum<["credit_card"]>;
|
|
638
748
|
} & {
|
|
639
|
-
|
|
749
|
+
method: z.ZodLiteral<"cash">;
|
|
750
|
+
} & {
|
|
751
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
640
752
|
}, "strip", z.ZodTypeAny, {
|
|
641
753
|
id: string;
|
|
642
|
-
method: "
|
|
754
|
+
method: "cash";
|
|
643
755
|
createdAt: string;
|
|
644
756
|
updatedAt: string;
|
|
757
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
645
758
|
configurationCompleted: boolean;
|
|
646
|
-
pointOfSale: string;
|
|
647
759
|
}, {
|
|
648
760
|
id: string;
|
|
649
|
-
method: "
|
|
761
|
+
method: "cash";
|
|
650
762
|
createdAt: string;
|
|
651
763
|
updatedAt: string;
|
|
764
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
652
765
|
configurationCompleted: boolean;
|
|
653
|
-
|
|
654
|
-
}>, z.ZodObject<Omit<{
|
|
766
|
+
}>, z.ZodObject<{
|
|
655
767
|
id: z.ZodString;
|
|
656
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
657
768
|
configurationCompleted: z.ZodBoolean;
|
|
658
769
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
659
770
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
660
|
-
}, "method"> & {
|
|
661
|
-
method: z.ZodEnum<["stripe"]>;
|
|
662
|
-
secretKey: z.ZodString;
|
|
663
|
-
webhookSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
664
|
-
webhookId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
665
771
|
} & {
|
|
666
|
-
|
|
772
|
+
method: z.ZodLiteral<"credit_card">;
|
|
773
|
+
} & {
|
|
774
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
667
775
|
}, "strip", z.ZodTypeAny, {
|
|
668
776
|
id: string;
|
|
669
|
-
method: "
|
|
777
|
+
method: "credit_card";
|
|
670
778
|
createdAt: string;
|
|
671
779
|
updatedAt: string;
|
|
780
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
672
781
|
configurationCompleted: boolean;
|
|
673
|
-
pointOfSale: string;
|
|
674
|
-
secretKey: string;
|
|
675
|
-
webhookSecret?: string | null | undefined;
|
|
676
|
-
webhookId?: string | null | undefined;
|
|
677
782
|
}, {
|
|
678
783
|
id: string;
|
|
679
|
-
method: "
|
|
784
|
+
method: "credit_card";
|
|
680
785
|
createdAt: string;
|
|
681
786
|
updatedAt: string;
|
|
787
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
682
788
|
configurationCompleted: boolean;
|
|
683
|
-
pointOfSale: string;
|
|
684
|
-
secretKey: string;
|
|
685
|
-
webhookSecret?: string | null | undefined;
|
|
686
|
-
webhookId?: string | null | undefined;
|
|
687
789
|
}>]>;
|
|
688
790
|
type PaymentConfigDetails = z.infer<typeof paymentConfigDetailsSchema>;
|
|
791
|
+
declare const writablePaymentConfigSchemas: {
|
|
792
|
+
readonly bank_transfer: z.ZodObject<Pick<{
|
|
793
|
+
id: z.ZodString;
|
|
794
|
+
configurationCompleted: z.ZodBoolean;
|
|
795
|
+
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
796
|
+
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
797
|
+
} & {
|
|
798
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
799
|
+
} & {
|
|
800
|
+
iban: z.ZodString;
|
|
801
|
+
bic: z.ZodString;
|
|
802
|
+
accountHolder: z.ZodString;
|
|
803
|
+
bankName: z.ZodString;
|
|
804
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
805
|
+
currency: z.ZodString;
|
|
806
|
+
} & {
|
|
807
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
808
|
+
}, "pointOfSale" | "iban" | "bic" | "accountHolder" | "bankName" | "bankAddress" | "currency">, "strip", z.ZodTypeAny, {
|
|
809
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
810
|
+
iban: string;
|
|
811
|
+
bic: string;
|
|
812
|
+
accountHolder: string;
|
|
813
|
+
bankName: string;
|
|
814
|
+
bankAddress: string | null;
|
|
815
|
+
currency: string;
|
|
816
|
+
}, {
|
|
817
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
818
|
+
iban: string;
|
|
819
|
+
bic: string;
|
|
820
|
+
accountHolder: string;
|
|
821
|
+
bankName: string;
|
|
822
|
+
bankAddress: string | null;
|
|
823
|
+
currency: string;
|
|
824
|
+
}>;
|
|
825
|
+
readonly stripe: z.ZodObject<Pick<{
|
|
826
|
+
id: z.ZodString;
|
|
827
|
+
configurationCompleted: z.ZodBoolean;
|
|
828
|
+
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
829
|
+
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
830
|
+
} & {
|
|
831
|
+
method: z.ZodLiteral<"stripe">;
|
|
832
|
+
} & {
|
|
833
|
+
secretKey: z.ZodString;
|
|
834
|
+
webhookSecret: z.ZodNullable<z.ZodString>;
|
|
835
|
+
webhookId: z.ZodNullable<z.ZodString>;
|
|
836
|
+
} & {
|
|
837
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
838
|
+
}, "pointOfSale" | "secretKey">, "strip", z.ZodTypeAny, {
|
|
839
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
840
|
+
secretKey: string;
|
|
841
|
+
}, {
|
|
842
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
843
|
+
secretKey: string;
|
|
844
|
+
}>;
|
|
845
|
+
readonly cash: z.ZodObject<Pick<{
|
|
846
|
+
id: z.ZodString;
|
|
847
|
+
configurationCompleted: z.ZodBoolean;
|
|
848
|
+
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
849
|
+
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
850
|
+
} & {
|
|
851
|
+
method: z.ZodLiteral<"cash">;
|
|
852
|
+
} & {
|
|
853
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
854
|
+
}, "pointOfSale">, "strip", z.ZodTypeAny, {
|
|
855
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
856
|
+
}, {
|
|
857
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
858
|
+
}>;
|
|
859
|
+
readonly credit_card: z.ZodObject<Pick<{
|
|
860
|
+
id: z.ZodString;
|
|
861
|
+
configurationCompleted: z.ZodBoolean;
|
|
862
|
+
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
863
|
+
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
864
|
+
} & {
|
|
865
|
+
method: z.ZodLiteral<"credit_card">;
|
|
866
|
+
} & {
|
|
867
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
868
|
+
}, "pointOfSale">, "strip", z.ZodTypeAny, {
|
|
869
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
870
|
+
}, {
|
|
871
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
872
|
+
}>;
|
|
873
|
+
};
|
|
689
874
|
declare const paymentQuerySchema: z.ZodObject<{
|
|
690
875
|
internalReference: z.ZodOptional<z.ZodString>;
|
|
691
876
|
externalReference: z.ZodOptional<z.ZodString>;
|
|
@@ -804,163 +989,163 @@ declare const paymentConfigsQuerySchema: z.ZodObject<{
|
|
|
804
989
|
}>;
|
|
805
990
|
type PaymentConfigsQueryParams = z.infer<typeof paymentConfigsQuerySchema>;
|
|
806
991
|
|
|
807
|
-
declare const createPaymentConfigBankTransferInputSchema: z.ZodObject<Pick<
|
|
992
|
+
declare const createPaymentConfigBankTransferInputSchema: z.ZodObject<Pick<{
|
|
808
993
|
id: z.ZodString;
|
|
809
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
810
994
|
configurationCompleted: z.ZodBoolean;
|
|
811
995
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
812
996
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
813
|
-
}
|
|
814
|
-
method: z.
|
|
997
|
+
} & {
|
|
998
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
999
|
+
} & {
|
|
815
1000
|
iban: z.ZodString;
|
|
816
1001
|
bic: z.ZodString;
|
|
817
1002
|
accountHolder: z.ZodString;
|
|
818
1003
|
bankName: z.ZodString;
|
|
819
|
-
bankAddress: z.
|
|
1004
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
820
1005
|
currency: z.ZodString;
|
|
821
1006
|
} & {
|
|
822
|
-
pointOfSale: z.
|
|
1007
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
823
1008
|
}, "pointOfSale" | "iban" | "bic" | "accountHolder" | "bankName" | "bankAddress" | "currency">, "strip", z.ZodTypeAny, {
|
|
824
|
-
pointOfSale:
|
|
1009
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
825
1010
|
iban: string;
|
|
826
1011
|
bic: string;
|
|
827
1012
|
accountHolder: string;
|
|
828
1013
|
bankName: string;
|
|
1014
|
+
bankAddress: string | null;
|
|
829
1015
|
currency: string;
|
|
830
|
-
bankAddress?: string | null | undefined;
|
|
831
1016
|
}, {
|
|
832
|
-
pointOfSale: string
|
|
1017
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
833
1018
|
iban: string;
|
|
834
1019
|
bic: string;
|
|
835
1020
|
accountHolder: string;
|
|
836
1021
|
bankName: string;
|
|
1022
|
+
bankAddress: string | null;
|
|
837
1023
|
currency: string;
|
|
838
|
-
bankAddress?: string | null | undefined;
|
|
839
1024
|
}>;
|
|
840
|
-
type CreatePaymentConfigBankTransferInput = z.
|
|
841
|
-
declare const createPaymentConfigBankTransferResponseSchema: z.ZodObject<
|
|
1025
|
+
type CreatePaymentConfigBankTransferInput = z.input<typeof createPaymentConfigBankTransferInputSchema>;
|
|
1026
|
+
declare const createPaymentConfigBankTransferResponseSchema: z.ZodObject<{
|
|
842
1027
|
id: z.ZodString;
|
|
843
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
844
1028
|
configurationCompleted: z.ZodBoolean;
|
|
845
1029
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
846
1030
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
847
|
-
}
|
|
848
|
-
method: z.
|
|
1031
|
+
} & {
|
|
1032
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
1033
|
+
} & {
|
|
849
1034
|
iban: z.ZodString;
|
|
850
1035
|
bic: z.ZodString;
|
|
851
1036
|
accountHolder: z.ZodString;
|
|
852
1037
|
bankName: z.ZodString;
|
|
853
|
-
bankAddress: z.
|
|
1038
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
854
1039
|
currency: z.ZodString;
|
|
855
1040
|
} & {
|
|
856
|
-
pointOfSale: z.
|
|
1041
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
857
1042
|
}, "strip", z.ZodTypeAny, {
|
|
858
1043
|
id: string;
|
|
859
1044
|
method: "bank_transfer";
|
|
860
1045
|
createdAt: string;
|
|
861
1046
|
updatedAt: string;
|
|
1047
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
862
1048
|
configurationCompleted: boolean;
|
|
863
|
-
pointOfSale: string;
|
|
864
1049
|
iban: string;
|
|
865
1050
|
bic: string;
|
|
866
1051
|
accountHolder: string;
|
|
867
1052
|
bankName: string;
|
|
1053
|
+
bankAddress: string | null;
|
|
868
1054
|
currency: string;
|
|
869
|
-
bankAddress?: string | null | undefined;
|
|
870
1055
|
}, {
|
|
871
1056
|
id: string;
|
|
872
1057
|
method: "bank_transfer";
|
|
873
1058
|
createdAt: string;
|
|
874
1059
|
updatedAt: string;
|
|
1060
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
875
1061
|
configurationCompleted: boolean;
|
|
876
|
-
pointOfSale: string;
|
|
877
1062
|
iban: string;
|
|
878
1063
|
bic: string;
|
|
879
1064
|
accountHolder: string;
|
|
880
1065
|
bankName: string;
|
|
1066
|
+
bankAddress: string | null;
|
|
881
1067
|
currency: string;
|
|
882
|
-
bankAddress?: string | null | undefined;
|
|
883
1068
|
}>;
|
|
884
|
-
type CreatePaymentConfigBankTransferResponse =
|
|
885
|
-
declare class CreatePaymentConfigBankTransfer extends AbstractApiRequest<
|
|
1069
|
+
type CreatePaymentConfigBankTransferResponse = z.infer<typeof createPaymentConfigBankTransferResponseSchema>;
|
|
1070
|
+
declare class CreatePaymentConfigBankTransfer extends AbstractApiRequest<typeof createPaymentConfigBankTransferInputSchema, typeof createPaymentConfigBankTransferResponseSchema> {
|
|
886
1071
|
readonly method = "POST";
|
|
887
1072
|
readonly contentType = "application/json";
|
|
888
1073
|
readonly accept = "application/json";
|
|
889
|
-
readonly inputSchema: z.ZodObject<Pick<
|
|
1074
|
+
readonly inputSchema: z.ZodObject<Pick<{
|
|
890
1075
|
id: z.ZodString;
|
|
891
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
892
1076
|
configurationCompleted: z.ZodBoolean;
|
|
893
1077
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
894
1078
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
895
|
-
}
|
|
896
|
-
method: z.
|
|
1079
|
+
} & {
|
|
1080
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
1081
|
+
} & {
|
|
897
1082
|
iban: z.ZodString;
|
|
898
1083
|
bic: z.ZodString;
|
|
899
1084
|
accountHolder: z.ZodString;
|
|
900
1085
|
bankName: z.ZodString;
|
|
901
|
-
bankAddress: z.
|
|
1086
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
902
1087
|
currency: z.ZodString;
|
|
903
1088
|
} & {
|
|
904
|
-
pointOfSale: z.
|
|
1089
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
905
1090
|
}, "pointOfSale" | "iban" | "bic" | "accountHolder" | "bankName" | "bankAddress" | "currency">, "strip", z.ZodTypeAny, {
|
|
906
|
-
pointOfSale:
|
|
1091
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
907
1092
|
iban: string;
|
|
908
1093
|
bic: string;
|
|
909
1094
|
accountHolder: string;
|
|
910
1095
|
bankName: string;
|
|
1096
|
+
bankAddress: string | null;
|
|
911
1097
|
currency: string;
|
|
912
|
-
bankAddress?: string | null | undefined;
|
|
913
1098
|
}, {
|
|
914
|
-
pointOfSale: string
|
|
1099
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
915
1100
|
iban: string;
|
|
916
1101
|
bic: string;
|
|
917
1102
|
accountHolder: string;
|
|
918
1103
|
bankName: string;
|
|
1104
|
+
bankAddress: string | null;
|
|
919
1105
|
currency: string;
|
|
920
|
-
bankAddress?: string | null | undefined;
|
|
921
1106
|
}>;
|
|
922
|
-
readonly outputSchema: z.ZodObject<
|
|
1107
|
+
readonly outputSchema: z.ZodObject<{
|
|
923
1108
|
id: z.ZodString;
|
|
924
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
925
1109
|
configurationCompleted: z.ZodBoolean;
|
|
926
1110
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
927
1111
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
928
|
-
}
|
|
929
|
-
method: z.
|
|
1112
|
+
} & {
|
|
1113
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
1114
|
+
} & {
|
|
930
1115
|
iban: z.ZodString;
|
|
931
1116
|
bic: z.ZodString;
|
|
932
1117
|
accountHolder: z.ZodString;
|
|
933
1118
|
bankName: z.ZodString;
|
|
934
|
-
bankAddress: z.
|
|
1119
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
935
1120
|
currency: z.ZodString;
|
|
936
1121
|
} & {
|
|
937
|
-
pointOfSale: z.
|
|
1122
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
938
1123
|
}, "strip", z.ZodTypeAny, {
|
|
939
1124
|
id: string;
|
|
940
1125
|
method: "bank_transfer";
|
|
941
1126
|
createdAt: string;
|
|
942
1127
|
updatedAt: string;
|
|
1128
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
943
1129
|
configurationCompleted: boolean;
|
|
944
|
-
pointOfSale: string;
|
|
945
1130
|
iban: string;
|
|
946
1131
|
bic: string;
|
|
947
1132
|
accountHolder: string;
|
|
948
1133
|
bankName: string;
|
|
1134
|
+
bankAddress: string | null;
|
|
949
1135
|
currency: string;
|
|
950
|
-
bankAddress?: string | null | undefined;
|
|
951
1136
|
}, {
|
|
952
1137
|
id: string;
|
|
953
1138
|
method: "bank_transfer";
|
|
954
1139
|
createdAt: string;
|
|
955
1140
|
updatedAt: string;
|
|
1141
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
956
1142
|
configurationCompleted: boolean;
|
|
957
|
-
pointOfSale: string;
|
|
958
1143
|
iban: string;
|
|
959
1144
|
bic: string;
|
|
960
1145
|
accountHolder: string;
|
|
961
1146
|
bankName: string;
|
|
1147
|
+
bankAddress: string | null;
|
|
962
1148
|
currency: string;
|
|
963
|
-
bankAddress?: string | null | undefined;
|
|
964
1149
|
}>;
|
|
965
1150
|
readonly querySchema: undefined;
|
|
966
1151
|
readonly headersSchema: undefined;
|
|
@@ -970,7 +1155,7 @@ declare class CreatePaymentConfigBankTransfer extends AbstractApiRequest<CreateP
|
|
|
970
1155
|
|
|
971
1156
|
declare const deletePaymentConfigBankTransferInputSchema: z.ZodUndefined;
|
|
972
1157
|
declare const deletePaymentConfigBankTransferResponseSchema: z.ZodUndefined;
|
|
973
|
-
declare class DeletePaymentConfigBankTransfer extends AbstractApiRequest<
|
|
1158
|
+
declare class DeletePaymentConfigBankTransfer extends AbstractApiRequest<typeof deletePaymentConfigBankTransferInputSchema, typeof deletePaymentConfigBankTransferResponseSchema> {
|
|
974
1159
|
readonly method = "DELETE";
|
|
975
1160
|
readonly contentType = "application/json";
|
|
976
1161
|
readonly accept = "application/json";
|
|
@@ -984,97 +1169,98 @@ declare class DeletePaymentConfigBankTransfer extends AbstractApiRequest<void, v
|
|
|
984
1169
|
}
|
|
985
1170
|
|
|
986
1171
|
declare const getPaymentConfigBankTransferDetailsInputSchema: z.ZodUndefined;
|
|
987
|
-
|
|
1172
|
+
type GetPaymentConfigBankTransferDetailsInput = z.input<typeof getPaymentConfigBankTransferDetailsInputSchema>;
|
|
1173
|
+
declare const getPaymentConfigBankTransferDetailsResponseSchema: z.ZodObject<{
|
|
988
1174
|
id: z.ZodString;
|
|
989
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
990
1175
|
configurationCompleted: z.ZodBoolean;
|
|
991
1176
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
992
1177
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
993
|
-
}
|
|
994
|
-
method: z.
|
|
1178
|
+
} & {
|
|
1179
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
1180
|
+
} & {
|
|
995
1181
|
iban: z.ZodString;
|
|
996
1182
|
bic: z.ZodString;
|
|
997
1183
|
accountHolder: z.ZodString;
|
|
998
1184
|
bankName: z.ZodString;
|
|
999
|
-
bankAddress: z.
|
|
1185
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
1000
1186
|
currency: z.ZodString;
|
|
1001
1187
|
} & {
|
|
1002
|
-
pointOfSale: z.
|
|
1188
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
1003
1189
|
}, "strip", z.ZodTypeAny, {
|
|
1004
1190
|
id: string;
|
|
1005
1191
|
method: "bank_transfer";
|
|
1006
1192
|
createdAt: string;
|
|
1007
1193
|
updatedAt: string;
|
|
1194
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
1008
1195
|
configurationCompleted: boolean;
|
|
1009
|
-
pointOfSale: string;
|
|
1010
1196
|
iban: string;
|
|
1011
1197
|
bic: string;
|
|
1012
1198
|
accountHolder: string;
|
|
1013
1199
|
bankName: string;
|
|
1200
|
+
bankAddress: string | null;
|
|
1014
1201
|
currency: string;
|
|
1015
|
-
bankAddress?: string | null | undefined;
|
|
1016
1202
|
}, {
|
|
1017
1203
|
id: string;
|
|
1018
1204
|
method: "bank_transfer";
|
|
1019
1205
|
createdAt: string;
|
|
1020
1206
|
updatedAt: string;
|
|
1207
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
1021
1208
|
configurationCompleted: boolean;
|
|
1022
|
-
pointOfSale: string;
|
|
1023
1209
|
iban: string;
|
|
1024
1210
|
bic: string;
|
|
1025
1211
|
accountHolder: string;
|
|
1026
1212
|
bankName: string;
|
|
1213
|
+
bankAddress: string | null;
|
|
1027
1214
|
currency: string;
|
|
1028
|
-
bankAddress?: string | null | undefined;
|
|
1029
1215
|
}>;
|
|
1030
1216
|
type GetPaymentConfigBankTransferDetailsResponse = PaymentConfigBankTransferDetails;
|
|
1031
|
-
declare class GetPaymentConfigBankTransferDetails extends AbstractApiRequest<
|
|
1217
|
+
declare class GetPaymentConfigBankTransferDetails extends AbstractApiRequest<typeof getPaymentConfigBankTransferDetailsInputSchema, typeof getPaymentConfigBankTransferDetailsResponseSchema> {
|
|
1032
1218
|
readonly method = "GET";
|
|
1033
1219
|
readonly contentType = "application/json";
|
|
1034
1220
|
readonly accept = "application/json";
|
|
1035
1221
|
readonly inputSchema: z.ZodUndefined;
|
|
1036
|
-
readonly outputSchema: z.ZodObject<
|
|
1222
|
+
readonly outputSchema: z.ZodObject<{
|
|
1037
1223
|
id: z.ZodString;
|
|
1038
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
1039
1224
|
configurationCompleted: z.ZodBoolean;
|
|
1040
1225
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
1041
1226
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
1042
|
-
}
|
|
1043
|
-
method: z.
|
|
1227
|
+
} & {
|
|
1228
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
1229
|
+
} & {
|
|
1044
1230
|
iban: z.ZodString;
|
|
1045
1231
|
bic: z.ZodString;
|
|
1046
1232
|
accountHolder: z.ZodString;
|
|
1047
1233
|
bankName: z.ZodString;
|
|
1048
|
-
bankAddress: z.
|
|
1234
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
1049
1235
|
currency: z.ZodString;
|
|
1050
1236
|
} & {
|
|
1051
|
-
pointOfSale: z.
|
|
1237
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
1052
1238
|
}, "strip", z.ZodTypeAny, {
|
|
1053
1239
|
id: string;
|
|
1054
1240
|
method: "bank_transfer";
|
|
1055
1241
|
createdAt: string;
|
|
1056
1242
|
updatedAt: string;
|
|
1243
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
1057
1244
|
configurationCompleted: boolean;
|
|
1058
|
-
pointOfSale: string;
|
|
1059
1245
|
iban: string;
|
|
1060
1246
|
bic: string;
|
|
1061
1247
|
accountHolder: string;
|
|
1062
1248
|
bankName: string;
|
|
1249
|
+
bankAddress: string | null;
|
|
1063
1250
|
currency: string;
|
|
1064
|
-
bankAddress?: string | null | undefined;
|
|
1065
1251
|
}, {
|
|
1066
1252
|
id: string;
|
|
1067
1253
|
method: "bank_transfer";
|
|
1068
1254
|
createdAt: string;
|
|
1069
1255
|
updatedAt: string;
|
|
1256
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
1070
1257
|
configurationCompleted: boolean;
|
|
1071
|
-
pointOfSale: string;
|
|
1072
1258
|
iban: string;
|
|
1073
1259
|
bic: string;
|
|
1074
1260
|
accountHolder: string;
|
|
1075
1261
|
bankName: string;
|
|
1262
|
+
bankAddress: string | null;
|
|
1076
1263
|
currency: string;
|
|
1077
|
-
bankAddress?: string | null | undefined;
|
|
1078
1264
|
}>;
|
|
1079
1265
|
readonly querySchema: undefined;
|
|
1080
1266
|
readonly headersSchema: undefined;
|
|
@@ -1084,20 +1270,22 @@ declare class GetPaymentConfigBankTransferDetails extends AbstractApiRequest<voi
|
|
|
1084
1270
|
}
|
|
1085
1271
|
|
|
1086
1272
|
type GetPaymentConfigBankTransferListQueryParams = PaymentConfigsQueryParams;
|
|
1273
|
+
declare const getPaymentConfigBankTransferListInputSchema: z.ZodUndefined;
|
|
1274
|
+
type GetPaymentConfigBankTransferListInput = z.input<typeof getPaymentConfigBankTransferListInputSchema>;
|
|
1087
1275
|
declare const getPaymentConfigBankTransferListResponseSchema: z.ZodObject<{
|
|
1088
|
-
data: z.ZodArray<z.ZodObject<
|
|
1276
|
+
data: z.ZodArray<z.ZodObject<{
|
|
1089
1277
|
id: z.ZodString;
|
|
1090
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
1091
1278
|
configurationCompleted: z.ZodBoolean;
|
|
1092
1279
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
1093
1280
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
1094
|
-
}
|
|
1095
|
-
method: z.
|
|
1281
|
+
} & {
|
|
1282
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
1283
|
+
} & {
|
|
1096
1284
|
iban: z.ZodString;
|
|
1097
1285
|
bic: z.ZodString;
|
|
1098
1286
|
accountHolder: z.ZodString;
|
|
1099
1287
|
bankName: z.ZodString;
|
|
1100
|
-
bankAddress: z.
|
|
1288
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
1101
1289
|
currency: z.ZodString;
|
|
1102
1290
|
}, "strip", z.ZodTypeAny, {
|
|
1103
1291
|
id: string;
|
|
@@ -1109,8 +1297,8 @@ declare const getPaymentConfigBankTransferListResponseSchema: z.ZodObject<{
|
|
|
1109
1297
|
bic: string;
|
|
1110
1298
|
accountHolder: string;
|
|
1111
1299
|
bankName: string;
|
|
1300
|
+
bankAddress: string | null;
|
|
1112
1301
|
currency: string;
|
|
1113
|
-
bankAddress?: string | null | undefined;
|
|
1114
1302
|
}, {
|
|
1115
1303
|
id: string;
|
|
1116
1304
|
method: "bank_transfer";
|
|
@@ -1121,8 +1309,8 @@ declare const getPaymentConfigBankTransferListResponseSchema: z.ZodObject<{
|
|
|
1121
1309
|
bic: string;
|
|
1122
1310
|
accountHolder: string;
|
|
1123
1311
|
bankName: string;
|
|
1312
|
+
bankAddress: string | null;
|
|
1124
1313
|
currency: string;
|
|
1125
|
-
bankAddress?: string | null | undefined;
|
|
1126
1314
|
}>, "many">;
|
|
1127
1315
|
pagination: z.ZodObject<{
|
|
1128
1316
|
from: z.ZodNumber;
|
|
@@ -1157,8 +1345,8 @@ declare const getPaymentConfigBankTransferListResponseSchema: z.ZodObject<{
|
|
|
1157
1345
|
bic: string;
|
|
1158
1346
|
accountHolder: string;
|
|
1159
1347
|
bankName: string;
|
|
1348
|
+
bankAddress: string | null;
|
|
1160
1349
|
currency: string;
|
|
1161
|
-
bankAddress?: string | null | undefined;
|
|
1162
1350
|
}[];
|
|
1163
1351
|
pagination: {
|
|
1164
1352
|
from: number;
|
|
@@ -1179,8 +1367,8 @@ declare const getPaymentConfigBankTransferListResponseSchema: z.ZodObject<{
|
|
|
1179
1367
|
bic: string;
|
|
1180
1368
|
accountHolder: string;
|
|
1181
1369
|
bankName: string;
|
|
1370
|
+
bankAddress: string | null;
|
|
1182
1371
|
currency: string;
|
|
1183
|
-
bankAddress?: string | null | undefined;
|
|
1184
1372
|
}[];
|
|
1185
1373
|
pagination: {
|
|
1186
1374
|
from: number;
|
|
@@ -1192,26 +1380,25 @@ declare const getPaymentConfigBankTransferListResponseSchema: z.ZodObject<{
|
|
|
1192
1380
|
};
|
|
1193
1381
|
}>;
|
|
1194
1382
|
type GetPaymentConfigBankTransferListResponse = z.infer<typeof getPaymentConfigBankTransferListResponseSchema>;
|
|
1195
|
-
declare
|
|
1196
|
-
declare class GetPaymentConfigBankTransferList extends AbstractApiRequest<void, GetPaymentConfigBankTransferListResponse, GetPaymentConfigBankTransferListQueryParams> {
|
|
1383
|
+
declare class GetPaymentConfigBankTransferList extends AbstractApiRequest<typeof getPaymentConfigBankTransferListInputSchema, typeof getPaymentConfigBankTransferListResponseSchema, GetPaymentConfigBankTransferListQueryParams> {
|
|
1197
1384
|
readonly method = "GET";
|
|
1198
1385
|
readonly contentType = "application/json";
|
|
1199
1386
|
readonly accept = "application/json";
|
|
1200
1387
|
readonly inputSchema: z.ZodUndefined;
|
|
1201
1388
|
readonly outputSchema: z.ZodObject<{
|
|
1202
|
-
data: z.ZodArray<z.ZodObject<
|
|
1389
|
+
data: z.ZodArray<z.ZodObject<{
|
|
1203
1390
|
id: z.ZodString;
|
|
1204
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
1205
1391
|
configurationCompleted: z.ZodBoolean;
|
|
1206
1392
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
1207
1393
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
1208
|
-
}
|
|
1209
|
-
method: z.
|
|
1394
|
+
} & {
|
|
1395
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
1396
|
+
} & {
|
|
1210
1397
|
iban: z.ZodString;
|
|
1211
1398
|
bic: z.ZodString;
|
|
1212
1399
|
accountHolder: z.ZodString;
|
|
1213
1400
|
bankName: z.ZodString;
|
|
1214
|
-
bankAddress: z.
|
|
1401
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
1215
1402
|
currency: z.ZodString;
|
|
1216
1403
|
}, "strip", z.ZodTypeAny, {
|
|
1217
1404
|
id: string;
|
|
@@ -1223,8 +1410,8 @@ declare class GetPaymentConfigBankTransferList extends AbstractApiRequest<void,
|
|
|
1223
1410
|
bic: string;
|
|
1224
1411
|
accountHolder: string;
|
|
1225
1412
|
bankName: string;
|
|
1413
|
+
bankAddress: string | null;
|
|
1226
1414
|
currency: string;
|
|
1227
|
-
bankAddress?: string | null | undefined;
|
|
1228
1415
|
}, {
|
|
1229
1416
|
id: string;
|
|
1230
1417
|
method: "bank_transfer";
|
|
@@ -1235,8 +1422,8 @@ declare class GetPaymentConfigBankTransferList extends AbstractApiRequest<void,
|
|
|
1235
1422
|
bic: string;
|
|
1236
1423
|
accountHolder: string;
|
|
1237
1424
|
bankName: string;
|
|
1425
|
+
bankAddress: string | null;
|
|
1238
1426
|
currency: string;
|
|
1239
|
-
bankAddress?: string | null | undefined;
|
|
1240
1427
|
}>, "many">;
|
|
1241
1428
|
pagination: z.ZodObject<{
|
|
1242
1429
|
from: z.ZodNumber;
|
|
@@ -1271,8 +1458,8 @@ declare class GetPaymentConfigBankTransferList extends AbstractApiRequest<void,
|
|
|
1271
1458
|
bic: string;
|
|
1272
1459
|
accountHolder: string;
|
|
1273
1460
|
bankName: string;
|
|
1461
|
+
bankAddress: string | null;
|
|
1274
1462
|
currency: string;
|
|
1275
|
-
bankAddress?: string | null | undefined;
|
|
1276
1463
|
}[];
|
|
1277
1464
|
pagination: {
|
|
1278
1465
|
from: number;
|
|
@@ -1293,8 +1480,8 @@ declare class GetPaymentConfigBankTransferList extends AbstractApiRequest<void,
|
|
|
1293
1480
|
bic: string;
|
|
1294
1481
|
accountHolder: string;
|
|
1295
1482
|
bankName: string;
|
|
1483
|
+
bankAddress: string | null;
|
|
1296
1484
|
currency: string;
|
|
1297
|
-
bankAddress?: string | null | undefined;
|
|
1298
1485
|
}[];
|
|
1299
1486
|
pagination: {
|
|
1300
1487
|
from: number;
|
|
@@ -1362,7 +1549,7 @@ declare const updatePaymentConfigBankTransferInputSchema: z.ZodObject<{
|
|
|
1362
1549
|
bic: z.ZodOptional<z.ZodString>;
|
|
1363
1550
|
accountHolder: z.ZodOptional<z.ZodString>;
|
|
1364
1551
|
bankName: z.ZodOptional<z.ZodString>;
|
|
1365
|
-
bankAddress: z.ZodOptional<z.
|
|
1552
|
+
bankAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1366
1553
|
currency: z.ZodOptional<z.ZodString>;
|
|
1367
1554
|
}, "strip", z.ZodTypeAny, {
|
|
1368
1555
|
iban?: string | undefined;
|
|
@@ -1379,52 +1566,52 @@ declare const updatePaymentConfigBankTransferInputSchema: z.ZodObject<{
|
|
|
1379
1566
|
bankAddress?: string | null | undefined;
|
|
1380
1567
|
currency?: string | undefined;
|
|
1381
1568
|
}>;
|
|
1382
|
-
type UpdatePaymentConfigBankTransferInput = z.
|
|
1383
|
-
declare const updatePaymentConfigBankTransferResponseSchema: z.ZodObject<
|
|
1569
|
+
type UpdatePaymentConfigBankTransferInput = z.input<typeof updatePaymentConfigBankTransferInputSchema>;
|
|
1570
|
+
declare const updatePaymentConfigBankTransferResponseSchema: z.ZodObject<{
|
|
1384
1571
|
id: z.ZodString;
|
|
1385
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
1386
1572
|
configurationCompleted: z.ZodBoolean;
|
|
1387
1573
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
1388
1574
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
1389
|
-
}
|
|
1390
|
-
method: z.
|
|
1575
|
+
} & {
|
|
1576
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
1577
|
+
} & {
|
|
1391
1578
|
iban: z.ZodString;
|
|
1392
1579
|
bic: z.ZodString;
|
|
1393
1580
|
accountHolder: z.ZodString;
|
|
1394
1581
|
bankName: z.ZodString;
|
|
1395
|
-
bankAddress: z.
|
|
1582
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
1396
1583
|
currency: z.ZodString;
|
|
1397
1584
|
} & {
|
|
1398
|
-
pointOfSale: z.
|
|
1585
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
1399
1586
|
}, "strip", z.ZodTypeAny, {
|
|
1400
1587
|
id: string;
|
|
1401
1588
|
method: "bank_transfer";
|
|
1402
1589
|
createdAt: string;
|
|
1403
1590
|
updatedAt: string;
|
|
1591
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
1404
1592
|
configurationCompleted: boolean;
|
|
1405
|
-
pointOfSale: string;
|
|
1406
1593
|
iban: string;
|
|
1407
1594
|
bic: string;
|
|
1408
1595
|
accountHolder: string;
|
|
1409
1596
|
bankName: string;
|
|
1597
|
+
bankAddress: string | null;
|
|
1410
1598
|
currency: string;
|
|
1411
|
-
bankAddress?: string | null | undefined;
|
|
1412
1599
|
}, {
|
|
1413
1600
|
id: string;
|
|
1414
1601
|
method: "bank_transfer";
|
|
1415
1602
|
createdAt: string;
|
|
1416
1603
|
updatedAt: string;
|
|
1604
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
1417
1605
|
configurationCompleted: boolean;
|
|
1418
|
-
pointOfSale: string;
|
|
1419
1606
|
iban: string;
|
|
1420
1607
|
bic: string;
|
|
1421
1608
|
accountHolder: string;
|
|
1422
1609
|
bankName: string;
|
|
1610
|
+
bankAddress: string | null;
|
|
1423
1611
|
currency: string;
|
|
1424
|
-
bankAddress?: string | null | undefined;
|
|
1425
1612
|
}>;
|
|
1426
|
-
type UpdatePaymentConfigBankTransferResponse =
|
|
1427
|
-
declare class UpdatePaymentConfigBankTransfer extends AbstractApiRequest<
|
|
1613
|
+
type UpdatePaymentConfigBankTransferResponse = z.infer<typeof updatePaymentConfigBankTransferResponseSchema>;
|
|
1614
|
+
declare class UpdatePaymentConfigBankTransfer extends AbstractApiRequest<typeof updatePaymentConfigBankTransferInputSchema, typeof updatePaymentConfigBankTransferResponseSchema> {
|
|
1428
1615
|
readonly method = "PATCH";
|
|
1429
1616
|
readonly contentType = "application/merge-patch+json";
|
|
1430
1617
|
readonly accept = "application/json";
|
|
@@ -1433,7 +1620,7 @@ declare class UpdatePaymentConfigBankTransfer extends AbstractApiRequest<UpdateP
|
|
|
1433
1620
|
bic: z.ZodOptional<z.ZodString>;
|
|
1434
1621
|
accountHolder: z.ZodOptional<z.ZodString>;
|
|
1435
1622
|
bankName: z.ZodOptional<z.ZodString>;
|
|
1436
|
-
bankAddress: z.ZodOptional<z.
|
|
1623
|
+
bankAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1437
1624
|
currency: z.ZodOptional<z.ZodString>;
|
|
1438
1625
|
}, "strip", z.ZodTypeAny, {
|
|
1439
1626
|
iban?: string | undefined;
|
|
@@ -1450,48 +1637,48 @@ declare class UpdatePaymentConfigBankTransfer extends AbstractApiRequest<UpdateP
|
|
|
1450
1637
|
bankAddress?: string | null | undefined;
|
|
1451
1638
|
currency?: string | undefined;
|
|
1452
1639
|
}>;
|
|
1453
|
-
readonly outputSchema: z.ZodObject<
|
|
1640
|
+
readonly outputSchema: z.ZodObject<{
|
|
1454
1641
|
id: z.ZodString;
|
|
1455
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
1456
1642
|
configurationCompleted: z.ZodBoolean;
|
|
1457
1643
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
1458
1644
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
1459
|
-
}
|
|
1460
|
-
method: z.
|
|
1645
|
+
} & {
|
|
1646
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
1647
|
+
} & {
|
|
1461
1648
|
iban: z.ZodString;
|
|
1462
1649
|
bic: z.ZodString;
|
|
1463
1650
|
accountHolder: z.ZodString;
|
|
1464
1651
|
bankName: z.ZodString;
|
|
1465
|
-
bankAddress: z.
|
|
1652
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
1466
1653
|
currency: z.ZodString;
|
|
1467
1654
|
} & {
|
|
1468
|
-
pointOfSale: z.
|
|
1655
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
1469
1656
|
}, "strip", z.ZodTypeAny, {
|
|
1470
1657
|
id: string;
|
|
1471
1658
|
method: "bank_transfer";
|
|
1472
1659
|
createdAt: string;
|
|
1473
1660
|
updatedAt: string;
|
|
1661
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
1474
1662
|
configurationCompleted: boolean;
|
|
1475
|
-
pointOfSale: string;
|
|
1476
1663
|
iban: string;
|
|
1477
1664
|
bic: string;
|
|
1478
1665
|
accountHolder: string;
|
|
1479
1666
|
bankName: string;
|
|
1667
|
+
bankAddress: string | null;
|
|
1480
1668
|
currency: string;
|
|
1481
|
-
bankAddress?: string | null | undefined;
|
|
1482
1669
|
}, {
|
|
1483
1670
|
id: string;
|
|
1484
1671
|
method: "bank_transfer";
|
|
1485
1672
|
createdAt: string;
|
|
1486
1673
|
updatedAt: string;
|
|
1674
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
1487
1675
|
configurationCompleted: boolean;
|
|
1488
|
-
pointOfSale: string;
|
|
1489
1676
|
iban: string;
|
|
1490
1677
|
bic: string;
|
|
1491
1678
|
accountHolder: string;
|
|
1492
1679
|
bankName: string;
|
|
1680
|
+
bankAddress: string | null;
|
|
1493
1681
|
currency: string;
|
|
1494
|
-
bankAddress?: string | null | undefined;
|
|
1495
1682
|
}>;
|
|
1496
1683
|
readonly querySchema: undefined;
|
|
1497
1684
|
readonly headersSchema: undefined;
|
|
@@ -1500,91 +1687,87 @@ declare class UpdatePaymentConfigBankTransfer extends AbstractApiRequest<UpdateP
|
|
|
1500
1687
|
getPath(): string;
|
|
1501
1688
|
}
|
|
1502
1689
|
|
|
1503
|
-
declare const createPaymentConfigCashInputSchema: z.ZodObject<Pick<
|
|
1690
|
+
declare const createPaymentConfigCashInputSchema: z.ZodObject<Pick<{
|
|
1504
1691
|
id: z.ZodString;
|
|
1505
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
1506
1692
|
configurationCompleted: z.ZodBoolean;
|
|
1507
1693
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
1508
1694
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
1509
|
-
}, "method"> & {
|
|
1510
|
-
method: z.ZodEnum<["cash"]>;
|
|
1511
1695
|
} & {
|
|
1512
|
-
|
|
1696
|
+
method: z.ZodLiteral<"cash">;
|
|
1697
|
+
} & {
|
|
1698
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
1513
1699
|
}, "pointOfSale">, "strip", z.ZodTypeAny, {
|
|
1514
|
-
pointOfSale:
|
|
1700
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
1515
1701
|
}, {
|
|
1516
|
-
pointOfSale: string
|
|
1702
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
1517
1703
|
}>;
|
|
1518
|
-
type CreatePaymentConfigCashInput = z.
|
|
1519
|
-
declare const createPaymentConfigCashResponseSchema: z.ZodObject<
|
|
1704
|
+
type CreatePaymentConfigCashInput = z.input<typeof createPaymentConfigCashInputSchema>;
|
|
1705
|
+
declare const createPaymentConfigCashResponseSchema: z.ZodObject<{
|
|
1520
1706
|
id: z.ZodString;
|
|
1521
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
1522
1707
|
configurationCompleted: z.ZodBoolean;
|
|
1523
1708
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
1524
1709
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
1525
|
-
}, "method"> & {
|
|
1526
|
-
method: z.ZodEnum<["cash"]>;
|
|
1527
1710
|
} & {
|
|
1528
|
-
|
|
1711
|
+
method: z.ZodLiteral<"cash">;
|
|
1712
|
+
} & {
|
|
1713
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
1529
1714
|
}, "strip", z.ZodTypeAny, {
|
|
1530
1715
|
id: string;
|
|
1531
1716
|
method: "cash";
|
|
1532
1717
|
createdAt: string;
|
|
1533
1718
|
updatedAt: string;
|
|
1719
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
1534
1720
|
configurationCompleted: boolean;
|
|
1535
|
-
pointOfSale: string;
|
|
1536
1721
|
}, {
|
|
1537
1722
|
id: string;
|
|
1538
1723
|
method: "cash";
|
|
1539
1724
|
createdAt: string;
|
|
1540
1725
|
updatedAt: string;
|
|
1726
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
1541
1727
|
configurationCompleted: boolean;
|
|
1542
|
-
pointOfSale: string;
|
|
1543
1728
|
}>;
|
|
1544
|
-
type CreatePaymentConfigCashResponse =
|
|
1545
|
-
declare class CreatePaymentConfigCash extends AbstractApiRequest<
|
|
1729
|
+
type CreatePaymentConfigCashResponse = z.output<typeof createPaymentConfigCashResponseSchema>;
|
|
1730
|
+
declare class CreatePaymentConfigCash extends AbstractApiRequest<typeof createPaymentConfigCashInputSchema, typeof createPaymentConfigCashResponseSchema> {
|
|
1546
1731
|
readonly method = "POST";
|
|
1547
1732
|
readonly contentType = "application/json";
|
|
1548
1733
|
readonly accept = "application/json";
|
|
1549
|
-
readonly inputSchema: z.ZodObject<Pick<
|
|
1734
|
+
readonly inputSchema: z.ZodObject<Pick<{
|
|
1550
1735
|
id: z.ZodString;
|
|
1551
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
1552
1736
|
configurationCompleted: z.ZodBoolean;
|
|
1553
1737
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
1554
1738
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
1555
|
-
}, "method"> & {
|
|
1556
|
-
method: z.ZodEnum<["cash"]>;
|
|
1557
1739
|
} & {
|
|
1558
|
-
|
|
1740
|
+
method: z.ZodLiteral<"cash">;
|
|
1741
|
+
} & {
|
|
1742
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
1559
1743
|
}, "pointOfSale">, "strip", z.ZodTypeAny, {
|
|
1560
|
-
pointOfSale:
|
|
1744
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
1561
1745
|
}, {
|
|
1562
|
-
pointOfSale: string
|
|
1746
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
1563
1747
|
}>;
|
|
1564
|
-
readonly outputSchema: z.ZodObject<
|
|
1748
|
+
readonly outputSchema: z.ZodObject<{
|
|
1565
1749
|
id: z.ZodString;
|
|
1566
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
1567
1750
|
configurationCompleted: z.ZodBoolean;
|
|
1568
1751
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
1569
1752
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
1570
|
-
}, "method"> & {
|
|
1571
|
-
method: z.ZodEnum<["cash"]>;
|
|
1572
1753
|
} & {
|
|
1573
|
-
|
|
1754
|
+
method: z.ZodLiteral<"cash">;
|
|
1755
|
+
} & {
|
|
1756
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
1574
1757
|
}, "strip", z.ZodTypeAny, {
|
|
1575
1758
|
id: string;
|
|
1576
1759
|
method: "cash";
|
|
1577
1760
|
createdAt: string;
|
|
1578
1761
|
updatedAt: string;
|
|
1762
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
1579
1763
|
configurationCompleted: boolean;
|
|
1580
|
-
pointOfSale: string;
|
|
1581
1764
|
}, {
|
|
1582
1765
|
id: string;
|
|
1583
1766
|
method: "cash";
|
|
1584
1767
|
createdAt: string;
|
|
1585
1768
|
updatedAt: string;
|
|
1769
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
1586
1770
|
configurationCompleted: boolean;
|
|
1587
|
-
pointOfSale: string;
|
|
1588
1771
|
}>;
|
|
1589
1772
|
readonly querySchema: undefined;
|
|
1590
1773
|
readonly headersSchema: undefined;
|
|
@@ -1594,7 +1777,7 @@ declare class CreatePaymentConfigCash extends AbstractApiRequest<CreatePaymentCo
|
|
|
1594
1777
|
|
|
1595
1778
|
declare const deletePaymentConfigCashInputSchema: z.ZodUndefined;
|
|
1596
1779
|
declare const deletePaymentConfigCashResponseSchema: z.ZodUndefined;
|
|
1597
|
-
declare class DeletePaymentConfigCash extends AbstractApiRequest<
|
|
1780
|
+
declare class DeletePaymentConfigCash extends AbstractApiRequest<typeof deletePaymentConfigCashInputSchema, typeof deletePaymentConfigCashResponseSchema> {
|
|
1598
1781
|
readonly method = "DELETE";
|
|
1599
1782
|
readonly contentType = "application/json";
|
|
1600
1783
|
readonly accept = "application/json";
|
|
@@ -1608,61 +1791,60 @@ declare class DeletePaymentConfigCash extends AbstractApiRequest<void, void> {
|
|
|
1608
1791
|
}
|
|
1609
1792
|
|
|
1610
1793
|
declare const getPaymentConfigCashDetailsInputSchema: z.ZodUndefined;
|
|
1611
|
-
|
|
1794
|
+
type GetPaymentConfigCashDetailsInput = z.input<typeof getPaymentConfigCashDetailsInputSchema>;
|
|
1795
|
+
declare const getPaymentConfigCashDetailsResponseSchema: z.ZodObject<{
|
|
1612
1796
|
id: z.ZodString;
|
|
1613
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
1614
1797
|
configurationCompleted: z.ZodBoolean;
|
|
1615
1798
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
1616
1799
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
1617
|
-
}, "method"> & {
|
|
1618
|
-
method: z.ZodEnum<["cash"]>;
|
|
1619
1800
|
} & {
|
|
1620
|
-
|
|
1801
|
+
method: z.ZodLiteral<"cash">;
|
|
1802
|
+
} & {
|
|
1803
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
1621
1804
|
}, "strip", z.ZodTypeAny, {
|
|
1622
1805
|
id: string;
|
|
1623
1806
|
method: "cash";
|
|
1624
1807
|
createdAt: string;
|
|
1625
1808
|
updatedAt: string;
|
|
1809
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
1626
1810
|
configurationCompleted: boolean;
|
|
1627
|
-
pointOfSale: string;
|
|
1628
1811
|
}, {
|
|
1629
1812
|
id: string;
|
|
1630
1813
|
method: "cash";
|
|
1631
1814
|
createdAt: string;
|
|
1632
1815
|
updatedAt: string;
|
|
1816
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
1633
1817
|
configurationCompleted: boolean;
|
|
1634
|
-
pointOfSale: string;
|
|
1635
1818
|
}>;
|
|
1636
|
-
type GetPaymentConfigCashDetailsResponse =
|
|
1637
|
-
declare class GetPaymentConfigCashDetails extends AbstractApiRequest<
|
|
1819
|
+
type GetPaymentConfigCashDetailsResponse = z.output<typeof getPaymentConfigCashDetailsResponseSchema>;
|
|
1820
|
+
declare class GetPaymentConfigCashDetails extends AbstractApiRequest<typeof getPaymentConfigCashDetailsInputSchema, typeof getPaymentConfigCashDetailsResponseSchema> {
|
|
1638
1821
|
readonly method = "GET";
|
|
1639
1822
|
readonly contentType = "application/json";
|
|
1640
1823
|
readonly accept = "application/json";
|
|
1641
1824
|
readonly inputSchema: z.ZodUndefined;
|
|
1642
|
-
readonly outputSchema: z.ZodObject<
|
|
1825
|
+
readonly outputSchema: z.ZodObject<{
|
|
1643
1826
|
id: z.ZodString;
|
|
1644
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
1645
1827
|
configurationCompleted: z.ZodBoolean;
|
|
1646
1828
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
1647
1829
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
1648
|
-
}, "method"> & {
|
|
1649
|
-
method: z.ZodEnum<["cash"]>;
|
|
1650
1830
|
} & {
|
|
1651
|
-
|
|
1831
|
+
method: z.ZodLiteral<"cash">;
|
|
1832
|
+
} & {
|
|
1833
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
1652
1834
|
}, "strip", z.ZodTypeAny, {
|
|
1653
1835
|
id: string;
|
|
1654
1836
|
method: "cash";
|
|
1655
1837
|
createdAt: string;
|
|
1656
1838
|
updatedAt: string;
|
|
1839
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
1657
1840
|
configurationCompleted: boolean;
|
|
1658
|
-
pointOfSale: string;
|
|
1659
1841
|
}, {
|
|
1660
1842
|
id: string;
|
|
1661
1843
|
method: "cash";
|
|
1662
1844
|
createdAt: string;
|
|
1663
1845
|
updatedAt: string;
|
|
1846
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
1664
1847
|
configurationCompleted: boolean;
|
|
1665
|
-
pointOfSale: string;
|
|
1666
1848
|
}>;
|
|
1667
1849
|
readonly querySchema: undefined;
|
|
1668
1850
|
readonly headersSchema: undefined;
|
|
@@ -1672,15 +1854,16 @@ declare class GetPaymentConfigCashDetails extends AbstractApiRequest<void, GetPa
|
|
|
1672
1854
|
}
|
|
1673
1855
|
|
|
1674
1856
|
type GetPaymentConfigCashListQueryParams = PaymentConfigsQueryParams;
|
|
1857
|
+
declare const getPaymentConfigCashListInputSchema: z.ZodUndefined;
|
|
1858
|
+
type GetPaymentConfigCashListInput = z.input<typeof getPaymentConfigCashListInputSchema>;
|
|
1675
1859
|
declare const getPaymentConfigCashListResponseSchema: z.ZodObject<{
|
|
1676
|
-
data: z.ZodArray<z.ZodObject<
|
|
1860
|
+
data: z.ZodArray<z.ZodObject<{
|
|
1677
1861
|
id: z.ZodString;
|
|
1678
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
1679
1862
|
configurationCompleted: z.ZodBoolean;
|
|
1680
1863
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
1681
1864
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
1682
|
-
}
|
|
1683
|
-
method: z.
|
|
1865
|
+
} & {
|
|
1866
|
+
method: z.ZodLiteral<"cash">;
|
|
1684
1867
|
}, "strip", z.ZodTypeAny, {
|
|
1685
1868
|
id: string;
|
|
1686
1869
|
method: "cash";
|
|
@@ -1750,21 +1933,19 @@ declare const getPaymentConfigCashListResponseSchema: z.ZodObject<{
|
|
|
1750
1933
|
};
|
|
1751
1934
|
}>;
|
|
1752
1935
|
type GetPaymentConfigCashListResponse = z.infer<typeof getPaymentConfigCashListResponseSchema>;
|
|
1753
|
-
declare
|
|
1754
|
-
declare class GetPaymentConfigCashList extends AbstractApiRequest<void, GetPaymentConfigCashListResponse, GetPaymentConfigCashListQueryParams> {
|
|
1936
|
+
declare class GetPaymentConfigCashList extends AbstractApiRequest<typeof getPaymentConfigCashListInputSchema, typeof getPaymentConfigCashListResponseSchema, GetPaymentConfigCashListQueryParams> {
|
|
1755
1937
|
readonly method = "GET";
|
|
1756
1938
|
readonly contentType = "application/json";
|
|
1757
1939
|
readonly accept = "application/json";
|
|
1758
1940
|
readonly inputSchema: z.ZodUndefined;
|
|
1759
1941
|
readonly outputSchema: z.ZodObject<{
|
|
1760
|
-
data: z.ZodArray<z.ZodObject<
|
|
1942
|
+
data: z.ZodArray<z.ZodObject<{
|
|
1761
1943
|
id: z.ZodString;
|
|
1762
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
1763
1944
|
configurationCompleted: z.ZodBoolean;
|
|
1764
1945
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
1765
1946
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
1766
|
-
}
|
|
1767
|
-
method: z.
|
|
1947
|
+
} & {
|
|
1948
|
+
method: z.ZodLiteral<"cash">;
|
|
1768
1949
|
}, "strip", z.ZodTypeAny, {
|
|
1769
1950
|
id: string;
|
|
1770
1951
|
method: "cash";
|
|
@@ -1885,91 +2066,87 @@ declare class GetPaymentConfigCashList extends AbstractApiRequest<void, GetPayme
|
|
|
1885
2066
|
parseResponse(data: unknown, rawResponse: AxiosResponse): Paginated<PaymentConfigCash>;
|
|
1886
2067
|
}
|
|
1887
2068
|
|
|
1888
|
-
declare const createPaymentConfigCreditCardInputSchema: z.ZodObject<Pick<
|
|
2069
|
+
declare const createPaymentConfigCreditCardInputSchema: z.ZodObject<Pick<{
|
|
1889
2070
|
id: z.ZodString;
|
|
1890
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
1891
2071
|
configurationCompleted: z.ZodBoolean;
|
|
1892
2072
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
1893
2073
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
1894
|
-
}, "method"> & {
|
|
1895
|
-
method: z.ZodEnum<["credit_card"]>;
|
|
1896
2074
|
} & {
|
|
1897
|
-
|
|
2075
|
+
method: z.ZodLiteral<"credit_card">;
|
|
2076
|
+
} & {
|
|
2077
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
1898
2078
|
}, "pointOfSale">, "strip", z.ZodTypeAny, {
|
|
1899
|
-
pointOfSale:
|
|
2079
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
1900
2080
|
}, {
|
|
1901
|
-
pointOfSale: string
|
|
2081
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
1902
2082
|
}>;
|
|
1903
|
-
type CreatePaymentConfigCreditCardInput = z.
|
|
1904
|
-
declare const createPaymentConfigCreditCardResponseSchema: z.ZodObject<
|
|
2083
|
+
type CreatePaymentConfigCreditCardInput = z.input<typeof createPaymentConfigCreditCardInputSchema>;
|
|
2084
|
+
declare const createPaymentConfigCreditCardResponseSchema: z.ZodObject<{
|
|
1905
2085
|
id: z.ZodString;
|
|
1906
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
1907
2086
|
configurationCompleted: z.ZodBoolean;
|
|
1908
2087
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
1909
2088
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
1910
|
-
}, "method"> & {
|
|
1911
|
-
method: z.ZodEnum<["credit_card"]>;
|
|
1912
2089
|
} & {
|
|
1913
|
-
|
|
2090
|
+
method: z.ZodLiteral<"credit_card">;
|
|
2091
|
+
} & {
|
|
2092
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
1914
2093
|
}, "strip", z.ZodTypeAny, {
|
|
1915
2094
|
id: string;
|
|
1916
2095
|
method: "credit_card";
|
|
1917
2096
|
createdAt: string;
|
|
1918
2097
|
updatedAt: string;
|
|
2098
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
1919
2099
|
configurationCompleted: boolean;
|
|
1920
|
-
pointOfSale: string;
|
|
1921
2100
|
}, {
|
|
1922
2101
|
id: string;
|
|
1923
2102
|
method: "credit_card";
|
|
1924
2103
|
createdAt: string;
|
|
1925
2104
|
updatedAt: string;
|
|
2105
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
1926
2106
|
configurationCompleted: boolean;
|
|
1927
|
-
pointOfSale: string;
|
|
1928
2107
|
}>;
|
|
1929
|
-
type CreatePaymentConfigCreditCardResponse =
|
|
1930
|
-
declare class CreatePaymentConfigCreditCard extends AbstractApiRequest<
|
|
2108
|
+
type CreatePaymentConfigCreditCardResponse = z.output<typeof createPaymentConfigCreditCardResponseSchema>;
|
|
2109
|
+
declare class CreatePaymentConfigCreditCard extends AbstractApiRequest<typeof createPaymentConfigCreditCardInputSchema, typeof createPaymentConfigCreditCardResponseSchema> {
|
|
1931
2110
|
readonly method = "POST";
|
|
1932
2111
|
readonly contentType = "application/json";
|
|
1933
2112
|
readonly accept = "application/json";
|
|
1934
|
-
readonly inputSchema: z.ZodObject<Pick<
|
|
2113
|
+
readonly inputSchema: z.ZodObject<Pick<{
|
|
1935
2114
|
id: z.ZodString;
|
|
1936
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
1937
2115
|
configurationCompleted: z.ZodBoolean;
|
|
1938
2116
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
1939
2117
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
1940
|
-
}, "method"> & {
|
|
1941
|
-
method: z.ZodEnum<["credit_card"]>;
|
|
1942
2118
|
} & {
|
|
1943
|
-
|
|
2119
|
+
method: z.ZodLiteral<"credit_card">;
|
|
2120
|
+
} & {
|
|
2121
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
1944
2122
|
}, "pointOfSale">, "strip", z.ZodTypeAny, {
|
|
1945
|
-
pointOfSale:
|
|
2123
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
1946
2124
|
}, {
|
|
1947
|
-
pointOfSale: string
|
|
2125
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
1948
2126
|
}>;
|
|
1949
|
-
readonly outputSchema: z.ZodObject<
|
|
2127
|
+
readonly outputSchema: z.ZodObject<{
|
|
1950
2128
|
id: z.ZodString;
|
|
1951
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
1952
2129
|
configurationCompleted: z.ZodBoolean;
|
|
1953
2130
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
1954
2131
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
1955
|
-
}, "method"> & {
|
|
1956
|
-
method: z.ZodEnum<["credit_card"]>;
|
|
1957
2132
|
} & {
|
|
1958
|
-
|
|
2133
|
+
method: z.ZodLiteral<"credit_card">;
|
|
2134
|
+
} & {
|
|
2135
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
1959
2136
|
}, "strip", z.ZodTypeAny, {
|
|
1960
2137
|
id: string;
|
|
1961
2138
|
method: "credit_card";
|
|
1962
2139
|
createdAt: string;
|
|
1963
2140
|
updatedAt: string;
|
|
2141
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
1964
2142
|
configurationCompleted: boolean;
|
|
1965
|
-
pointOfSale: string;
|
|
1966
2143
|
}, {
|
|
1967
2144
|
id: string;
|
|
1968
2145
|
method: "credit_card";
|
|
1969
2146
|
createdAt: string;
|
|
1970
2147
|
updatedAt: string;
|
|
2148
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
1971
2149
|
configurationCompleted: boolean;
|
|
1972
|
-
pointOfSale: string;
|
|
1973
2150
|
}>;
|
|
1974
2151
|
readonly querySchema: undefined;
|
|
1975
2152
|
readonly headersSchema: undefined;
|
|
@@ -1979,7 +2156,7 @@ declare class CreatePaymentConfigCreditCard extends AbstractApiRequest<CreatePay
|
|
|
1979
2156
|
|
|
1980
2157
|
declare const deletePaymentConfigCreditCardInputSchema: z.ZodUndefined;
|
|
1981
2158
|
declare const deletePaymentConfigCreditCardResponseSchema: z.ZodUndefined;
|
|
1982
|
-
declare class DeletePaymentConfigCreditCard extends AbstractApiRequest<
|
|
2159
|
+
declare class DeletePaymentConfigCreditCard extends AbstractApiRequest<typeof deletePaymentConfigCreditCardInputSchema, typeof deletePaymentConfigCreditCardResponseSchema> {
|
|
1983
2160
|
readonly method = "DELETE";
|
|
1984
2161
|
readonly contentType = "application/json";
|
|
1985
2162
|
readonly accept = "application/json";
|
|
@@ -1993,61 +2170,60 @@ declare class DeletePaymentConfigCreditCard extends AbstractApiRequest<void, voi
|
|
|
1993
2170
|
}
|
|
1994
2171
|
|
|
1995
2172
|
declare const getPaymentConfigCreditCardDetailsInputSchema: z.ZodUndefined;
|
|
1996
|
-
|
|
2173
|
+
type GetPaymentConfigCreditCardDetailsInput = z.input<typeof getPaymentConfigCreditCardDetailsInputSchema>;
|
|
2174
|
+
declare const getPaymentConfigCreditCardDetailsResponseSchema: z.ZodObject<{
|
|
1997
2175
|
id: z.ZodString;
|
|
1998
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
1999
2176
|
configurationCompleted: z.ZodBoolean;
|
|
2000
2177
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2001
2178
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2002
|
-
}, "method"> & {
|
|
2003
|
-
method: z.ZodEnum<["credit_card"]>;
|
|
2004
2179
|
} & {
|
|
2005
|
-
|
|
2180
|
+
method: z.ZodLiteral<"credit_card">;
|
|
2181
|
+
} & {
|
|
2182
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
2006
2183
|
}, "strip", z.ZodTypeAny, {
|
|
2007
2184
|
id: string;
|
|
2008
2185
|
method: "credit_card";
|
|
2009
2186
|
createdAt: string;
|
|
2010
2187
|
updatedAt: string;
|
|
2188
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
2011
2189
|
configurationCompleted: boolean;
|
|
2012
|
-
pointOfSale: string;
|
|
2013
2190
|
}, {
|
|
2014
2191
|
id: string;
|
|
2015
2192
|
method: "credit_card";
|
|
2016
2193
|
createdAt: string;
|
|
2017
2194
|
updatedAt: string;
|
|
2195
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
2018
2196
|
configurationCompleted: boolean;
|
|
2019
|
-
pointOfSale: string;
|
|
2020
2197
|
}>;
|
|
2021
|
-
type GetPaymentConfigCreditCardDetailsResponse =
|
|
2022
|
-
declare class GetPaymentConfigCreditCardDetails extends AbstractApiRequest<
|
|
2198
|
+
type GetPaymentConfigCreditCardDetailsResponse = z.output<typeof getPaymentConfigCreditCardDetailsResponseSchema>;
|
|
2199
|
+
declare class GetPaymentConfigCreditCardDetails extends AbstractApiRequest<typeof getPaymentConfigCreditCardDetailsInputSchema, typeof getPaymentConfigCreditCardDetailsResponseSchema> {
|
|
2023
2200
|
readonly method = "GET";
|
|
2024
2201
|
readonly contentType = "application/json";
|
|
2025
2202
|
readonly accept = "application/json";
|
|
2026
2203
|
readonly inputSchema: z.ZodUndefined;
|
|
2027
|
-
readonly outputSchema: z.ZodObject<
|
|
2204
|
+
readonly outputSchema: z.ZodObject<{
|
|
2028
2205
|
id: z.ZodString;
|
|
2029
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
2030
2206
|
configurationCompleted: z.ZodBoolean;
|
|
2031
2207
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2032
2208
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2033
|
-
}, "method"> & {
|
|
2034
|
-
method: z.ZodEnum<["credit_card"]>;
|
|
2035
2209
|
} & {
|
|
2036
|
-
|
|
2210
|
+
method: z.ZodLiteral<"credit_card">;
|
|
2211
|
+
} & {
|
|
2212
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
2037
2213
|
}, "strip", z.ZodTypeAny, {
|
|
2038
2214
|
id: string;
|
|
2039
2215
|
method: "credit_card";
|
|
2040
2216
|
createdAt: string;
|
|
2041
2217
|
updatedAt: string;
|
|
2218
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
2042
2219
|
configurationCompleted: boolean;
|
|
2043
|
-
pointOfSale: string;
|
|
2044
2220
|
}, {
|
|
2045
2221
|
id: string;
|
|
2046
2222
|
method: "credit_card";
|
|
2047
2223
|
createdAt: string;
|
|
2048
2224
|
updatedAt: string;
|
|
2225
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
2049
2226
|
configurationCompleted: boolean;
|
|
2050
|
-
pointOfSale: string;
|
|
2051
2227
|
}>;
|
|
2052
2228
|
readonly querySchema: undefined;
|
|
2053
2229
|
readonly headersSchema: undefined;
|
|
@@ -2057,15 +2233,16 @@ declare class GetPaymentConfigCreditCardDetails extends AbstractApiRequest<void,
|
|
|
2057
2233
|
}
|
|
2058
2234
|
|
|
2059
2235
|
type GetPaymentConfigCreditCardListQueryParams = PaymentConfigsQueryParams;
|
|
2236
|
+
declare const getPaymentConfigCreditCardListInputSchema: z.ZodUndefined;
|
|
2237
|
+
type GetPaymentConfigCreditCardListInput = z.input<typeof getPaymentConfigCreditCardListInputSchema>;
|
|
2060
2238
|
declare const getPaymentConfigCreditCardListResponseSchema: z.ZodObject<{
|
|
2061
|
-
data: z.ZodArray<z.ZodObject<
|
|
2239
|
+
data: z.ZodArray<z.ZodObject<{
|
|
2062
2240
|
id: z.ZodString;
|
|
2063
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
2064
2241
|
configurationCompleted: z.ZodBoolean;
|
|
2065
2242
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2066
2243
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2067
|
-
}
|
|
2068
|
-
method: z.
|
|
2244
|
+
} & {
|
|
2245
|
+
method: z.ZodLiteral<"credit_card">;
|
|
2069
2246
|
}, "strip", z.ZodTypeAny, {
|
|
2070
2247
|
id: string;
|
|
2071
2248
|
method: "credit_card";
|
|
@@ -2135,21 +2312,19 @@ declare const getPaymentConfigCreditCardListResponseSchema: z.ZodObject<{
|
|
|
2135
2312
|
};
|
|
2136
2313
|
}>;
|
|
2137
2314
|
type GetPaymentConfigCreditCardListResponse = z.infer<typeof getPaymentConfigCreditCardListResponseSchema>;
|
|
2138
|
-
declare
|
|
2139
|
-
declare class GetPaymentConfigCreditCardList extends AbstractApiRequest<void, GetPaymentConfigCreditCardListResponse, GetPaymentConfigCreditCardListQueryParams> {
|
|
2315
|
+
declare class GetPaymentConfigCreditCardList extends AbstractApiRequest<typeof getPaymentConfigCreditCardListInputSchema, typeof getPaymentConfigCreditCardListResponseSchema, GetPaymentConfigCreditCardListQueryParams> {
|
|
2140
2316
|
readonly method = "GET";
|
|
2141
2317
|
readonly contentType = "application/json";
|
|
2142
2318
|
readonly accept = "application/json";
|
|
2143
2319
|
readonly inputSchema: z.ZodUndefined;
|
|
2144
2320
|
readonly outputSchema: z.ZodObject<{
|
|
2145
|
-
data: z.ZodArray<z.ZodObject<
|
|
2321
|
+
data: z.ZodArray<z.ZodObject<{
|
|
2146
2322
|
id: z.ZodString;
|
|
2147
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
2148
2323
|
configurationCompleted: z.ZodBoolean;
|
|
2149
2324
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2150
2325
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2151
|
-
}
|
|
2152
|
-
method: z.
|
|
2326
|
+
} & {
|
|
2327
|
+
method: z.ZodLiteral<"credit_card">;
|
|
2153
2328
|
}, "strip", z.ZodTypeAny, {
|
|
2154
2329
|
id: string;
|
|
2155
2330
|
method: "credit_card";
|
|
@@ -2272,7 +2447,7 @@ declare class GetPaymentConfigCreditCardList extends AbstractApiRequest<void, Ge
|
|
|
2272
2447
|
|
|
2273
2448
|
declare const deletePaymentConfigInputSchema: z.ZodUndefined;
|
|
2274
2449
|
declare const deletePaymentConfigResponseSchema: z.ZodUndefined;
|
|
2275
|
-
declare class DeletePaymentConfig extends AbstractApiRequest<
|
|
2450
|
+
declare class DeletePaymentConfig extends AbstractApiRequest<typeof deletePaymentConfigInputSchema, typeof deletePaymentConfigResponseSchema> {
|
|
2276
2451
|
readonly method = "DELETE";
|
|
2277
2452
|
readonly contentType = "application/json";
|
|
2278
2453
|
readonly accept = "application/json";
|
|
@@ -2286,259 +2461,256 @@ declare class DeletePaymentConfig extends AbstractApiRequest<void, void> {
|
|
|
2286
2461
|
}
|
|
2287
2462
|
|
|
2288
2463
|
declare const getPaymentConfigDetailsInputSchema: z.ZodUndefined;
|
|
2289
|
-
|
|
2464
|
+
type GetPaymentConfigDetailsInput = z.input<typeof getPaymentConfigDetailsInputSchema>;
|
|
2465
|
+
declare const getPaymentConfigDetailsResponseSchema: z.ZodDiscriminatedUnion<"method", [z.ZodObject<{
|
|
2290
2466
|
id: z.ZodString;
|
|
2291
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
2292
2467
|
configurationCompleted: z.ZodBoolean;
|
|
2293
2468
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2294
2469
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2295
|
-
}
|
|
2296
|
-
method: z.
|
|
2470
|
+
} & {
|
|
2471
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
2472
|
+
} & {
|
|
2297
2473
|
iban: z.ZodString;
|
|
2298
2474
|
bic: z.ZodString;
|
|
2299
2475
|
accountHolder: z.ZodString;
|
|
2300
2476
|
bankName: z.ZodString;
|
|
2301
|
-
bankAddress: z.
|
|
2477
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
2302
2478
|
currency: z.ZodString;
|
|
2303
2479
|
} & {
|
|
2304
|
-
pointOfSale: z.
|
|
2480
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
2305
2481
|
}, "strip", z.ZodTypeAny, {
|
|
2306
2482
|
id: string;
|
|
2307
2483
|
method: "bank_transfer";
|
|
2308
2484
|
createdAt: string;
|
|
2309
2485
|
updatedAt: string;
|
|
2486
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
2310
2487
|
configurationCompleted: boolean;
|
|
2311
|
-
pointOfSale: string;
|
|
2312
2488
|
iban: string;
|
|
2313
2489
|
bic: string;
|
|
2314
2490
|
accountHolder: string;
|
|
2315
2491
|
bankName: string;
|
|
2492
|
+
bankAddress: string | null;
|
|
2316
2493
|
currency: string;
|
|
2317
|
-
bankAddress?: string | null | undefined;
|
|
2318
2494
|
}, {
|
|
2319
2495
|
id: string;
|
|
2320
2496
|
method: "bank_transfer";
|
|
2321
2497
|
createdAt: string;
|
|
2322
2498
|
updatedAt: string;
|
|
2499
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
2323
2500
|
configurationCompleted: boolean;
|
|
2324
|
-
pointOfSale: string;
|
|
2325
2501
|
iban: string;
|
|
2326
2502
|
bic: string;
|
|
2327
2503
|
accountHolder: string;
|
|
2328
2504
|
bankName: string;
|
|
2505
|
+
bankAddress: string | null;
|
|
2329
2506
|
currency: string;
|
|
2330
|
-
|
|
2331
|
-
}>, z.ZodObject<Omit<{
|
|
2507
|
+
}>, z.ZodObject<{
|
|
2332
2508
|
id: z.ZodString;
|
|
2333
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
2334
2509
|
configurationCompleted: z.ZodBoolean;
|
|
2335
2510
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2336
2511
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2337
|
-
}, "method"> & {
|
|
2338
|
-
method: z.ZodEnum<["cash"]>;
|
|
2339
2512
|
} & {
|
|
2340
|
-
|
|
2513
|
+
method: z.ZodLiteral<"stripe">;
|
|
2514
|
+
} & {
|
|
2515
|
+
secretKey: z.ZodString;
|
|
2516
|
+
webhookSecret: z.ZodNullable<z.ZodString>;
|
|
2517
|
+
webhookId: z.ZodNullable<z.ZodString>;
|
|
2518
|
+
} & {
|
|
2519
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
2341
2520
|
}, "strip", z.ZodTypeAny, {
|
|
2342
2521
|
id: string;
|
|
2343
|
-
method: "
|
|
2522
|
+
method: "stripe";
|
|
2344
2523
|
createdAt: string;
|
|
2345
2524
|
updatedAt: string;
|
|
2525
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
2346
2526
|
configurationCompleted: boolean;
|
|
2347
|
-
|
|
2527
|
+
secretKey: string;
|
|
2528
|
+
webhookSecret: string | null;
|
|
2529
|
+
webhookId: string | null;
|
|
2348
2530
|
}, {
|
|
2349
2531
|
id: string;
|
|
2350
|
-
method: "
|
|
2532
|
+
method: "stripe";
|
|
2351
2533
|
createdAt: string;
|
|
2352
2534
|
updatedAt: string;
|
|
2535
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
2353
2536
|
configurationCompleted: boolean;
|
|
2354
|
-
|
|
2355
|
-
|
|
2537
|
+
secretKey: string;
|
|
2538
|
+
webhookSecret: string | null;
|
|
2539
|
+
webhookId: string | null;
|
|
2540
|
+
}>, z.ZodObject<{
|
|
2356
2541
|
id: z.ZodString;
|
|
2357
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
2358
2542
|
configurationCompleted: z.ZodBoolean;
|
|
2359
2543
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2360
2544
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2361
|
-
}, "method"> & {
|
|
2362
|
-
method: z.ZodEnum<["credit_card"]>;
|
|
2363
2545
|
} & {
|
|
2364
|
-
|
|
2546
|
+
method: z.ZodLiteral<"cash">;
|
|
2547
|
+
} & {
|
|
2548
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
2365
2549
|
}, "strip", z.ZodTypeAny, {
|
|
2366
2550
|
id: string;
|
|
2367
|
-
method: "
|
|
2551
|
+
method: "cash";
|
|
2368
2552
|
createdAt: string;
|
|
2369
2553
|
updatedAt: string;
|
|
2554
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
2370
2555
|
configurationCompleted: boolean;
|
|
2371
|
-
pointOfSale: string;
|
|
2372
2556
|
}, {
|
|
2373
2557
|
id: string;
|
|
2374
|
-
method: "
|
|
2558
|
+
method: "cash";
|
|
2375
2559
|
createdAt: string;
|
|
2376
2560
|
updatedAt: string;
|
|
2561
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
2377
2562
|
configurationCompleted: boolean;
|
|
2378
|
-
|
|
2379
|
-
}>, z.ZodObject<Omit<{
|
|
2563
|
+
}>, z.ZodObject<{
|
|
2380
2564
|
id: z.ZodString;
|
|
2381
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
2382
2565
|
configurationCompleted: z.ZodBoolean;
|
|
2383
2566
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2384
2567
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2385
|
-
}, "method"> & {
|
|
2386
|
-
method: z.ZodEnum<["stripe"]>;
|
|
2387
|
-
secretKey: z.ZodString;
|
|
2388
|
-
webhookSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2389
|
-
webhookId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2390
2568
|
} & {
|
|
2391
|
-
|
|
2569
|
+
method: z.ZodLiteral<"credit_card">;
|
|
2570
|
+
} & {
|
|
2571
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
2392
2572
|
}, "strip", z.ZodTypeAny, {
|
|
2393
2573
|
id: string;
|
|
2394
|
-
method: "
|
|
2574
|
+
method: "credit_card";
|
|
2395
2575
|
createdAt: string;
|
|
2396
2576
|
updatedAt: string;
|
|
2577
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
2397
2578
|
configurationCompleted: boolean;
|
|
2398
|
-
pointOfSale: string;
|
|
2399
|
-
secretKey: string;
|
|
2400
|
-
webhookSecret?: string | null | undefined;
|
|
2401
|
-
webhookId?: string | null | undefined;
|
|
2402
2579
|
}, {
|
|
2403
2580
|
id: string;
|
|
2404
|
-
method: "
|
|
2581
|
+
method: "credit_card";
|
|
2405
2582
|
createdAt: string;
|
|
2406
2583
|
updatedAt: string;
|
|
2584
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
2407
2585
|
configurationCompleted: boolean;
|
|
2408
|
-
pointOfSale: string;
|
|
2409
|
-
secretKey: string;
|
|
2410
|
-
webhookSecret?: string | null | undefined;
|
|
2411
|
-
webhookId?: string | null | undefined;
|
|
2412
2586
|
}>]>;
|
|
2413
|
-
type GetPaymentConfigDetailsResponse =
|
|
2414
|
-
declare class GetPaymentConfigDetails extends AbstractApiRequest<
|
|
2587
|
+
type GetPaymentConfigDetailsResponse = z.output<typeof getPaymentConfigDetailsResponseSchema>;
|
|
2588
|
+
declare class GetPaymentConfigDetails extends AbstractApiRequest<typeof getPaymentConfigDetailsInputSchema, typeof getPaymentConfigDetailsResponseSchema> {
|
|
2415
2589
|
readonly method = "GET";
|
|
2416
2590
|
readonly contentType = "application/json";
|
|
2417
2591
|
readonly accept = "application/json";
|
|
2418
2592
|
readonly inputSchema: z.ZodUndefined;
|
|
2419
|
-
readonly outputSchema: z.ZodDiscriminatedUnion<"method", [z.ZodObject<
|
|
2593
|
+
readonly outputSchema: z.ZodDiscriminatedUnion<"method", [z.ZodObject<{
|
|
2420
2594
|
id: z.ZodString;
|
|
2421
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
2422
2595
|
configurationCompleted: z.ZodBoolean;
|
|
2423
2596
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2424
2597
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2425
|
-
}
|
|
2426
|
-
method: z.
|
|
2598
|
+
} & {
|
|
2599
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
2600
|
+
} & {
|
|
2427
2601
|
iban: z.ZodString;
|
|
2428
2602
|
bic: z.ZodString;
|
|
2429
2603
|
accountHolder: z.ZodString;
|
|
2430
2604
|
bankName: z.ZodString;
|
|
2431
|
-
bankAddress: z.
|
|
2605
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
2432
2606
|
currency: z.ZodString;
|
|
2433
2607
|
} & {
|
|
2434
|
-
pointOfSale: z.
|
|
2608
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
2435
2609
|
}, "strip", z.ZodTypeAny, {
|
|
2436
2610
|
id: string;
|
|
2437
2611
|
method: "bank_transfer";
|
|
2438
2612
|
createdAt: string;
|
|
2439
2613
|
updatedAt: string;
|
|
2614
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
2440
2615
|
configurationCompleted: boolean;
|
|
2441
|
-
pointOfSale: string;
|
|
2442
2616
|
iban: string;
|
|
2443
2617
|
bic: string;
|
|
2444
2618
|
accountHolder: string;
|
|
2445
2619
|
bankName: string;
|
|
2620
|
+
bankAddress: string | null;
|
|
2446
2621
|
currency: string;
|
|
2447
|
-
bankAddress?: string | null | undefined;
|
|
2448
2622
|
}, {
|
|
2449
2623
|
id: string;
|
|
2450
2624
|
method: "bank_transfer";
|
|
2451
2625
|
createdAt: string;
|
|
2452
2626
|
updatedAt: string;
|
|
2627
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
2453
2628
|
configurationCompleted: boolean;
|
|
2454
|
-
pointOfSale: string;
|
|
2455
2629
|
iban: string;
|
|
2456
2630
|
bic: string;
|
|
2457
2631
|
accountHolder: string;
|
|
2458
2632
|
bankName: string;
|
|
2633
|
+
bankAddress: string | null;
|
|
2459
2634
|
currency: string;
|
|
2460
|
-
|
|
2461
|
-
}>, z.ZodObject<Omit<{
|
|
2635
|
+
}>, z.ZodObject<{
|
|
2462
2636
|
id: z.ZodString;
|
|
2463
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
2464
2637
|
configurationCompleted: z.ZodBoolean;
|
|
2465
2638
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2466
2639
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2467
|
-
}, "method"> & {
|
|
2468
|
-
method: z.ZodEnum<["cash"]>;
|
|
2469
2640
|
} & {
|
|
2470
|
-
|
|
2641
|
+
method: z.ZodLiteral<"stripe">;
|
|
2642
|
+
} & {
|
|
2643
|
+
secretKey: z.ZodString;
|
|
2644
|
+
webhookSecret: z.ZodNullable<z.ZodString>;
|
|
2645
|
+
webhookId: z.ZodNullable<z.ZodString>;
|
|
2646
|
+
} & {
|
|
2647
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
2471
2648
|
}, "strip", z.ZodTypeAny, {
|
|
2472
2649
|
id: string;
|
|
2473
|
-
method: "
|
|
2650
|
+
method: "stripe";
|
|
2474
2651
|
createdAt: string;
|
|
2475
2652
|
updatedAt: string;
|
|
2653
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
2476
2654
|
configurationCompleted: boolean;
|
|
2477
|
-
|
|
2655
|
+
secretKey: string;
|
|
2656
|
+
webhookSecret: string | null;
|
|
2657
|
+
webhookId: string | null;
|
|
2478
2658
|
}, {
|
|
2479
2659
|
id: string;
|
|
2480
|
-
method: "
|
|
2660
|
+
method: "stripe";
|
|
2481
2661
|
createdAt: string;
|
|
2482
2662
|
updatedAt: string;
|
|
2663
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
2483
2664
|
configurationCompleted: boolean;
|
|
2484
|
-
|
|
2485
|
-
|
|
2665
|
+
secretKey: string;
|
|
2666
|
+
webhookSecret: string | null;
|
|
2667
|
+
webhookId: string | null;
|
|
2668
|
+
}>, z.ZodObject<{
|
|
2486
2669
|
id: z.ZodString;
|
|
2487
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
2488
2670
|
configurationCompleted: z.ZodBoolean;
|
|
2489
2671
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2490
2672
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2491
|
-
}, "method"> & {
|
|
2492
|
-
method: z.ZodEnum<["credit_card"]>;
|
|
2493
2673
|
} & {
|
|
2494
|
-
|
|
2674
|
+
method: z.ZodLiteral<"cash">;
|
|
2675
|
+
} & {
|
|
2676
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
2495
2677
|
}, "strip", z.ZodTypeAny, {
|
|
2496
2678
|
id: string;
|
|
2497
|
-
method: "
|
|
2679
|
+
method: "cash";
|
|
2498
2680
|
createdAt: string;
|
|
2499
2681
|
updatedAt: string;
|
|
2682
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
2500
2683
|
configurationCompleted: boolean;
|
|
2501
|
-
pointOfSale: string;
|
|
2502
2684
|
}, {
|
|
2503
2685
|
id: string;
|
|
2504
|
-
method: "
|
|
2686
|
+
method: "cash";
|
|
2505
2687
|
createdAt: string;
|
|
2506
2688
|
updatedAt: string;
|
|
2689
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
2507
2690
|
configurationCompleted: boolean;
|
|
2508
|
-
|
|
2509
|
-
}>, z.ZodObject<Omit<{
|
|
2691
|
+
}>, z.ZodObject<{
|
|
2510
2692
|
id: z.ZodString;
|
|
2511
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
2512
2693
|
configurationCompleted: z.ZodBoolean;
|
|
2513
2694
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2514
2695
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2515
|
-
}, "method"> & {
|
|
2516
|
-
method: z.ZodEnum<["stripe"]>;
|
|
2517
|
-
secretKey: z.ZodString;
|
|
2518
|
-
webhookSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2519
|
-
webhookId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2520
2696
|
} & {
|
|
2521
|
-
|
|
2697
|
+
method: z.ZodLiteral<"credit_card">;
|
|
2698
|
+
} & {
|
|
2699
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
2522
2700
|
}, "strip", z.ZodTypeAny, {
|
|
2523
2701
|
id: string;
|
|
2524
|
-
method: "
|
|
2702
|
+
method: "credit_card";
|
|
2525
2703
|
createdAt: string;
|
|
2526
2704
|
updatedAt: string;
|
|
2705
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
2527
2706
|
configurationCompleted: boolean;
|
|
2528
|
-
pointOfSale: string;
|
|
2529
|
-
secretKey: string;
|
|
2530
|
-
webhookSecret?: string | null | undefined;
|
|
2531
|
-
webhookId?: string | null | undefined;
|
|
2532
2707
|
}, {
|
|
2533
2708
|
id: string;
|
|
2534
|
-
method: "
|
|
2709
|
+
method: "credit_card";
|
|
2535
2710
|
createdAt: string;
|
|
2536
2711
|
updatedAt: string;
|
|
2712
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
2537
2713
|
configurationCompleted: boolean;
|
|
2538
|
-
pointOfSale: string;
|
|
2539
|
-
secretKey: string;
|
|
2540
|
-
webhookSecret?: string | null | undefined;
|
|
2541
|
-
webhookId?: string | null | undefined;
|
|
2542
2714
|
}>]>;
|
|
2543
2715
|
readonly querySchema: undefined;
|
|
2544
2716
|
readonly headersSchema: undefined;
|
|
@@ -2548,20 +2720,22 @@ declare class GetPaymentConfigDetails extends AbstractApiRequest<void, GetPaymen
|
|
|
2548
2720
|
}
|
|
2549
2721
|
|
|
2550
2722
|
type GetPaymentConfigsQueryParams = PaymentConfigsQueryParams;
|
|
2723
|
+
declare const getPaymentConfigsInputSchema: z.ZodUndefined;
|
|
2724
|
+
type GetPaymentConfigsInput = z.input<typeof getPaymentConfigsInputSchema>;
|
|
2551
2725
|
declare const getPaymentConfigsResponseSchema: z.ZodObject<{
|
|
2552
|
-
data: z.ZodArray<z.ZodDiscriminatedUnion<"method", [z.ZodObject<
|
|
2726
|
+
data: z.ZodArray<z.ZodDiscriminatedUnion<"method", [z.ZodObject<{
|
|
2553
2727
|
id: z.ZodString;
|
|
2554
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
2555
2728
|
configurationCompleted: z.ZodBoolean;
|
|
2556
2729
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2557
2730
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2558
|
-
}
|
|
2559
|
-
method: z.
|
|
2731
|
+
} & {
|
|
2732
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
2733
|
+
} & {
|
|
2560
2734
|
iban: z.ZodString;
|
|
2561
2735
|
bic: z.ZodString;
|
|
2562
2736
|
accountHolder: z.ZodString;
|
|
2563
2737
|
bankName: z.ZodString;
|
|
2564
|
-
bankAddress: z.
|
|
2738
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
2565
2739
|
currency: z.ZodString;
|
|
2566
2740
|
}, "strip", z.ZodTypeAny, {
|
|
2567
2741
|
id: string;
|
|
@@ -2573,8 +2747,8 @@ declare const getPaymentConfigsResponseSchema: z.ZodObject<{
|
|
|
2573
2747
|
bic: string;
|
|
2574
2748
|
accountHolder: string;
|
|
2575
2749
|
bankName: string;
|
|
2750
|
+
bankAddress: string | null;
|
|
2576
2751
|
currency: string;
|
|
2577
|
-
bankAddress?: string | null | undefined;
|
|
2578
2752
|
}, {
|
|
2579
2753
|
id: string;
|
|
2580
2754
|
method: "bank_transfer";
|
|
@@ -2585,77 +2759,75 @@ declare const getPaymentConfigsResponseSchema: z.ZodObject<{
|
|
|
2585
2759
|
bic: string;
|
|
2586
2760
|
accountHolder: string;
|
|
2587
2761
|
bankName: string;
|
|
2762
|
+
bankAddress: string | null;
|
|
2588
2763
|
currency: string;
|
|
2589
|
-
|
|
2590
|
-
}>, z.ZodObject<Omit<{
|
|
2764
|
+
}>, z.ZodObject<{
|
|
2591
2765
|
id: z.ZodString;
|
|
2592
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
2593
2766
|
configurationCompleted: z.ZodBoolean;
|
|
2594
2767
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2595
2768
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2596
|
-
}
|
|
2597
|
-
method: z.
|
|
2769
|
+
} & {
|
|
2770
|
+
method: z.ZodLiteral<"stripe">;
|
|
2771
|
+
} & {
|
|
2772
|
+
secretKey: z.ZodString;
|
|
2773
|
+
webhookSecret: z.ZodNullable<z.ZodString>;
|
|
2774
|
+
webhookId: z.ZodNullable<z.ZodString>;
|
|
2598
2775
|
}, "strip", z.ZodTypeAny, {
|
|
2599
2776
|
id: string;
|
|
2600
|
-
method: "
|
|
2777
|
+
method: "stripe";
|
|
2601
2778
|
createdAt: string;
|
|
2602
2779
|
updatedAt: string;
|
|
2603
2780
|
configurationCompleted: boolean;
|
|
2781
|
+
secretKey: string;
|
|
2782
|
+
webhookSecret: string | null;
|
|
2783
|
+
webhookId: string | null;
|
|
2604
2784
|
}, {
|
|
2605
2785
|
id: string;
|
|
2606
|
-
method: "
|
|
2786
|
+
method: "stripe";
|
|
2607
2787
|
createdAt: string;
|
|
2608
2788
|
updatedAt: string;
|
|
2609
2789
|
configurationCompleted: boolean;
|
|
2610
|
-
|
|
2790
|
+
secretKey: string;
|
|
2791
|
+
webhookSecret: string | null;
|
|
2792
|
+
webhookId: string | null;
|
|
2793
|
+
}>, z.ZodObject<{
|
|
2611
2794
|
id: z.ZodString;
|
|
2612
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
2613
2795
|
configurationCompleted: z.ZodBoolean;
|
|
2614
2796
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2615
2797
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2616
|
-
}
|
|
2617
|
-
method: z.
|
|
2798
|
+
} & {
|
|
2799
|
+
method: z.ZodLiteral<"cash">;
|
|
2618
2800
|
}, "strip", z.ZodTypeAny, {
|
|
2619
2801
|
id: string;
|
|
2620
|
-
method: "
|
|
2802
|
+
method: "cash";
|
|
2621
2803
|
createdAt: string;
|
|
2622
2804
|
updatedAt: string;
|
|
2623
2805
|
configurationCompleted: boolean;
|
|
2624
2806
|
}, {
|
|
2625
2807
|
id: string;
|
|
2626
|
-
method: "
|
|
2808
|
+
method: "cash";
|
|
2627
2809
|
createdAt: string;
|
|
2628
2810
|
updatedAt: string;
|
|
2629
2811
|
configurationCompleted: boolean;
|
|
2630
|
-
}>, z.ZodObject<
|
|
2812
|
+
}>, z.ZodObject<{
|
|
2631
2813
|
id: z.ZodString;
|
|
2632
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
2633
2814
|
configurationCompleted: z.ZodBoolean;
|
|
2634
2815
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2635
2816
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2636
|
-
}
|
|
2637
|
-
method: z.
|
|
2638
|
-
secretKey: z.ZodString;
|
|
2639
|
-
webhookSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2640
|
-
webhookId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2817
|
+
} & {
|
|
2818
|
+
method: z.ZodLiteral<"credit_card">;
|
|
2641
2819
|
}, "strip", z.ZodTypeAny, {
|
|
2642
2820
|
id: string;
|
|
2643
|
-
method: "
|
|
2821
|
+
method: "credit_card";
|
|
2644
2822
|
createdAt: string;
|
|
2645
2823
|
updatedAt: string;
|
|
2646
2824
|
configurationCompleted: boolean;
|
|
2647
|
-
secretKey: string;
|
|
2648
|
-
webhookSecret?: string | null | undefined;
|
|
2649
|
-
webhookId?: string | null | undefined;
|
|
2650
2825
|
}, {
|
|
2651
2826
|
id: string;
|
|
2652
|
-
method: "
|
|
2827
|
+
method: "credit_card";
|
|
2653
2828
|
createdAt: string;
|
|
2654
2829
|
updatedAt: string;
|
|
2655
2830
|
configurationCompleted: boolean;
|
|
2656
|
-
secretKey: string;
|
|
2657
|
-
webhookSecret?: string | null | undefined;
|
|
2658
|
-
webhookId?: string | null | undefined;
|
|
2659
2831
|
}>]>, "many">;
|
|
2660
2832
|
pagination: z.ZodObject<{
|
|
2661
2833
|
from: z.ZodNumber;
|
|
@@ -2690,29 +2862,29 @@ declare const getPaymentConfigsResponseSchema: z.ZodObject<{
|
|
|
2690
2862
|
bic: string;
|
|
2691
2863
|
accountHolder: string;
|
|
2692
2864
|
bankName: string;
|
|
2865
|
+
bankAddress: string | null;
|
|
2693
2866
|
currency: string;
|
|
2694
|
-
bankAddress?: string | null | undefined;
|
|
2695
2867
|
} | {
|
|
2696
2868
|
id: string;
|
|
2697
|
-
method: "
|
|
2869
|
+
method: "stripe";
|
|
2698
2870
|
createdAt: string;
|
|
2699
2871
|
updatedAt: string;
|
|
2700
2872
|
configurationCompleted: boolean;
|
|
2873
|
+
secretKey: string;
|
|
2874
|
+
webhookSecret: string | null;
|
|
2875
|
+
webhookId: string | null;
|
|
2701
2876
|
} | {
|
|
2702
2877
|
id: string;
|
|
2703
|
-
method: "
|
|
2878
|
+
method: "cash";
|
|
2704
2879
|
createdAt: string;
|
|
2705
2880
|
updatedAt: string;
|
|
2706
2881
|
configurationCompleted: boolean;
|
|
2707
2882
|
} | {
|
|
2708
2883
|
id: string;
|
|
2709
|
-
method: "
|
|
2884
|
+
method: "credit_card";
|
|
2710
2885
|
createdAt: string;
|
|
2711
2886
|
updatedAt: string;
|
|
2712
2887
|
configurationCompleted: boolean;
|
|
2713
|
-
secretKey: string;
|
|
2714
|
-
webhookSecret?: string | null | undefined;
|
|
2715
|
-
webhookId?: string | null | undefined;
|
|
2716
2888
|
})[];
|
|
2717
2889
|
pagination: {
|
|
2718
2890
|
from: number;
|
|
@@ -2733,29 +2905,29 @@ declare const getPaymentConfigsResponseSchema: z.ZodObject<{
|
|
|
2733
2905
|
bic: string;
|
|
2734
2906
|
accountHolder: string;
|
|
2735
2907
|
bankName: string;
|
|
2908
|
+
bankAddress: string | null;
|
|
2736
2909
|
currency: string;
|
|
2737
|
-
bankAddress?: string | null | undefined;
|
|
2738
2910
|
} | {
|
|
2739
2911
|
id: string;
|
|
2740
|
-
method: "
|
|
2912
|
+
method: "stripe";
|
|
2741
2913
|
createdAt: string;
|
|
2742
2914
|
updatedAt: string;
|
|
2743
2915
|
configurationCompleted: boolean;
|
|
2916
|
+
secretKey: string;
|
|
2917
|
+
webhookSecret: string | null;
|
|
2918
|
+
webhookId: string | null;
|
|
2744
2919
|
} | {
|
|
2745
2920
|
id: string;
|
|
2746
|
-
method: "
|
|
2921
|
+
method: "cash";
|
|
2747
2922
|
createdAt: string;
|
|
2748
2923
|
updatedAt: string;
|
|
2749
2924
|
configurationCompleted: boolean;
|
|
2750
2925
|
} | {
|
|
2751
2926
|
id: string;
|
|
2752
|
-
method: "
|
|
2927
|
+
method: "credit_card";
|
|
2753
2928
|
createdAt: string;
|
|
2754
2929
|
updatedAt: string;
|
|
2755
2930
|
configurationCompleted: boolean;
|
|
2756
|
-
secretKey: string;
|
|
2757
|
-
webhookSecret?: string | null | undefined;
|
|
2758
|
-
webhookId?: string | null | undefined;
|
|
2759
2931
|
})[];
|
|
2760
2932
|
pagination: {
|
|
2761
2933
|
from: number;
|
|
@@ -2767,26 +2939,25 @@ declare const getPaymentConfigsResponseSchema: z.ZodObject<{
|
|
|
2767
2939
|
};
|
|
2768
2940
|
}>;
|
|
2769
2941
|
type GetPaymentConfigsResponse = z.infer<typeof getPaymentConfigsResponseSchema>;
|
|
2770
|
-
declare
|
|
2771
|
-
declare class GetPaymentConfigs extends AbstractApiRequest<void, GetPaymentConfigsResponse, GetPaymentConfigsQueryParams> {
|
|
2942
|
+
declare class GetPaymentConfigs extends AbstractApiRequest<typeof getPaymentConfigsInputSchema, typeof getPaymentConfigsResponseSchema, GetPaymentConfigsQueryParams> {
|
|
2772
2943
|
readonly method = "GET";
|
|
2773
2944
|
readonly contentType = "application/json";
|
|
2774
2945
|
readonly accept = "application/json";
|
|
2775
2946
|
readonly inputSchema: z.ZodUndefined;
|
|
2776
2947
|
readonly outputSchema: z.ZodObject<{
|
|
2777
|
-
data: z.ZodArray<z.ZodDiscriminatedUnion<"method", [z.ZodObject<
|
|
2948
|
+
data: z.ZodArray<z.ZodDiscriminatedUnion<"method", [z.ZodObject<{
|
|
2778
2949
|
id: z.ZodString;
|
|
2779
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
2780
2950
|
configurationCompleted: z.ZodBoolean;
|
|
2781
2951
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2782
2952
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2783
|
-
}
|
|
2784
|
-
method: z.
|
|
2953
|
+
} & {
|
|
2954
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
2955
|
+
} & {
|
|
2785
2956
|
iban: z.ZodString;
|
|
2786
2957
|
bic: z.ZodString;
|
|
2787
2958
|
accountHolder: z.ZodString;
|
|
2788
2959
|
bankName: z.ZodString;
|
|
2789
|
-
bankAddress: z.
|
|
2960
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
2790
2961
|
currency: z.ZodString;
|
|
2791
2962
|
}, "strip", z.ZodTypeAny, {
|
|
2792
2963
|
id: string;
|
|
@@ -2798,8 +2969,8 @@ declare class GetPaymentConfigs extends AbstractApiRequest<void, GetPaymentConfi
|
|
|
2798
2969
|
bic: string;
|
|
2799
2970
|
accountHolder: string;
|
|
2800
2971
|
bankName: string;
|
|
2972
|
+
bankAddress: string | null;
|
|
2801
2973
|
currency: string;
|
|
2802
|
-
bankAddress?: string | null | undefined;
|
|
2803
2974
|
}, {
|
|
2804
2975
|
id: string;
|
|
2805
2976
|
method: "bank_transfer";
|
|
@@ -2810,77 +2981,75 @@ declare class GetPaymentConfigs extends AbstractApiRequest<void, GetPaymentConfi
|
|
|
2810
2981
|
bic: string;
|
|
2811
2982
|
accountHolder: string;
|
|
2812
2983
|
bankName: string;
|
|
2984
|
+
bankAddress: string | null;
|
|
2813
2985
|
currency: string;
|
|
2814
|
-
|
|
2815
|
-
}>, z.ZodObject<Omit<{
|
|
2986
|
+
}>, z.ZodObject<{
|
|
2816
2987
|
id: z.ZodString;
|
|
2817
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
2818
2988
|
configurationCompleted: z.ZodBoolean;
|
|
2819
2989
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2820
2990
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2821
|
-
}
|
|
2822
|
-
method: z.
|
|
2991
|
+
} & {
|
|
2992
|
+
method: z.ZodLiteral<"stripe">;
|
|
2993
|
+
} & {
|
|
2994
|
+
secretKey: z.ZodString;
|
|
2995
|
+
webhookSecret: z.ZodNullable<z.ZodString>;
|
|
2996
|
+
webhookId: z.ZodNullable<z.ZodString>;
|
|
2823
2997
|
}, "strip", z.ZodTypeAny, {
|
|
2824
2998
|
id: string;
|
|
2825
|
-
method: "
|
|
2999
|
+
method: "stripe";
|
|
2826
3000
|
createdAt: string;
|
|
2827
3001
|
updatedAt: string;
|
|
2828
3002
|
configurationCompleted: boolean;
|
|
3003
|
+
secretKey: string;
|
|
3004
|
+
webhookSecret: string | null;
|
|
3005
|
+
webhookId: string | null;
|
|
2829
3006
|
}, {
|
|
2830
3007
|
id: string;
|
|
2831
|
-
method: "
|
|
3008
|
+
method: "stripe";
|
|
2832
3009
|
createdAt: string;
|
|
2833
3010
|
updatedAt: string;
|
|
2834
3011
|
configurationCompleted: boolean;
|
|
2835
|
-
|
|
3012
|
+
secretKey: string;
|
|
3013
|
+
webhookSecret: string | null;
|
|
3014
|
+
webhookId: string | null;
|
|
3015
|
+
}>, z.ZodObject<{
|
|
2836
3016
|
id: z.ZodString;
|
|
2837
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
2838
3017
|
configurationCompleted: z.ZodBoolean;
|
|
2839
3018
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2840
3019
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2841
|
-
}
|
|
2842
|
-
method: z.
|
|
3020
|
+
} & {
|
|
3021
|
+
method: z.ZodLiteral<"cash">;
|
|
2843
3022
|
}, "strip", z.ZodTypeAny, {
|
|
2844
3023
|
id: string;
|
|
2845
|
-
method: "
|
|
3024
|
+
method: "cash";
|
|
2846
3025
|
createdAt: string;
|
|
2847
3026
|
updatedAt: string;
|
|
2848
3027
|
configurationCompleted: boolean;
|
|
2849
3028
|
}, {
|
|
2850
3029
|
id: string;
|
|
2851
|
-
method: "
|
|
3030
|
+
method: "cash";
|
|
2852
3031
|
createdAt: string;
|
|
2853
3032
|
updatedAt: string;
|
|
2854
3033
|
configurationCompleted: boolean;
|
|
2855
|
-
}>, z.ZodObject<
|
|
3034
|
+
}>, z.ZodObject<{
|
|
2856
3035
|
id: z.ZodString;
|
|
2857
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
2858
3036
|
configurationCompleted: z.ZodBoolean;
|
|
2859
3037
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2860
3038
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2861
|
-
}
|
|
2862
|
-
method: z.
|
|
2863
|
-
secretKey: z.ZodString;
|
|
2864
|
-
webhookSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2865
|
-
webhookId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3039
|
+
} & {
|
|
3040
|
+
method: z.ZodLiteral<"credit_card">;
|
|
2866
3041
|
}, "strip", z.ZodTypeAny, {
|
|
2867
3042
|
id: string;
|
|
2868
|
-
method: "
|
|
3043
|
+
method: "credit_card";
|
|
2869
3044
|
createdAt: string;
|
|
2870
3045
|
updatedAt: string;
|
|
2871
3046
|
configurationCompleted: boolean;
|
|
2872
|
-
secretKey: string;
|
|
2873
|
-
webhookSecret?: string | null | undefined;
|
|
2874
|
-
webhookId?: string | null | undefined;
|
|
2875
3047
|
}, {
|
|
2876
3048
|
id: string;
|
|
2877
|
-
method: "
|
|
3049
|
+
method: "credit_card";
|
|
2878
3050
|
createdAt: string;
|
|
2879
3051
|
updatedAt: string;
|
|
2880
3052
|
configurationCompleted: boolean;
|
|
2881
|
-
secretKey: string;
|
|
2882
|
-
webhookSecret?: string | null | undefined;
|
|
2883
|
-
webhookId?: string | null | undefined;
|
|
2884
3053
|
}>]>, "many">;
|
|
2885
3054
|
pagination: z.ZodObject<{
|
|
2886
3055
|
from: z.ZodNumber;
|
|
@@ -2915,29 +3084,29 @@ declare class GetPaymentConfigs extends AbstractApiRequest<void, GetPaymentConfi
|
|
|
2915
3084
|
bic: string;
|
|
2916
3085
|
accountHolder: string;
|
|
2917
3086
|
bankName: string;
|
|
3087
|
+
bankAddress: string | null;
|
|
2918
3088
|
currency: string;
|
|
2919
|
-
bankAddress?: string | null | undefined;
|
|
2920
3089
|
} | {
|
|
2921
3090
|
id: string;
|
|
2922
|
-
method: "
|
|
3091
|
+
method: "stripe";
|
|
2923
3092
|
createdAt: string;
|
|
2924
3093
|
updatedAt: string;
|
|
2925
3094
|
configurationCompleted: boolean;
|
|
3095
|
+
secretKey: string;
|
|
3096
|
+
webhookSecret: string | null;
|
|
3097
|
+
webhookId: string | null;
|
|
2926
3098
|
} | {
|
|
2927
3099
|
id: string;
|
|
2928
|
-
method: "
|
|
3100
|
+
method: "cash";
|
|
2929
3101
|
createdAt: string;
|
|
2930
3102
|
updatedAt: string;
|
|
2931
3103
|
configurationCompleted: boolean;
|
|
2932
3104
|
} | {
|
|
2933
3105
|
id: string;
|
|
2934
|
-
method: "
|
|
3106
|
+
method: "credit_card";
|
|
2935
3107
|
createdAt: string;
|
|
2936
3108
|
updatedAt: string;
|
|
2937
3109
|
configurationCompleted: boolean;
|
|
2938
|
-
secretKey: string;
|
|
2939
|
-
webhookSecret?: string | null | undefined;
|
|
2940
|
-
webhookId?: string | null | undefined;
|
|
2941
3110
|
})[];
|
|
2942
3111
|
pagination: {
|
|
2943
3112
|
from: number;
|
|
@@ -2958,29 +3127,29 @@ declare class GetPaymentConfigs extends AbstractApiRequest<void, GetPaymentConfi
|
|
|
2958
3127
|
bic: string;
|
|
2959
3128
|
accountHolder: string;
|
|
2960
3129
|
bankName: string;
|
|
3130
|
+
bankAddress: string | null;
|
|
2961
3131
|
currency: string;
|
|
2962
|
-
bankAddress?: string | null | undefined;
|
|
2963
3132
|
} | {
|
|
2964
3133
|
id: string;
|
|
2965
|
-
method: "
|
|
3134
|
+
method: "stripe";
|
|
2966
3135
|
createdAt: string;
|
|
2967
3136
|
updatedAt: string;
|
|
2968
3137
|
configurationCompleted: boolean;
|
|
3138
|
+
secretKey: string;
|
|
3139
|
+
webhookSecret: string | null;
|
|
3140
|
+
webhookId: string | null;
|
|
2969
3141
|
} | {
|
|
2970
3142
|
id: string;
|
|
2971
|
-
method: "
|
|
3143
|
+
method: "cash";
|
|
2972
3144
|
createdAt: string;
|
|
2973
3145
|
updatedAt: string;
|
|
2974
3146
|
configurationCompleted: boolean;
|
|
2975
3147
|
} | {
|
|
2976
3148
|
id: string;
|
|
2977
|
-
method: "
|
|
3149
|
+
method: "credit_card";
|
|
2978
3150
|
createdAt: string;
|
|
2979
3151
|
updatedAt: string;
|
|
2980
3152
|
configurationCompleted: boolean;
|
|
2981
|
-
secretKey: string;
|
|
2982
|
-
webhookSecret?: string | null | undefined;
|
|
2983
|
-
webhookId?: string | null | undefined;
|
|
2984
3153
|
})[];
|
|
2985
3154
|
pagination: {
|
|
2986
3155
|
from: number;
|
|
@@ -3043,119 +3212,119 @@ declare class GetPaymentConfigs extends AbstractApiRequest<void, GetPaymentConfi
|
|
|
3043
3212
|
parseResponse(data: unknown, rawResponse: AxiosResponse): Paginated<PaymentConfig>;
|
|
3044
3213
|
}
|
|
3045
3214
|
|
|
3046
|
-
declare const createPaymentConfigStripeInputSchema: z.ZodObject<Pick<
|
|
3215
|
+
declare const createPaymentConfigStripeInputSchema: z.ZodObject<Pick<{
|
|
3047
3216
|
id: z.ZodString;
|
|
3048
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
3049
3217
|
configurationCompleted: z.ZodBoolean;
|
|
3050
3218
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
3051
3219
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
3052
|
-
}
|
|
3053
|
-
method: z.
|
|
3220
|
+
} & {
|
|
3221
|
+
method: z.ZodLiteral<"stripe">;
|
|
3222
|
+
} & {
|
|
3054
3223
|
secretKey: z.ZodString;
|
|
3055
|
-
webhookSecret: z.
|
|
3056
|
-
webhookId: z.
|
|
3224
|
+
webhookSecret: z.ZodNullable<z.ZodString>;
|
|
3225
|
+
webhookId: z.ZodNullable<z.ZodString>;
|
|
3057
3226
|
} & {
|
|
3058
|
-
pointOfSale: z.
|
|
3227
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
3059
3228
|
}, "pointOfSale" | "secretKey">, "strip", z.ZodTypeAny, {
|
|
3060
|
-
pointOfSale:
|
|
3229
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
3061
3230
|
secretKey: string;
|
|
3062
3231
|
}, {
|
|
3063
|
-
pointOfSale: string
|
|
3232
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
3064
3233
|
secretKey: string;
|
|
3065
3234
|
}>;
|
|
3066
|
-
type CreatePaymentConfigStripeInput = z.
|
|
3067
|
-
declare const createPaymentConfigStripeResponseSchema: z.ZodObject<
|
|
3235
|
+
type CreatePaymentConfigStripeInput = z.input<typeof createPaymentConfigStripeInputSchema>;
|
|
3236
|
+
declare const createPaymentConfigStripeResponseSchema: z.ZodObject<{
|
|
3068
3237
|
id: z.ZodString;
|
|
3069
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
3070
3238
|
configurationCompleted: z.ZodBoolean;
|
|
3071
3239
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
3072
3240
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
3073
|
-
}
|
|
3074
|
-
method: z.
|
|
3241
|
+
} & {
|
|
3242
|
+
method: z.ZodLiteral<"stripe">;
|
|
3243
|
+
} & {
|
|
3075
3244
|
secretKey: z.ZodString;
|
|
3076
|
-
webhookSecret: z.
|
|
3077
|
-
webhookId: z.
|
|
3245
|
+
webhookSecret: z.ZodNullable<z.ZodString>;
|
|
3246
|
+
webhookId: z.ZodNullable<z.ZodString>;
|
|
3078
3247
|
} & {
|
|
3079
|
-
pointOfSale: z.
|
|
3248
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
3080
3249
|
}, "strip", z.ZodTypeAny, {
|
|
3081
3250
|
id: string;
|
|
3082
3251
|
method: "stripe";
|
|
3083
3252
|
createdAt: string;
|
|
3084
3253
|
updatedAt: string;
|
|
3254
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
3085
3255
|
configurationCompleted: boolean;
|
|
3086
|
-
pointOfSale: string;
|
|
3087
3256
|
secretKey: string;
|
|
3088
|
-
webhookSecret
|
|
3089
|
-
webhookId
|
|
3257
|
+
webhookSecret: string | null;
|
|
3258
|
+
webhookId: string | null;
|
|
3090
3259
|
}, {
|
|
3091
3260
|
id: string;
|
|
3092
3261
|
method: "stripe";
|
|
3093
3262
|
createdAt: string;
|
|
3094
3263
|
updatedAt: string;
|
|
3264
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
3095
3265
|
configurationCompleted: boolean;
|
|
3096
|
-
pointOfSale: string;
|
|
3097
3266
|
secretKey: string;
|
|
3098
|
-
webhookSecret
|
|
3099
|
-
webhookId
|
|
3267
|
+
webhookSecret: string | null;
|
|
3268
|
+
webhookId: string | null;
|
|
3100
3269
|
}>;
|
|
3101
|
-
type CreatePaymentConfigStripeResponse =
|
|
3102
|
-
declare class CreatePaymentConfigStripe extends AbstractApiRequest<
|
|
3270
|
+
type CreatePaymentConfigStripeResponse = z.output<typeof createPaymentConfigStripeResponseSchema>;
|
|
3271
|
+
declare class CreatePaymentConfigStripe extends AbstractApiRequest<typeof createPaymentConfigStripeInputSchema, typeof createPaymentConfigStripeResponseSchema> {
|
|
3103
3272
|
readonly method = "POST";
|
|
3104
3273
|
readonly contentType = "application/json";
|
|
3105
3274
|
readonly accept = "application/json";
|
|
3106
|
-
readonly inputSchema: z.ZodObject<Pick<
|
|
3275
|
+
readonly inputSchema: z.ZodObject<Pick<{
|
|
3107
3276
|
id: z.ZodString;
|
|
3108
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
3109
3277
|
configurationCompleted: z.ZodBoolean;
|
|
3110
3278
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
3111
3279
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
3112
|
-
}
|
|
3113
|
-
method: z.
|
|
3280
|
+
} & {
|
|
3281
|
+
method: z.ZodLiteral<"stripe">;
|
|
3282
|
+
} & {
|
|
3114
3283
|
secretKey: z.ZodString;
|
|
3115
|
-
webhookSecret: z.
|
|
3116
|
-
webhookId: z.
|
|
3284
|
+
webhookSecret: z.ZodNullable<z.ZodString>;
|
|
3285
|
+
webhookId: z.ZodNullable<z.ZodString>;
|
|
3117
3286
|
} & {
|
|
3118
|
-
pointOfSale: z.
|
|
3287
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
3119
3288
|
}, "pointOfSale" | "secretKey">, "strip", z.ZodTypeAny, {
|
|
3120
|
-
pointOfSale:
|
|
3289
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
3121
3290
|
secretKey: string;
|
|
3122
3291
|
}, {
|
|
3123
|
-
pointOfSale: string
|
|
3292
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
3124
3293
|
secretKey: string;
|
|
3125
3294
|
}>;
|
|
3126
|
-
readonly outputSchema: z.ZodObject<
|
|
3295
|
+
readonly outputSchema: z.ZodObject<{
|
|
3127
3296
|
id: z.ZodString;
|
|
3128
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
3129
3297
|
configurationCompleted: z.ZodBoolean;
|
|
3130
3298
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
3131
3299
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
3132
|
-
}
|
|
3133
|
-
method: z.
|
|
3300
|
+
} & {
|
|
3301
|
+
method: z.ZodLiteral<"stripe">;
|
|
3302
|
+
} & {
|
|
3134
3303
|
secretKey: z.ZodString;
|
|
3135
|
-
webhookSecret: z.
|
|
3136
|
-
webhookId: z.
|
|
3304
|
+
webhookSecret: z.ZodNullable<z.ZodString>;
|
|
3305
|
+
webhookId: z.ZodNullable<z.ZodString>;
|
|
3137
3306
|
} & {
|
|
3138
|
-
pointOfSale: z.
|
|
3307
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
3139
3308
|
}, "strip", z.ZodTypeAny, {
|
|
3140
3309
|
id: string;
|
|
3141
3310
|
method: "stripe";
|
|
3142
3311
|
createdAt: string;
|
|
3143
3312
|
updatedAt: string;
|
|
3313
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
3144
3314
|
configurationCompleted: boolean;
|
|
3145
|
-
pointOfSale: string;
|
|
3146
3315
|
secretKey: string;
|
|
3147
|
-
webhookSecret
|
|
3148
|
-
webhookId
|
|
3316
|
+
webhookSecret: string | null;
|
|
3317
|
+
webhookId: string | null;
|
|
3149
3318
|
}, {
|
|
3150
3319
|
id: string;
|
|
3151
3320
|
method: "stripe";
|
|
3152
3321
|
createdAt: string;
|
|
3153
3322
|
updatedAt: string;
|
|
3323
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
3154
3324
|
configurationCompleted: boolean;
|
|
3155
|
-
pointOfSale: string;
|
|
3156
3325
|
secretKey: string;
|
|
3157
|
-
webhookSecret
|
|
3158
|
-
webhookId
|
|
3326
|
+
webhookSecret: string | null;
|
|
3327
|
+
webhookId: string | null;
|
|
3159
3328
|
}>;
|
|
3160
3329
|
readonly querySchema: undefined;
|
|
3161
3330
|
readonly headersSchema: undefined;
|
|
@@ -3165,7 +3334,7 @@ declare class CreatePaymentConfigStripe extends AbstractApiRequest<CreatePayment
|
|
|
3165
3334
|
|
|
3166
3335
|
declare const deletePaymentConfigStripeInputSchema: z.ZodUndefined;
|
|
3167
3336
|
declare const deletePaymentConfigStripeResponseSchema: z.ZodUndefined;
|
|
3168
|
-
declare class DeletePaymentConfigStripe extends AbstractApiRequest<
|
|
3337
|
+
declare class DeletePaymentConfigStripe extends AbstractApiRequest<typeof deletePaymentConfigStripeInputSchema, typeof deletePaymentConfigStripeResponseSchema> {
|
|
3169
3338
|
readonly method = "DELETE";
|
|
3170
3339
|
readonly contentType = "application/json";
|
|
3171
3340
|
readonly accept = "application/json";
|
|
@@ -3179,79 +3348,80 @@ declare class DeletePaymentConfigStripe extends AbstractApiRequest<void, void> {
|
|
|
3179
3348
|
}
|
|
3180
3349
|
|
|
3181
3350
|
declare const getPaymentConfigStripeDetailsInputSchema: z.ZodUndefined;
|
|
3182
|
-
|
|
3351
|
+
type GetPaymentConfigStripeDetailsInput = z.input<typeof getPaymentConfigStripeDetailsInputSchema>;
|
|
3352
|
+
declare const getPaymentConfigStripeDetailsResponseSchema: z.ZodObject<{
|
|
3183
3353
|
id: z.ZodString;
|
|
3184
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
3185
3354
|
configurationCompleted: z.ZodBoolean;
|
|
3186
3355
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
3187
3356
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
3188
|
-
}
|
|
3189
|
-
method: z.
|
|
3357
|
+
} & {
|
|
3358
|
+
method: z.ZodLiteral<"stripe">;
|
|
3359
|
+
} & {
|
|
3190
3360
|
secretKey: z.ZodString;
|
|
3191
|
-
webhookSecret: z.
|
|
3192
|
-
webhookId: z.
|
|
3361
|
+
webhookSecret: z.ZodNullable<z.ZodString>;
|
|
3362
|
+
webhookId: z.ZodNullable<z.ZodString>;
|
|
3193
3363
|
} & {
|
|
3194
|
-
pointOfSale: z.
|
|
3364
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
3195
3365
|
}, "strip", z.ZodTypeAny, {
|
|
3196
3366
|
id: string;
|
|
3197
3367
|
method: "stripe";
|
|
3198
3368
|
createdAt: string;
|
|
3199
3369
|
updatedAt: string;
|
|
3370
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
3200
3371
|
configurationCompleted: boolean;
|
|
3201
|
-
pointOfSale: string;
|
|
3202
3372
|
secretKey: string;
|
|
3203
|
-
webhookSecret
|
|
3204
|
-
webhookId
|
|
3373
|
+
webhookSecret: string | null;
|
|
3374
|
+
webhookId: string | null;
|
|
3205
3375
|
}, {
|
|
3206
3376
|
id: string;
|
|
3207
3377
|
method: "stripe";
|
|
3208
3378
|
createdAt: string;
|
|
3209
3379
|
updatedAt: string;
|
|
3380
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
3210
3381
|
configurationCompleted: boolean;
|
|
3211
|
-
pointOfSale: string;
|
|
3212
3382
|
secretKey: string;
|
|
3213
|
-
webhookSecret
|
|
3214
|
-
webhookId
|
|
3383
|
+
webhookSecret: string | null;
|
|
3384
|
+
webhookId: string | null;
|
|
3215
3385
|
}>;
|
|
3216
|
-
type GetPaymentConfigStripeDetailsResponse =
|
|
3217
|
-
declare class GetPaymentConfigStripeDetails extends AbstractApiRequest<
|
|
3386
|
+
type GetPaymentConfigStripeDetailsResponse = z.output<typeof getPaymentConfigStripeDetailsResponseSchema>;
|
|
3387
|
+
declare class GetPaymentConfigStripeDetails extends AbstractApiRequest<typeof getPaymentConfigStripeDetailsInputSchema, typeof getPaymentConfigStripeDetailsResponseSchema> {
|
|
3218
3388
|
readonly method = "GET";
|
|
3219
3389
|
readonly contentType = "application/json";
|
|
3220
3390
|
readonly accept = "application/json";
|
|
3221
3391
|
readonly inputSchema: z.ZodUndefined;
|
|
3222
|
-
readonly outputSchema: z.ZodObject<
|
|
3392
|
+
readonly outputSchema: z.ZodObject<{
|
|
3223
3393
|
id: z.ZodString;
|
|
3224
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
3225
3394
|
configurationCompleted: z.ZodBoolean;
|
|
3226
3395
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
3227
3396
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
3228
|
-
}
|
|
3229
|
-
method: z.
|
|
3397
|
+
} & {
|
|
3398
|
+
method: z.ZodLiteral<"stripe">;
|
|
3399
|
+
} & {
|
|
3230
3400
|
secretKey: z.ZodString;
|
|
3231
|
-
webhookSecret: z.
|
|
3232
|
-
webhookId: z.
|
|
3401
|
+
webhookSecret: z.ZodNullable<z.ZodString>;
|
|
3402
|
+
webhookId: z.ZodNullable<z.ZodString>;
|
|
3233
3403
|
} & {
|
|
3234
|
-
pointOfSale: z.
|
|
3404
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
3235
3405
|
}, "strip", z.ZodTypeAny, {
|
|
3236
3406
|
id: string;
|
|
3237
3407
|
method: "stripe";
|
|
3238
3408
|
createdAt: string;
|
|
3239
3409
|
updatedAt: string;
|
|
3410
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
3240
3411
|
configurationCompleted: boolean;
|
|
3241
|
-
pointOfSale: string;
|
|
3242
3412
|
secretKey: string;
|
|
3243
|
-
webhookSecret
|
|
3244
|
-
webhookId
|
|
3413
|
+
webhookSecret: string | null;
|
|
3414
|
+
webhookId: string | null;
|
|
3245
3415
|
}, {
|
|
3246
3416
|
id: string;
|
|
3247
3417
|
method: "stripe";
|
|
3248
3418
|
createdAt: string;
|
|
3249
3419
|
updatedAt: string;
|
|
3420
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
3250
3421
|
configurationCompleted: boolean;
|
|
3251
|
-
pointOfSale: string;
|
|
3252
3422
|
secretKey: string;
|
|
3253
|
-
webhookSecret
|
|
3254
|
-
webhookId
|
|
3423
|
+
webhookSecret: string | null;
|
|
3424
|
+
webhookId: string | null;
|
|
3255
3425
|
}>;
|
|
3256
3426
|
readonly querySchema: undefined;
|
|
3257
3427
|
readonly headersSchema: undefined;
|
|
@@ -3261,18 +3431,20 @@ declare class GetPaymentConfigStripeDetails extends AbstractApiRequest<void, Get
|
|
|
3261
3431
|
}
|
|
3262
3432
|
|
|
3263
3433
|
type GetPaymentConfigStripeListQueryParams = PaymentConfigsQueryParams;
|
|
3434
|
+
declare const getPaymentConfigStripeListInputSchema: z.ZodUndefined;
|
|
3435
|
+
type GetPaymentConfigStripeListInput = z.input<typeof getPaymentConfigStripeListInputSchema>;
|
|
3264
3436
|
declare const getPaymentConfigStripeListResponseSchema: z.ZodObject<{
|
|
3265
|
-
data: z.ZodArray<z.ZodObject<
|
|
3437
|
+
data: z.ZodArray<z.ZodObject<{
|
|
3266
3438
|
id: z.ZodString;
|
|
3267
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
3268
3439
|
configurationCompleted: z.ZodBoolean;
|
|
3269
3440
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
3270
3441
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
3271
|
-
}
|
|
3272
|
-
method: z.
|
|
3442
|
+
} & {
|
|
3443
|
+
method: z.ZodLiteral<"stripe">;
|
|
3444
|
+
} & {
|
|
3273
3445
|
secretKey: z.ZodString;
|
|
3274
|
-
webhookSecret: z.
|
|
3275
|
-
webhookId: z.
|
|
3446
|
+
webhookSecret: z.ZodNullable<z.ZodString>;
|
|
3447
|
+
webhookId: z.ZodNullable<z.ZodString>;
|
|
3276
3448
|
}, "strip", z.ZodTypeAny, {
|
|
3277
3449
|
id: string;
|
|
3278
3450
|
method: "stripe";
|
|
@@ -3280,8 +3452,8 @@ declare const getPaymentConfigStripeListResponseSchema: z.ZodObject<{
|
|
|
3280
3452
|
updatedAt: string;
|
|
3281
3453
|
configurationCompleted: boolean;
|
|
3282
3454
|
secretKey: string;
|
|
3283
|
-
webhookSecret
|
|
3284
|
-
webhookId
|
|
3455
|
+
webhookSecret: string | null;
|
|
3456
|
+
webhookId: string | null;
|
|
3285
3457
|
}, {
|
|
3286
3458
|
id: string;
|
|
3287
3459
|
method: "stripe";
|
|
@@ -3289,8 +3461,8 @@ declare const getPaymentConfigStripeListResponseSchema: z.ZodObject<{
|
|
|
3289
3461
|
updatedAt: string;
|
|
3290
3462
|
configurationCompleted: boolean;
|
|
3291
3463
|
secretKey: string;
|
|
3292
|
-
webhookSecret
|
|
3293
|
-
webhookId
|
|
3464
|
+
webhookSecret: string | null;
|
|
3465
|
+
webhookId: string | null;
|
|
3294
3466
|
}>, "many">;
|
|
3295
3467
|
pagination: z.ZodObject<{
|
|
3296
3468
|
from: z.ZodNumber;
|
|
@@ -3322,8 +3494,8 @@ declare const getPaymentConfigStripeListResponseSchema: z.ZodObject<{
|
|
|
3322
3494
|
updatedAt: string;
|
|
3323
3495
|
configurationCompleted: boolean;
|
|
3324
3496
|
secretKey: string;
|
|
3325
|
-
webhookSecret
|
|
3326
|
-
webhookId
|
|
3497
|
+
webhookSecret: string | null;
|
|
3498
|
+
webhookId: string | null;
|
|
3327
3499
|
}[];
|
|
3328
3500
|
pagination: {
|
|
3329
3501
|
from: number;
|
|
@@ -3341,8 +3513,8 @@ declare const getPaymentConfigStripeListResponseSchema: z.ZodObject<{
|
|
|
3341
3513
|
updatedAt: string;
|
|
3342
3514
|
configurationCompleted: boolean;
|
|
3343
3515
|
secretKey: string;
|
|
3344
|
-
webhookSecret
|
|
3345
|
-
webhookId
|
|
3516
|
+
webhookSecret: string | null;
|
|
3517
|
+
webhookId: string | null;
|
|
3346
3518
|
}[];
|
|
3347
3519
|
pagination: {
|
|
3348
3520
|
from: number;
|
|
@@ -3354,24 +3526,23 @@ declare const getPaymentConfigStripeListResponseSchema: z.ZodObject<{
|
|
|
3354
3526
|
};
|
|
3355
3527
|
}>;
|
|
3356
3528
|
type GetPaymentConfigStripeListResponse = z.infer<typeof getPaymentConfigStripeListResponseSchema>;
|
|
3357
|
-
declare
|
|
3358
|
-
declare class GetPaymentConfigStripeList extends AbstractApiRequest<void, GetPaymentConfigStripeListResponse, GetPaymentConfigStripeListQueryParams> {
|
|
3529
|
+
declare class GetPaymentConfigStripeList extends AbstractApiRequest<typeof getPaymentConfigStripeListInputSchema, typeof getPaymentConfigStripeListResponseSchema, GetPaymentConfigStripeListQueryParams> {
|
|
3359
3530
|
readonly method = "GET";
|
|
3360
3531
|
readonly contentType = "application/json";
|
|
3361
3532
|
readonly accept = "application/json";
|
|
3362
3533
|
readonly inputSchema: z.ZodUndefined;
|
|
3363
3534
|
readonly outputSchema: z.ZodObject<{
|
|
3364
|
-
data: z.ZodArray<z.ZodObject<
|
|
3535
|
+
data: z.ZodArray<z.ZodObject<{
|
|
3365
3536
|
id: z.ZodString;
|
|
3366
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
3367
3537
|
configurationCompleted: z.ZodBoolean;
|
|
3368
3538
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
3369
3539
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
3370
|
-
}
|
|
3371
|
-
method: z.
|
|
3540
|
+
} & {
|
|
3541
|
+
method: z.ZodLiteral<"stripe">;
|
|
3542
|
+
} & {
|
|
3372
3543
|
secretKey: z.ZodString;
|
|
3373
|
-
webhookSecret: z.
|
|
3374
|
-
webhookId: z.
|
|
3544
|
+
webhookSecret: z.ZodNullable<z.ZodString>;
|
|
3545
|
+
webhookId: z.ZodNullable<z.ZodString>;
|
|
3375
3546
|
}, "strip", z.ZodTypeAny, {
|
|
3376
3547
|
id: string;
|
|
3377
3548
|
method: "stripe";
|
|
@@ -3379,8 +3550,8 @@ declare class GetPaymentConfigStripeList extends AbstractApiRequest<void, GetPay
|
|
|
3379
3550
|
updatedAt: string;
|
|
3380
3551
|
configurationCompleted: boolean;
|
|
3381
3552
|
secretKey: string;
|
|
3382
|
-
webhookSecret
|
|
3383
|
-
webhookId
|
|
3553
|
+
webhookSecret: string | null;
|
|
3554
|
+
webhookId: string | null;
|
|
3384
3555
|
}, {
|
|
3385
3556
|
id: string;
|
|
3386
3557
|
method: "stripe";
|
|
@@ -3388,8 +3559,8 @@ declare class GetPaymentConfigStripeList extends AbstractApiRequest<void, GetPay
|
|
|
3388
3559
|
updatedAt: string;
|
|
3389
3560
|
configurationCompleted: boolean;
|
|
3390
3561
|
secretKey: string;
|
|
3391
|
-
webhookSecret
|
|
3392
|
-
webhookId
|
|
3562
|
+
webhookSecret: string | null;
|
|
3563
|
+
webhookId: string | null;
|
|
3393
3564
|
}>, "many">;
|
|
3394
3565
|
pagination: z.ZodObject<{
|
|
3395
3566
|
from: z.ZodNumber;
|
|
@@ -3421,8 +3592,8 @@ declare class GetPaymentConfigStripeList extends AbstractApiRequest<void, GetPay
|
|
|
3421
3592
|
updatedAt: string;
|
|
3422
3593
|
configurationCompleted: boolean;
|
|
3423
3594
|
secretKey: string;
|
|
3424
|
-
webhookSecret
|
|
3425
|
-
webhookId
|
|
3595
|
+
webhookSecret: string | null;
|
|
3596
|
+
webhookId: string | null;
|
|
3426
3597
|
}[];
|
|
3427
3598
|
pagination: {
|
|
3428
3599
|
from: number;
|
|
@@ -3440,8 +3611,8 @@ declare class GetPaymentConfigStripeList extends AbstractApiRequest<void, GetPay
|
|
|
3440
3611
|
updatedAt: string;
|
|
3441
3612
|
configurationCompleted: boolean;
|
|
3442
3613
|
secretKey: string;
|
|
3443
|
-
webhookSecret
|
|
3444
|
-
webhookId
|
|
3614
|
+
webhookSecret: string | null;
|
|
3615
|
+
webhookId: string | null;
|
|
3445
3616
|
}[];
|
|
3446
3617
|
pagination: {
|
|
3447
3618
|
from: number;
|
|
@@ -3511,43 +3682,43 @@ declare const updatePaymentConfigStripeInputSchema: z.ZodObject<{
|
|
|
3511
3682
|
}, {
|
|
3512
3683
|
secretKey?: string | undefined;
|
|
3513
3684
|
}>;
|
|
3514
|
-
type UpdatePaymentConfigStripeInput = z.
|
|
3515
|
-
declare const updatePaymentConfigStripeResponseSchema: z.ZodObject<
|
|
3685
|
+
type UpdatePaymentConfigStripeInput = z.input<typeof updatePaymentConfigStripeInputSchema>;
|
|
3686
|
+
declare const updatePaymentConfigStripeResponseSchema: z.ZodObject<{
|
|
3516
3687
|
id: z.ZodString;
|
|
3517
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
3518
3688
|
configurationCompleted: z.ZodBoolean;
|
|
3519
3689
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
3520
3690
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
3521
|
-
}
|
|
3522
|
-
method: z.
|
|
3691
|
+
} & {
|
|
3692
|
+
method: z.ZodLiteral<"stripe">;
|
|
3693
|
+
} & {
|
|
3523
3694
|
secretKey: z.ZodString;
|
|
3524
|
-
webhookSecret: z.
|
|
3525
|
-
webhookId: z.
|
|
3695
|
+
webhookSecret: z.ZodNullable<z.ZodString>;
|
|
3696
|
+
webhookId: z.ZodNullable<z.ZodString>;
|
|
3526
3697
|
} & {
|
|
3527
|
-
pointOfSale: z.
|
|
3698
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
3528
3699
|
}, "strip", z.ZodTypeAny, {
|
|
3529
3700
|
id: string;
|
|
3530
3701
|
method: "stripe";
|
|
3531
3702
|
createdAt: string;
|
|
3532
3703
|
updatedAt: string;
|
|
3704
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
3533
3705
|
configurationCompleted: boolean;
|
|
3534
|
-
pointOfSale: string;
|
|
3535
3706
|
secretKey: string;
|
|
3536
|
-
webhookSecret
|
|
3537
|
-
webhookId
|
|
3707
|
+
webhookSecret: string | null;
|
|
3708
|
+
webhookId: string | null;
|
|
3538
3709
|
}, {
|
|
3539
3710
|
id: string;
|
|
3540
3711
|
method: "stripe";
|
|
3541
3712
|
createdAt: string;
|
|
3542
3713
|
updatedAt: string;
|
|
3714
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
3543
3715
|
configurationCompleted: boolean;
|
|
3544
|
-
pointOfSale: string;
|
|
3545
3716
|
secretKey: string;
|
|
3546
|
-
webhookSecret
|
|
3547
|
-
webhookId
|
|
3717
|
+
webhookSecret: string | null;
|
|
3718
|
+
webhookId: string | null;
|
|
3548
3719
|
}>;
|
|
3549
|
-
type UpdatePaymentConfigStripeResponse =
|
|
3550
|
-
declare class UpdatePaymentConfigStripe extends AbstractApiRequest<
|
|
3720
|
+
type UpdatePaymentConfigStripeResponse = z.output<typeof updatePaymentConfigStripeResponseSchema>;
|
|
3721
|
+
declare class UpdatePaymentConfigStripe extends AbstractApiRequest<typeof updatePaymentConfigStripeInputSchema, typeof updatePaymentConfigStripeResponseSchema> {
|
|
3551
3722
|
readonly method = "PATCH";
|
|
3552
3723
|
readonly contentType = "application/merge-patch+json";
|
|
3553
3724
|
readonly accept = "application/json";
|
|
@@ -3558,39 +3729,39 @@ declare class UpdatePaymentConfigStripe extends AbstractApiRequest<UpdatePayment
|
|
|
3558
3729
|
}, {
|
|
3559
3730
|
secretKey?: string | undefined;
|
|
3560
3731
|
}>;
|
|
3561
|
-
readonly outputSchema: z.ZodObject<
|
|
3732
|
+
readonly outputSchema: z.ZodObject<{
|
|
3562
3733
|
id: z.ZodString;
|
|
3563
|
-
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
3564
3734
|
configurationCompleted: z.ZodBoolean;
|
|
3565
3735
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
3566
3736
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
3567
|
-
}
|
|
3568
|
-
method: z.
|
|
3737
|
+
} & {
|
|
3738
|
+
method: z.ZodLiteral<"stripe">;
|
|
3739
|
+
} & {
|
|
3569
3740
|
secretKey: z.ZodString;
|
|
3570
|
-
webhookSecret: z.
|
|
3571
|
-
webhookId: z.
|
|
3741
|
+
webhookSecret: z.ZodNullable<z.ZodString>;
|
|
3742
|
+
webhookId: z.ZodNullable<z.ZodString>;
|
|
3572
3743
|
} & {
|
|
3573
|
-
pointOfSale: z.
|
|
3744
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
3574
3745
|
}, "strip", z.ZodTypeAny, {
|
|
3575
3746
|
id: string;
|
|
3576
3747
|
method: "stripe";
|
|
3577
3748
|
createdAt: string;
|
|
3578
3749
|
updatedAt: string;
|
|
3750
|
+
pointOfSale: _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
3579
3751
|
configurationCompleted: boolean;
|
|
3580
|
-
pointOfSale: string;
|
|
3581
3752
|
secretKey: string;
|
|
3582
|
-
webhookSecret
|
|
3583
|
-
webhookId
|
|
3753
|
+
webhookSecret: string | null;
|
|
3754
|
+
webhookId: string | null;
|
|
3584
3755
|
}, {
|
|
3585
3756
|
id: string;
|
|
3586
3757
|
method: "stripe";
|
|
3587
3758
|
createdAt: string;
|
|
3588
3759
|
updatedAt: string;
|
|
3760
|
+
pointOfSale: string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">;
|
|
3589
3761
|
configurationCompleted: boolean;
|
|
3590
|
-
pointOfSale: string;
|
|
3591
3762
|
secretKey: string;
|
|
3592
|
-
webhookSecret
|
|
3593
|
-
webhookId
|
|
3763
|
+
webhookSecret: string | null;
|
|
3764
|
+
webhookId: string | null;
|
|
3594
3765
|
}>;
|
|
3595
3766
|
readonly querySchema: undefined;
|
|
3596
3767
|
readonly headersSchema: undefined;
|
|
@@ -3601,7 +3772,7 @@ declare class UpdatePaymentConfigStripe extends AbstractApiRequest<UpdatePayment
|
|
|
3601
3772
|
|
|
3602
3773
|
declare const deletePaymentInputSchema: z.ZodUndefined;
|
|
3603
3774
|
declare const deletePaymentResponseSchema: z.ZodUndefined;
|
|
3604
|
-
declare class DeletePayment extends AbstractApiRequest<
|
|
3775
|
+
declare class DeletePayment extends AbstractApiRequest<typeof deletePaymentInputSchema, typeof deletePaymentResponseSchema> {
|
|
3605
3776
|
readonly method = "DELETE";
|
|
3606
3777
|
readonly contentType = "application/json";
|
|
3607
3778
|
readonly accept = "application/json";
|
|
@@ -3615,7 +3786,11 @@ declare class DeletePayment extends AbstractApiRequest<void, void> {
|
|
|
3615
3786
|
}
|
|
3616
3787
|
|
|
3617
3788
|
declare const getPaymentDetailsInputSchema: z.ZodUndefined;
|
|
3618
|
-
|
|
3789
|
+
type GetPaymentDetailsInput = z.input<typeof getPaymentDetailsInputSchema>;
|
|
3790
|
+
declare const getPaymentDetailsResponseSchema: z.ZodDiscriminatedUnion<"method", [z.ZodObject<{
|
|
3791
|
+
method: z.ZodLiteral<"stripe">;
|
|
3792
|
+
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/stripe/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/stripe/:id">>;
|
|
3793
|
+
} & Omit<{
|
|
3619
3794
|
id: z.ZodString;
|
|
3620
3795
|
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
3621
3796
|
status: z.ZodEnum<["pending", "pending_verification", "paid", "canceled", "refunded", "failed"]>;
|
|
@@ -3626,12 +3801,10 @@ declare const getPaymentDetailsResponseSchema: z.ZodObject<{
|
|
|
3626
3801
|
validUntil: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
3627
3802
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
3628
3803
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
3629
|
-
}
|
|
3630
|
-
config: z.ZodEffects<z.ZodString, string, string>;
|
|
3631
|
-
}, "strip", z.ZodTypeAny, {
|
|
3804
|
+
}, "method">, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
3632
3805
|
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
3633
3806
|
id: string;
|
|
3634
|
-
method: "stripe"
|
|
3807
|
+
method: "stripe";
|
|
3635
3808
|
amount: string;
|
|
3636
3809
|
internalReference: string | null;
|
|
3637
3810
|
externalReference: string | null;
|
|
@@ -3639,11 +3812,11 @@ declare const getPaymentDetailsResponseSchema: z.ZodObject<{
|
|
|
3639
3812
|
validUntil: string | null;
|
|
3640
3813
|
createdAt: string;
|
|
3641
3814
|
updatedAt: string;
|
|
3642
|
-
config:
|
|
3815
|
+
config: _deliverart_sdk_js_global_types.IriObject<"/payment_configs/stripe/:id">;
|
|
3643
3816
|
}, {
|
|
3644
3817
|
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
3645
3818
|
id: string;
|
|
3646
|
-
method: "stripe"
|
|
3819
|
+
method: "stripe";
|
|
3647
3820
|
amount: string;
|
|
3648
3821
|
internalReference: string | null;
|
|
3649
3822
|
externalReference: string | null;
|
|
@@ -3651,15 +3824,208 @@ declare const getPaymentDetailsResponseSchema: z.ZodObject<{
|
|
|
3651
3824
|
validUntil: string | null;
|
|
3652
3825
|
createdAt: string;
|
|
3653
3826
|
updatedAt: string;
|
|
3654
|
-
config: string
|
|
3655
|
-
}
|
|
3656
|
-
|
|
3657
|
-
|
|
3827
|
+
config: string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/stripe/:id">;
|
|
3828
|
+
}>, z.ZodObject<{
|
|
3829
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
3830
|
+
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/bank_transfer/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/bank_transfer/:id">>;
|
|
3831
|
+
} & Omit<{
|
|
3832
|
+
id: z.ZodString;
|
|
3833
|
+
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
3834
|
+
status: z.ZodEnum<["pending", "pending_verification", "paid", "canceled", "refunded", "failed"]>;
|
|
3835
|
+
amount: z.ZodString;
|
|
3836
|
+
internalReference: z.ZodNullable<z.ZodString>;
|
|
3837
|
+
externalReference: z.ZodNullable<z.ZodString>;
|
|
3838
|
+
response: z.ZodNullable<z.ZodString>;
|
|
3839
|
+
validUntil: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
3840
|
+
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
3841
|
+
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
3842
|
+
}, "method">, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
3843
|
+
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
3844
|
+
id: string;
|
|
3845
|
+
method: "bank_transfer";
|
|
3846
|
+
amount: string;
|
|
3847
|
+
internalReference: string | null;
|
|
3848
|
+
externalReference: string | null;
|
|
3849
|
+
response: string | null;
|
|
3850
|
+
validUntil: string | null;
|
|
3851
|
+
createdAt: string;
|
|
3852
|
+
updatedAt: string;
|
|
3853
|
+
config: _deliverart_sdk_js_global_types.IriObject<"/payment_configs/bank_transfer/:id">;
|
|
3854
|
+
}, {
|
|
3855
|
+
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
3856
|
+
id: string;
|
|
3857
|
+
method: "bank_transfer";
|
|
3858
|
+
amount: string;
|
|
3859
|
+
internalReference: string | null;
|
|
3860
|
+
externalReference: string | null;
|
|
3861
|
+
response: string | null;
|
|
3862
|
+
validUntil: string | null;
|
|
3863
|
+
createdAt: string;
|
|
3864
|
+
updatedAt: string;
|
|
3865
|
+
config: string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/bank_transfer/:id">;
|
|
3866
|
+
}>, z.ZodObject<{
|
|
3867
|
+
method: z.ZodLiteral<"cash">;
|
|
3868
|
+
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/cash/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/cash/:id">>;
|
|
3869
|
+
} & Omit<{
|
|
3870
|
+
id: z.ZodString;
|
|
3871
|
+
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
3872
|
+
status: z.ZodEnum<["pending", "pending_verification", "paid", "canceled", "refunded", "failed"]>;
|
|
3873
|
+
amount: z.ZodString;
|
|
3874
|
+
internalReference: z.ZodNullable<z.ZodString>;
|
|
3875
|
+
externalReference: z.ZodNullable<z.ZodString>;
|
|
3876
|
+
response: z.ZodNullable<z.ZodString>;
|
|
3877
|
+
validUntil: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
3878
|
+
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
3879
|
+
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
3880
|
+
}, "method">, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
3881
|
+
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
3882
|
+
id: string;
|
|
3883
|
+
method: "cash";
|
|
3884
|
+
amount: string;
|
|
3885
|
+
internalReference: string | null;
|
|
3886
|
+
externalReference: string | null;
|
|
3887
|
+
response: string | null;
|
|
3888
|
+
validUntil: string | null;
|
|
3889
|
+
createdAt: string;
|
|
3890
|
+
updatedAt: string;
|
|
3891
|
+
config: _deliverart_sdk_js_global_types.IriObject<"/payment_configs/cash/:id">;
|
|
3892
|
+
}, {
|
|
3893
|
+
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
3894
|
+
id: string;
|
|
3895
|
+
method: "cash";
|
|
3896
|
+
amount: string;
|
|
3897
|
+
internalReference: string | null;
|
|
3898
|
+
externalReference: string | null;
|
|
3899
|
+
response: string | null;
|
|
3900
|
+
validUntil: string | null;
|
|
3901
|
+
createdAt: string;
|
|
3902
|
+
updatedAt: string;
|
|
3903
|
+
config: string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/cash/:id">;
|
|
3904
|
+
}>, z.ZodObject<{
|
|
3905
|
+
method: z.ZodLiteral<"credit_card">;
|
|
3906
|
+
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/credit_card/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/credit_card/:id">>;
|
|
3907
|
+
} & Omit<{
|
|
3908
|
+
id: z.ZodString;
|
|
3909
|
+
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
3910
|
+
status: z.ZodEnum<["pending", "pending_verification", "paid", "canceled", "refunded", "failed"]>;
|
|
3911
|
+
amount: z.ZodString;
|
|
3912
|
+
internalReference: z.ZodNullable<z.ZodString>;
|
|
3913
|
+
externalReference: z.ZodNullable<z.ZodString>;
|
|
3914
|
+
response: z.ZodNullable<z.ZodString>;
|
|
3915
|
+
validUntil: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
3916
|
+
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
3917
|
+
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
3918
|
+
}, "method">, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
3919
|
+
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
3920
|
+
id: string;
|
|
3921
|
+
method: "credit_card";
|
|
3922
|
+
amount: string;
|
|
3923
|
+
internalReference: string | null;
|
|
3924
|
+
externalReference: string | null;
|
|
3925
|
+
response: string | null;
|
|
3926
|
+
validUntil: string | null;
|
|
3927
|
+
createdAt: string;
|
|
3928
|
+
updatedAt: string;
|
|
3929
|
+
config: _deliverart_sdk_js_global_types.IriObject<"/payment_configs/credit_card/:id">;
|
|
3930
|
+
}, {
|
|
3931
|
+
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
3932
|
+
id: string;
|
|
3933
|
+
method: "credit_card";
|
|
3934
|
+
amount: string;
|
|
3935
|
+
internalReference: string | null;
|
|
3936
|
+
externalReference: string | null;
|
|
3937
|
+
response: string | null;
|
|
3938
|
+
validUntil: string | null;
|
|
3939
|
+
createdAt: string;
|
|
3940
|
+
updatedAt: string;
|
|
3941
|
+
config: string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/credit_card/:id">;
|
|
3942
|
+
}>]>;
|
|
3943
|
+
type GetPaymentDetailsResponse = z.infer<typeof getPaymentDetailsResponseSchema>;
|
|
3944
|
+
declare class GetPaymentDetails extends AbstractApiRequest<typeof getPaymentDetailsInputSchema, typeof getPaymentDetailsResponseSchema> {
|
|
3658
3945
|
readonly method = "GET";
|
|
3659
3946
|
readonly contentType = "application/json";
|
|
3660
3947
|
readonly accept = "application/json";
|
|
3661
3948
|
readonly inputSchema: z.ZodUndefined;
|
|
3662
|
-
readonly outputSchema: z.ZodObject<{
|
|
3949
|
+
readonly outputSchema: z.ZodDiscriminatedUnion<"method", [z.ZodObject<{
|
|
3950
|
+
method: z.ZodLiteral<"stripe">;
|
|
3951
|
+
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/stripe/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/stripe/:id">>;
|
|
3952
|
+
} & Omit<{
|
|
3953
|
+
id: z.ZodString;
|
|
3954
|
+
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
3955
|
+
status: z.ZodEnum<["pending", "pending_verification", "paid", "canceled", "refunded", "failed"]>;
|
|
3956
|
+
amount: z.ZodString;
|
|
3957
|
+
internalReference: z.ZodNullable<z.ZodString>;
|
|
3958
|
+
externalReference: z.ZodNullable<z.ZodString>;
|
|
3959
|
+
response: z.ZodNullable<z.ZodString>;
|
|
3960
|
+
validUntil: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
3961
|
+
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
3962
|
+
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
3963
|
+
}, "method">, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
3964
|
+
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
3965
|
+
id: string;
|
|
3966
|
+
method: "stripe";
|
|
3967
|
+
amount: string;
|
|
3968
|
+
internalReference: string | null;
|
|
3969
|
+
externalReference: string | null;
|
|
3970
|
+
response: string | null;
|
|
3971
|
+
validUntil: string | null;
|
|
3972
|
+
createdAt: string;
|
|
3973
|
+
updatedAt: string;
|
|
3974
|
+
config: _deliverart_sdk_js_global_types.IriObject<"/payment_configs/stripe/:id">;
|
|
3975
|
+
}, {
|
|
3976
|
+
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
3977
|
+
id: string;
|
|
3978
|
+
method: "stripe";
|
|
3979
|
+
amount: string;
|
|
3980
|
+
internalReference: string | null;
|
|
3981
|
+
externalReference: string | null;
|
|
3982
|
+
response: string | null;
|
|
3983
|
+
validUntil: string | null;
|
|
3984
|
+
createdAt: string;
|
|
3985
|
+
updatedAt: string;
|
|
3986
|
+
config: string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/stripe/:id">;
|
|
3987
|
+
}>, z.ZodObject<{
|
|
3988
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
3989
|
+
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/bank_transfer/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/bank_transfer/:id">>;
|
|
3990
|
+
} & Omit<{
|
|
3991
|
+
id: z.ZodString;
|
|
3992
|
+
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
3993
|
+
status: z.ZodEnum<["pending", "pending_verification", "paid", "canceled", "refunded", "failed"]>;
|
|
3994
|
+
amount: z.ZodString;
|
|
3995
|
+
internalReference: z.ZodNullable<z.ZodString>;
|
|
3996
|
+
externalReference: z.ZodNullable<z.ZodString>;
|
|
3997
|
+
response: z.ZodNullable<z.ZodString>;
|
|
3998
|
+
validUntil: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
3999
|
+
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
4000
|
+
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
4001
|
+
}, "method">, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
4002
|
+
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
4003
|
+
id: string;
|
|
4004
|
+
method: "bank_transfer";
|
|
4005
|
+
amount: string;
|
|
4006
|
+
internalReference: string | null;
|
|
4007
|
+
externalReference: string | null;
|
|
4008
|
+
response: string | null;
|
|
4009
|
+
validUntil: string | null;
|
|
4010
|
+
createdAt: string;
|
|
4011
|
+
updatedAt: string;
|
|
4012
|
+
config: _deliverart_sdk_js_global_types.IriObject<"/payment_configs/bank_transfer/:id">;
|
|
4013
|
+
}, {
|
|
4014
|
+
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
4015
|
+
id: string;
|
|
4016
|
+
method: "bank_transfer";
|
|
4017
|
+
amount: string;
|
|
4018
|
+
internalReference: string | null;
|
|
4019
|
+
externalReference: string | null;
|
|
4020
|
+
response: string | null;
|
|
4021
|
+
validUntil: string | null;
|
|
4022
|
+
createdAt: string;
|
|
4023
|
+
updatedAt: string;
|
|
4024
|
+
config: string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/bank_transfer/:id">;
|
|
4025
|
+
}>, z.ZodObject<{
|
|
4026
|
+
method: z.ZodLiteral<"cash">;
|
|
4027
|
+
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/cash/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/cash/:id">>;
|
|
4028
|
+
} & Omit<{
|
|
3663
4029
|
id: z.ZodString;
|
|
3664
4030
|
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
3665
4031
|
status: z.ZodEnum<["pending", "pending_verification", "paid", "canceled", "refunded", "failed"]>;
|
|
@@ -3670,12 +4036,10 @@ declare class GetPaymentDetails extends AbstractApiRequest<void, GetPaymentDetai
|
|
|
3670
4036
|
validUntil: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
3671
4037
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
3672
4038
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
3673
|
-
}
|
|
3674
|
-
config: z.ZodEffects<z.ZodString, string, string>;
|
|
3675
|
-
}, "strip", z.ZodTypeAny, {
|
|
4039
|
+
}, "method">, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
3676
4040
|
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
3677
4041
|
id: string;
|
|
3678
|
-
method: "
|
|
4042
|
+
method: "cash";
|
|
3679
4043
|
amount: string;
|
|
3680
4044
|
internalReference: string | null;
|
|
3681
4045
|
externalReference: string | null;
|
|
@@ -3683,11 +4047,11 @@ declare class GetPaymentDetails extends AbstractApiRequest<void, GetPaymentDetai
|
|
|
3683
4047
|
validUntil: string | null;
|
|
3684
4048
|
createdAt: string;
|
|
3685
4049
|
updatedAt: string;
|
|
3686
|
-
config:
|
|
4050
|
+
config: _deliverart_sdk_js_global_types.IriObject<"/payment_configs/cash/:id">;
|
|
3687
4051
|
}, {
|
|
3688
4052
|
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
3689
4053
|
id: string;
|
|
3690
|
-
method: "
|
|
4054
|
+
method: "cash";
|
|
3691
4055
|
amount: string;
|
|
3692
4056
|
internalReference: string | null;
|
|
3693
4057
|
externalReference: string | null;
|
|
@@ -3695,8 +4059,46 @@ declare class GetPaymentDetails extends AbstractApiRequest<void, GetPaymentDetai
|
|
|
3695
4059
|
validUntil: string | null;
|
|
3696
4060
|
createdAt: string;
|
|
3697
4061
|
updatedAt: string;
|
|
3698
|
-
config: string
|
|
3699
|
-
}
|
|
4062
|
+
config: string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/cash/:id">;
|
|
4063
|
+
}>, z.ZodObject<{
|
|
4064
|
+
method: z.ZodLiteral<"credit_card">;
|
|
4065
|
+
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/credit_card/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/credit_card/:id">>;
|
|
4066
|
+
} & Omit<{
|
|
4067
|
+
id: z.ZodString;
|
|
4068
|
+
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
4069
|
+
status: z.ZodEnum<["pending", "pending_verification", "paid", "canceled", "refunded", "failed"]>;
|
|
4070
|
+
amount: z.ZodString;
|
|
4071
|
+
internalReference: z.ZodNullable<z.ZodString>;
|
|
4072
|
+
externalReference: z.ZodNullable<z.ZodString>;
|
|
4073
|
+
response: z.ZodNullable<z.ZodString>;
|
|
4074
|
+
validUntil: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
4075
|
+
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
4076
|
+
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
4077
|
+
}, "method">, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
4078
|
+
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
4079
|
+
id: string;
|
|
4080
|
+
method: "credit_card";
|
|
4081
|
+
amount: string;
|
|
4082
|
+
internalReference: string | null;
|
|
4083
|
+
externalReference: string | null;
|
|
4084
|
+
response: string | null;
|
|
4085
|
+
validUntil: string | null;
|
|
4086
|
+
createdAt: string;
|
|
4087
|
+
updatedAt: string;
|
|
4088
|
+
config: _deliverart_sdk_js_global_types.IriObject<"/payment_configs/credit_card/:id">;
|
|
4089
|
+
}, {
|
|
4090
|
+
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
4091
|
+
id: string;
|
|
4092
|
+
method: "credit_card";
|
|
4093
|
+
amount: string;
|
|
4094
|
+
internalReference: string | null;
|
|
4095
|
+
externalReference: string | null;
|
|
4096
|
+
response: string | null;
|
|
4097
|
+
validUntil: string | null;
|
|
4098
|
+
createdAt: string;
|
|
4099
|
+
updatedAt: string;
|
|
4100
|
+
config: string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/credit_card/:id">;
|
|
4101
|
+
}>]>;
|
|
3700
4102
|
readonly querySchema: undefined;
|
|
3701
4103
|
readonly headersSchema: undefined;
|
|
3702
4104
|
private readonly paymentId;
|
|
@@ -3705,6 +4107,8 @@ declare class GetPaymentDetails extends AbstractApiRequest<void, GetPaymentDetai
|
|
|
3705
4107
|
}
|
|
3706
4108
|
|
|
3707
4109
|
type GetPaymentsQueryParams = PaymentQueryParams;
|
|
4110
|
+
declare const getPaymentsInputSchema: z.ZodUndefined;
|
|
4111
|
+
type GetPaymentsInput = z.input<typeof getPaymentsInputSchema>;
|
|
3708
4112
|
declare const getPaymentsResponseSchema: z.ZodObject<{
|
|
3709
4113
|
data: z.ZodArray<z.ZodObject<{
|
|
3710
4114
|
id: z.ZodString;
|
|
@@ -3806,8 +4210,7 @@ declare const getPaymentsResponseSchema: z.ZodObject<{
|
|
|
3806
4210
|
};
|
|
3807
4211
|
}>;
|
|
3808
4212
|
type GetPaymentsResponse = z.infer<typeof getPaymentsResponseSchema>;
|
|
3809
|
-
declare
|
|
3810
|
-
declare class GetPayments extends AbstractApiRequest<void, GetPaymentsResponse, GetPaymentsQueryParams> {
|
|
4213
|
+
declare class GetPayments extends AbstractApiRequest<typeof getPaymentsInputSchema, typeof getPaymentsResponseSchema, GetPaymentsQueryParams> {
|
|
3811
4214
|
readonly method = "GET";
|
|
3812
4215
|
readonly contentType = "application/json";
|
|
3813
4216
|
readonly accept = "application/json";
|
|
@@ -3992,6 +4395,8 @@ declare class GetPayments extends AbstractApiRequest<void, GetPaymentsResponse,
|
|
|
3992
4395
|
}
|
|
3993
4396
|
|
|
3994
4397
|
type GetPaymentsForPaymentConfigQueryParams = PaymentQueryParams;
|
|
4398
|
+
declare const getPaymentsForPaymentConfigInputSchema: z.ZodUndefined;
|
|
4399
|
+
type GetPaymentsForPaymentConfigInput = z.input<typeof getPaymentsForPaymentConfigInputSchema>;
|
|
3995
4400
|
declare const getPaymentsForPaymentConfigResponseSchema: z.ZodObject<{
|
|
3996
4401
|
data: z.ZodArray<z.ZodObject<{
|
|
3997
4402
|
id: z.ZodString;
|
|
@@ -4093,8 +4498,7 @@ declare const getPaymentsForPaymentConfigResponseSchema: z.ZodObject<{
|
|
|
4093
4498
|
};
|
|
4094
4499
|
}>;
|
|
4095
4500
|
type GetPaymentsForPaymentConfigResponse = z.infer<typeof getPaymentsForPaymentConfigResponseSchema>;
|
|
4096
|
-
declare
|
|
4097
|
-
declare class GetPaymentsForPaymentConfig extends AbstractApiRequest<void, GetPaymentsForPaymentConfigResponse, GetPaymentsForPaymentConfigQueryParams> {
|
|
4501
|
+
declare class GetPaymentsForPaymentConfig extends AbstractApiRequest<typeof getPaymentsForPaymentConfigInputSchema, typeof getPaymentsForPaymentConfigResponseSchema, GetPaymentsForPaymentConfigQueryParams> {
|
|
4098
4502
|
readonly method = "GET";
|
|
4099
4503
|
readonly contentType = "application/json";
|
|
4100
4504
|
readonly accept = "application/json";
|
|
@@ -4289,8 +4693,11 @@ declare const updatePaymentInputSchema: z.ZodObject<{
|
|
|
4289
4693
|
status?: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed" | undefined;
|
|
4290
4694
|
response?: string | null | undefined;
|
|
4291
4695
|
}>;
|
|
4292
|
-
type UpdatePaymentInput = z.
|
|
4293
|
-
declare const updatePaymentResponseSchema: z.ZodObject<{
|
|
4696
|
+
type UpdatePaymentInput = z.input<typeof updatePaymentInputSchema>;
|
|
4697
|
+
declare const updatePaymentResponseSchema: z.ZodDiscriminatedUnion<"method", [z.ZodObject<{
|
|
4698
|
+
method: z.ZodLiteral<"stripe">;
|
|
4699
|
+
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/stripe/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/stripe/:id">>;
|
|
4700
|
+
} & Omit<{
|
|
4294
4701
|
id: z.ZodString;
|
|
4295
4702
|
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
4296
4703
|
status: z.ZodEnum<["pending", "pending_verification", "paid", "canceled", "refunded", "failed"]>;
|
|
@@ -4301,12 +4708,10 @@ declare const updatePaymentResponseSchema: z.ZodObject<{
|
|
|
4301
4708
|
validUntil: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
4302
4709
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
4303
4710
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
4304
|
-
}
|
|
4305
|
-
config: z.ZodEffects<z.ZodString, string, string>;
|
|
4306
|
-
}, "strip", z.ZodTypeAny, {
|
|
4711
|
+
}, "method">, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
4307
4712
|
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
4308
4713
|
id: string;
|
|
4309
|
-
method: "stripe"
|
|
4714
|
+
method: "stripe";
|
|
4310
4715
|
amount: string;
|
|
4311
4716
|
internalReference: string | null;
|
|
4312
4717
|
externalReference: string | null;
|
|
@@ -4314,11 +4719,11 @@ declare const updatePaymentResponseSchema: z.ZodObject<{
|
|
|
4314
4719
|
validUntil: string | null;
|
|
4315
4720
|
createdAt: string;
|
|
4316
4721
|
updatedAt: string;
|
|
4317
|
-
config:
|
|
4722
|
+
config: _deliverart_sdk_js_global_types.IriObject<"/payment_configs/stripe/:id">;
|
|
4318
4723
|
}, {
|
|
4319
4724
|
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
4320
4725
|
id: string;
|
|
4321
|
-
method: "stripe"
|
|
4726
|
+
method: "stripe";
|
|
4322
4727
|
amount: string;
|
|
4323
4728
|
internalReference: string | null;
|
|
4324
4729
|
externalReference: string | null;
|
|
@@ -4326,10 +4731,124 @@ declare const updatePaymentResponseSchema: z.ZodObject<{
|
|
|
4326
4731
|
validUntil: string | null;
|
|
4327
4732
|
createdAt: string;
|
|
4328
4733
|
updatedAt: string;
|
|
4329
|
-
config: string
|
|
4330
|
-
}
|
|
4331
|
-
|
|
4332
|
-
|
|
4734
|
+
config: string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/stripe/:id">;
|
|
4735
|
+
}>, z.ZodObject<{
|
|
4736
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
4737
|
+
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/bank_transfer/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/bank_transfer/:id">>;
|
|
4738
|
+
} & Omit<{
|
|
4739
|
+
id: z.ZodString;
|
|
4740
|
+
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
4741
|
+
status: z.ZodEnum<["pending", "pending_verification", "paid", "canceled", "refunded", "failed"]>;
|
|
4742
|
+
amount: z.ZodString;
|
|
4743
|
+
internalReference: z.ZodNullable<z.ZodString>;
|
|
4744
|
+
externalReference: z.ZodNullable<z.ZodString>;
|
|
4745
|
+
response: z.ZodNullable<z.ZodString>;
|
|
4746
|
+
validUntil: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
4747
|
+
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
4748
|
+
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
4749
|
+
}, "method">, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
4750
|
+
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
4751
|
+
id: string;
|
|
4752
|
+
method: "bank_transfer";
|
|
4753
|
+
amount: string;
|
|
4754
|
+
internalReference: string | null;
|
|
4755
|
+
externalReference: string | null;
|
|
4756
|
+
response: string | null;
|
|
4757
|
+
validUntil: string | null;
|
|
4758
|
+
createdAt: string;
|
|
4759
|
+
updatedAt: string;
|
|
4760
|
+
config: _deliverart_sdk_js_global_types.IriObject<"/payment_configs/bank_transfer/:id">;
|
|
4761
|
+
}, {
|
|
4762
|
+
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
4763
|
+
id: string;
|
|
4764
|
+
method: "bank_transfer";
|
|
4765
|
+
amount: string;
|
|
4766
|
+
internalReference: string | null;
|
|
4767
|
+
externalReference: string | null;
|
|
4768
|
+
response: string | null;
|
|
4769
|
+
validUntil: string | null;
|
|
4770
|
+
createdAt: string;
|
|
4771
|
+
updatedAt: string;
|
|
4772
|
+
config: string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/bank_transfer/:id">;
|
|
4773
|
+
}>, z.ZodObject<{
|
|
4774
|
+
method: z.ZodLiteral<"cash">;
|
|
4775
|
+
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/cash/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/cash/:id">>;
|
|
4776
|
+
} & Omit<{
|
|
4777
|
+
id: z.ZodString;
|
|
4778
|
+
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
4779
|
+
status: z.ZodEnum<["pending", "pending_verification", "paid", "canceled", "refunded", "failed"]>;
|
|
4780
|
+
amount: z.ZodString;
|
|
4781
|
+
internalReference: z.ZodNullable<z.ZodString>;
|
|
4782
|
+
externalReference: z.ZodNullable<z.ZodString>;
|
|
4783
|
+
response: z.ZodNullable<z.ZodString>;
|
|
4784
|
+
validUntil: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
4785
|
+
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
4786
|
+
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
4787
|
+
}, "method">, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
4788
|
+
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
4789
|
+
id: string;
|
|
4790
|
+
method: "cash";
|
|
4791
|
+
amount: string;
|
|
4792
|
+
internalReference: string | null;
|
|
4793
|
+
externalReference: string | null;
|
|
4794
|
+
response: string | null;
|
|
4795
|
+
validUntil: string | null;
|
|
4796
|
+
createdAt: string;
|
|
4797
|
+
updatedAt: string;
|
|
4798
|
+
config: _deliverart_sdk_js_global_types.IriObject<"/payment_configs/cash/:id">;
|
|
4799
|
+
}, {
|
|
4800
|
+
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
4801
|
+
id: string;
|
|
4802
|
+
method: "cash";
|
|
4803
|
+
amount: string;
|
|
4804
|
+
internalReference: string | null;
|
|
4805
|
+
externalReference: string | null;
|
|
4806
|
+
response: string | null;
|
|
4807
|
+
validUntil: string | null;
|
|
4808
|
+
createdAt: string;
|
|
4809
|
+
updatedAt: string;
|
|
4810
|
+
config: string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/cash/:id">;
|
|
4811
|
+
}>, z.ZodObject<{
|
|
4812
|
+
method: z.ZodLiteral<"credit_card">;
|
|
4813
|
+
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/credit_card/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/credit_card/:id">>;
|
|
4814
|
+
} & Omit<{
|
|
4815
|
+
id: z.ZodString;
|
|
4816
|
+
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
4817
|
+
status: z.ZodEnum<["pending", "pending_verification", "paid", "canceled", "refunded", "failed"]>;
|
|
4818
|
+
amount: z.ZodString;
|
|
4819
|
+
internalReference: z.ZodNullable<z.ZodString>;
|
|
4820
|
+
externalReference: z.ZodNullable<z.ZodString>;
|
|
4821
|
+
response: z.ZodNullable<z.ZodString>;
|
|
4822
|
+
validUntil: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
4823
|
+
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
4824
|
+
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
4825
|
+
}, "method">, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
4826
|
+
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
4827
|
+
id: string;
|
|
4828
|
+
method: "credit_card";
|
|
4829
|
+
amount: string;
|
|
4830
|
+
internalReference: string | null;
|
|
4831
|
+
externalReference: string | null;
|
|
4832
|
+
response: string | null;
|
|
4833
|
+
validUntil: string | null;
|
|
4834
|
+
createdAt: string;
|
|
4835
|
+
updatedAt: string;
|
|
4836
|
+
config: _deliverart_sdk_js_global_types.IriObject<"/payment_configs/credit_card/:id">;
|
|
4837
|
+
}, {
|
|
4838
|
+
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
4839
|
+
id: string;
|
|
4840
|
+
method: "credit_card";
|
|
4841
|
+
amount: string;
|
|
4842
|
+
internalReference: string | null;
|
|
4843
|
+
externalReference: string | null;
|
|
4844
|
+
response: string | null;
|
|
4845
|
+
validUntil: string | null;
|
|
4846
|
+
createdAt: string;
|
|
4847
|
+
updatedAt: string;
|
|
4848
|
+
config: string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/credit_card/:id">;
|
|
4849
|
+
}>]>;
|
|
4850
|
+
type UpdatePaymentResponse = z.infer<typeof updatePaymentResponseSchema>;
|
|
4851
|
+
declare class UpdatePayment extends AbstractApiRequest<typeof updatePaymentInputSchema, typeof updatePaymentResponseSchema> {
|
|
4333
4852
|
readonly method = "PATCH";
|
|
4334
4853
|
readonly contentType = "application/merge-patch+json";
|
|
4335
4854
|
readonly accept = "application/json";
|
|
@@ -4343,7 +4862,10 @@ declare class UpdatePayment extends AbstractApiRequest<UpdatePaymentInput, Updat
|
|
|
4343
4862
|
status?: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed" | undefined;
|
|
4344
4863
|
response?: string | null | undefined;
|
|
4345
4864
|
}>;
|
|
4346
|
-
readonly outputSchema: z.ZodObject<{
|
|
4865
|
+
readonly outputSchema: z.ZodDiscriminatedUnion<"method", [z.ZodObject<{
|
|
4866
|
+
method: z.ZodLiteral<"stripe">;
|
|
4867
|
+
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/stripe/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/stripe/:id">>;
|
|
4868
|
+
} & Omit<{
|
|
4347
4869
|
id: z.ZodString;
|
|
4348
4870
|
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
4349
4871
|
status: z.ZodEnum<["pending", "pending_verification", "paid", "canceled", "refunded", "failed"]>;
|
|
@@ -4354,12 +4876,10 @@ declare class UpdatePayment extends AbstractApiRequest<UpdatePaymentInput, Updat
|
|
|
4354
4876
|
validUntil: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
4355
4877
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
4356
4878
|
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
4357
|
-
}
|
|
4358
|
-
config: z.ZodEffects<z.ZodString, string, string>;
|
|
4359
|
-
}, "strip", z.ZodTypeAny, {
|
|
4879
|
+
}, "method">, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
4360
4880
|
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
4361
4881
|
id: string;
|
|
4362
|
-
method: "stripe"
|
|
4882
|
+
method: "stripe";
|
|
4363
4883
|
amount: string;
|
|
4364
4884
|
internalReference: string | null;
|
|
4365
4885
|
externalReference: string | null;
|
|
@@ -4367,11 +4887,11 @@ declare class UpdatePayment extends AbstractApiRequest<UpdatePaymentInput, Updat
|
|
|
4367
4887
|
validUntil: string | null;
|
|
4368
4888
|
createdAt: string;
|
|
4369
4889
|
updatedAt: string;
|
|
4370
|
-
config:
|
|
4890
|
+
config: _deliverart_sdk_js_global_types.IriObject<"/payment_configs/stripe/:id">;
|
|
4371
4891
|
}, {
|
|
4372
4892
|
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
4373
4893
|
id: string;
|
|
4374
|
-
method: "stripe"
|
|
4894
|
+
method: "stripe";
|
|
4375
4895
|
amount: string;
|
|
4376
4896
|
internalReference: string | null;
|
|
4377
4897
|
externalReference: string | null;
|
|
@@ -4379,8 +4899,122 @@ declare class UpdatePayment extends AbstractApiRequest<UpdatePaymentInput, Updat
|
|
|
4379
4899
|
validUntil: string | null;
|
|
4380
4900
|
createdAt: string;
|
|
4381
4901
|
updatedAt: string;
|
|
4382
|
-
config: string
|
|
4383
|
-
}
|
|
4902
|
+
config: string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/stripe/:id">;
|
|
4903
|
+
}>, z.ZodObject<{
|
|
4904
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
4905
|
+
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/bank_transfer/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/bank_transfer/:id">>;
|
|
4906
|
+
} & Omit<{
|
|
4907
|
+
id: z.ZodString;
|
|
4908
|
+
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
4909
|
+
status: z.ZodEnum<["pending", "pending_verification", "paid", "canceled", "refunded", "failed"]>;
|
|
4910
|
+
amount: z.ZodString;
|
|
4911
|
+
internalReference: z.ZodNullable<z.ZodString>;
|
|
4912
|
+
externalReference: z.ZodNullable<z.ZodString>;
|
|
4913
|
+
response: z.ZodNullable<z.ZodString>;
|
|
4914
|
+
validUntil: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
4915
|
+
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
4916
|
+
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
4917
|
+
}, "method">, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
4918
|
+
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
4919
|
+
id: string;
|
|
4920
|
+
method: "bank_transfer";
|
|
4921
|
+
amount: string;
|
|
4922
|
+
internalReference: string | null;
|
|
4923
|
+
externalReference: string | null;
|
|
4924
|
+
response: string | null;
|
|
4925
|
+
validUntil: string | null;
|
|
4926
|
+
createdAt: string;
|
|
4927
|
+
updatedAt: string;
|
|
4928
|
+
config: _deliverart_sdk_js_global_types.IriObject<"/payment_configs/bank_transfer/:id">;
|
|
4929
|
+
}, {
|
|
4930
|
+
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
4931
|
+
id: string;
|
|
4932
|
+
method: "bank_transfer";
|
|
4933
|
+
amount: string;
|
|
4934
|
+
internalReference: string | null;
|
|
4935
|
+
externalReference: string | null;
|
|
4936
|
+
response: string | null;
|
|
4937
|
+
validUntil: string | null;
|
|
4938
|
+
createdAt: string;
|
|
4939
|
+
updatedAt: string;
|
|
4940
|
+
config: string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/bank_transfer/:id">;
|
|
4941
|
+
}>, z.ZodObject<{
|
|
4942
|
+
method: z.ZodLiteral<"cash">;
|
|
4943
|
+
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/cash/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/cash/:id">>;
|
|
4944
|
+
} & Omit<{
|
|
4945
|
+
id: z.ZodString;
|
|
4946
|
+
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
4947
|
+
status: z.ZodEnum<["pending", "pending_verification", "paid", "canceled", "refunded", "failed"]>;
|
|
4948
|
+
amount: z.ZodString;
|
|
4949
|
+
internalReference: z.ZodNullable<z.ZodString>;
|
|
4950
|
+
externalReference: z.ZodNullable<z.ZodString>;
|
|
4951
|
+
response: z.ZodNullable<z.ZodString>;
|
|
4952
|
+
validUntil: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
4953
|
+
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
4954
|
+
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
4955
|
+
}, "method">, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
4956
|
+
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
4957
|
+
id: string;
|
|
4958
|
+
method: "cash";
|
|
4959
|
+
amount: string;
|
|
4960
|
+
internalReference: string | null;
|
|
4961
|
+
externalReference: string | null;
|
|
4962
|
+
response: string | null;
|
|
4963
|
+
validUntil: string | null;
|
|
4964
|
+
createdAt: string;
|
|
4965
|
+
updatedAt: string;
|
|
4966
|
+
config: _deliverart_sdk_js_global_types.IriObject<"/payment_configs/cash/:id">;
|
|
4967
|
+
}, {
|
|
4968
|
+
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
4969
|
+
id: string;
|
|
4970
|
+
method: "cash";
|
|
4971
|
+
amount: string;
|
|
4972
|
+
internalReference: string | null;
|
|
4973
|
+
externalReference: string | null;
|
|
4974
|
+
response: string | null;
|
|
4975
|
+
validUntil: string | null;
|
|
4976
|
+
createdAt: string;
|
|
4977
|
+
updatedAt: string;
|
|
4978
|
+
config: string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/cash/:id">;
|
|
4979
|
+
}>, z.ZodObject<{
|
|
4980
|
+
method: z.ZodLiteral<"credit_card">;
|
|
4981
|
+
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/credit_card/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/credit_card/:id">>;
|
|
4982
|
+
} & Omit<{
|
|
4983
|
+
id: z.ZodString;
|
|
4984
|
+
method: z.ZodEnum<["stripe", "bank_transfer", "cash", "credit_card"]>;
|
|
4985
|
+
status: z.ZodEnum<["pending", "pending_verification", "paid", "canceled", "refunded", "failed"]>;
|
|
4986
|
+
amount: z.ZodString;
|
|
4987
|
+
internalReference: z.ZodNullable<z.ZodString>;
|
|
4988
|
+
externalReference: z.ZodNullable<z.ZodString>;
|
|
4989
|
+
response: z.ZodNullable<z.ZodString>;
|
|
4990
|
+
validUntil: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
4991
|
+
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
4992
|
+
updatedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
4993
|
+
}, "method">, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
4994
|
+
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
4995
|
+
id: string;
|
|
4996
|
+
method: "credit_card";
|
|
4997
|
+
amount: string;
|
|
4998
|
+
internalReference: string | null;
|
|
4999
|
+
externalReference: string | null;
|
|
5000
|
+
response: string | null;
|
|
5001
|
+
validUntil: string | null;
|
|
5002
|
+
createdAt: string;
|
|
5003
|
+
updatedAt: string;
|
|
5004
|
+
config: _deliverart_sdk_js_global_types.IriObject<"/payment_configs/credit_card/:id">;
|
|
5005
|
+
}, {
|
|
5006
|
+
status: "pending" | "pending_verification" | "paid" | "canceled" | "refunded" | "failed";
|
|
5007
|
+
id: string;
|
|
5008
|
+
method: "credit_card";
|
|
5009
|
+
amount: string;
|
|
5010
|
+
internalReference: string | null;
|
|
5011
|
+
externalReference: string | null;
|
|
5012
|
+
response: string | null;
|
|
5013
|
+
validUntil: string | null;
|
|
5014
|
+
createdAt: string;
|
|
5015
|
+
updatedAt: string;
|
|
5016
|
+
config: string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/credit_card/:id">;
|
|
5017
|
+
}>]>;
|
|
4384
5018
|
readonly querySchema: undefined;
|
|
4385
5019
|
readonly headersSchema: undefined;
|
|
4386
5020
|
private readonly paymentId;
|
|
@@ -4394,29 +5028,29 @@ type PaymentMethod = z.infer<typeof paymentMethodSchema>;
|
|
|
4394
5028
|
declare const paymentStatuses: readonly ["pending", "pending_verification", "paid", "canceled", "refunded", "failed"];
|
|
4395
5029
|
declare const paymentStatusSchema: z.ZodEnum<["pending", "pending_verification", "paid", "canceled", "refunded", "failed"]>;
|
|
4396
5030
|
type PaymentStatus = z.infer<typeof paymentStatusSchema>;
|
|
4397
|
-
declare const
|
|
4398
|
-
type
|
|
4399
|
-
declare const
|
|
4400
|
-
type
|
|
4401
|
-
declare const
|
|
4402
|
-
type
|
|
4403
|
-
declare const
|
|
4404
|
-
type
|
|
4405
|
-
declare const
|
|
4406
|
-
type
|
|
4407
|
-
declare const
|
|
4408
|
-
type
|
|
4409
|
-
declare const
|
|
4410
|
-
type
|
|
4411
|
-
declare const
|
|
4412
|
-
type
|
|
4413
|
-
declare const
|
|
4414
|
-
type
|
|
4415
|
-
declare const
|
|
4416
|
-
type
|
|
4417
|
-
declare const
|
|
4418
|
-
type
|
|
4419
|
-
declare const
|
|
4420
|
-
type
|
|
5031
|
+
declare const paymentIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/payments/:id">>;
|
|
5032
|
+
type PaymentIri = z.infer<typeof paymentIriSchema>;
|
|
5033
|
+
declare const paymentNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, any, string | _deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null>;
|
|
5034
|
+
type PaymentNullableIri = z.infer<typeof paymentNullableIriSchema>;
|
|
5035
|
+
declare const paymentConfigIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/:id">>;
|
|
5036
|
+
type PaymentConfigIri = z.infer<typeof paymentConfigIriSchema>;
|
|
5037
|
+
declare const paymentConfigNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/:id"> | null, any, string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/:id"> | null>;
|
|
5038
|
+
type PaymentConfigNullableIri = z.infer<typeof paymentConfigNullableIriSchema>;
|
|
5039
|
+
declare const paymentConfigBankTransferIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/bank_transfer/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/bank_transfer/:id">>;
|
|
5040
|
+
type PaymentConfigBankTransferIri = z.infer<typeof paymentConfigBankTransferIriSchema>;
|
|
5041
|
+
declare const paymentConfigBankTransferNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/bank_transfer/:id"> | null, any, string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/bank_transfer/:id"> | null>;
|
|
5042
|
+
type PaymentConfigBankTransferNullableIri = z.infer<typeof paymentConfigBankTransferNullableIriSchema>;
|
|
5043
|
+
declare const paymentConfigCashIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/cash/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/cash/:id">>;
|
|
5044
|
+
type PaymentConfigCashIri = z.infer<typeof paymentConfigCashIriSchema>;
|
|
5045
|
+
declare const paymentConfigCashNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/cash/:id"> | null, any, string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/cash/:id"> | null>;
|
|
5046
|
+
type PaymentConfigCashNullableIri = z.infer<typeof paymentConfigCashNullableIriSchema>;
|
|
5047
|
+
declare const paymentConfigCreditCardIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/credit_card/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/credit_card/:id">>;
|
|
5048
|
+
type PaymentConfigCreditCardIri = z.infer<typeof paymentConfigCreditCardIriSchema>;
|
|
5049
|
+
declare const paymentConfigCreditCardNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/credit_card/:id"> | null, any, string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/credit_card/:id"> | null>;
|
|
5050
|
+
type PaymentConfigCreditCardNullableIri = z.infer<typeof paymentConfigCreditCardNullableIriSchema>;
|
|
5051
|
+
declare const paymentConfigStripeIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/stripe/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/stripe/:id">>;
|
|
5052
|
+
type PaymentConfigStripeIri = z.infer<typeof paymentConfigStripeIriSchema>;
|
|
5053
|
+
declare const paymentConfigStripeNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/stripe/:id"> | null, any, string | _deliverart_sdk_js_global_types.IriObject<"/payment_configs/stripe/:id"> | null>;
|
|
5054
|
+
type PaymentConfigStripeNullableIri = z.infer<typeof paymentConfigStripeNullableIriSchema>;
|
|
4421
5055
|
|
|
4422
|
-
export { CreatePaymentConfigBankTransfer, type CreatePaymentConfigBankTransferInput, type CreatePaymentConfigBankTransferResponse, CreatePaymentConfigCash, type CreatePaymentConfigCashInput, type CreatePaymentConfigCashResponse, CreatePaymentConfigCreditCard, type CreatePaymentConfigCreditCardInput, type CreatePaymentConfigCreditCardResponse, CreatePaymentConfigStripe, type CreatePaymentConfigStripeInput, type CreatePaymentConfigStripeResponse, DeletePayment, DeletePaymentConfig, DeletePaymentConfigBankTransfer, DeletePaymentConfigCash, DeletePaymentConfigCreditCard, DeletePaymentConfigStripe, GetPaymentConfigBankTransferDetails, type GetPaymentConfigBankTransferDetailsResponse, GetPaymentConfigBankTransferList, type GetPaymentConfigBankTransferListQueryParams, type GetPaymentConfigBankTransferListResponse, GetPaymentConfigCashDetails, type GetPaymentConfigCashDetailsResponse, GetPaymentConfigCashList, type GetPaymentConfigCashListQueryParams, type GetPaymentConfigCashListResponse, GetPaymentConfigCreditCardDetails, type GetPaymentConfigCreditCardDetailsResponse, GetPaymentConfigCreditCardList, type GetPaymentConfigCreditCardListQueryParams, type GetPaymentConfigCreditCardListResponse, GetPaymentConfigDetails, type GetPaymentConfigDetailsResponse, GetPaymentConfigStripeDetails, type GetPaymentConfigStripeDetailsResponse, GetPaymentConfigStripeList, type GetPaymentConfigStripeListQueryParams, type GetPaymentConfigStripeListResponse, GetPaymentConfigs, type GetPaymentConfigsQueryParams, type GetPaymentConfigsResponse, GetPaymentDetails, type GetPaymentDetailsResponse, GetPayments, GetPaymentsForPaymentConfig, type GetPaymentsForPaymentConfigQueryParams, type GetPaymentsForPaymentConfigResponse, type GetPaymentsQueryParams, type GetPaymentsResponse, type Payment, type PaymentConfig, type PaymentConfigBankTransfer, type PaymentConfigBankTransferDetails, type
|
|
5056
|
+
export { CreatePaymentConfigBankTransfer, type CreatePaymentConfigBankTransferInput, type CreatePaymentConfigBankTransferResponse, CreatePaymentConfigCash, type CreatePaymentConfigCashInput, type CreatePaymentConfigCashResponse, CreatePaymentConfigCreditCard, type CreatePaymentConfigCreditCardInput, type CreatePaymentConfigCreditCardResponse, CreatePaymentConfigStripe, type CreatePaymentConfigStripeInput, type CreatePaymentConfigStripeResponse, DeletePayment, DeletePaymentConfig, DeletePaymentConfigBankTransfer, DeletePaymentConfigCash, DeletePaymentConfigCreditCard, DeletePaymentConfigStripe, GetPaymentConfigBankTransferDetails, type GetPaymentConfigBankTransferDetailsInput, type GetPaymentConfigBankTransferDetailsResponse, GetPaymentConfigBankTransferList, type GetPaymentConfigBankTransferListInput, type GetPaymentConfigBankTransferListQueryParams, type GetPaymentConfigBankTransferListResponse, GetPaymentConfigCashDetails, type GetPaymentConfigCashDetailsInput, type GetPaymentConfigCashDetailsResponse, GetPaymentConfigCashList, type GetPaymentConfigCashListInput, type GetPaymentConfigCashListQueryParams, type GetPaymentConfigCashListResponse, GetPaymentConfigCreditCardDetails, type GetPaymentConfigCreditCardDetailsInput, type GetPaymentConfigCreditCardDetailsResponse, GetPaymentConfigCreditCardList, type GetPaymentConfigCreditCardListInput, type GetPaymentConfigCreditCardListQueryParams, type GetPaymentConfigCreditCardListResponse, GetPaymentConfigDetails, type GetPaymentConfigDetailsInput, type GetPaymentConfigDetailsResponse, GetPaymentConfigStripeDetails, type GetPaymentConfigStripeDetailsInput, type GetPaymentConfigStripeDetailsResponse, GetPaymentConfigStripeList, type GetPaymentConfigStripeListInput, type GetPaymentConfigStripeListQueryParams, type GetPaymentConfigStripeListResponse, GetPaymentConfigs, type GetPaymentConfigsInput, type GetPaymentConfigsQueryParams, type GetPaymentConfigsResponse, GetPaymentDetails, type GetPaymentDetailsInput, type GetPaymentDetailsResponse, GetPayments, GetPaymentsForPaymentConfig, type GetPaymentsForPaymentConfigInput, type GetPaymentsForPaymentConfigQueryParams, type GetPaymentsForPaymentConfigResponse, type GetPaymentsInput, type GetPaymentsQueryParams, type GetPaymentsResponse, type Payment, type PaymentConfig, type PaymentConfigBankTransfer, type PaymentConfigBankTransferDetails, type PaymentConfigBankTransferIri, type PaymentConfigBankTransferNullableIri, type PaymentConfigCash, type PaymentConfigCashDetails, type PaymentConfigCashIri, type PaymentConfigCashNullableIri, type PaymentConfigCreditCard, type PaymentConfigCreditCardDetails, type PaymentConfigCreditCardIri, type PaymentConfigCreditCardNullableIri, type PaymentConfigDetails, type PaymentConfigIri, type PaymentConfigNullableIri, type PaymentConfigStripe, type PaymentConfigStripeDetails, type PaymentConfigStripeIri, type PaymentConfigStripeNullableIri, type PaymentConfigsQueryParams, type PaymentDetails, type PaymentIri, type PaymentMethod, type PaymentNullableIri, type PaymentQueryParams, type PaymentStatus, UpdatePayment, UpdatePaymentConfigBankTransfer, type UpdatePaymentConfigBankTransferInput, type UpdatePaymentConfigBankTransferResponse, UpdatePaymentConfigStripe, type UpdatePaymentConfigStripeInput, type UpdatePaymentConfigStripeResponse, type UpdatePaymentInput, type UpdatePaymentResponse, type WritablePayment, type WritablePaymentConfigBankTransfer, type WritablePaymentConfigCash, type WritablePaymentConfigCreditCard, type WritablePaymentConfigStripe, createPaymentConfigBankTransferInputSchema, createPaymentConfigBankTransferResponseSchema, createPaymentConfigCashInputSchema, createPaymentConfigCashResponseSchema, createPaymentConfigCreditCardInputSchema, createPaymentConfigCreditCardResponseSchema, createPaymentConfigStripeInputSchema, createPaymentConfigStripeResponseSchema, deletePaymentConfigBankTransferInputSchema, deletePaymentConfigBankTransferResponseSchema, deletePaymentConfigCashInputSchema, deletePaymentConfigCashResponseSchema, deletePaymentConfigCreditCardInputSchema, deletePaymentConfigCreditCardResponseSchema, deletePaymentConfigInputSchema, deletePaymentConfigResponseSchema, deletePaymentConfigStripeInputSchema, deletePaymentConfigStripeResponseSchema, deletePaymentInputSchema, deletePaymentResponseSchema, getPaymentConfigBankTransferDetailsInputSchema, getPaymentConfigBankTransferDetailsResponseSchema, getPaymentConfigBankTransferListInputSchema, getPaymentConfigBankTransferListResponseSchema, getPaymentConfigCashDetailsInputSchema, getPaymentConfigCashDetailsResponseSchema, getPaymentConfigCashListInputSchema, getPaymentConfigCashListResponseSchema, getPaymentConfigCreditCardDetailsInputSchema, getPaymentConfigCreditCardDetailsResponseSchema, getPaymentConfigCreditCardListInputSchema, getPaymentConfigCreditCardListResponseSchema, getPaymentConfigDetailsInputSchema, getPaymentConfigDetailsResponseSchema, getPaymentConfigStripeDetailsInputSchema, getPaymentConfigStripeDetailsResponseSchema, getPaymentConfigStripeListInputSchema, getPaymentConfigStripeListResponseSchema, getPaymentConfigsInputSchema, getPaymentConfigsResponseSchema, getPaymentDetailsInputSchema, getPaymentDetailsResponseSchema, getPaymentsForPaymentConfigInputSchema, getPaymentsForPaymentConfigResponseSchema, getPaymentsInputSchema, getPaymentsResponseSchema, paymentConfigBankTransferDetailsSchema, paymentConfigBankTransferIriSchema, paymentConfigBankTransferNullableIriSchema, paymentConfigBankTransferSchema, paymentConfigBaseSchema, paymentConfigCashDetailsSchema, paymentConfigCashIriSchema, paymentConfigCashNullableIriSchema, paymentConfigCashSchema, paymentConfigCreditCardDetailsSchema, paymentConfigCreditCardIriSchema, paymentConfigCreditCardNullableIriSchema, paymentConfigCreditCardSchema, paymentConfigDetailsSchema, paymentConfigIriSchema, paymentConfigNullableIriSchema, paymentConfigSchema, paymentConfigStripeDetailsSchema, paymentConfigStripeIriSchema, paymentConfigStripeNullableIriSchema, paymentConfigStripeSchema, paymentConfigsQuerySchema, paymentDetailsSchema, paymentIriSchema, paymentMethodSchema, paymentMethods, paymentNullableIriSchema, paymentQuerySchema, paymentSchema, paymentStatusSchema, paymentStatuses, updatePaymentConfigBankTransferInputSchema, updatePaymentConfigBankTransferResponseSchema, updatePaymentConfigStripeInputSchema, updatePaymentConfigStripeResponseSchema, updatePaymentInputSchema, updatePaymentResponseSchema, writablePaymentConfigBankTransferSchema, writablePaymentConfigCashSchema, writablePaymentConfigCreditCardSchema, writablePaymentConfigSchemas, writablePaymentConfigStripeSchema, writablePaymentSchema };
|