@mintmoney/react 0.1.0-alpha.10 → 0.1.0-alpha.11
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/css/styles.css +2 -2
- package/dist/esm/api/checkouts.js +9 -9
- package/dist/esm/api/checkouts.js.map +1 -1
- package/dist/esm/api/generated.js +592 -544
- package/dist/esm/api/index.js +10 -10
- package/dist/esm/api/payments.js +21 -17
- package/dist/esm/api/payments.js.map +1 -1
- package/dist/esm/api/types.js +1 -1
- package/dist/esm/checkout/container.js +2 -2
- package/dist/esm/checkout/index.js +41 -10
- package/dist/esm/checkout/index.js.map +1 -1
- package/dist/esm/checkout/modal.js +66 -55
- package/dist/esm/checkout/modal.js.map +1 -1
- package/dist/esm/checkout/views/back.js +7 -3
- package/dist/esm/checkout/views/card-intent/details.js +22 -5
- package/dist/esm/checkout/views/card-intent/details.js.map +1 -1
- package/dist/esm/checkout/views/crypto-intent/curreny.js +44 -22
- package/dist/esm/checkout/views/crypto-intent/curreny.js.map +1 -1
- package/dist/esm/checkout/views/crypto-intent/direct-details.js +61 -17
- package/dist/esm/checkout/views/crypto-intent/direct-details.js.map +1 -1
- package/dist/esm/checkout/views/crypto-intent/methods.js +27 -19
- package/dist/esm/checkout/views/crypto-intent/methods.js.map +1 -1
- package/dist/esm/checkout/views/crypto-intent/processing.js +41 -34
- package/dist/esm/checkout/views/crypto-intent/processing.js.map +1 -1
- package/dist/esm/checkout/views/crypto-intent/success.js +33 -15
- package/dist/esm/checkout/views/crypto-intent/success.js.map +1 -1
- package/dist/esm/checkout/views/initial.js +29 -26
- package/dist/esm/checkout/views/initial.js.map +1 -1
- package/dist/esm/checkout/views/method-select.js +24 -10
- package/dist/esm/checkout/views/method-select.js.map +1 -1
- package/dist/esm/components/buttons/index.js +20 -11
- package/dist/esm/components/buttons/index.js.map +1 -1
- package/dist/esm/components/icons/checkMark.js +16 -4
- package/dist/esm/components/icons/checkMark.js.map +1 -1
- package/dist/esm/components/icons/close.js +19 -4
- package/dist/esm/components/icons/close.js.map +1 -1
- package/dist/esm/components/icons/index.js +1 -1
- package/dist/esm/components/index.js +1 -1
- package/dist/esm/components/lists/empty.js +5 -2
- package/dist/esm/components/lists/index.js +47 -8
- package/dist/esm/components/lists/index.js.map +1 -1
- package/dist/esm/components/loading/index.js +47 -6
- package/dist/esm/components/loading/index.js.map +1 -1
- package/dist/esm/components/modals/index.js +1 -1
- package/dist/esm/components/modals/modal-with-views.js +62 -23
- package/dist/esm/components/modals/modal-with-views.js.map +1 -1
- package/dist/esm/components/modals/modal.js +68 -12
- package/dist/esm/components/modals/modal.js.map +1 -1
- package/dist/esm/components/modals/use-modal-with-views.js +25 -22
- package/dist/esm/components/modals/use-modal-with-views.js.map +1 -1
- package/dist/esm/components/text/index.js +22 -21
- package/dist/esm/components/text/index.js.map +1 -1
- package/dist/esm/config.js +5 -5
- package/dist/esm/config.js.map +1 -1
- package/dist/esm/context.js +19 -11
- package/dist/esm/context.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/state/checkout/store.js +147 -178
- package/dist/esm/state/checkout/store.js.map +1 -1
- package/dist/esm/themes/default.js +55 -55
- package/dist/esm/themes/default.js.map +1 -1
- package/dist/esm/themes/index.js +1 -1
- package/dist/esm/themes/types.js +2 -2
- package/dist/esm/themes/types.js.map +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 +924 -835
- package/dist/types/api/index.d.ts +2 -1
- package/dist/types/api/index.d.ts.map +1 -1
- package/dist/types/api/payments.d.ts +10 -3
- package/dist/types/api/payments.d.ts.map +1 -1
- package/dist/types/api/types.d.ts +14 -10
- package/dist/types/checkout/container.d.ts +12 -2
- package/dist/types/checkout/index.d.ts +12 -4
- package/dist/types/checkout/index.d.ts.map +1 -1
- package/dist/types/checkout/modal.d.ts +8 -6
- package/dist/types/checkout/modal.d.ts.map +1 -1
- package/dist/types/checkout/views/back.d.ts +5 -3
- package/dist/types/checkout/views/card-intent/details.d.ts +1 -1
- package/dist/types/checkout/views/card-intent/details.d.ts.map +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 +4 -2
- package/dist/types/checkout/views/crypto-intent/direct-details.d.ts.map +1 -1
- package/dist/types/checkout/views/crypto-intent/methods.d.ts +1 -1
- package/dist/types/checkout/views/crypto-intent/methods.d.ts.map +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 +5 -3
- package/dist/types/checkout/views/crypto-intent/success.d.ts.map +1 -1
- package/dist/types/checkout/views/initial.d.ts +6 -4
- package/dist/types/checkout/views/initial.d.ts.map +1 -1
- package/dist/types/checkout/views/method-select.d.ts +1 -1
- package/dist/types/checkout/views/method-select.d.ts.map +1 -1
- package/dist/types/components/buttons/index.d.ts +16 -6
- package/dist/types/components/icons/checkMark.d.ts +5 -3
- package/dist/types/components/icons/checkMark.d.ts.map +1 -1
- package/dist/types/components/icons/close.d.ts +5 -3
- package/dist/types/components/icons/close.d.ts.map +1 -1
- 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 +5 -3
- package/dist/types/components/lists/index.d.ts +17 -9
- package/dist/types/components/lists/index.d.ts.map +1 -1
- package/dist/types/components/loading/index.d.ts +4 -4
- package/dist/types/components/loading/index.d.ts.map +1 -1
- package/dist/types/components/modals/index.d.ts +1 -1
- package/dist/types/components/modals/modal-with-views.d.ts +23 -18
- package/dist/types/components/modals/modal-with-views.d.ts.map +1 -1
- package/dist/types/components/modals/modal.d.ts +17 -9
- package/dist/types/components/modals/modal.d.ts.map +1 -1
- package/dist/types/components/modals/use-modal-with-views.d.ts +9 -6
- package/dist/types/components/text/index.d.ts +17 -7
- package/dist/types/components/text/index.d.ts.map +1 -1
- package/dist/types/config.d.ts +12 -9
- package/dist/types/config.d.ts.map +1 -1
- package/dist/types/context.d.ts +7 -4
- package/dist/types/context.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/state/checkout/store.d.ts +75 -54
- package/dist/types/state/checkout/store.d.ts.map +1 -1
- package/dist/types/themes/default.d.ts +3 -3
- package/dist/types/themes/default.d.ts.map +1 -1
- package/dist/types/themes/index.d.ts +1 -1
- package/dist/types/themes/types.d.ts +28 -24
- package/dist/types/themes/types.d.ts.map +1 -1
- package/dist/types/utils/cn.d.ts +1 -1
- package/package.json +35 -11
- package/README.md +0 -94
|
@@ -1,735 +1,756 @@
|
|
|
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
|
-
|
|
37
|
-
};
|
|
38
|
-
/** @format date-time */
|
|
39
|
-
createdAt: string;
|
|
40
|
-
/** @format date-time */
|
|
41
|
-
updatedAt: string;
|
|
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;
|
|
42
37
|
};
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
38
|
+
/** @format date-time */
|
|
39
|
+
createdAt: string;
|
|
40
|
+
/** @format date-time */
|
|
41
|
+
updatedAt: string;
|
|
42
|
+
};
|
|
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;
|
|
53
69
|
currency: string;
|
|
70
|
+
/** @format date-time */
|
|
71
|
+
created_at: string;
|
|
72
|
+
/** @format date-time */
|
|
73
|
+
updated_at: string;
|
|
54
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
|
+
};
|
|
55
92
|
order_id?: string | null;
|
|
56
93
|
customer_id?: string;
|
|
57
94
|
metadata?: Record<string, string | number>;
|
|
58
95
|
line_items?: {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
96
|
+
name: string;
|
|
97
|
+
quantity: number;
|
|
98
|
+
image_url: string;
|
|
99
|
+
price: number;
|
|
63
100
|
}[];
|
|
64
101
|
amount: number;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
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;
|
|
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
|
-
|
|
157
|
-
}[];
|
|
158
|
-
amount: number;
|
|
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;
|
|
159
157
|
}[];
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
158
|
+
amount: number;
|
|
159
|
+
}[];
|
|
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
|
-
|
|
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;
|
|
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;
|
|
205
194
|
};
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
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;
|
|
205
|
+
};
|
|
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
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
216
|
+
asset: string;
|
|
217
|
+
chain: string;
|
|
218
|
+
address?: string;
|
|
219
|
+
required_confirmations?: number;
|
|
220
220
|
}
|
|
221
221
|
export interface PaymentsCryptoPayCreateData {
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
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
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
508
|
+
data: {
|
|
509
|
+
access_token: string;
|
|
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
519
|
}
|
|
520
520
|
export interface CheckoutsCreatePayload {
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
};
|
|
531
|
-
card?: {
|
|
532
|
-
/** @default false */
|
|
533
|
-
enabled?: boolean;
|
|
534
|
-
};
|
|
521
|
+
name: string;
|
|
522
|
+
checkout_config: {
|
|
523
|
+
crypto?: {
|
|
524
|
+
/** @default false */
|
|
525
|
+
enabled?: boolean;
|
|
526
|
+
assets?: {
|
|
527
|
+
chain: string;
|
|
528
|
+
asset: string;
|
|
529
|
+
}[];
|
|
535
530
|
};
|
|
536
|
-
|
|
531
|
+
card?: {
|
|
532
|
+
/** @default false */
|
|
533
|
+
enabled?: boolean;
|
|
534
|
+
};
|
|
535
|
+
};
|
|
536
|
+
logo_url?: string;
|
|
537
537
|
}
|
|
538
538
|
export interface CheckoutsCreateData {
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
};
|
|
563
|
-
is_live: boolean;
|
|
564
|
-
logo_url?: string;
|
|
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
|
+
};
|
|
565
562
|
};
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
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
|
-
|
|
599
|
-
};
|
|
600
|
-
is_live: boolean;
|
|
601
|
-
logo_url?: string;
|
|
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
|
+
};
|
|
602
599
|
};
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
600
|
+
is_live: boolean;
|
|
601
|
+
logo_url?: string;
|
|
602
|
+
};
|
|
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
|
-
|
|
636
|
-
};
|
|
637
|
-
is_live: boolean;
|
|
638
|
-
logo_url?: string;
|
|
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
|
+
};
|
|
639
636
|
};
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
637
|
+
is_live: boolean;
|
|
638
|
+
logo_url?: string;
|
|
639
|
+
};
|
|
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
|
-
|
|
651
|
-
|
|
652
|
-
|
|
650
|
+
chain: string;
|
|
651
|
+
owner_address: string;
|
|
652
|
+
withdraw_address: string;
|
|
653
653
|
}
|
|
654
654
|
export interface MerchantAccountsCreateData {
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
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<
|
|
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<
|
|
697
|
+
FullRequestParams,
|
|
698
|
+
"body" | "method" | "query" | "path"
|
|
699
|
+
>;
|
|
697
700
|
export interface ApiConfig<SecurityDataType = unknown> {
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
701
|
+
baseUrl?: string;
|
|
702
|
+
baseApiParams?: Omit<RequestParams, "baseUrl" | "cancelToken" | "signal">;
|
|
703
|
+
securityWorker?: (
|
|
704
|
+
securityData: SecurityDataType | null,
|
|
705
|
+
) => Promise<RequestParams | void> | RequestParams | void;
|
|
706
|
+
customFetch?: typeof fetch;
|
|
702
707
|
}
|
|
703
|
-
export interface HttpResponse<D extends unknown, E extends unknown = unknown>
|
|
704
|
-
|
|
705
|
-
|
|
708
|
+
export interface HttpResponse<D extends unknown, E extends unknown = unknown>
|
|
709
|
+
extends Response {
|
|
710
|
+
data: D;
|
|
711
|
+
error: E;
|
|
706
712
|
}
|
|
707
713
|
type CancelToken = Symbol | string | number;
|
|
708
714
|
export declare enum ContentType {
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
715
|
+
Json = "application/json",
|
|
716
|
+
FormData = "multipart/form-data",
|
|
717
|
+
UrlEncoded = "application/x-www-form-urlencoded",
|
|
718
|
+
Text = "text/plain",
|
|
713
719
|
}
|
|
714
720
|
export declare class HttpClient<SecurityDataType = unknown> {
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
721
|
+
baseUrl: string;
|
|
722
|
+
private securityData;
|
|
723
|
+
private securityWorker?;
|
|
724
|
+
private abortControllers;
|
|
725
|
+
private customFetch;
|
|
726
|
+
private baseApiParams;
|
|
727
|
+
constructor(apiConfig?: ApiConfig<SecurityDataType>);
|
|
728
|
+
setSecurityData: (data: SecurityDataType | null) => void;
|
|
729
|
+
protected encodeQueryParam(key: string, value: any): string;
|
|
730
|
+
protected addQueryParam(query: QueryParamsType, key: string): string;
|
|
731
|
+
protected addArrayQueryParam(query: QueryParamsType, key: string): any;
|
|
732
|
+
protected toQueryString(rawQuery?: QueryParamsType): string;
|
|
733
|
+
protected addQueryParams(rawQuery?: QueryParamsType): string;
|
|
734
|
+
private contentFormatters;
|
|
735
|
+
protected mergeRequestParams(
|
|
736
|
+
params1: RequestParams,
|
|
737
|
+
params2?: RequestParams,
|
|
738
|
+
): RequestParams;
|
|
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>>;
|
|
733
754
|
}
|
|
734
755
|
/**
|
|
735
756
|
* @title Mint Money API
|
|
@@ -738,207 +759,275 @@ export declare class HttpClient<SecurityDataType = unknown> {
|
|
|
738
759
|
*
|
|
739
760
|
* API for the getmint.money platform
|
|
740
761
|
*/
|
|
741
|
-
export declare class Api<
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
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
|
-
|
|
762
|
+
export declare class Api<
|
|
763
|
+
SecurityDataType extends unknown,
|
|
764
|
+
> extends HttpClient<SecurityDataType> {
|
|
765
|
+
v1: {
|
|
766
|
+
/**
|
|
767
|
+
* No description
|
|
768
|
+
*
|
|
769
|
+
* @tags Health
|
|
770
|
+
* @name HealthzList
|
|
771
|
+
* @request GET:/v1/healthz
|
|
772
|
+
* @response `200` `HealthzListData` Default Response
|
|
773
|
+
*/
|
|
774
|
+
healthzList: (
|
|
775
|
+
params?: RequestParams,
|
|
776
|
+
) => Promise<HttpResponse<HealthzListData, any>>;
|
|
777
|
+
/**
|
|
778
|
+
* @description Create a new organisation
|
|
779
|
+
*
|
|
780
|
+
* @tags Organisations
|
|
781
|
+
* @name OrganizationsCreate
|
|
782
|
+
* @request POST:/v1/organizations/
|
|
783
|
+
* @response `201` `OrganizationsCreateData` Default Response
|
|
784
|
+
*/
|
|
785
|
+
organizationsCreate: (
|
|
786
|
+
data: OrganizationsCreatePayload,
|
|
787
|
+
params?: RequestParams,
|
|
788
|
+
) => Promise<HttpResponse<OrganizationsCreateData, any>>;
|
|
789
|
+
/**
|
|
790
|
+
* @description Get account details for the current user
|
|
791
|
+
*
|
|
792
|
+
* @tags Account
|
|
793
|
+
* @name AccountsMeList
|
|
794
|
+
* @request GET:/v1/accounts/me
|
|
795
|
+
* @response `200` `AccountsMeListData` Default Response
|
|
796
|
+
*/
|
|
797
|
+
accountsMeList: (
|
|
798
|
+
params?: RequestParams,
|
|
799
|
+
) => Promise<HttpResponse<AccountsMeListData, any>>;
|
|
800
|
+
/**
|
|
801
|
+
* @description Create a new on-chain payment
|
|
802
|
+
*
|
|
803
|
+
* @tags Payments
|
|
804
|
+
* @name PaymentsCreate
|
|
805
|
+
* @request POST:/v1/payments/
|
|
806
|
+
* @response `201` `PaymentsCreateData` Default Response
|
|
807
|
+
*/
|
|
808
|
+
paymentsCreate: (
|
|
809
|
+
data: PaymentsCreatePayload,
|
|
810
|
+
params?: RequestParams,
|
|
811
|
+
) => Promise<HttpResponse<PaymentsCreateData, any>>;
|
|
812
|
+
/**
|
|
813
|
+
* @description Fetch all payment by id
|
|
814
|
+
*
|
|
815
|
+
* @tags Payments
|
|
816
|
+
* @name PaymentsList
|
|
817
|
+
* @request GET:/v1/payments/
|
|
818
|
+
* @response `200` `PaymentsListData` Default Response
|
|
819
|
+
*/
|
|
820
|
+
paymentsList: (
|
|
821
|
+
query: PaymentsListParams,
|
|
822
|
+
params?: RequestParams,
|
|
823
|
+
) => Promise<HttpResponse<PaymentsListData, any>>;
|
|
824
|
+
/**
|
|
825
|
+
* @description Fetch a payment by id
|
|
826
|
+
*
|
|
827
|
+
* @tags Payments
|
|
828
|
+
* @name PaymentsDetail
|
|
829
|
+
* @request GET:/v1/payments/{paymentId}
|
|
830
|
+
* @response `201` `PaymentsDetailData` Default Response
|
|
831
|
+
*/
|
|
832
|
+
paymentsDetail: (
|
|
833
|
+
paymentId: string,
|
|
834
|
+
params?: RequestParams,
|
|
835
|
+
) => Promise<HttpResponse<PaymentsDetailData, any>>;
|
|
836
|
+
/**
|
|
837
|
+
* @description Add attempt to pay for a payment using cryptocurrency
|
|
838
|
+
*
|
|
839
|
+
* @tags Payments
|
|
840
|
+
* @name PaymentsCryptoPayCreate
|
|
841
|
+
* @request POST:/v1/payments/crypto-pay/{paymentId}
|
|
842
|
+
* @response `201` `PaymentsCryptoPayCreateData` Default Response
|
|
843
|
+
*/
|
|
844
|
+
paymentsCryptoPayCreate: (
|
|
845
|
+
paymentId: string,
|
|
846
|
+
data: PaymentsCryptoPayCreatePayload,
|
|
847
|
+
params?: RequestParams,
|
|
848
|
+
) => Promise<HttpResponse<PaymentsCryptoPayCreateData, any>>;
|
|
849
|
+
/**
|
|
850
|
+
* @description Fetch the supported chains
|
|
851
|
+
*
|
|
852
|
+
* @tags Chain
|
|
853
|
+
* @name ChainsList
|
|
854
|
+
* @request GET:/v1/chains
|
|
855
|
+
* @response `200` `ChainsListData` Default Response
|
|
856
|
+
*/
|
|
857
|
+
chainsList: (
|
|
858
|
+
query: ChainsListParams,
|
|
859
|
+
params?: RequestParams,
|
|
860
|
+
) => Promise<HttpResponse<ChainsListData, any>>;
|
|
861
|
+
/**
|
|
862
|
+
* @description Fetch the supported tokens
|
|
863
|
+
*
|
|
864
|
+
* @tags Chain
|
|
865
|
+
* @name TokensList
|
|
866
|
+
* @request GET:/v1/tokens
|
|
867
|
+
* @response `200` `TokensListData` Default Response
|
|
868
|
+
*/
|
|
869
|
+
tokensList: (
|
|
870
|
+
query: TokensListParams,
|
|
871
|
+
params?: RequestParams,
|
|
872
|
+
) => Promise<HttpResponse<TokensListData, any>>;
|
|
873
|
+
/**
|
|
874
|
+
* @description Create a new endpoint for the organization
|
|
875
|
+
*
|
|
876
|
+
* @tags Webhooks
|
|
877
|
+
* @name WebhooksCreate
|
|
878
|
+
* @request POST:/v1/webhooks/
|
|
879
|
+
* @response `201` `WebhooksCreateData` Default Response
|
|
880
|
+
*/
|
|
881
|
+
webhooksCreate: (
|
|
882
|
+
data: WebhooksCreatePayload,
|
|
883
|
+
params?: RequestParams,
|
|
884
|
+
) => Promise<HttpResponse<WebhooksCreateData, any>>;
|
|
885
|
+
/**
|
|
886
|
+
* @description Fetch all WebhookUrls
|
|
887
|
+
*
|
|
888
|
+
* @tags Webhooks
|
|
889
|
+
* @name WebhooksList
|
|
890
|
+
* @request GET:/v1/webhooks/
|
|
891
|
+
* @response `200` `WebhooksListData` Default Response
|
|
892
|
+
*/
|
|
893
|
+
webhooksList: (
|
|
894
|
+
query: WebhooksListParams,
|
|
895
|
+
params?: RequestParams,
|
|
896
|
+
) => Promise<HttpResponse<WebhooksListData, any>>;
|
|
897
|
+
/**
|
|
898
|
+
* @description Create a new API key for the organization
|
|
899
|
+
*
|
|
900
|
+
* @tags ApiKeys
|
|
901
|
+
* @name ApiKeysCreate
|
|
902
|
+
* @request POST:/v1/api-keys/
|
|
903
|
+
* @response `201` `ApiKeysCreateData` Default Response
|
|
904
|
+
*/
|
|
905
|
+
apiKeysCreate: (
|
|
906
|
+
data: ApiKeysCreatePayload,
|
|
907
|
+
params?: RequestParams,
|
|
908
|
+
) => Promise<HttpResponse<ApiKeysCreateData, any>>;
|
|
909
|
+
/**
|
|
910
|
+
* @description Fetch all ApiKeys
|
|
911
|
+
*
|
|
912
|
+
* @tags ApiKeys
|
|
913
|
+
* @name ApiKeysList
|
|
914
|
+
* @request GET:/v1/api-keys/
|
|
915
|
+
* @response `200` `ApiKeysListData` Default Response
|
|
916
|
+
*/
|
|
917
|
+
apiKeysList: (
|
|
918
|
+
query: ApiKeysListParams,
|
|
919
|
+
params?: RequestParams,
|
|
920
|
+
) => Promise<HttpResponse<ApiKeysListData, any>>;
|
|
921
|
+
/**
|
|
922
|
+
* @description Delete an ApiKey
|
|
923
|
+
*
|
|
924
|
+
* @tags ApiKeys
|
|
925
|
+
* @name ApiKeysDelete
|
|
926
|
+
* @request DELETE:/v1/api-keys/{apiKeyId}
|
|
927
|
+
* @response `200` `ApiKeysDeleteData` Default Response
|
|
928
|
+
*/
|
|
929
|
+
apiKeysDelete: (
|
|
930
|
+
apiKeyId: string,
|
|
931
|
+
params?: RequestParams,
|
|
932
|
+
) => Promise<HttpResponse<ApiKeysDeleteData, any>>;
|
|
933
|
+
/**
|
|
934
|
+
* @description Patch an ApiKey
|
|
935
|
+
*
|
|
936
|
+
* @tags ApiKeys
|
|
937
|
+
* @name ApiKeysPartialUpdate
|
|
938
|
+
* @request PATCH:/v1/api-keys/{apiKeyId}
|
|
939
|
+
* @response `201` `ApiKeysPartialUpdateData` Default Response
|
|
940
|
+
*/
|
|
941
|
+
apiKeysPartialUpdate: (
|
|
942
|
+
apiKeyId: string,
|
|
943
|
+
data: ApiKeysPartialUpdatePayload,
|
|
944
|
+
params?: RequestParams,
|
|
945
|
+
) => Promise<HttpResponse<ApiKeysPartialUpdateData, any>>;
|
|
946
|
+
/**
|
|
947
|
+
* @description Sync a specific block
|
|
948
|
+
*
|
|
949
|
+
* @tags Blocks
|
|
950
|
+
* @name BlocksCreate
|
|
951
|
+
* @request POST:/v1/blocks
|
|
952
|
+
* @response `200` `BlocksCreateData` Default Response
|
|
953
|
+
*/
|
|
954
|
+
blocksCreate: (
|
|
955
|
+
data: BlocksCreatePayload,
|
|
956
|
+
params?: RequestParams,
|
|
957
|
+
) => Promise<HttpResponse<BlocksCreateData, any>>;
|
|
958
|
+
/**
|
|
959
|
+
* @description Begin identity verification
|
|
960
|
+
*
|
|
961
|
+
* @tags Auth
|
|
962
|
+
* @name AuthIdentifyStartCreate
|
|
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
|
+
};
|
|
942
1031
|
}
|
|
943
1032
|
export {};
|
|
944
|
-
//# sourceMappingURL=generated.d.ts.map
|
|
1033
|
+
//# sourceMappingURL=generated.d.ts.map
|