@mintmoney/react 0.1.0-alpha.11 → 0.1.0-alpha.12
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/esm/api/checkouts.js +9 -9
- package/dist/esm/api/generated.js +544 -592
- package/dist/esm/api/index.js +10 -10
- package/dist/esm/api/payments.js +17 -21
- package/dist/esm/api/types.js +8 -2
- package/dist/esm/api/types.js.map +1 -1
- package/dist/esm/checkout/container.js +2 -2
- package/dist/esm/checkout/index.js +18 -38
- package/dist/esm/checkout/modal.js +52 -63
- package/dist/esm/checkout/views/back.js +3 -7
- package/dist/esm/checkout/views/card-intent/details.js +4 -21
- package/dist/esm/checkout/views/crypto-intent/curreny.js +18 -43
- package/dist/esm/checkout/views/crypto-intent/curreny.js.map +1 -1
- package/dist/esm/checkout/views/crypto-intent/direct-details.js +16 -60
- package/dist/esm/checkout/views/crypto-intent/methods.js +19 -27
- package/dist/esm/checkout/views/crypto-intent/processing.js +31 -39
- package/dist/esm/checkout/views/crypto-intent/processing.js.map +1 -1
- package/dist/esm/checkout/views/crypto-intent/success.js +14 -32
- package/dist/esm/checkout/views/initial.js +24 -29
- package/dist/esm/checkout/views/method-select.js +10 -24
- package/dist/esm/components/buttons/index.js +11 -20
- package/dist/esm/components/icons/checkMark.js +4 -16
- package/dist/esm/components/icons/close.js +4 -19
- package/dist/esm/components/icons/index.js +1 -1
- package/dist/esm/components/index.js +1 -1
- package/dist/esm/components/lists/empty.js +2 -5
- package/dist/esm/components/lists/index.js +8 -47
- package/dist/esm/components/loading/index.js +6 -47
- package/dist/esm/components/modals/index.js +1 -1
- package/dist/esm/components/modals/modal-with-views.js +23 -62
- package/dist/esm/components/modals/modal.js +11 -67
- package/dist/esm/components/modals/use-modal-with-views.js +22 -25
- package/dist/esm/components/text/index.js +21 -21
- package/dist/esm/config.js +14 -5
- package/dist/esm/config.js.map +1 -1
- package/dist/esm/context.js +10 -18
- package/dist/esm/index.js +1 -1
- package/dist/esm/state/checkout/store.js +144 -144
- package/dist/esm/state/checkout/store.js.map +1 -1
- package/dist/esm/themes/default.js +55 -55
- package/dist/esm/themes/index.js +1 -1
- package/dist/esm/themes/types.js +1 -1
- package/dist/esm/utils/cn.js +1 -1
- package/dist/types/api/checkouts.d.ts +5 -5
- package/dist/types/api/generated.d.ts +835 -924
- package/dist/types/api/index.d.ts +1 -1
- package/dist/types/api/payments.d.ts +3 -10
- package/dist/types/api/types.d.ts +16 -14
- package/dist/types/api/types.d.ts.map +1 -1
- package/dist/types/checkout/container.d.ts +2 -12
- package/dist/types/checkout/index.d.ts +6 -10
- package/dist/types/checkout/modal.d.ts +5 -7
- package/dist/types/checkout/views/back.d.ts +3 -5
- package/dist/types/checkout/views/card-intent/details.d.ts +1 -1
- package/dist/types/checkout/views/crypto-intent/curreny.d.ts +1 -1
- package/dist/types/checkout/views/crypto-intent/curreny.d.ts.map +1 -1
- package/dist/types/checkout/views/crypto-intent/direct-details.d.ts +2 -4
- package/dist/types/checkout/views/crypto-intent/methods.d.ts +1 -1
- package/dist/types/checkout/views/crypto-intent/processing.d.ts +1 -1
- package/dist/types/checkout/views/crypto-intent/processing.d.ts.map +1 -1
- package/dist/types/checkout/views/crypto-intent/success.d.ts +3 -5
- package/dist/types/checkout/views/initial.d.ts +3 -5
- package/dist/types/checkout/views/method-select.d.ts +1 -1
- package/dist/types/components/buttons/index.d.ts +6 -16
- package/dist/types/components/icons/checkMark.d.ts +3 -5
- package/dist/types/components/icons/close.d.ts +3 -5
- package/dist/types/components/icons/index.d.ts +1 -1
- package/dist/types/components/index.d.ts +1 -1
- package/dist/types/components/lists/empty.d.ts +3 -5
- package/dist/types/components/lists/index.d.ts +9 -17
- package/dist/types/components/loading/index.d.ts +4 -4
- package/dist/types/components/modals/index.d.ts +1 -1
- package/dist/types/components/modals/modal-with-views.d.ts +18 -23
- package/dist/types/components/modals/modal.d.ts +9 -17
- package/dist/types/components/modals/use-modal-with-views.d.ts +6 -9
- package/dist/types/components/text/index.d.ts +7 -17
- package/dist/types/config.d.ts +16 -12
- package/dist/types/config.d.ts.map +1 -1
- package/dist/types/context.d.ts +4 -7
- package/dist/types/index.d.ts +1 -1
- package/dist/types/state/checkout/store.d.ts +51 -74
- package/dist/types/state/checkout/store.d.ts.map +1 -1
- package/dist/types/themes/default.d.ts +1 -1
- package/dist/types/themes/index.d.ts +1 -1
- package/dist/types/themes/types.d.ts +26 -25
- package/dist/types/utils/cn.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,756 +1,735 @@
|
|
|
1
1
|
export interface HealthzListData {
|
|
2
|
-
|
|
2
|
+
message: string;
|
|
3
3
|
}
|
|
4
4
|
export interface OrganizationsCreatePayload {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
name: string;
|
|
6
|
+
emailAddress: string;
|
|
7
7
|
}
|
|
8
8
|
export interface OrganizationsCreateData {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
9
|
+
data: {
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
/** @format date-time */
|
|
13
|
+
createdAt: string;
|
|
14
|
+
/** @format date-time */
|
|
15
|
+
updatedAt: string;
|
|
16
|
+
};
|
|
17
|
+
meta: {
|
|
18
|
+
total: number;
|
|
19
|
+
offset: number;
|
|
20
|
+
limit: number;
|
|
21
|
+
} | null;
|
|
22
|
+
/** @default 200 */
|
|
23
|
+
status?: number;
|
|
24
|
+
error: string | null;
|
|
25
25
|
}
|
|
26
26
|
export interface AccountsMeListData {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
27
|
+
data: {
|
|
28
|
+
id: string;
|
|
29
|
+
emailAddress: string;
|
|
30
|
+
organization: {
|
|
31
|
+
id: string;
|
|
32
|
+
name: string;
|
|
33
|
+
/** @format date-time */
|
|
34
|
+
createdAt: string;
|
|
35
|
+
/** @format date-time */
|
|
36
|
+
updatedAt: string;
|
|
37
|
+
};
|
|
38
|
+
/** @format date-time */
|
|
39
|
+
createdAt: string;
|
|
40
|
+
/** @format date-time */
|
|
41
|
+
updatedAt: string;
|
|
37
42
|
};
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
limit: number;
|
|
47
|
-
} | null;
|
|
48
|
-
/** @default 200 */
|
|
49
|
-
status?: number;
|
|
50
|
-
error: string | null;
|
|
43
|
+
meta: {
|
|
44
|
+
total: number;
|
|
45
|
+
offset: number;
|
|
46
|
+
limit: number;
|
|
47
|
+
} | null;
|
|
48
|
+
/** @default 200 */
|
|
49
|
+
status?: number;
|
|
50
|
+
error: string | null;
|
|
51
51
|
}
|
|
52
52
|
export interface PaymentsCreatePayload {
|
|
53
|
-
currency: string;
|
|
54
|
-
checkout_id: string;
|
|
55
|
-
order_id?: string | null;
|
|
56
|
-
customer_id?: string;
|
|
57
|
-
metadata?: Record<string, string | number>;
|
|
58
|
-
line_items?: {
|
|
59
|
-
name: string;
|
|
60
|
-
quantity: number;
|
|
61
|
-
image_url: string;
|
|
62
|
-
price: number;
|
|
63
|
-
}[];
|
|
64
|
-
amount: number;
|
|
65
|
-
}
|
|
66
|
-
export interface PaymentsCreateData {
|
|
67
|
-
data: {
|
|
68
|
-
id: string;
|
|
69
53
|
currency: string;
|
|
70
|
-
/** @format date-time */
|
|
71
|
-
created_at: string;
|
|
72
|
-
/** @format date-time */
|
|
73
|
-
updated_at: string;
|
|
74
54
|
checkout_id: string;
|
|
75
|
-
organization_id: string;
|
|
76
|
-
status: "pending" | "confirming_payment" | "paid" | "failed";
|
|
77
|
-
is_test: boolean;
|
|
78
|
-
payment_attempt?: {
|
|
79
|
-
payment_id: string;
|
|
80
|
-
asset: string;
|
|
81
|
-
amount: number;
|
|
82
|
-
amount_formatted: number;
|
|
83
|
-
chain: string;
|
|
84
|
-
asset_address: string;
|
|
85
|
-
destination_address: string;
|
|
86
|
-
/** @format date-time */
|
|
87
|
-
created_at: string;
|
|
88
|
-
/** @format date-time */
|
|
89
|
-
updated_at: string;
|
|
90
|
-
required_confirmations: number;
|
|
91
|
-
};
|
|
92
55
|
order_id?: string | null;
|
|
93
56
|
customer_id?: string;
|
|
94
57
|
metadata?: Record<string, string | number>;
|
|
95
58
|
line_items?: {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
59
|
+
name: string;
|
|
60
|
+
quantity: number;
|
|
61
|
+
image_url: string;
|
|
62
|
+
price: number;
|
|
100
63
|
}[];
|
|
101
64
|
amount: number;
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
65
|
+
}
|
|
66
|
+
export interface PaymentsCreateData {
|
|
67
|
+
data: {
|
|
68
|
+
id: string;
|
|
69
|
+
currency: string;
|
|
70
|
+
/** @format date-time */
|
|
71
|
+
created_at: string;
|
|
72
|
+
/** @format date-time */
|
|
73
|
+
updated_at: string;
|
|
74
|
+
checkout_id: string;
|
|
75
|
+
organization_id: string;
|
|
76
|
+
status: "pending" | "confirming_payment" | "paid" | "failed";
|
|
77
|
+
is_test: boolean;
|
|
78
|
+
payment_attempt?: {
|
|
79
|
+
payment_id: string;
|
|
80
|
+
asset: string;
|
|
81
|
+
amount: number;
|
|
82
|
+
amount_formatted: number;
|
|
83
|
+
chain: string;
|
|
84
|
+
asset_address: string;
|
|
85
|
+
destination_address: string;
|
|
86
|
+
/** @format date-time */
|
|
87
|
+
created_at: string;
|
|
88
|
+
/** @format date-time */
|
|
89
|
+
updated_at: string;
|
|
90
|
+
required_confirmations: number;
|
|
91
|
+
};
|
|
92
|
+
order_id?: string | null;
|
|
93
|
+
customer_id?: string;
|
|
94
|
+
metadata?: Record<string, string | number>;
|
|
95
|
+
line_items?: {
|
|
96
|
+
name: string;
|
|
97
|
+
quantity: number;
|
|
98
|
+
image_url: string;
|
|
99
|
+
price: number;
|
|
100
|
+
}[];
|
|
101
|
+
amount: number;
|
|
102
|
+
};
|
|
103
|
+
meta: {
|
|
104
|
+
total: number;
|
|
105
|
+
offset: number;
|
|
106
|
+
limit: number;
|
|
107
|
+
} | null;
|
|
108
|
+
/** @default 200 */
|
|
109
|
+
status?: number;
|
|
110
|
+
error: string | null;
|
|
111
111
|
}
|
|
112
112
|
export interface PaymentsListParams {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
113
|
+
mode?: string;
|
|
114
|
+
sort?: (any | string) & {
|
|
115
|
+
field?: "created_at";
|
|
116
|
+
order?: "asc" | "desc";
|
|
117
|
+
};
|
|
118
|
+
/** @default 10 */
|
|
119
|
+
limit?: number;
|
|
120
|
+
/** @default 0 */
|
|
121
|
+
offset?: number;
|
|
122
122
|
}
|
|
123
123
|
export interface PaymentsListData {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
124
|
+
data: {
|
|
125
|
+
id: string;
|
|
126
|
+
currency: string;
|
|
127
|
+
/** @format date-time */
|
|
128
|
+
created_at: string;
|
|
129
|
+
/** @format date-time */
|
|
130
|
+
updated_at: string;
|
|
131
|
+
checkout_id: string;
|
|
132
|
+
organization_id: string;
|
|
133
|
+
status: "pending" | "confirming_payment" | "paid" | "failed";
|
|
134
|
+
is_test: boolean;
|
|
135
|
+
payment_attempt?: {
|
|
136
|
+
payment_id: string;
|
|
137
|
+
asset: string;
|
|
138
|
+
amount: number;
|
|
139
|
+
amount_formatted: number;
|
|
140
|
+
chain: string;
|
|
141
|
+
asset_address: string;
|
|
142
|
+
destination_address: string;
|
|
143
|
+
/** @format date-time */
|
|
144
|
+
created_at: string;
|
|
145
|
+
/** @format date-time */
|
|
146
|
+
updated_at: string;
|
|
147
|
+
required_confirmations: number;
|
|
148
|
+
};
|
|
149
|
+
order_id?: string | null;
|
|
150
|
+
customer_id?: string;
|
|
151
|
+
metadata?: Record<string, string | number>;
|
|
152
|
+
line_items?: {
|
|
153
|
+
name: string;
|
|
154
|
+
quantity: number;
|
|
155
|
+
image_url: string;
|
|
156
|
+
price: number;
|
|
157
|
+
}[];
|
|
158
|
+
amount: number;
|
|
157
159
|
}[];
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
status?: number;
|
|
167
|
-
error: string | null;
|
|
160
|
+
meta: {
|
|
161
|
+
total: number;
|
|
162
|
+
offset: number;
|
|
163
|
+
limit: number;
|
|
164
|
+
} | null;
|
|
165
|
+
/** @default 200 */
|
|
166
|
+
status?: number;
|
|
167
|
+
error: string | null;
|
|
168
168
|
}
|
|
169
169
|
export interface PaymentsDetailData {
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
170
|
+
data: {
|
|
171
|
+
id: string;
|
|
172
|
+
currency: string;
|
|
173
|
+
/** @format date-time */
|
|
174
|
+
created_at: string;
|
|
175
|
+
/** @format date-time */
|
|
176
|
+
updated_at: string;
|
|
177
|
+
checkout_id: string;
|
|
178
|
+
organization_id: string;
|
|
179
|
+
status: "pending" | "confirming_payment" | "paid" | "failed";
|
|
180
|
+
is_test: boolean;
|
|
181
|
+
payment_attempt?: {
|
|
182
|
+
payment_id: string;
|
|
183
|
+
asset: string;
|
|
184
|
+
amount: number;
|
|
185
|
+
amount_formatted: number;
|
|
186
|
+
chain: string;
|
|
187
|
+
asset_address: string;
|
|
188
|
+
destination_address: string;
|
|
189
|
+
/** @format date-time */
|
|
190
|
+
created_at: string;
|
|
191
|
+
/** @format date-time */
|
|
192
|
+
updated_at: string;
|
|
193
|
+
required_confirmations: number;
|
|
194
|
+
};
|
|
195
|
+
order_id?: string | null;
|
|
196
|
+
customer_id?: string;
|
|
197
|
+
metadata?: Record<string, string | number>;
|
|
198
|
+
line_items?: {
|
|
199
|
+
name: string;
|
|
200
|
+
quantity: number;
|
|
201
|
+
image_url: string;
|
|
202
|
+
price: number;
|
|
203
|
+
}[];
|
|
204
|
+
amount: number;
|
|
194
205
|
};
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
}[];
|
|
204
|
-
amount: number;
|
|
205
|
-
};
|
|
206
|
-
meta: {
|
|
207
|
-
total: number;
|
|
208
|
-
offset: number;
|
|
209
|
-
limit: number;
|
|
210
|
-
} | null;
|
|
211
|
-
/** @default 200 */
|
|
212
|
-
status?: number;
|
|
213
|
-
error: string | null;
|
|
206
|
+
meta: {
|
|
207
|
+
total: number;
|
|
208
|
+
offset: number;
|
|
209
|
+
limit: number;
|
|
210
|
+
} | null;
|
|
211
|
+
/** @default 200 */
|
|
212
|
+
status?: number;
|
|
213
|
+
error: string | null;
|
|
214
214
|
}
|
|
215
215
|
export interface PaymentsCryptoPayCreatePayload {
|
|
216
|
-
asset: string;
|
|
217
|
-
chain: string;
|
|
218
|
-
address?: string;
|
|
219
|
-
required_confirmations?: number;
|
|
220
|
-
}
|
|
221
|
-
export interface PaymentsCryptoPayCreateData {
|
|
222
|
-
data: {
|
|
223
|
-
payment_id: string;
|
|
224
216
|
asset: string;
|
|
225
|
-
amount: number;
|
|
226
|
-
amount_formatted: number;
|
|
227
217
|
chain: string;
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
218
|
+
address?: string;
|
|
219
|
+
required_confirmations?: number;
|
|
220
|
+
}
|
|
221
|
+
export interface PaymentsCryptoPayCreateData {
|
|
222
|
+
data: {
|
|
223
|
+
payment_id: string;
|
|
224
|
+
asset: string;
|
|
225
|
+
amount: number;
|
|
226
|
+
amount_formatted: number;
|
|
227
|
+
chain: string;
|
|
228
|
+
asset_address: string;
|
|
229
|
+
destination_address: string;
|
|
230
|
+
/** @format date-time */
|
|
231
|
+
created_at: string;
|
|
232
|
+
/** @format date-time */
|
|
233
|
+
updated_at: string;
|
|
234
|
+
required_confirmations: number;
|
|
235
|
+
};
|
|
236
|
+
meta: {
|
|
237
|
+
total: number;
|
|
238
|
+
offset: number;
|
|
239
|
+
limit: number;
|
|
240
|
+
} | null;
|
|
241
|
+
/** @default 200 */
|
|
242
|
+
status?: number;
|
|
243
|
+
error: string | null;
|
|
244
244
|
}
|
|
245
245
|
export interface ChainsListParams {
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
246
|
+
search?: string;
|
|
247
|
+
/** @default 10 */
|
|
248
|
+
limit?: number;
|
|
249
|
+
/** @default 0 */
|
|
250
|
+
offset?: number;
|
|
251
251
|
}
|
|
252
252
|
export interface ChainsListData {
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
253
|
+
data: {
|
|
254
|
+
id: string;
|
|
255
|
+
name: string;
|
|
256
|
+
networkId: string;
|
|
257
|
+
explorerUrl: string;
|
|
258
|
+
rpcNodeUrl: string;
|
|
259
|
+
logoUrl: string;
|
|
260
|
+
nativeTokenDecimals: number;
|
|
261
|
+
nativeTokenName: string;
|
|
262
|
+
nativeTokenSymbol: string;
|
|
263
|
+
nativeTokenLogoUrl: string;
|
|
264
|
+
caip2: string;
|
|
265
|
+
}[];
|
|
266
|
+
meta: {
|
|
267
|
+
total: number;
|
|
268
|
+
offset: number;
|
|
269
|
+
limit: number;
|
|
270
|
+
} | null;
|
|
271
|
+
/** @default 200 */
|
|
272
|
+
status?: number;
|
|
273
|
+
error: string | null;
|
|
274
274
|
}
|
|
275
275
|
export interface TokensListParams {
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
276
|
+
chain?: string;
|
|
277
|
+
search?: string;
|
|
278
|
+
id?: string;
|
|
279
|
+
token?: string;
|
|
280
|
+
/** @default 10 */
|
|
281
|
+
limit?: number;
|
|
282
|
+
/** @default 0 */
|
|
283
|
+
offset?: number;
|
|
284
284
|
}
|
|
285
285
|
export interface TokensListData {
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
286
|
+
data: {
|
|
287
|
+
id: string;
|
|
288
|
+
name: string;
|
|
289
|
+
symbol: string;
|
|
290
|
+
chain: {
|
|
291
|
+
id: string;
|
|
292
|
+
name: string;
|
|
293
|
+
networkId: string;
|
|
294
|
+
explorerUrl: string;
|
|
295
|
+
rpcNodeUrl: string;
|
|
296
|
+
logoUrl: string;
|
|
297
|
+
nativeTokenDecimals: number;
|
|
298
|
+
nativeTokenName: string;
|
|
299
|
+
nativeTokenSymbol: string;
|
|
300
|
+
nativeTokenLogoUrl: string;
|
|
301
|
+
caip2: string;
|
|
302
|
+
};
|
|
303
|
+
caip21: string;
|
|
304
|
+
contractAddress: string | null;
|
|
305
|
+
decimals: number;
|
|
306
|
+
isNative: boolean;
|
|
307
|
+
logoUrl: string;
|
|
308
|
+
}[];
|
|
309
|
+
meta: {
|
|
310
|
+
total: number;
|
|
311
|
+
offset: number;
|
|
312
|
+
limit: number;
|
|
313
|
+
} | null;
|
|
314
|
+
/** @default 200 */
|
|
315
|
+
status?: number;
|
|
316
|
+
error: string | null;
|
|
317
317
|
}
|
|
318
318
|
export interface WebhooksCreatePayload {
|
|
319
|
-
|
|
320
|
-
|
|
319
|
+
/** @format uri */
|
|
320
|
+
webhook_url: string;
|
|
321
321
|
}
|
|
322
322
|
export interface WebhooksCreateData {
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
323
|
+
data: {
|
|
324
|
+
id: string;
|
|
325
|
+
organization_id: string;
|
|
326
|
+
webhook_url: string;
|
|
327
|
+
/** @format date-time */
|
|
328
|
+
created_at: string;
|
|
329
|
+
/** @format date-time */
|
|
330
|
+
updated_at: string;
|
|
331
|
+
webhook_secret: string;
|
|
332
|
+
};
|
|
333
|
+
meta: {
|
|
334
|
+
total: number;
|
|
335
|
+
offset: number;
|
|
336
|
+
limit: number;
|
|
337
|
+
} | null;
|
|
338
|
+
/** @default 200 */
|
|
339
|
+
status?: number;
|
|
340
|
+
error: string | null;
|
|
341
341
|
}
|
|
342
342
|
export interface WebhooksListParams {
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
343
|
+
webhookUrl?: string;
|
|
344
|
+
sort?: (any | string) & {
|
|
345
|
+
field?: "created_at";
|
|
346
|
+
order?: "asc" | "desc";
|
|
347
|
+
};
|
|
348
|
+
/** @default 10 */
|
|
349
|
+
limit?: number;
|
|
350
|
+
/** @default 0 */
|
|
351
|
+
offset?: number;
|
|
352
352
|
}
|
|
353
353
|
export interface WebhooksListData {
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
354
|
+
data: {
|
|
355
|
+
id: string;
|
|
356
|
+
organization_id: string;
|
|
357
|
+
webhook_url: string;
|
|
358
|
+
/** @format date-time */
|
|
359
|
+
created_at: string;
|
|
360
|
+
/** @format date-time */
|
|
361
|
+
updated_at: string;
|
|
362
|
+
webhook_secret: string;
|
|
363
|
+
}[];
|
|
364
|
+
meta: {
|
|
365
|
+
total: number;
|
|
366
|
+
offset: number;
|
|
367
|
+
limit: number;
|
|
368
|
+
} | null;
|
|
369
|
+
/** @default 200 */
|
|
370
|
+
status?: number;
|
|
371
|
+
error: string | null;
|
|
372
372
|
}
|
|
373
373
|
export interface ApiKeysCreatePayload {
|
|
374
|
-
|
|
374
|
+
name: string;
|
|
375
375
|
}
|
|
376
376
|
export interface ApiKeysCreateData {
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
377
|
+
data: {
|
|
378
|
+
id: string;
|
|
379
|
+
organization_id: string;
|
|
380
|
+
name: string;
|
|
381
|
+
/** @format date-time */
|
|
382
|
+
created_at: string;
|
|
383
|
+
/** @format date-time */
|
|
384
|
+
updated_at: string;
|
|
385
|
+
secret_key: string;
|
|
386
|
+
public_key: string;
|
|
387
|
+
allowed_origins: string[];
|
|
388
|
+
};
|
|
389
|
+
meta: {
|
|
390
|
+
total: number;
|
|
391
|
+
offset: number;
|
|
392
|
+
limit: number;
|
|
393
|
+
} | null;
|
|
394
|
+
/** @default 200 */
|
|
395
|
+
status?: number;
|
|
396
|
+
error: string | null;
|
|
397
397
|
}
|
|
398
398
|
export interface ApiKeysListParams {
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
399
|
+
name?: string;
|
|
400
|
+
sort?: (any | string) & {
|
|
401
|
+
field?: "created_at";
|
|
402
|
+
order?: "asc" | "desc";
|
|
403
|
+
};
|
|
404
|
+
/** @default 10 */
|
|
405
|
+
limit?: number;
|
|
406
|
+
/** @default 0 */
|
|
407
|
+
offset?: number;
|
|
408
408
|
}
|
|
409
409
|
export interface ApiKeysListData {
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
410
|
+
data: {
|
|
411
|
+
id: string;
|
|
412
|
+
organization_id: string;
|
|
413
|
+
name: string;
|
|
414
|
+
/** @format date-time */
|
|
415
|
+
created_at: string;
|
|
416
|
+
/** @format date-time */
|
|
417
|
+
updated_at: string;
|
|
418
|
+
secret_key: string;
|
|
419
|
+
public_key: string;
|
|
420
|
+
allowed_origins: string[];
|
|
421
|
+
}[];
|
|
422
|
+
meta: {
|
|
423
|
+
total: number;
|
|
424
|
+
offset: number;
|
|
425
|
+
limit: number;
|
|
426
|
+
} | null;
|
|
427
|
+
/** @default 200 */
|
|
428
|
+
status?: number;
|
|
429
|
+
error: string | null;
|
|
430
430
|
}
|
|
431
431
|
export interface ApiKeysDeleteData {
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
432
|
+
data: {
|
|
433
|
+
status: string;
|
|
434
|
+
};
|
|
435
|
+
meta: {
|
|
436
|
+
total: number;
|
|
437
|
+
offset: number;
|
|
438
|
+
limit: number;
|
|
439
|
+
} | null;
|
|
440
|
+
/** @default 200 */
|
|
441
|
+
status?: number;
|
|
442
|
+
error: string | null;
|
|
443
443
|
}
|
|
444
444
|
export interface ApiKeysPartialUpdatePayload {
|
|
445
|
-
|
|
446
|
-
|
|
445
|
+
name?: string;
|
|
446
|
+
allowed_origins?: string[];
|
|
447
447
|
}
|
|
448
448
|
export interface ApiKeysPartialUpdateData {
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
449
|
+
data: {
|
|
450
|
+
id: string;
|
|
451
|
+
organization_id: string;
|
|
452
|
+
name: string;
|
|
453
|
+
/** @format date-time */
|
|
454
|
+
created_at: string;
|
|
455
|
+
/** @format date-time */
|
|
456
|
+
updated_at: string;
|
|
457
|
+
secret_key: string;
|
|
458
|
+
public_key: string;
|
|
459
|
+
allowed_origins: string[];
|
|
460
|
+
};
|
|
461
|
+
meta: {
|
|
462
|
+
total: number;
|
|
463
|
+
offset: number;
|
|
464
|
+
limit: number;
|
|
465
|
+
} | null;
|
|
466
|
+
/** @default 200 */
|
|
467
|
+
status?: number;
|
|
468
|
+
error: string | null;
|
|
469
469
|
}
|
|
470
470
|
export interface BlocksCreatePayload {
|
|
471
|
-
|
|
472
|
-
|
|
471
|
+
caip2: string;
|
|
472
|
+
blockNumber: number;
|
|
473
473
|
}
|
|
474
474
|
export interface BlocksCreateData {
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
475
|
+
data: {
|
|
476
|
+
status: string;
|
|
477
|
+
};
|
|
478
|
+
meta: {
|
|
479
|
+
total: number;
|
|
480
|
+
offset: number;
|
|
481
|
+
limit: number;
|
|
482
|
+
} | null;
|
|
483
|
+
/** @default 200 */
|
|
484
|
+
status?: number;
|
|
485
|
+
error: string | null;
|
|
486
486
|
}
|
|
487
487
|
export interface AuthIdentifyStartCreatePayload {
|
|
488
|
-
|
|
488
|
+
emailAddress: string;
|
|
489
489
|
}
|
|
490
490
|
export interface AuthIdentifyStartCreateData {
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
491
|
+
data: {
|
|
492
|
+
publicKey: string;
|
|
493
|
+
};
|
|
494
|
+
meta: {
|
|
495
|
+
total: number;
|
|
496
|
+
offset: number;
|
|
497
|
+
limit: number;
|
|
498
|
+
} | null;
|
|
499
|
+
/** @default 200 */
|
|
500
|
+
status?: number;
|
|
501
|
+
error: string | null;
|
|
502
502
|
}
|
|
503
503
|
export interface AuthIdentifyVerifyCreatePayload {
|
|
504
|
-
|
|
505
|
-
|
|
504
|
+
token: string;
|
|
505
|
+
publicKey: string;
|
|
506
506
|
}
|
|
507
507
|
export interface AuthIdentifyVerifyCreateData {
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
};
|
|
511
|
-
meta: {
|
|
512
|
-
total: number;
|
|
513
|
-
offset: number;
|
|
514
|
-
limit: number;
|
|
515
|
-
} | null;
|
|
516
|
-
/** @default 200 */
|
|
517
|
-
status?: number;
|
|
518
|
-
error: string | null;
|
|
519
|
-
}
|
|
520
|
-
export interface CheckoutsCreatePayload {
|
|
521
|
-
name: string;
|
|
522
|
-
checkout_config: {
|
|
523
|
-
crypto?: {
|
|
524
|
-
/** @default false */
|
|
525
|
-
enabled?: boolean;
|
|
526
|
-
assets?: {
|
|
527
|
-
chain: string;
|
|
528
|
-
asset: string;
|
|
529
|
-
}[];
|
|
530
|
-
};
|
|
531
|
-
card?: {
|
|
532
|
-
/** @default false */
|
|
533
|
-
enabled?: boolean;
|
|
508
|
+
data: {
|
|
509
|
+
access_token: string;
|
|
534
510
|
};
|
|
535
|
-
|
|
536
|
-
|
|
511
|
+
meta: {
|
|
512
|
+
total: number;
|
|
513
|
+
offset: number;
|
|
514
|
+
limit: number;
|
|
515
|
+
} | null;
|
|
516
|
+
/** @default 200 */
|
|
517
|
+
status?: number;
|
|
518
|
+
error: string | null;
|
|
537
519
|
}
|
|
538
|
-
export interface
|
|
539
|
-
data: {
|
|
540
|
-
id: string;
|
|
541
|
-
organization_id: string;
|
|
520
|
+
export interface CheckoutsCreatePayload {
|
|
542
521
|
name: string;
|
|
543
|
-
/** @format date-time */
|
|
544
|
-
created_at: string;
|
|
545
|
-
/** @format date-time */
|
|
546
|
-
updated_at: string;
|
|
547
522
|
checkout_config: {
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
enabled?: boolean;
|
|
561
|
-
};
|
|
523
|
+
crypto?: {
|
|
524
|
+
/** @default false */
|
|
525
|
+
enabled?: boolean;
|
|
526
|
+
assets?: {
|
|
527
|
+
chain: string;
|
|
528
|
+
asset: string;
|
|
529
|
+
}[];
|
|
530
|
+
};
|
|
531
|
+
card?: {
|
|
532
|
+
/** @default false */
|
|
533
|
+
enabled?: boolean;
|
|
534
|
+
};
|
|
562
535
|
};
|
|
563
|
-
is_live: boolean;
|
|
564
536
|
logo_url?: string;
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
537
|
+
}
|
|
538
|
+
export interface CheckoutsCreateData {
|
|
539
|
+
data: {
|
|
540
|
+
id: string;
|
|
541
|
+
organization_id: string;
|
|
542
|
+
name: string;
|
|
543
|
+
/** @format date-time */
|
|
544
|
+
created_at: string;
|
|
545
|
+
/** @format date-time */
|
|
546
|
+
updated_at: string;
|
|
547
|
+
checkout_config: {
|
|
548
|
+
crypto?: {
|
|
549
|
+
/** @default false */
|
|
550
|
+
enabled?: boolean;
|
|
551
|
+
assets?: {
|
|
552
|
+
chain: string;
|
|
553
|
+
asset: string;
|
|
554
|
+
chain_name: string;
|
|
555
|
+
asset_name: string;
|
|
556
|
+
}[];
|
|
557
|
+
};
|
|
558
|
+
card?: {
|
|
559
|
+
/** @default false */
|
|
560
|
+
enabled?: boolean;
|
|
561
|
+
};
|
|
562
|
+
};
|
|
563
|
+
is_live: boolean;
|
|
564
|
+
logo_url?: string;
|
|
565
|
+
};
|
|
566
|
+
meta: {
|
|
567
|
+
total: number;
|
|
568
|
+
offset: number;
|
|
569
|
+
limit: number;
|
|
570
|
+
} | null;
|
|
571
|
+
/** @default 200 */
|
|
572
|
+
status?: number;
|
|
573
|
+
error: string | null;
|
|
574
574
|
}
|
|
575
575
|
export interface CheckoutsDetailData {
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
576
|
+
data: {
|
|
577
|
+
id: string;
|
|
578
|
+
organization_id: string;
|
|
579
|
+
name: string;
|
|
580
|
+
/** @format date-time */
|
|
581
|
+
created_at: string;
|
|
582
|
+
/** @format date-time */
|
|
583
|
+
updated_at: string;
|
|
584
|
+
checkout_config: {
|
|
585
|
+
crypto?: {
|
|
586
|
+
/** @default false */
|
|
587
|
+
enabled?: boolean;
|
|
588
|
+
assets?: {
|
|
589
|
+
chain: string;
|
|
590
|
+
asset: string;
|
|
591
|
+
chain_name: string;
|
|
592
|
+
asset_name: string;
|
|
593
|
+
}[];
|
|
594
|
+
};
|
|
595
|
+
card?: {
|
|
596
|
+
/** @default false */
|
|
597
|
+
enabled?: boolean;
|
|
598
|
+
};
|
|
599
|
+
};
|
|
600
|
+
is_live: boolean;
|
|
601
|
+
logo_url?: string;
|
|
599
602
|
};
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
/** @default 200 */
|
|
609
|
-
status?: number;
|
|
610
|
-
error: string | null;
|
|
603
|
+
meta: {
|
|
604
|
+
total: number;
|
|
605
|
+
offset: number;
|
|
606
|
+
limit: number;
|
|
607
|
+
} | null;
|
|
608
|
+
/** @default 200 */
|
|
609
|
+
status?: number;
|
|
610
|
+
error: string | null;
|
|
611
611
|
}
|
|
612
612
|
export interface CheckoutsPublishCreateData {
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
613
|
+
data: {
|
|
614
|
+
id: string;
|
|
615
|
+
organization_id: string;
|
|
616
|
+
name: string;
|
|
617
|
+
/** @format date-time */
|
|
618
|
+
created_at: string;
|
|
619
|
+
/** @format date-time */
|
|
620
|
+
updated_at: string;
|
|
621
|
+
checkout_config: {
|
|
622
|
+
crypto?: {
|
|
623
|
+
/** @default false */
|
|
624
|
+
enabled?: boolean;
|
|
625
|
+
assets?: {
|
|
626
|
+
chain: string;
|
|
627
|
+
asset: string;
|
|
628
|
+
chain_name: string;
|
|
629
|
+
asset_name: string;
|
|
630
|
+
}[];
|
|
631
|
+
};
|
|
632
|
+
card?: {
|
|
633
|
+
/** @default false */
|
|
634
|
+
enabled?: boolean;
|
|
635
|
+
};
|
|
636
|
+
};
|
|
637
|
+
is_live: boolean;
|
|
638
|
+
logo_url?: string;
|
|
636
639
|
};
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
/** @default 200 */
|
|
646
|
-
status?: number;
|
|
647
|
-
error: string | null;
|
|
640
|
+
meta: {
|
|
641
|
+
total: number;
|
|
642
|
+
offset: number;
|
|
643
|
+
limit: number;
|
|
644
|
+
} | null;
|
|
645
|
+
/** @default 200 */
|
|
646
|
+
status?: number;
|
|
647
|
+
error: string | null;
|
|
648
648
|
}
|
|
649
649
|
export interface MerchantAccountsCreatePayload {
|
|
650
|
-
chain: string;
|
|
651
|
-
owner_address: string;
|
|
652
|
-
withdraw_address: string;
|
|
653
|
-
}
|
|
654
|
-
export interface MerchantAccountsCreateData {
|
|
655
|
-
data: {
|
|
656
|
-
id: string;
|
|
657
|
-
organization_id: string;
|
|
658
650
|
chain: string;
|
|
659
|
-
withdraw_address: string;
|
|
660
651
|
owner_address: string;
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
652
|
+
withdraw_address: string;
|
|
653
|
+
}
|
|
654
|
+
export interface MerchantAccountsCreateData {
|
|
655
|
+
data: {
|
|
656
|
+
id: string;
|
|
657
|
+
organization_id: string;
|
|
658
|
+
chain: string;
|
|
659
|
+
withdraw_address: string;
|
|
660
|
+
owner_address: string;
|
|
661
|
+
address: string;
|
|
662
|
+
/** @format date-time */
|
|
663
|
+
created_at: string;
|
|
664
|
+
/** @format date-time */
|
|
665
|
+
updated_at: string;
|
|
666
|
+
};
|
|
667
|
+
meta: {
|
|
668
|
+
total: number;
|
|
669
|
+
offset: number;
|
|
670
|
+
limit: number;
|
|
671
|
+
} | null;
|
|
672
|
+
/** @default 200 */
|
|
673
|
+
status?: number;
|
|
674
|
+
error: string | null;
|
|
675
675
|
}
|
|
676
676
|
export type QueryParamsType = Record<string | number, any>;
|
|
677
677
|
export type ResponseFormat = keyof Omit<Body, "body" | "bodyUsed">;
|
|
678
678
|
export interface FullRequestParams extends Omit<RequestInit, "body"> {
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
}
|
|
696
|
-
export type RequestParams = Omit<
|
|
697
|
-
FullRequestParams,
|
|
698
|
-
"body" | "method" | "query" | "path"
|
|
699
|
-
>;
|
|
679
|
+
/** set parameter to `true` for call `securityWorker` for this request */
|
|
680
|
+
secure?: boolean;
|
|
681
|
+
/** request path */
|
|
682
|
+
path: string;
|
|
683
|
+
/** content type of request body */
|
|
684
|
+
type?: ContentType;
|
|
685
|
+
/** query params */
|
|
686
|
+
query?: QueryParamsType;
|
|
687
|
+
/** format of response (i.e. response.json() -> format: "json") */
|
|
688
|
+
format?: ResponseFormat;
|
|
689
|
+
/** request body */
|
|
690
|
+
body?: unknown;
|
|
691
|
+
/** base url */
|
|
692
|
+
baseUrl?: string;
|
|
693
|
+
/** request cancellation token */
|
|
694
|
+
cancelToken?: CancelToken;
|
|
695
|
+
}
|
|
696
|
+
export type RequestParams = Omit<FullRequestParams, "body" | "method" | "query" | "path">;
|
|
700
697
|
export interface ApiConfig<SecurityDataType = unknown> {
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
) => Promise<RequestParams | void> | RequestParams | void;
|
|
706
|
-
customFetch?: typeof fetch;
|
|
698
|
+
baseUrl?: string;
|
|
699
|
+
baseApiParams?: Omit<RequestParams, "baseUrl" | "cancelToken" | "signal">;
|
|
700
|
+
securityWorker?: (securityData: SecurityDataType | null) => Promise<RequestParams | void> | RequestParams | void;
|
|
701
|
+
customFetch?: typeof fetch;
|
|
707
702
|
}
|
|
708
|
-
export interface HttpResponse<D extends unknown, E extends unknown = unknown>
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
error: E;
|
|
703
|
+
export interface HttpResponse<D extends unknown, E extends unknown = unknown> extends Response {
|
|
704
|
+
data: D;
|
|
705
|
+
error: E;
|
|
712
706
|
}
|
|
713
707
|
type CancelToken = Symbol | string | number;
|
|
714
708
|
export declare enum ContentType {
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
709
|
+
Json = "application/json",
|
|
710
|
+
FormData = "multipart/form-data",
|
|
711
|
+
UrlEncoded = "application/x-www-form-urlencoded",
|
|
712
|
+
Text = "text/plain"
|
|
719
713
|
}
|
|
720
714
|
export declare class HttpClient<SecurityDataType = unknown> {
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
protected createAbortSignal: (
|
|
740
|
-
cancelToken: CancelToken,
|
|
741
|
-
) => AbortSignal | undefined;
|
|
742
|
-
abortRequest: (cancelToken: CancelToken) => void;
|
|
743
|
-
request: <T = any, E = any>({
|
|
744
|
-
body,
|
|
745
|
-
secure,
|
|
746
|
-
path,
|
|
747
|
-
type,
|
|
748
|
-
query,
|
|
749
|
-
format,
|
|
750
|
-
baseUrl,
|
|
751
|
-
cancelToken,
|
|
752
|
-
...params
|
|
753
|
-
}: FullRequestParams) => Promise<HttpResponse<T, E>>;
|
|
715
|
+
baseUrl: string;
|
|
716
|
+
private securityData;
|
|
717
|
+
private securityWorker?;
|
|
718
|
+
private abortControllers;
|
|
719
|
+
private customFetch;
|
|
720
|
+
private baseApiParams;
|
|
721
|
+
constructor(apiConfig?: ApiConfig<SecurityDataType>);
|
|
722
|
+
setSecurityData: (data: SecurityDataType | null) => void;
|
|
723
|
+
protected encodeQueryParam(key: string, value: any): string;
|
|
724
|
+
protected addQueryParam(query: QueryParamsType, key: string): string;
|
|
725
|
+
protected addArrayQueryParam(query: QueryParamsType, key: string): any;
|
|
726
|
+
protected toQueryString(rawQuery?: QueryParamsType): string;
|
|
727
|
+
protected addQueryParams(rawQuery?: QueryParamsType): string;
|
|
728
|
+
private contentFormatters;
|
|
729
|
+
protected mergeRequestParams(params1: RequestParams, params2?: RequestParams): RequestParams;
|
|
730
|
+
protected createAbortSignal: (cancelToken: CancelToken) => AbortSignal | undefined;
|
|
731
|
+
abortRequest: (cancelToken: CancelToken) => void;
|
|
732
|
+
request: <T = any, E = any>({ body, secure, path, type, query, format, baseUrl, cancelToken, ...params }: FullRequestParams) => Promise<HttpResponse<T, E>>;
|
|
754
733
|
}
|
|
755
734
|
/**
|
|
756
735
|
* @title Mint Money API
|
|
@@ -759,275 +738,207 @@ export declare class HttpClient<SecurityDataType = unknown> {
|
|
|
759
738
|
*
|
|
760
739
|
* API for the getmint.money platform
|
|
761
740
|
*/
|
|
762
|
-
export declare class Api<
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
* @request POST:/v1/auth/identify/start
|
|
964
|
-
* @response `200` `AuthIdentifyStartCreateData` Default Response
|
|
965
|
-
*/
|
|
966
|
-
authIdentifyStartCreate: (
|
|
967
|
-
data: AuthIdentifyStartCreatePayload,
|
|
968
|
-
params?: RequestParams,
|
|
969
|
-
) => Promise<HttpResponse<AuthIdentifyStartCreateData, any>>;
|
|
970
|
-
/**
|
|
971
|
-
* @description Send identity verification
|
|
972
|
-
*
|
|
973
|
-
* @tags Auth
|
|
974
|
-
* @name AuthIdentifyVerifyCreate
|
|
975
|
-
* @request POST:/v1/auth/identify/verify
|
|
976
|
-
* @response `200` `AuthIdentifyVerifyCreateData` Default Response
|
|
977
|
-
*/
|
|
978
|
-
authIdentifyVerifyCreate: (
|
|
979
|
-
data: AuthIdentifyVerifyCreatePayload,
|
|
980
|
-
params?: RequestParams,
|
|
981
|
-
) => Promise<HttpResponse<AuthIdentifyVerifyCreateData, any>>;
|
|
982
|
-
/**
|
|
983
|
-
* @description Create a new checkout
|
|
984
|
-
*
|
|
985
|
-
* @tags Checkouts
|
|
986
|
-
* @name CheckoutsCreate
|
|
987
|
-
* @request POST:/v1/checkouts/
|
|
988
|
-
* @response `201` `CheckoutsCreateData` Default Response
|
|
989
|
-
*/
|
|
990
|
-
checkoutsCreate: (
|
|
991
|
-
data: CheckoutsCreatePayload,
|
|
992
|
-
params?: RequestParams,
|
|
993
|
-
) => Promise<HttpResponse<CheckoutsCreateData, any>>;
|
|
994
|
-
/**
|
|
995
|
-
* @description Get a checkout by id
|
|
996
|
-
*
|
|
997
|
-
* @tags Checkouts
|
|
998
|
-
* @name CheckoutsDetail
|
|
999
|
-
* @request GET:/v1/checkouts/{id}
|
|
1000
|
-
* @response `200` `CheckoutsDetailData` Default Response
|
|
1001
|
-
*/
|
|
1002
|
-
checkoutsDetail: (
|
|
1003
|
-
id: string,
|
|
1004
|
-
params?: RequestParams,
|
|
1005
|
-
) => Promise<HttpResponse<CheckoutsDetailData, any>>;
|
|
1006
|
-
/**
|
|
1007
|
-
* @description Publish a checkout by id
|
|
1008
|
-
*
|
|
1009
|
-
* @tags Checkouts
|
|
1010
|
-
* @name CheckoutsPublishCreate
|
|
1011
|
-
* @request POST:/v1/checkouts/{id}/publish
|
|
1012
|
-
* @response `200` `CheckoutsPublishCreateData` Default Response
|
|
1013
|
-
*/
|
|
1014
|
-
checkoutsPublishCreate: (
|
|
1015
|
-
id: string,
|
|
1016
|
-
params?: RequestParams,
|
|
1017
|
-
) => Promise<HttpResponse<CheckoutsPublishCreateData, any>>;
|
|
1018
|
-
/**
|
|
1019
|
-
* @description Create a new merchant account
|
|
1020
|
-
*
|
|
1021
|
-
* @tags Merchant Accounts
|
|
1022
|
-
* @name MerchantAccountsCreate
|
|
1023
|
-
* @request POST:/v1/merchant-accounts/
|
|
1024
|
-
* @response `201` `MerchantAccountsCreateData` Default Response
|
|
1025
|
-
*/
|
|
1026
|
-
merchantAccountsCreate: (
|
|
1027
|
-
data: MerchantAccountsCreatePayload,
|
|
1028
|
-
params?: RequestParams,
|
|
1029
|
-
) => Promise<HttpResponse<MerchantAccountsCreateData, any>>;
|
|
1030
|
-
};
|
|
741
|
+
export declare class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
|
|
742
|
+
v1: {
|
|
743
|
+
/**
|
|
744
|
+
* No description
|
|
745
|
+
*
|
|
746
|
+
* @tags Health
|
|
747
|
+
* @name HealthzList
|
|
748
|
+
* @request GET:/v1/healthz
|
|
749
|
+
* @response `200` `HealthzListData` Default Response
|
|
750
|
+
*/
|
|
751
|
+
healthzList: (params?: RequestParams) => Promise<HttpResponse<HealthzListData, any>>;
|
|
752
|
+
/**
|
|
753
|
+
* @description Create a new organisation
|
|
754
|
+
*
|
|
755
|
+
* @tags Organisations
|
|
756
|
+
* @name OrganizationsCreate
|
|
757
|
+
* @request POST:/v1/organizations/
|
|
758
|
+
* @response `201` `OrganizationsCreateData` Default Response
|
|
759
|
+
*/
|
|
760
|
+
organizationsCreate: (data: OrganizationsCreatePayload, params?: RequestParams) => Promise<HttpResponse<OrganizationsCreateData, any>>;
|
|
761
|
+
/**
|
|
762
|
+
* @description Get account details for the current user
|
|
763
|
+
*
|
|
764
|
+
* @tags Account
|
|
765
|
+
* @name AccountsMeList
|
|
766
|
+
* @request GET:/v1/accounts/me
|
|
767
|
+
* @response `200` `AccountsMeListData` Default Response
|
|
768
|
+
*/
|
|
769
|
+
accountsMeList: (params?: RequestParams) => Promise<HttpResponse<AccountsMeListData, any>>;
|
|
770
|
+
/**
|
|
771
|
+
* @description Create a new on-chain payment
|
|
772
|
+
*
|
|
773
|
+
* @tags Payments
|
|
774
|
+
* @name PaymentsCreate
|
|
775
|
+
* @request POST:/v1/payments/
|
|
776
|
+
* @response `201` `PaymentsCreateData` Default Response
|
|
777
|
+
*/
|
|
778
|
+
paymentsCreate: (data: PaymentsCreatePayload, params?: RequestParams) => Promise<HttpResponse<PaymentsCreateData, any>>;
|
|
779
|
+
/**
|
|
780
|
+
* @description Fetch all payment by id
|
|
781
|
+
*
|
|
782
|
+
* @tags Payments
|
|
783
|
+
* @name PaymentsList
|
|
784
|
+
* @request GET:/v1/payments/
|
|
785
|
+
* @response `200` `PaymentsListData` Default Response
|
|
786
|
+
*/
|
|
787
|
+
paymentsList: (query: PaymentsListParams, params?: RequestParams) => Promise<HttpResponse<PaymentsListData, any>>;
|
|
788
|
+
/**
|
|
789
|
+
* @description Fetch a payment by id
|
|
790
|
+
*
|
|
791
|
+
* @tags Payments
|
|
792
|
+
* @name PaymentsDetail
|
|
793
|
+
* @request GET:/v1/payments/{paymentId}
|
|
794
|
+
* @response `201` `PaymentsDetailData` Default Response
|
|
795
|
+
*/
|
|
796
|
+
paymentsDetail: (paymentId: string, params?: RequestParams) => Promise<HttpResponse<PaymentsDetailData, any>>;
|
|
797
|
+
/**
|
|
798
|
+
* @description Add attempt to pay for a payment using cryptocurrency
|
|
799
|
+
*
|
|
800
|
+
* @tags Payments
|
|
801
|
+
* @name PaymentsCryptoPayCreate
|
|
802
|
+
* @request POST:/v1/payments/crypto-pay/{paymentId}
|
|
803
|
+
* @response `201` `PaymentsCryptoPayCreateData` Default Response
|
|
804
|
+
*/
|
|
805
|
+
paymentsCryptoPayCreate: (paymentId: string, data: PaymentsCryptoPayCreatePayload, params?: RequestParams) => Promise<HttpResponse<PaymentsCryptoPayCreateData, any>>;
|
|
806
|
+
/**
|
|
807
|
+
* @description Fetch the supported chains
|
|
808
|
+
*
|
|
809
|
+
* @tags Chain
|
|
810
|
+
* @name ChainsList
|
|
811
|
+
* @request GET:/v1/chains
|
|
812
|
+
* @response `200` `ChainsListData` Default Response
|
|
813
|
+
*/
|
|
814
|
+
chainsList: (query: ChainsListParams, params?: RequestParams) => Promise<HttpResponse<ChainsListData, any>>;
|
|
815
|
+
/**
|
|
816
|
+
* @description Fetch the supported tokens
|
|
817
|
+
*
|
|
818
|
+
* @tags Chain
|
|
819
|
+
* @name TokensList
|
|
820
|
+
* @request GET:/v1/tokens
|
|
821
|
+
* @response `200` `TokensListData` Default Response
|
|
822
|
+
*/
|
|
823
|
+
tokensList: (query: TokensListParams, params?: RequestParams) => Promise<HttpResponse<TokensListData, any>>;
|
|
824
|
+
/**
|
|
825
|
+
* @description Create a new endpoint for the organization
|
|
826
|
+
*
|
|
827
|
+
* @tags Webhooks
|
|
828
|
+
* @name WebhooksCreate
|
|
829
|
+
* @request POST:/v1/webhooks/
|
|
830
|
+
* @response `201` `WebhooksCreateData` Default Response
|
|
831
|
+
*/
|
|
832
|
+
webhooksCreate: (data: WebhooksCreatePayload, params?: RequestParams) => Promise<HttpResponse<WebhooksCreateData, any>>;
|
|
833
|
+
/**
|
|
834
|
+
* @description Fetch all WebhookUrls
|
|
835
|
+
*
|
|
836
|
+
* @tags Webhooks
|
|
837
|
+
* @name WebhooksList
|
|
838
|
+
* @request GET:/v1/webhooks/
|
|
839
|
+
* @response `200` `WebhooksListData` Default Response
|
|
840
|
+
*/
|
|
841
|
+
webhooksList: (query: WebhooksListParams, params?: RequestParams) => Promise<HttpResponse<WebhooksListData, any>>;
|
|
842
|
+
/**
|
|
843
|
+
* @description Create a new API key for the organization
|
|
844
|
+
*
|
|
845
|
+
* @tags ApiKeys
|
|
846
|
+
* @name ApiKeysCreate
|
|
847
|
+
* @request POST:/v1/api-keys/
|
|
848
|
+
* @response `201` `ApiKeysCreateData` Default Response
|
|
849
|
+
*/
|
|
850
|
+
apiKeysCreate: (data: ApiKeysCreatePayload, params?: RequestParams) => Promise<HttpResponse<ApiKeysCreateData, any>>;
|
|
851
|
+
/**
|
|
852
|
+
* @description Fetch all ApiKeys
|
|
853
|
+
*
|
|
854
|
+
* @tags ApiKeys
|
|
855
|
+
* @name ApiKeysList
|
|
856
|
+
* @request GET:/v1/api-keys/
|
|
857
|
+
* @response `200` `ApiKeysListData` Default Response
|
|
858
|
+
*/
|
|
859
|
+
apiKeysList: (query: ApiKeysListParams, params?: RequestParams) => Promise<HttpResponse<ApiKeysListData, any>>;
|
|
860
|
+
/**
|
|
861
|
+
* @description Delete an ApiKey
|
|
862
|
+
*
|
|
863
|
+
* @tags ApiKeys
|
|
864
|
+
* @name ApiKeysDelete
|
|
865
|
+
* @request DELETE:/v1/api-keys/{apiKeyId}
|
|
866
|
+
* @response `200` `ApiKeysDeleteData` Default Response
|
|
867
|
+
*/
|
|
868
|
+
apiKeysDelete: (apiKeyId: string, params?: RequestParams) => Promise<HttpResponse<ApiKeysDeleteData, any>>;
|
|
869
|
+
/**
|
|
870
|
+
* @description Patch an ApiKey
|
|
871
|
+
*
|
|
872
|
+
* @tags ApiKeys
|
|
873
|
+
* @name ApiKeysPartialUpdate
|
|
874
|
+
* @request PATCH:/v1/api-keys/{apiKeyId}
|
|
875
|
+
* @response `201` `ApiKeysPartialUpdateData` Default Response
|
|
876
|
+
*/
|
|
877
|
+
apiKeysPartialUpdate: (apiKeyId: string, data: ApiKeysPartialUpdatePayload, params?: RequestParams) => Promise<HttpResponse<ApiKeysPartialUpdateData, any>>;
|
|
878
|
+
/**
|
|
879
|
+
* @description Sync a specific block
|
|
880
|
+
*
|
|
881
|
+
* @tags Blocks
|
|
882
|
+
* @name BlocksCreate
|
|
883
|
+
* @request POST:/v1/blocks
|
|
884
|
+
* @response `200` `BlocksCreateData` Default Response
|
|
885
|
+
*/
|
|
886
|
+
blocksCreate: (data: BlocksCreatePayload, params?: RequestParams) => Promise<HttpResponse<BlocksCreateData, any>>;
|
|
887
|
+
/**
|
|
888
|
+
* @description Begin identity verification
|
|
889
|
+
*
|
|
890
|
+
* @tags Auth
|
|
891
|
+
* @name AuthIdentifyStartCreate
|
|
892
|
+
* @request POST:/v1/auth/identify/start
|
|
893
|
+
* @response `200` `AuthIdentifyStartCreateData` Default Response
|
|
894
|
+
*/
|
|
895
|
+
authIdentifyStartCreate: (data: AuthIdentifyStartCreatePayload, params?: RequestParams) => Promise<HttpResponse<AuthIdentifyStartCreateData, any>>;
|
|
896
|
+
/**
|
|
897
|
+
* @description Send identity verification
|
|
898
|
+
*
|
|
899
|
+
* @tags Auth
|
|
900
|
+
* @name AuthIdentifyVerifyCreate
|
|
901
|
+
* @request POST:/v1/auth/identify/verify
|
|
902
|
+
* @response `200` `AuthIdentifyVerifyCreateData` Default Response
|
|
903
|
+
*/
|
|
904
|
+
authIdentifyVerifyCreate: (data: AuthIdentifyVerifyCreatePayload, params?: RequestParams) => Promise<HttpResponse<AuthIdentifyVerifyCreateData, any>>;
|
|
905
|
+
/**
|
|
906
|
+
* @description Create a new checkout
|
|
907
|
+
*
|
|
908
|
+
* @tags Checkouts
|
|
909
|
+
* @name CheckoutsCreate
|
|
910
|
+
* @request POST:/v1/checkouts/
|
|
911
|
+
* @response `201` `CheckoutsCreateData` Default Response
|
|
912
|
+
*/
|
|
913
|
+
checkoutsCreate: (data: CheckoutsCreatePayload, params?: RequestParams) => Promise<HttpResponse<CheckoutsCreateData, any>>;
|
|
914
|
+
/**
|
|
915
|
+
* @description Get a checkout by id
|
|
916
|
+
*
|
|
917
|
+
* @tags Checkouts
|
|
918
|
+
* @name CheckoutsDetail
|
|
919
|
+
* @request GET:/v1/checkouts/{id}
|
|
920
|
+
* @response `200` `CheckoutsDetailData` Default Response
|
|
921
|
+
*/
|
|
922
|
+
checkoutsDetail: (id: string, params?: RequestParams) => Promise<HttpResponse<CheckoutsDetailData, any>>;
|
|
923
|
+
/**
|
|
924
|
+
* @description Publish a checkout by id
|
|
925
|
+
*
|
|
926
|
+
* @tags Checkouts
|
|
927
|
+
* @name CheckoutsPublishCreate
|
|
928
|
+
* @request POST:/v1/checkouts/{id}/publish
|
|
929
|
+
* @response `200` `CheckoutsPublishCreateData` Default Response
|
|
930
|
+
*/
|
|
931
|
+
checkoutsPublishCreate: (id: string, params?: RequestParams) => Promise<HttpResponse<CheckoutsPublishCreateData, any>>;
|
|
932
|
+
/**
|
|
933
|
+
* @description Create a new merchant account
|
|
934
|
+
*
|
|
935
|
+
* @tags Merchant Accounts
|
|
936
|
+
* @name MerchantAccountsCreate
|
|
937
|
+
* @request POST:/v1/merchant-accounts/
|
|
938
|
+
* @response `201` `MerchantAccountsCreateData` Default Response
|
|
939
|
+
*/
|
|
940
|
+
merchantAccountsCreate: (data: MerchantAccountsCreatePayload, params?: RequestParams) => Promise<HttpResponse<MerchantAccountsCreateData, any>>;
|
|
941
|
+
};
|
|
1031
942
|
}
|
|
1032
943
|
export {};
|
|
1033
|
-
//# sourceMappingURL=generated.d.ts.map
|
|
944
|
+
//# sourceMappingURL=generated.d.ts.map
|