@blezgo/api-sdk 0.1.0
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/CHANGELOG.md +6 -0
- package/README.md +27 -0
- package/dist/account/client.d.ts +3 -0
- package/dist/account/client.d.ts.map +1 -0
- package/dist/account/client.js +3 -0
- package/dist/account/client.js.map +1 -0
- package/dist/account/generated.d.ts +2648 -0
- package/dist/account/generated.d.ts.map +1 -0
- package/dist/account/generated.js +6 -0
- package/dist/account/generated.js.map +1 -0
- package/dist/account/index.d.ts +2 -0
- package/dist/account/index.d.ts.map +1 -0
- package/dist/account/index.js +2 -0
- package/dist/account/index.js.map +1 -0
- package/dist/admin/client.d.ts +3 -0
- package/dist/admin/client.d.ts.map +1 -0
- package/dist/admin/client.js +3 -0
- package/dist/admin/client.js.map +1 -0
- package/dist/admin/generated.d.ts +956 -0
- package/dist/admin/generated.d.ts.map +1 -0
- package/dist/admin/generated.js +6 -0
- package/dist/admin/generated.js.map +1 -0
- package/dist/admin/index.d.ts +2 -0
- package/dist/admin/index.d.ts.map +1 -0
- package/dist/admin/index.js +2 -0
- package/dist/admin/index.js.map +1 -0
- package/dist/authentication/client.d.ts +3 -0
- package/dist/authentication/client.d.ts.map +1 -0
- package/dist/authentication/client.js +3 -0
- package/dist/authentication/client.js.map +1 -0
- package/dist/authentication/generated.d.ts +746 -0
- package/dist/authentication/generated.d.ts.map +1 -0
- package/dist/authentication/generated.js +6 -0
- package/dist/authentication/generated.js.map +1 -0
- package/dist/authentication/index.d.ts +2 -0
- package/dist/authentication/index.d.ts.map +1 -0
- package/dist/authentication/index.js +2 -0
- package/dist/authentication/index.js.map +1 -0
- package/dist/cache/client.d.ts +3 -0
- package/dist/cache/client.d.ts.map +1 -0
- package/dist/cache/client.js +3 -0
- package/dist/cache/client.js.map +1 -0
- package/dist/cache/generated.d.ts +3355 -0
- package/dist/cache/generated.d.ts.map +1 -0
- package/dist/cache/generated.js +6 -0
- package/dist/cache/generated.js.map +1 -0
- package/dist/cache/index.d.ts +2 -0
- package/dist/cache/index.d.ts.map +1 -0
- package/dist/cache/index.js +2 -0
- package/dist/cache/index.js.map +1 -0
- package/dist/config/client.d.ts +3 -0
- package/dist/config/client.d.ts.map +1 -0
- package/dist/config/client.js +3 -0
- package/dist/config/client.js.map +1 -0
- package/dist/config/generated.d.ts +1150 -0
- package/dist/config/generated.d.ts.map +1 -0
- package/dist/config/generated.js +6 -0
- package/dist/config/generated.js.map +1 -0
- package/dist/config/index.d.ts +2 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +2 -0
- package/dist/config/index.js.map +1 -0
- package/dist/dashboard/client.d.ts +3 -0
- package/dist/dashboard/client.d.ts.map +1 -0
- package/dist/dashboard/client.js +3 -0
- package/dist/dashboard/client.js.map +1 -0
- package/dist/dashboard/generated.d.ts +4831 -0
- package/dist/dashboard/generated.d.ts.map +1 -0
- package/dist/dashboard/generated.js +6 -0
- package/dist/dashboard/generated.js.map +1 -0
- package/dist/dashboard/index.d.ts +2 -0
- package/dist/dashboard/index.d.ts.map +1 -0
- package/dist/dashboard/index.js +2 -0
- package/dist/dashboard/index.js.map +1 -0
- package/dist/errors/client.d.ts +3 -0
- package/dist/errors/client.d.ts.map +1 -0
- package/dist/errors/client.js +3 -0
- package/dist/errors/client.js.map +1 -0
- package/dist/errors/generated.d.ts +340 -0
- package/dist/errors/generated.d.ts.map +1 -0
- package/dist/errors/generated.js +6 -0
- package/dist/errors/generated.js.map +1 -0
- package/dist/errors/index.d.ts +2 -0
- package/dist/errors/index.d.ts.map +1 -0
- package/dist/errors/index.js +2 -0
- package/dist/errors/index.js.map +1 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +19 -0
- package/dist/index.js.map +1 -0
- package/dist/internationalization/client.d.ts +3 -0
- package/dist/internationalization/client.d.ts.map +1 -0
- package/dist/internationalization/client.js +3 -0
- package/dist/internationalization/client.js.map +1 -0
- package/dist/internationalization/generated.d.ts +587 -0
- package/dist/internationalization/generated.d.ts.map +1 -0
- package/dist/internationalization/generated.js +6 -0
- package/dist/internationalization/generated.js.map +1 -0
- package/dist/internationalization/index.d.ts +2 -0
- package/dist/internationalization/index.d.ts.map +1 -0
- package/dist/internationalization/index.js +2 -0
- package/dist/internationalization/index.js.map +1 -0
- package/dist/invitations/client.d.ts +3 -0
- package/dist/invitations/client.d.ts.map +1 -0
- package/dist/invitations/client.js +3 -0
- package/dist/invitations/client.js.map +1 -0
- package/dist/invitations/generated.d.ts +4019 -0
- package/dist/invitations/generated.d.ts.map +1 -0
- package/dist/invitations/generated.js +6 -0
- package/dist/invitations/generated.js.map +1 -0
- package/dist/invitations/index.d.ts +2 -0
- package/dist/invitations/index.d.ts.map +1 -0
- package/dist/invitations/index.js +2 -0
- package/dist/invitations/index.js.map +1 -0
- package/dist/registration/client.d.ts +3 -0
- package/dist/registration/client.d.ts.map +1 -0
- package/dist/registration/client.js +3 -0
- package/dist/registration/client.js.map +1 -0
- package/dist/registration/generated.d.ts +1010 -0
- package/dist/registration/generated.d.ts.map +1 -0
- package/dist/registration/generated.js +6 -0
- package/dist/registration/generated.js.map +1 -0
- package/dist/registration/index.d.ts +2 -0
- package/dist/registration/index.d.ts.map +1 -0
- package/dist/registration/index.js +2 -0
- package/dist/registration/index.js.map +1 -0
- package/dist/role/client.d.ts +3 -0
- package/dist/role/client.d.ts.map +1 -0
- package/dist/role/client.js +3 -0
- package/dist/role/client.js.map +1 -0
- package/dist/role/generated.d.ts +6324 -0
- package/dist/role/generated.d.ts.map +1 -0
- package/dist/role/generated.js +6 -0
- package/dist/role/generated.js.map +1 -0
- package/dist/role/index.d.ts +2 -0
- package/dist/role/index.d.ts.map +1 -0
- package/dist/role/index.js +2 -0
- package/dist/role/index.js.map +1 -0
- package/dist/tenant/client.d.ts +3 -0
- package/dist/tenant/client.d.ts.map +1 -0
- package/dist/tenant/client.js +3 -0
- package/dist/tenant/client.js.map +1 -0
- package/dist/tenant/generated.d.ts +8273 -0
- package/dist/tenant/generated.d.ts.map +1 -0
- package/dist/tenant/generated.js +6 -0
- package/dist/tenant/generated.js.map +1 -0
- package/dist/tenant/index.d.ts +2 -0
- package/dist/tenant/index.d.ts.map +1 -0
- package/dist/tenant/index.js +2 -0
- package/dist/tenant/index.js.map +1 -0
- package/dist/tokens/client.d.ts +3 -0
- package/dist/tokens/client.d.ts.map +1 -0
- package/dist/tokens/client.js +3 -0
- package/dist/tokens/client.js.map +1 -0
- package/dist/tokens/generated.d.ts +528 -0
- package/dist/tokens/generated.d.ts.map +1 -0
- package/dist/tokens/generated.js +6 -0
- package/dist/tokens/generated.js.map +1 -0
- package/dist/tokens/index.d.ts +2 -0
- package/dist/tokens/index.d.ts.map +1 -0
- package/dist/tokens/index.js +2 -0
- package/dist/tokens/index.js.map +1 -0
- package/dist/user/client.d.ts +3 -0
- package/dist/user/client.d.ts.map +1 -0
- package/dist/user/client.js +3 -0
- package/dist/user/client.js.map +1 -0
- package/dist/user/generated.d.ts +4350 -0
- package/dist/user/generated.d.ts.map +1 -0
- package/dist/user/generated.js +6 -0
- package/dist/user/generated.js.map +1 -0
- package/dist/user/index.d.ts +2 -0
- package/dist/user/index.d.ts.map +1 -0
- package/dist/user/index.js +2 -0
- package/dist/user/index.js.map +1 -0
- package/package.json +39 -0
|
@@ -0,0 +1,4019 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by openapi-typescript.
|
|
3
|
+
* Do not make direct changes to the file.
|
|
4
|
+
*/
|
|
5
|
+
export interface paths {
|
|
6
|
+
"/v1/invitations/validations": {
|
|
7
|
+
parameters: {
|
|
8
|
+
query?: never;
|
|
9
|
+
header?: never;
|
|
10
|
+
path?: never;
|
|
11
|
+
cookie?: never;
|
|
12
|
+
};
|
|
13
|
+
get?: never;
|
|
14
|
+
put?: never;
|
|
15
|
+
/**
|
|
16
|
+
* Validate an invite token
|
|
17
|
+
* @description **Purpose**: Validate an invite JWT before showing the registration form.
|
|
18
|
+
*
|
|
19
|
+
* **Flow**: Verifies JWT signature + expiry → DB lookup by token hash → status check.
|
|
20
|
+
*
|
|
21
|
+
* **Auth**: None required — public endpoint.
|
|
22
|
+
*
|
|
23
|
+
* **Security**: Token is in the request body (not a query param) to prevent
|
|
24
|
+
* it from appearing in server access logs, browser history, or CDN logs.
|
|
25
|
+
*
|
|
26
|
+
* **Response codes**:
|
|
27
|
+
* - 200 OK — token valid; returns pre-fill data (email, name, role, org)
|
|
28
|
+
* - 404 — token not found or signature invalid
|
|
29
|
+
* - 410 Gone — token expired, revoked, or already accepted
|
|
30
|
+
*/
|
|
31
|
+
post: operations["validateInviteToken"];
|
|
32
|
+
delete?: never;
|
|
33
|
+
options?: never;
|
|
34
|
+
head?: never;
|
|
35
|
+
patch?: never;
|
|
36
|
+
trace?: never;
|
|
37
|
+
};
|
|
38
|
+
"/v1/invitations": {
|
|
39
|
+
parameters: {
|
|
40
|
+
query?: never;
|
|
41
|
+
header?: never;
|
|
42
|
+
path?: never;
|
|
43
|
+
cookie?: never;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* List invitations
|
|
47
|
+
* @description **Purpose**: Paginated list of invitations for the organization.
|
|
48
|
+
*
|
|
49
|
+
* **Filters**: status, role_external_id, email (partial match), invited_by user.
|
|
50
|
+
*
|
|
51
|
+
* **Auth**: Requires `invitation.view.all` permission.
|
|
52
|
+
*/
|
|
53
|
+
get: operations["listInvitations"];
|
|
54
|
+
put?: never;
|
|
55
|
+
/**
|
|
56
|
+
* Create a quick invitation
|
|
57
|
+
* @description **Purpose**: Invite one user to the organization by email.
|
|
58
|
+
*
|
|
59
|
+
* **Flow**:
|
|
60
|
+
* 1. Rate-limit check (500/admin/day, 2000/org/day)
|
|
61
|
+
* 2. Idempotency check — duplicate key returns the original invitation
|
|
62
|
+
* 3. Reject if a pending invite already exists for this email in the org
|
|
63
|
+
* 4. Generate invite JWT via auth_svc (only token hash stored in DB)
|
|
64
|
+
* 5. Persist invitation record and trigger email notification
|
|
65
|
+
*
|
|
66
|
+
* **Auth**: Requires `invitation.create.all` permission.
|
|
67
|
+
*
|
|
68
|
+
* **Response codes**:
|
|
69
|
+
* - 201 Created — invitation sent
|
|
70
|
+
* - 409 Conflict — pending invitation already exists for this email
|
|
71
|
+
* - 429 Too Many Requests — rate limit exceeded
|
|
72
|
+
* - 503 Service Unavailable — auth_svc unreachable
|
|
73
|
+
*/
|
|
74
|
+
post: operations["createInvitation"];
|
|
75
|
+
delete?: never;
|
|
76
|
+
options?: never;
|
|
77
|
+
head?: never;
|
|
78
|
+
patch?: never;
|
|
79
|
+
trace?: never;
|
|
80
|
+
};
|
|
81
|
+
"/v1/invitations/{invitation_id}": {
|
|
82
|
+
parameters: {
|
|
83
|
+
query?: never;
|
|
84
|
+
header?: never;
|
|
85
|
+
path?: never;
|
|
86
|
+
cookie?: never;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* Get invitation detail
|
|
90
|
+
* @description **Purpose**: Fetch full details of a single invitation.
|
|
91
|
+
*
|
|
92
|
+
* **Auth**: Requires `invitation.view.all` permission.
|
|
93
|
+
*/
|
|
94
|
+
get: operations["getInvitation"];
|
|
95
|
+
put?: never;
|
|
96
|
+
post?: never;
|
|
97
|
+
delete?: never;
|
|
98
|
+
options?: never;
|
|
99
|
+
head?: never;
|
|
100
|
+
patch?: never;
|
|
101
|
+
trace?: never;
|
|
102
|
+
};
|
|
103
|
+
"/v1/invitations/{invitation_id}/resends": {
|
|
104
|
+
parameters: {
|
|
105
|
+
query?: never;
|
|
106
|
+
header?: never;
|
|
107
|
+
path?: never;
|
|
108
|
+
cookie?: never;
|
|
109
|
+
};
|
|
110
|
+
get?: never;
|
|
111
|
+
put?: never;
|
|
112
|
+
/**
|
|
113
|
+
* Resend an invitation
|
|
114
|
+
* @description **Purpose**: Regenerate the invite JWT and resend the email. The old link is immediately invalidated.
|
|
115
|
+
*
|
|
116
|
+
* **Flow**: Only works for pending invitations. Increments resend_count.
|
|
117
|
+
*
|
|
118
|
+
* **Auth**: Requires `invitation.manage.all` permission.
|
|
119
|
+
*
|
|
120
|
+
* **Response codes**:
|
|
121
|
+
* - 200 OK — resent successfully
|
|
122
|
+
* - 400 Bad Request — invitation is not in pending state or resend limit reached
|
|
123
|
+
* - 404 Not Found — invitation not found
|
|
124
|
+
*/
|
|
125
|
+
post: operations["resendInvitation"];
|
|
126
|
+
delete?: never;
|
|
127
|
+
options?: never;
|
|
128
|
+
head?: never;
|
|
129
|
+
patch?: never;
|
|
130
|
+
trace?: never;
|
|
131
|
+
};
|
|
132
|
+
"/v1/invitations/{invitation_id}/revocations": {
|
|
133
|
+
parameters: {
|
|
134
|
+
query?: never;
|
|
135
|
+
header?: never;
|
|
136
|
+
path?: never;
|
|
137
|
+
cookie?: never;
|
|
138
|
+
};
|
|
139
|
+
get?: never;
|
|
140
|
+
put?: never;
|
|
141
|
+
/**
|
|
142
|
+
* Revoke a pending invitation
|
|
143
|
+
* @description **Purpose**: Cancel a pending invitation. The invite link becomes immediately invalid.
|
|
144
|
+
*
|
|
145
|
+
* **Flow**: Atomic status transition pending → revoked. Sends revocation notification to invitee.
|
|
146
|
+
*
|
|
147
|
+
* **Auth**: Requires `invitation.manage.all` permission.
|
|
148
|
+
*
|
|
149
|
+
* **Response codes**:
|
|
150
|
+
* - 200 OK — revoked successfully
|
|
151
|
+
* - 400 Bad Request — invitation is not in pending state
|
|
152
|
+
* - 404 Not Found — invitation not found
|
|
153
|
+
*/
|
|
154
|
+
post: operations["revokeInvitation"];
|
|
155
|
+
delete?: never;
|
|
156
|
+
options?: never;
|
|
157
|
+
head?: never;
|
|
158
|
+
patch?: never;
|
|
159
|
+
trace?: never;
|
|
160
|
+
};
|
|
161
|
+
"/v1/invitations/bulk": {
|
|
162
|
+
parameters: {
|
|
163
|
+
query?: never;
|
|
164
|
+
header?: never;
|
|
165
|
+
path?: never;
|
|
166
|
+
cookie?: never;
|
|
167
|
+
};
|
|
168
|
+
get?: never;
|
|
169
|
+
put?: never;
|
|
170
|
+
/**
|
|
171
|
+
* Create a bulk invite job
|
|
172
|
+
* @description **Purpose**: Invite many users at once by submitting a JSON list of email addresses.
|
|
173
|
+
*
|
|
174
|
+
* **Flow**:
|
|
175
|
+
* 1. Rate limit check (3 concurrent jobs, 10 jobs/day per org)
|
|
176
|
+
* 2. Idempotency check — duplicate key returns the original job
|
|
177
|
+
* 3. Validate and deduplicate emails within the payload
|
|
178
|
+
* 4. Create job + item rows; enqueue background Celery task
|
|
179
|
+
* 5. Returns immediately with job ID and status=queued
|
|
180
|
+
*
|
|
181
|
+
* **Auth**: Requires `invitation.bulk.all` permission.
|
|
182
|
+
*
|
|
183
|
+
* **Response codes**:
|
|
184
|
+
* - 202 Accepted — job queued for processing
|
|
185
|
+
* - 429 Too Many Requests — concurrent or daily job limit reached
|
|
186
|
+
*/
|
|
187
|
+
post: operations["createBulkInviteJob"];
|
|
188
|
+
delete?: never;
|
|
189
|
+
options?: never;
|
|
190
|
+
head?: never;
|
|
191
|
+
patch?: never;
|
|
192
|
+
trace?: never;
|
|
193
|
+
};
|
|
194
|
+
"/v1/invitations/bulk/{job_id}": {
|
|
195
|
+
parameters: {
|
|
196
|
+
query?: never;
|
|
197
|
+
header?: never;
|
|
198
|
+
path?: never;
|
|
199
|
+
cookie?: never;
|
|
200
|
+
};
|
|
201
|
+
/**
|
|
202
|
+
* Get bulk invite job status
|
|
203
|
+
* @description **Purpose**: Retrieve the status and counters for a bulk invite job.
|
|
204
|
+
*
|
|
205
|
+
* **Auth**: Requires `invitation.view.all` permission.
|
|
206
|
+
*/
|
|
207
|
+
get: operations["getBulkInviteJob"];
|
|
208
|
+
put?: never;
|
|
209
|
+
post?: never;
|
|
210
|
+
delete?: never;
|
|
211
|
+
options?: never;
|
|
212
|
+
head?: never;
|
|
213
|
+
patch?: never;
|
|
214
|
+
trace?: never;
|
|
215
|
+
};
|
|
216
|
+
"/v1/invitations/bulk/{job_id}/items": {
|
|
217
|
+
parameters: {
|
|
218
|
+
query?: never;
|
|
219
|
+
header?: never;
|
|
220
|
+
path?: never;
|
|
221
|
+
cookie?: never;
|
|
222
|
+
};
|
|
223
|
+
/**
|
|
224
|
+
* List items in a bulk invite job
|
|
225
|
+
* @description **Purpose**: Paginated list of per-row results for a bulk invite job.
|
|
226
|
+
*
|
|
227
|
+
* **Filters**: status (pending, sent, skipped_duplicate, skipped_registered, failed)
|
|
228
|
+
*
|
|
229
|
+
* **Auth**: Requires `invitation.view.all` permission.
|
|
230
|
+
*/
|
|
231
|
+
get: operations["listBulkInviteJobItems"];
|
|
232
|
+
put?: never;
|
|
233
|
+
post?: never;
|
|
234
|
+
delete?: never;
|
|
235
|
+
options?: never;
|
|
236
|
+
head?: never;
|
|
237
|
+
patch?: never;
|
|
238
|
+
trace?: never;
|
|
239
|
+
};
|
|
240
|
+
"/v1/invitations/bulk/{job_id}/retries": {
|
|
241
|
+
parameters: {
|
|
242
|
+
query?: never;
|
|
243
|
+
header?: never;
|
|
244
|
+
path?: never;
|
|
245
|
+
cookie?: never;
|
|
246
|
+
};
|
|
247
|
+
get?: never;
|
|
248
|
+
put?: never;
|
|
249
|
+
/**
|
|
250
|
+
* Retry failed rows in a bulk invite job
|
|
251
|
+
* @description **Purpose**: Re-queue only the rows that previously failed for reprocessing.
|
|
252
|
+
*
|
|
253
|
+
* **Auth**: Requires `invitation.bulk.all` permission.
|
|
254
|
+
*
|
|
255
|
+
* **Response codes**:
|
|
256
|
+
* - 200 OK — retry queued
|
|
257
|
+
* - 404 — job not found or no failed rows to retry
|
|
258
|
+
*/
|
|
259
|
+
post: operations["retryBulkInviteJob"];
|
|
260
|
+
delete?: never;
|
|
261
|
+
options?: never;
|
|
262
|
+
head?: never;
|
|
263
|
+
patch?: never;
|
|
264
|
+
trace?: never;
|
|
265
|
+
};
|
|
266
|
+
"/v1/invitations/bulk/{job_id}/cancellations": {
|
|
267
|
+
parameters: {
|
|
268
|
+
query?: never;
|
|
269
|
+
header?: never;
|
|
270
|
+
path?: never;
|
|
271
|
+
cookie?: never;
|
|
272
|
+
};
|
|
273
|
+
get?: never;
|
|
274
|
+
put?: never;
|
|
275
|
+
/**
|
|
276
|
+
* Cancel a queued bulk invite job
|
|
277
|
+
* @description **Purpose**: Cancel a job before it starts processing. Not allowed once status is
|
|
278
|
+
* `processing`, `completed`, or `completed_with_errors`.
|
|
279
|
+
*
|
|
280
|
+
* **Auth**: Requires `invitation.bulk.all` permission.
|
|
281
|
+
*
|
|
282
|
+
* **Response codes**:
|
|
283
|
+
* - 200 OK — cancelled
|
|
284
|
+
* - 409 — job cannot be cancelled (already processing or completed)
|
|
285
|
+
* - 404 — job not found
|
|
286
|
+
*/
|
|
287
|
+
post: operations["cancelBulkInviteJob"];
|
|
288
|
+
delete?: never;
|
|
289
|
+
options?: never;
|
|
290
|
+
head?: never;
|
|
291
|
+
patch?: never;
|
|
292
|
+
trace?: never;
|
|
293
|
+
};
|
|
294
|
+
"/v1/users/bulk-registrations": {
|
|
295
|
+
parameters: {
|
|
296
|
+
query?: never;
|
|
297
|
+
header?: never;
|
|
298
|
+
path?: never;
|
|
299
|
+
cookie?: never;
|
|
300
|
+
};
|
|
301
|
+
get?: never;
|
|
302
|
+
put?: never;
|
|
303
|
+
/**
|
|
304
|
+
* Create a bulk register job
|
|
305
|
+
* @description **Purpose**: Create many user accounts directly without requiring user action.
|
|
306
|
+
*
|
|
307
|
+
* **Flow**:
|
|
308
|
+
* 1. Rate limit check (2 concurrent jobs, 5 jobs/day per org)
|
|
309
|
+
* 2. Idempotency check — duplicate key returns the original job
|
|
310
|
+
* 3. Validate and deduplicate emails within the payload
|
|
311
|
+
* 4. Create job + item rows; enqueue background Celery task
|
|
312
|
+
* 5. Returns immediately with job ID and status=queued
|
|
313
|
+
*
|
|
314
|
+
* Each user receives a temporary password and a password-setup link
|
|
315
|
+
* (when `require_password_setup=True`, which is the default).
|
|
316
|
+
*
|
|
317
|
+
* **Auth**: Requires `user.bulk_create.all` permission.
|
|
318
|
+
*
|
|
319
|
+
* **Response codes**:
|
|
320
|
+
* - 202 Accepted — job queued for processing
|
|
321
|
+
* - 429 Too Many Requests — concurrent or daily job limit reached
|
|
322
|
+
*/
|
|
323
|
+
post: operations["createBulkRegistrationJob"];
|
|
324
|
+
delete?: never;
|
|
325
|
+
options?: never;
|
|
326
|
+
head?: never;
|
|
327
|
+
patch?: never;
|
|
328
|
+
trace?: never;
|
|
329
|
+
};
|
|
330
|
+
"/v1/users/bulk-registrations/{job_id}": {
|
|
331
|
+
parameters: {
|
|
332
|
+
query?: never;
|
|
333
|
+
header?: never;
|
|
334
|
+
path?: never;
|
|
335
|
+
cookie?: never;
|
|
336
|
+
};
|
|
337
|
+
/**
|
|
338
|
+
* Get bulk register job status
|
|
339
|
+
* @description **Purpose**: Retrieve the status and counters for a bulk register job.
|
|
340
|
+
*
|
|
341
|
+
* **Auth**: Requires `user.view.all` permission.
|
|
342
|
+
*/
|
|
343
|
+
get: operations["getBulkRegistrationJob"];
|
|
344
|
+
put?: never;
|
|
345
|
+
post?: never;
|
|
346
|
+
delete?: never;
|
|
347
|
+
options?: never;
|
|
348
|
+
head?: never;
|
|
349
|
+
patch?: never;
|
|
350
|
+
trace?: never;
|
|
351
|
+
};
|
|
352
|
+
"/v1/users/bulk-registrations/{job_id}/items": {
|
|
353
|
+
parameters: {
|
|
354
|
+
query?: never;
|
|
355
|
+
header?: never;
|
|
356
|
+
path?: never;
|
|
357
|
+
cookie?: never;
|
|
358
|
+
};
|
|
359
|
+
/**
|
|
360
|
+
* List items in a bulk register job
|
|
361
|
+
* @description **Purpose**: Paginated list of per-row results for a bulk register job.
|
|
362
|
+
*
|
|
363
|
+
* **Filters**: status (pending, created, skipped, failed)
|
|
364
|
+
*
|
|
365
|
+
* **Auth**: Requires `user.view.all` permission.
|
|
366
|
+
*/
|
|
367
|
+
get: operations["listBulkRegistrationJobItems"];
|
|
368
|
+
put?: never;
|
|
369
|
+
post?: never;
|
|
370
|
+
delete?: never;
|
|
371
|
+
options?: never;
|
|
372
|
+
head?: never;
|
|
373
|
+
patch?: never;
|
|
374
|
+
trace?: never;
|
|
375
|
+
};
|
|
376
|
+
"/v1/users/bulk-registrations/{job_id}/retries": {
|
|
377
|
+
parameters: {
|
|
378
|
+
query?: never;
|
|
379
|
+
header?: never;
|
|
380
|
+
path?: never;
|
|
381
|
+
cookie?: never;
|
|
382
|
+
};
|
|
383
|
+
get?: never;
|
|
384
|
+
put?: never;
|
|
385
|
+
/**
|
|
386
|
+
* Retry failed rows in a bulk register job
|
|
387
|
+
* @description **Purpose**: Re-queue only the rows that previously failed for reprocessing.
|
|
388
|
+
*
|
|
389
|
+
* **Auth**: Requires `user.bulk_create.all` permission.
|
|
390
|
+
*
|
|
391
|
+
* **Response codes**:
|
|
392
|
+
* - 200 OK — retry queued
|
|
393
|
+
* - 404 — job not found or no failed rows to retry
|
|
394
|
+
*/
|
|
395
|
+
post: operations["retryBulkRegistrationJob"];
|
|
396
|
+
delete?: never;
|
|
397
|
+
options?: never;
|
|
398
|
+
head?: never;
|
|
399
|
+
patch?: never;
|
|
400
|
+
trace?: never;
|
|
401
|
+
};
|
|
402
|
+
"/v1/users/quick-registrations": {
|
|
403
|
+
parameters: {
|
|
404
|
+
query?: never;
|
|
405
|
+
header?: never;
|
|
406
|
+
path?: never;
|
|
407
|
+
cookie?: never;
|
|
408
|
+
};
|
|
409
|
+
get?: never;
|
|
410
|
+
put?: never;
|
|
411
|
+
/**
|
|
412
|
+
* Directly create one user account
|
|
413
|
+
* @description **Purpose**: Admin creates a single user account immediately without requiring
|
|
414
|
+
* any action from the user. The account is active the moment the API responds.
|
|
415
|
+
*
|
|
416
|
+
* **Contrast with Quick Invite** (`POST /v1/invitations`):
|
|
417
|
+
* - Quick Invite sends an email link; the user must click it and self-register.
|
|
418
|
+
* - Quick Register creates the account directly — no user action needed.
|
|
419
|
+
*
|
|
420
|
+
* **Contrast with Bulk Register** (`POST /v1/users/bulk-register`):
|
|
421
|
+
* - Bulk Register is async (202 + Celery job) — designed for 10–5,000 users.
|
|
422
|
+
* - Quick Register is synchronous (201) — designed for one user, result is immediate.
|
|
423
|
+
*
|
|
424
|
+
* **Flow**:
|
|
425
|
+
* 1. Resolve role from `role_external_id` (falls back to org default)
|
|
426
|
+
* 2. Call auth_svc `POST /v1/internal/users/admin-create` and await the result
|
|
427
|
+
* 3. Surface 409 if the email is already registered in this org
|
|
428
|
+
* 4. Return the new user's `external_id`, `username`, `role_name`
|
|
429
|
+
*
|
|
430
|
+
* **Auth**: Requires `user.bulk_create.all` permission.
|
|
431
|
+
*
|
|
432
|
+
* **Response codes**:
|
|
433
|
+
* - 201 Created — account created; returns user details
|
|
434
|
+
* - 404 Not Found — role not found
|
|
435
|
+
* - 409 Conflict — email already registered in this org
|
|
436
|
+
* - 503 Service Unavailable — auth_svc unreachable
|
|
437
|
+
*/
|
|
438
|
+
post: operations["quickRegisterUser"];
|
|
439
|
+
delete?: never;
|
|
440
|
+
options?: never;
|
|
441
|
+
head?: never;
|
|
442
|
+
patch?: never;
|
|
443
|
+
trace?: never;
|
|
444
|
+
};
|
|
445
|
+
}
|
|
446
|
+
export type webhooks = Record<string, never>;
|
|
447
|
+
export interface components {
|
|
448
|
+
schemas: {
|
|
449
|
+
/**
|
|
450
|
+
* InviteTokenValidationRequest
|
|
451
|
+
* @description Validate an invite JWT. Token sent in body to keep it out of logs/URLs.
|
|
452
|
+
*/
|
|
453
|
+
InviteTokenValidationRequest: {
|
|
454
|
+
/**
|
|
455
|
+
* Token
|
|
456
|
+
* @description Raw invite JWT from the email link
|
|
457
|
+
*/
|
|
458
|
+
token: string;
|
|
459
|
+
};
|
|
460
|
+
Extensions: {
|
|
461
|
+
/** @example GENERIC_ERROR */
|
|
462
|
+
message_code?: string;
|
|
463
|
+
/** @example [] */
|
|
464
|
+
invalid_params?: components["schemas"]["InvalidParam"][];
|
|
465
|
+
extra_data?: Record<string, never> | null;
|
|
466
|
+
/** @example Detailed debug information */
|
|
467
|
+
debug?: string | null;
|
|
468
|
+
};
|
|
469
|
+
/**
|
|
470
|
+
* QuickRegisterRequest
|
|
471
|
+
* @description Direct admin provisioning of a single user account.
|
|
472
|
+
*/
|
|
473
|
+
QuickRegisterRequest: {
|
|
474
|
+
/**
|
|
475
|
+
* Email
|
|
476
|
+
* Format: email
|
|
477
|
+
* @description Email address for the new account
|
|
478
|
+
*/
|
|
479
|
+
email: string;
|
|
480
|
+
/** First Name */
|
|
481
|
+
first_name?: string | null;
|
|
482
|
+
/** Last Name */
|
|
483
|
+
last_name?: string | null;
|
|
484
|
+
/**
|
|
485
|
+
* Username
|
|
486
|
+
* @description Desired username. If omitted, auto-generated when auto_generate_username=true.
|
|
487
|
+
*/
|
|
488
|
+
username?: string | null;
|
|
489
|
+
/**
|
|
490
|
+
* Role External Id
|
|
491
|
+
* @description Role to assign (role_xxx). Defaults to org default role if omitted.
|
|
492
|
+
*/
|
|
493
|
+
role_external_id?: string | null;
|
|
494
|
+
/**
|
|
495
|
+
* Send Welcome Email
|
|
496
|
+
* @description Send a welcome email to the new user after account creation
|
|
497
|
+
* @default true
|
|
498
|
+
*/
|
|
499
|
+
send_welcome_email: boolean;
|
|
500
|
+
/**
|
|
501
|
+
* Require Password Setup
|
|
502
|
+
* @description Send a password-setup link instead of a temporary password
|
|
503
|
+
* @default true
|
|
504
|
+
*/
|
|
505
|
+
require_password_setup: boolean;
|
|
506
|
+
/**
|
|
507
|
+
* Auto Generate Username
|
|
508
|
+
* @description Auto-generate a username if none is provided
|
|
509
|
+
* @default true
|
|
510
|
+
*/
|
|
511
|
+
auto_generate_username: boolean;
|
|
512
|
+
};
|
|
513
|
+
/**
|
|
514
|
+
* BulkInviteRequest
|
|
515
|
+
* @description Submit a list of invitations as a JSON payload.
|
|
516
|
+
*/
|
|
517
|
+
BulkInviteRequest: {
|
|
518
|
+
/**
|
|
519
|
+
* Rows
|
|
520
|
+
* @description List of invitees (1–1000 rows)
|
|
521
|
+
*/
|
|
522
|
+
rows: components["schemas"]["BulkInviteRow"][];
|
|
523
|
+
/**
|
|
524
|
+
* Default Role External Id
|
|
525
|
+
* @description Default role for all rows that don't specify their own role
|
|
526
|
+
*/
|
|
527
|
+
default_role_external_id?: string | null;
|
|
528
|
+
/**
|
|
529
|
+
* Message
|
|
530
|
+
* @description Optional personal message included in every invite email
|
|
531
|
+
*/
|
|
532
|
+
message?: string | null;
|
|
533
|
+
/**
|
|
534
|
+
* Expires In Days
|
|
535
|
+
* @description Days until each invite link expires (1–30)
|
|
536
|
+
* @default 7
|
|
537
|
+
*/
|
|
538
|
+
expires_in_days: number;
|
|
539
|
+
/**
|
|
540
|
+
* Send Immediately
|
|
541
|
+
* @description Send emails immediately. Set False for dry-run / preview.
|
|
542
|
+
* @default true
|
|
543
|
+
*/
|
|
544
|
+
send_immediately: boolean;
|
|
545
|
+
/**
|
|
546
|
+
* Idempotency Key
|
|
547
|
+
* @description Client key for safe retry. Duplicate key returns the original job.
|
|
548
|
+
*/
|
|
549
|
+
idempotency_key?: string | null;
|
|
550
|
+
};
|
|
551
|
+
/** BulkInviteRow */
|
|
552
|
+
BulkInviteRow: {
|
|
553
|
+
/**
|
|
554
|
+
* Email
|
|
555
|
+
* Format: email
|
|
556
|
+
*/
|
|
557
|
+
email: string;
|
|
558
|
+
/** First Name */
|
|
559
|
+
first_name?: string | null;
|
|
560
|
+
/** Last Name */
|
|
561
|
+
last_name?: string | null;
|
|
562
|
+
/**
|
|
563
|
+
* Role External Id
|
|
564
|
+
* @description Role for this row; overrides job-level default
|
|
565
|
+
*/
|
|
566
|
+
role_external_id?: string | null;
|
|
567
|
+
};
|
|
568
|
+
/**
|
|
569
|
+
* @example {
|
|
570
|
+
* "status": "success",
|
|
571
|
+
* "message": "Operation successful",
|
|
572
|
+
* "message_code": "api_suc_20001",
|
|
573
|
+
* "data": {},
|
|
574
|
+
* "metadata": {
|
|
575
|
+
* "timestamp": "2026-03-26T10:00:00.000Z",
|
|
576
|
+
* "requestId": "07e22004-cb60-4dfc-bc9c-b6f99664dca1",
|
|
577
|
+
* "traceId": "a9f1204c-bb82-41de-b234-7c3a9e120000",
|
|
578
|
+
* "version": "v1",
|
|
579
|
+
* "executionTime": 42,
|
|
580
|
+
* "language": "en-US"
|
|
581
|
+
* }
|
|
582
|
+
* }
|
|
583
|
+
*/
|
|
584
|
+
StandardResponse: {
|
|
585
|
+
/** @example success */
|
|
586
|
+
status?: string;
|
|
587
|
+
data?: Record<string, never> | null;
|
|
588
|
+
/** @example Operation successful */
|
|
589
|
+
message?: string | null;
|
|
590
|
+
/** @example api_suc_20001 */
|
|
591
|
+
message_code?: string | null;
|
|
592
|
+
metadata?: Record<string, never> | null;
|
|
593
|
+
error?: components["schemas"]["ErrorResponse"];
|
|
594
|
+
};
|
|
595
|
+
/**
|
|
596
|
+
* ResendInviteRequest
|
|
597
|
+
* @description Resend an existing pending invitation (new token, old link dies).
|
|
598
|
+
*/
|
|
599
|
+
ResendInviteRequest: {
|
|
600
|
+
/**
|
|
601
|
+
* Expires In Days
|
|
602
|
+
* @description Override expiry. Omit to reuse the original expires_in_days.
|
|
603
|
+
*/
|
|
604
|
+
expires_in_days?: number | null;
|
|
605
|
+
/**
|
|
606
|
+
* Message
|
|
607
|
+
* @description Optional updated message. Omit to keep original.
|
|
608
|
+
*/
|
|
609
|
+
message?: string | null;
|
|
610
|
+
};
|
|
611
|
+
/**
|
|
612
|
+
* QuickInviteRequest
|
|
613
|
+
* @description Send a single invitation to one email address.
|
|
614
|
+
*/
|
|
615
|
+
QuickInviteRequest: {
|
|
616
|
+
/**
|
|
617
|
+
* Email
|
|
618
|
+
* Format: email
|
|
619
|
+
* @description Email address of the person being invited
|
|
620
|
+
*/
|
|
621
|
+
email: string;
|
|
622
|
+
/** First Name */
|
|
623
|
+
first_name?: string | null;
|
|
624
|
+
/** Last Name */
|
|
625
|
+
last_name?: string | null;
|
|
626
|
+
/**
|
|
627
|
+
* Role External Id
|
|
628
|
+
* @description External ID of the role to assign (role_xxx). Defaults to org default role.
|
|
629
|
+
*/
|
|
630
|
+
role_external_id?: string | null;
|
|
631
|
+
/**
|
|
632
|
+
* Message
|
|
633
|
+
* @description Optional personal message included in the invite email
|
|
634
|
+
*/
|
|
635
|
+
message?: string | null;
|
|
636
|
+
/**
|
|
637
|
+
* Expires In Days
|
|
638
|
+
* @description Days until the invitation link expires (1–30)
|
|
639
|
+
* @default 7
|
|
640
|
+
*/
|
|
641
|
+
expires_in_days: number;
|
|
642
|
+
/**
|
|
643
|
+
* Product External Ids
|
|
644
|
+
* @description Product external IDs to auto-enroll at acceptance time
|
|
645
|
+
*/
|
|
646
|
+
product_external_ids?: string[] | null;
|
|
647
|
+
/**
|
|
648
|
+
* Metadata
|
|
649
|
+
* @description Free-form key-value pairs stored with the invitation (max 50 keys)
|
|
650
|
+
*/
|
|
651
|
+
metadata?: {
|
|
652
|
+
[key: string]: unknown;
|
|
653
|
+
} | null;
|
|
654
|
+
/**
|
|
655
|
+
* Idempotency Key
|
|
656
|
+
* @description Client-supplied key for safe retry; duplicate returns original invitation
|
|
657
|
+
*/
|
|
658
|
+
idempotency_key?: string | null;
|
|
659
|
+
};
|
|
660
|
+
InvalidParam: {
|
|
661
|
+
/** @example items[0].quantity */
|
|
662
|
+
field?: string;
|
|
663
|
+
/** @example Input should be greater than or equal to 1 */
|
|
664
|
+
error?: string;
|
|
665
|
+
};
|
|
666
|
+
ErrorResponse: {
|
|
667
|
+
/** @example about:blank */
|
|
668
|
+
type?: string;
|
|
669
|
+
/** @example GENERIC_ERROR */
|
|
670
|
+
code?: string;
|
|
671
|
+
/** @example Client Error */
|
|
672
|
+
title?: string;
|
|
673
|
+
/** @example 400 */
|
|
674
|
+
status?: number;
|
|
675
|
+
/** @example An error occurred */
|
|
676
|
+
detail?: string;
|
|
677
|
+
/** @example /v1/cart/items */
|
|
678
|
+
instance?: string;
|
|
679
|
+
extensions?: components["schemas"]["Extensions"];
|
|
680
|
+
};
|
|
681
|
+
/**
|
|
682
|
+
* BulkRegisterRequest
|
|
683
|
+
* @description Submit a bulk register job.
|
|
684
|
+
*/
|
|
685
|
+
app__models__invitations__bulk_register_schemas__BulkRegisterRequest: {
|
|
686
|
+
/**
|
|
687
|
+
* Rows
|
|
688
|
+
* @description List of users to create (1–1000 rows per job).
|
|
689
|
+
*/
|
|
690
|
+
rows: components["schemas"]["BulkRegisterRow"][];
|
|
691
|
+
/**
|
|
692
|
+
* Default Role External Id
|
|
693
|
+
* @description Fallback role applied to rows that have no role_external_id.
|
|
694
|
+
*/
|
|
695
|
+
default_role_external_id?: string | null;
|
|
696
|
+
/**
|
|
697
|
+
* Send Welcome Email
|
|
698
|
+
* @description Send a welcome / password-setup email to each created user.
|
|
699
|
+
* @default true
|
|
700
|
+
*/
|
|
701
|
+
send_welcome_email: boolean;
|
|
702
|
+
/**
|
|
703
|
+
* Require Password Setup
|
|
704
|
+
* @description When True (default) a random password is set and a password-setup link is sent; when False the generated temp_password is returned in the job items.
|
|
705
|
+
* @default true
|
|
706
|
+
*/
|
|
707
|
+
require_password_setup: boolean;
|
|
708
|
+
/**
|
|
709
|
+
* Notify Admin On Complete
|
|
710
|
+
* @description Send a completion summary notification to the submitting admin.
|
|
711
|
+
* @default true
|
|
712
|
+
*/
|
|
713
|
+
notify_admin_on_complete: boolean;
|
|
714
|
+
/**
|
|
715
|
+
* Idempotency Key
|
|
716
|
+
* @description Unique key to prevent duplicate job submissions.
|
|
717
|
+
*/
|
|
718
|
+
idempotency_key?: string | null;
|
|
719
|
+
};
|
|
720
|
+
/**
|
|
721
|
+
* BulkRegisterRow
|
|
722
|
+
* @description A single user to create in a bulk register job.
|
|
723
|
+
*/
|
|
724
|
+
BulkRegisterRow: {
|
|
725
|
+
/**
|
|
726
|
+
* Email
|
|
727
|
+
* Format: email
|
|
728
|
+
*/
|
|
729
|
+
email: string;
|
|
730
|
+
/** First Name */
|
|
731
|
+
first_name?: string | null;
|
|
732
|
+
/** Last Name */
|
|
733
|
+
last_name?: string | null;
|
|
734
|
+
/** Username */
|
|
735
|
+
username?: string | null;
|
|
736
|
+
/**
|
|
737
|
+
* Role External Id
|
|
738
|
+
* @description Role to assign to this user. Falls back to default_role_external_id when omitted.
|
|
739
|
+
*/
|
|
740
|
+
role_external_id?: string | null;
|
|
741
|
+
};
|
|
742
|
+
};
|
|
743
|
+
responses: never;
|
|
744
|
+
parameters: never;
|
|
745
|
+
requestBodies: never;
|
|
746
|
+
headers: never;
|
|
747
|
+
pathItems: never;
|
|
748
|
+
}
|
|
749
|
+
export type $defs = Record<string, never>;
|
|
750
|
+
export interface operations {
|
|
751
|
+
validateInviteToken: {
|
|
752
|
+
parameters: {
|
|
753
|
+
query?: never;
|
|
754
|
+
header?: never;
|
|
755
|
+
path?: never;
|
|
756
|
+
cookie?: never;
|
|
757
|
+
};
|
|
758
|
+
requestBody: {
|
|
759
|
+
content: {
|
|
760
|
+
"application/json": components["schemas"]["InviteTokenValidationRequest"];
|
|
761
|
+
};
|
|
762
|
+
};
|
|
763
|
+
responses: {
|
|
764
|
+
/** @description Successful Response */
|
|
765
|
+
200: {
|
|
766
|
+
headers: {
|
|
767
|
+
[name: string]: unknown;
|
|
768
|
+
};
|
|
769
|
+
content: {
|
|
770
|
+
"application/json": unknown;
|
|
771
|
+
};
|
|
772
|
+
};
|
|
773
|
+
/** @description Bad Request */
|
|
774
|
+
400: {
|
|
775
|
+
headers: {
|
|
776
|
+
[name: string]: unknown;
|
|
777
|
+
};
|
|
778
|
+
content: {
|
|
779
|
+
/**
|
|
780
|
+
* @example {
|
|
781
|
+
* "status": "error",
|
|
782
|
+
* "message": "An error occurred",
|
|
783
|
+
* "message_code": "GENERIC_ERROR",
|
|
784
|
+
* "metadata": {
|
|
785
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
786
|
+
* "requestId": "uuid",
|
|
787
|
+
* "traceId": "uuid",
|
|
788
|
+
* "version": "v1",
|
|
789
|
+
* "executionTime": 0,
|
|
790
|
+
* "language": "en-US",
|
|
791
|
+
* "links": [
|
|
792
|
+
* {
|
|
793
|
+
* "rel": "self",
|
|
794
|
+
* "href": "/v1/cart/items",
|
|
795
|
+
* "method": "POST"
|
|
796
|
+
* }
|
|
797
|
+
* ]
|
|
798
|
+
* },
|
|
799
|
+
* "error": {
|
|
800
|
+
* "type": "https://{your-domain}/errors/client-error",
|
|
801
|
+
* "code": "GENERIC_ERROR",
|
|
802
|
+
* "title": "Client Error",
|
|
803
|
+
* "status": 400,
|
|
804
|
+
* "detail": "An error occurred",
|
|
805
|
+
* "instance": "/v1/cart/items",
|
|
806
|
+
* "extensions": {
|
|
807
|
+
* "message_code": "GENERIC_ERROR",
|
|
808
|
+
* "invalid_params": []
|
|
809
|
+
* }
|
|
810
|
+
* }
|
|
811
|
+
* }
|
|
812
|
+
*/
|
|
813
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
814
|
+
};
|
|
815
|
+
};
|
|
816
|
+
/** @description Unprocessable Entity */
|
|
817
|
+
422: {
|
|
818
|
+
headers: {
|
|
819
|
+
[name: string]: unknown;
|
|
820
|
+
};
|
|
821
|
+
content: {
|
|
822
|
+
/**
|
|
823
|
+
* @example {
|
|
824
|
+
* "status": "error",
|
|
825
|
+
* "message": "One or more input fields are invalid",
|
|
826
|
+
* "message_code": "INVALID_INPUT",
|
|
827
|
+
* "metadata": {
|
|
828
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
829
|
+
* "requestId": "uuid",
|
|
830
|
+
* "traceId": "uuid",
|
|
831
|
+
* "version": "v1",
|
|
832
|
+
* "executionTime": 0,
|
|
833
|
+
* "language": "en-US",
|
|
834
|
+
* "links": [
|
|
835
|
+
* {
|
|
836
|
+
* "rel": "self",
|
|
837
|
+
* "href": "/v1/cart/items",
|
|
838
|
+
* "method": "POST"
|
|
839
|
+
* }
|
|
840
|
+
* ]
|
|
841
|
+
* },
|
|
842
|
+
* "error": {
|
|
843
|
+
* "type": "https://{your-domain}/errors/invalid-input",
|
|
844
|
+
* "code": "INVALID_INPUT",
|
|
845
|
+
* "title": "Invalid Input",
|
|
846
|
+
* "status": 422,
|
|
847
|
+
* "detail": "One or more input fields are invalid",
|
|
848
|
+
* "instance": "/v1/cart/items",
|
|
849
|
+
* "extensions": {
|
|
850
|
+
* "message_code": "INVALID_INPUT",
|
|
851
|
+
* "invalid_params": [
|
|
852
|
+
* {
|
|
853
|
+
* "field": "items[0].quantity",
|
|
854
|
+
* "error": "Input should be greater than or equal to 1"
|
|
855
|
+
* }
|
|
856
|
+
* ]
|
|
857
|
+
* }
|
|
858
|
+
* }
|
|
859
|
+
* }
|
|
860
|
+
*/
|
|
861
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
862
|
+
};
|
|
863
|
+
};
|
|
864
|
+
/** @description Too Many Requests */
|
|
865
|
+
429: {
|
|
866
|
+
headers: {
|
|
867
|
+
[name: string]: unknown;
|
|
868
|
+
};
|
|
869
|
+
content: {
|
|
870
|
+
/**
|
|
871
|
+
* @example {
|
|
872
|
+
* "status": "error",
|
|
873
|
+
* "message": "Too many requests",
|
|
874
|
+
* "message_code": "RATE_LIMIT_EXCEEDED",
|
|
875
|
+
* "metadata": {
|
|
876
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
877
|
+
* "requestId": "uuid",
|
|
878
|
+
* "traceId": "uuid",
|
|
879
|
+
* "version": "v1",
|
|
880
|
+
* "executionTime": 0,
|
|
881
|
+
* "language": "en-US",
|
|
882
|
+
* "links": [
|
|
883
|
+
* {
|
|
884
|
+
* "rel": "self",
|
|
885
|
+
* "href": "/v1/cart/items",
|
|
886
|
+
* "method": "POST"
|
|
887
|
+
* }
|
|
888
|
+
* ]
|
|
889
|
+
* },
|
|
890
|
+
* "error": {
|
|
891
|
+
* "type": "https://{your-domain}/errors/rate-limit-exceeded",
|
|
892
|
+
* "code": "RATE_LIMIT_EXCEEDED",
|
|
893
|
+
* "title": "Rate Limit Exceeded",
|
|
894
|
+
* "status": 429,
|
|
895
|
+
* "detail": "Too many requests",
|
|
896
|
+
* "instance": "/v1/cart/items",
|
|
897
|
+
* "extensions": {
|
|
898
|
+
* "message_code": "RATE_LIMIT_EXCEEDED",
|
|
899
|
+
* "invalid_params": []
|
|
900
|
+
* }
|
|
901
|
+
* }
|
|
902
|
+
* }
|
|
903
|
+
*/
|
|
904
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
905
|
+
};
|
|
906
|
+
};
|
|
907
|
+
/** @description Internal Server Error */
|
|
908
|
+
500: {
|
|
909
|
+
headers: {
|
|
910
|
+
[name: string]: unknown;
|
|
911
|
+
};
|
|
912
|
+
content: {
|
|
913
|
+
/**
|
|
914
|
+
* @example {
|
|
915
|
+
* "status": "error",
|
|
916
|
+
* "message": "An unexpected error occurred",
|
|
917
|
+
* "message_code": "SERVER_ERROR",
|
|
918
|
+
* "metadata": {
|
|
919
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
920
|
+
* "requestId": "uuid",
|
|
921
|
+
* "traceId": "uuid",
|
|
922
|
+
* "version": "v1",
|
|
923
|
+
* "executionTime": 0,
|
|
924
|
+
* "language": "en-US",
|
|
925
|
+
* "links": [
|
|
926
|
+
* {
|
|
927
|
+
* "rel": "self",
|
|
928
|
+
* "href": "/v1/cart/items",
|
|
929
|
+
* "method": "POST"
|
|
930
|
+
* }
|
|
931
|
+
* ]
|
|
932
|
+
* },
|
|
933
|
+
* "error": {
|
|
934
|
+
* "type": "https://{your-domain}/errors/server-error",
|
|
935
|
+
* "code": "SERVER_ERROR",
|
|
936
|
+
* "title": "Server Error",
|
|
937
|
+
* "status": 500,
|
|
938
|
+
* "detail": "An unexpected error occurred",
|
|
939
|
+
* "instance": "/v1/cart/items",
|
|
940
|
+
* "extensions": {
|
|
941
|
+
* "message_code": "SERVER_ERROR",
|
|
942
|
+
* "invalid_params": []
|
|
943
|
+
* }
|
|
944
|
+
* }
|
|
945
|
+
* }
|
|
946
|
+
*/
|
|
947
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
948
|
+
};
|
|
949
|
+
};
|
|
950
|
+
};
|
|
951
|
+
};
|
|
952
|
+
listInvitations: {
|
|
953
|
+
parameters: {
|
|
954
|
+
query?: {
|
|
955
|
+
/** @description Filter by status: pending, accepted, expired, revoked */
|
|
956
|
+
status?: string | null;
|
|
957
|
+
/** @description Filter by role external ID */
|
|
958
|
+
role_external_id?: string | null;
|
|
959
|
+
/** @description Partial email match */
|
|
960
|
+
email?: string | null;
|
|
961
|
+
/** @description Filter by inviter user external_id */
|
|
962
|
+
invited_by?: string | null;
|
|
963
|
+
/** @description Filter created_at >= date_from (ISO 8601) */
|
|
964
|
+
date_from?: string | null;
|
|
965
|
+
/** @description Filter created_at <= date_to (ISO 8601) */
|
|
966
|
+
date_to?: string | null;
|
|
967
|
+
/** @description Page number (1-based) */
|
|
968
|
+
page?: number;
|
|
969
|
+
/** @description Items per page (1–100, default 20) */
|
|
970
|
+
limit?: number;
|
|
971
|
+
};
|
|
972
|
+
header?: {
|
|
973
|
+
authorization?: string | null;
|
|
974
|
+
};
|
|
975
|
+
path?: never;
|
|
976
|
+
cookie?: never;
|
|
977
|
+
};
|
|
978
|
+
requestBody?: never;
|
|
979
|
+
responses: {
|
|
980
|
+
/** @description Successful Response */
|
|
981
|
+
200: {
|
|
982
|
+
headers: {
|
|
983
|
+
[name: string]: unknown;
|
|
984
|
+
};
|
|
985
|
+
content: {
|
|
986
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
987
|
+
};
|
|
988
|
+
};
|
|
989
|
+
/** @description Bad Request */
|
|
990
|
+
400: {
|
|
991
|
+
headers: {
|
|
992
|
+
[name: string]: unknown;
|
|
993
|
+
};
|
|
994
|
+
content: {
|
|
995
|
+
/**
|
|
996
|
+
* @example {
|
|
997
|
+
* "status": "error",
|
|
998
|
+
* "message": "An error occurred",
|
|
999
|
+
* "message_code": "GENERIC_ERROR",
|
|
1000
|
+
* "metadata": {
|
|
1001
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
1002
|
+
* "requestId": "uuid",
|
|
1003
|
+
* "traceId": "uuid",
|
|
1004
|
+
* "version": "v1",
|
|
1005
|
+
* "executionTime": 0,
|
|
1006
|
+
* "language": "en-US",
|
|
1007
|
+
* "links": [
|
|
1008
|
+
* {
|
|
1009
|
+
* "rel": "self",
|
|
1010
|
+
* "href": "/v1/cart/items",
|
|
1011
|
+
* "method": "POST"
|
|
1012
|
+
* }
|
|
1013
|
+
* ]
|
|
1014
|
+
* },
|
|
1015
|
+
* "error": {
|
|
1016
|
+
* "type": "https://{your-domain}/errors/client-error",
|
|
1017
|
+
* "code": "GENERIC_ERROR",
|
|
1018
|
+
* "title": "Client Error",
|
|
1019
|
+
* "status": 400,
|
|
1020
|
+
* "detail": "An error occurred",
|
|
1021
|
+
* "instance": "/v1/cart/items",
|
|
1022
|
+
* "extensions": {
|
|
1023
|
+
* "message_code": "GENERIC_ERROR",
|
|
1024
|
+
* "invalid_params": []
|
|
1025
|
+
* }
|
|
1026
|
+
* }
|
|
1027
|
+
* }
|
|
1028
|
+
*/
|
|
1029
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
1030
|
+
};
|
|
1031
|
+
};
|
|
1032
|
+
/** @description Unprocessable Entity */
|
|
1033
|
+
422: {
|
|
1034
|
+
headers: {
|
|
1035
|
+
[name: string]: unknown;
|
|
1036
|
+
};
|
|
1037
|
+
content: {
|
|
1038
|
+
/**
|
|
1039
|
+
* @example {
|
|
1040
|
+
* "status": "error",
|
|
1041
|
+
* "message": "One or more input fields are invalid",
|
|
1042
|
+
* "message_code": "INVALID_INPUT",
|
|
1043
|
+
* "metadata": {
|
|
1044
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
1045
|
+
* "requestId": "uuid",
|
|
1046
|
+
* "traceId": "uuid",
|
|
1047
|
+
* "version": "v1",
|
|
1048
|
+
* "executionTime": 0,
|
|
1049
|
+
* "language": "en-US",
|
|
1050
|
+
* "links": [
|
|
1051
|
+
* {
|
|
1052
|
+
* "rel": "self",
|
|
1053
|
+
* "href": "/v1/cart/items",
|
|
1054
|
+
* "method": "POST"
|
|
1055
|
+
* }
|
|
1056
|
+
* ]
|
|
1057
|
+
* },
|
|
1058
|
+
* "error": {
|
|
1059
|
+
* "type": "https://{your-domain}/errors/invalid-input",
|
|
1060
|
+
* "code": "INVALID_INPUT",
|
|
1061
|
+
* "title": "Invalid Input",
|
|
1062
|
+
* "status": 422,
|
|
1063
|
+
* "detail": "One or more input fields are invalid",
|
|
1064
|
+
* "instance": "/v1/cart/items",
|
|
1065
|
+
* "extensions": {
|
|
1066
|
+
* "message_code": "INVALID_INPUT",
|
|
1067
|
+
* "invalid_params": [
|
|
1068
|
+
* {
|
|
1069
|
+
* "field": "items[0].quantity",
|
|
1070
|
+
* "error": "Input should be greater than or equal to 1"
|
|
1071
|
+
* }
|
|
1072
|
+
* ]
|
|
1073
|
+
* }
|
|
1074
|
+
* }
|
|
1075
|
+
* }
|
|
1076
|
+
*/
|
|
1077
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
1078
|
+
};
|
|
1079
|
+
};
|
|
1080
|
+
/** @description Too Many Requests */
|
|
1081
|
+
429: {
|
|
1082
|
+
headers: {
|
|
1083
|
+
[name: string]: unknown;
|
|
1084
|
+
};
|
|
1085
|
+
content: {
|
|
1086
|
+
/**
|
|
1087
|
+
* @example {
|
|
1088
|
+
* "status": "error",
|
|
1089
|
+
* "message": "Too many requests",
|
|
1090
|
+
* "message_code": "RATE_LIMIT_EXCEEDED",
|
|
1091
|
+
* "metadata": {
|
|
1092
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
1093
|
+
* "requestId": "uuid",
|
|
1094
|
+
* "traceId": "uuid",
|
|
1095
|
+
* "version": "v1",
|
|
1096
|
+
* "executionTime": 0,
|
|
1097
|
+
* "language": "en-US",
|
|
1098
|
+
* "links": [
|
|
1099
|
+
* {
|
|
1100
|
+
* "rel": "self",
|
|
1101
|
+
* "href": "/v1/cart/items",
|
|
1102
|
+
* "method": "POST"
|
|
1103
|
+
* }
|
|
1104
|
+
* ]
|
|
1105
|
+
* },
|
|
1106
|
+
* "error": {
|
|
1107
|
+
* "type": "https://{your-domain}/errors/rate-limit-exceeded",
|
|
1108
|
+
* "code": "RATE_LIMIT_EXCEEDED",
|
|
1109
|
+
* "title": "Rate Limit Exceeded",
|
|
1110
|
+
* "status": 429,
|
|
1111
|
+
* "detail": "Too many requests",
|
|
1112
|
+
* "instance": "/v1/cart/items",
|
|
1113
|
+
* "extensions": {
|
|
1114
|
+
* "message_code": "RATE_LIMIT_EXCEEDED",
|
|
1115
|
+
* "invalid_params": []
|
|
1116
|
+
* }
|
|
1117
|
+
* }
|
|
1118
|
+
* }
|
|
1119
|
+
*/
|
|
1120
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
1121
|
+
};
|
|
1122
|
+
};
|
|
1123
|
+
/** @description Internal Server Error */
|
|
1124
|
+
500: {
|
|
1125
|
+
headers: {
|
|
1126
|
+
[name: string]: unknown;
|
|
1127
|
+
};
|
|
1128
|
+
content: {
|
|
1129
|
+
/**
|
|
1130
|
+
* @example {
|
|
1131
|
+
* "status": "error",
|
|
1132
|
+
* "message": "An unexpected error occurred",
|
|
1133
|
+
* "message_code": "SERVER_ERROR",
|
|
1134
|
+
* "metadata": {
|
|
1135
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
1136
|
+
* "requestId": "uuid",
|
|
1137
|
+
* "traceId": "uuid",
|
|
1138
|
+
* "version": "v1",
|
|
1139
|
+
* "executionTime": 0,
|
|
1140
|
+
* "language": "en-US",
|
|
1141
|
+
* "links": [
|
|
1142
|
+
* {
|
|
1143
|
+
* "rel": "self",
|
|
1144
|
+
* "href": "/v1/cart/items",
|
|
1145
|
+
* "method": "POST"
|
|
1146
|
+
* }
|
|
1147
|
+
* ]
|
|
1148
|
+
* },
|
|
1149
|
+
* "error": {
|
|
1150
|
+
* "type": "https://{your-domain}/errors/server-error",
|
|
1151
|
+
* "code": "SERVER_ERROR",
|
|
1152
|
+
* "title": "Server Error",
|
|
1153
|
+
* "status": 500,
|
|
1154
|
+
* "detail": "An unexpected error occurred",
|
|
1155
|
+
* "instance": "/v1/cart/items",
|
|
1156
|
+
* "extensions": {
|
|
1157
|
+
* "message_code": "SERVER_ERROR",
|
|
1158
|
+
* "invalid_params": []
|
|
1159
|
+
* }
|
|
1160
|
+
* }
|
|
1161
|
+
* }
|
|
1162
|
+
*/
|
|
1163
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
1164
|
+
};
|
|
1165
|
+
};
|
|
1166
|
+
};
|
|
1167
|
+
};
|
|
1168
|
+
createInvitation: {
|
|
1169
|
+
parameters: {
|
|
1170
|
+
query?: never;
|
|
1171
|
+
header?: {
|
|
1172
|
+
authorization?: string | null;
|
|
1173
|
+
};
|
|
1174
|
+
path?: never;
|
|
1175
|
+
cookie?: never;
|
|
1176
|
+
};
|
|
1177
|
+
requestBody: {
|
|
1178
|
+
content: {
|
|
1179
|
+
"application/json": components["schemas"]["QuickInviteRequest"];
|
|
1180
|
+
};
|
|
1181
|
+
};
|
|
1182
|
+
responses: {
|
|
1183
|
+
/** @description Successful Response */
|
|
1184
|
+
201: {
|
|
1185
|
+
headers: {
|
|
1186
|
+
[name: string]: unknown;
|
|
1187
|
+
};
|
|
1188
|
+
content: {
|
|
1189
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
1190
|
+
};
|
|
1191
|
+
};
|
|
1192
|
+
/** @description Bad Request */
|
|
1193
|
+
400: {
|
|
1194
|
+
headers: {
|
|
1195
|
+
[name: string]: unknown;
|
|
1196
|
+
};
|
|
1197
|
+
content: {
|
|
1198
|
+
/**
|
|
1199
|
+
* @example {
|
|
1200
|
+
* "status": "error",
|
|
1201
|
+
* "message": "An error occurred",
|
|
1202
|
+
* "message_code": "GENERIC_ERROR",
|
|
1203
|
+
* "metadata": {
|
|
1204
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
1205
|
+
* "requestId": "uuid",
|
|
1206
|
+
* "traceId": "uuid",
|
|
1207
|
+
* "version": "v1",
|
|
1208
|
+
* "executionTime": 0,
|
|
1209
|
+
* "language": "en-US",
|
|
1210
|
+
* "links": [
|
|
1211
|
+
* {
|
|
1212
|
+
* "rel": "self",
|
|
1213
|
+
* "href": "/v1/cart/items",
|
|
1214
|
+
* "method": "POST"
|
|
1215
|
+
* }
|
|
1216
|
+
* ]
|
|
1217
|
+
* },
|
|
1218
|
+
* "error": {
|
|
1219
|
+
* "type": "https://{your-domain}/errors/client-error",
|
|
1220
|
+
* "code": "GENERIC_ERROR",
|
|
1221
|
+
* "title": "Client Error",
|
|
1222
|
+
* "status": 400,
|
|
1223
|
+
* "detail": "An error occurred",
|
|
1224
|
+
* "instance": "/v1/cart/items",
|
|
1225
|
+
* "extensions": {
|
|
1226
|
+
* "message_code": "GENERIC_ERROR",
|
|
1227
|
+
* "invalid_params": []
|
|
1228
|
+
* }
|
|
1229
|
+
* }
|
|
1230
|
+
* }
|
|
1231
|
+
*/
|
|
1232
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
1233
|
+
};
|
|
1234
|
+
};
|
|
1235
|
+
/** @description Unprocessable Entity */
|
|
1236
|
+
422: {
|
|
1237
|
+
headers: {
|
|
1238
|
+
[name: string]: unknown;
|
|
1239
|
+
};
|
|
1240
|
+
content: {
|
|
1241
|
+
/**
|
|
1242
|
+
* @example {
|
|
1243
|
+
* "status": "error",
|
|
1244
|
+
* "message": "One or more input fields are invalid",
|
|
1245
|
+
* "message_code": "INVALID_INPUT",
|
|
1246
|
+
* "metadata": {
|
|
1247
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
1248
|
+
* "requestId": "uuid",
|
|
1249
|
+
* "traceId": "uuid",
|
|
1250
|
+
* "version": "v1",
|
|
1251
|
+
* "executionTime": 0,
|
|
1252
|
+
* "language": "en-US",
|
|
1253
|
+
* "links": [
|
|
1254
|
+
* {
|
|
1255
|
+
* "rel": "self",
|
|
1256
|
+
* "href": "/v1/cart/items",
|
|
1257
|
+
* "method": "POST"
|
|
1258
|
+
* }
|
|
1259
|
+
* ]
|
|
1260
|
+
* },
|
|
1261
|
+
* "error": {
|
|
1262
|
+
* "type": "https://{your-domain}/errors/invalid-input",
|
|
1263
|
+
* "code": "INVALID_INPUT",
|
|
1264
|
+
* "title": "Invalid Input",
|
|
1265
|
+
* "status": 422,
|
|
1266
|
+
* "detail": "One or more input fields are invalid",
|
|
1267
|
+
* "instance": "/v1/cart/items",
|
|
1268
|
+
* "extensions": {
|
|
1269
|
+
* "message_code": "INVALID_INPUT",
|
|
1270
|
+
* "invalid_params": [
|
|
1271
|
+
* {
|
|
1272
|
+
* "field": "items[0].quantity",
|
|
1273
|
+
* "error": "Input should be greater than or equal to 1"
|
|
1274
|
+
* }
|
|
1275
|
+
* ]
|
|
1276
|
+
* }
|
|
1277
|
+
* }
|
|
1278
|
+
* }
|
|
1279
|
+
*/
|
|
1280
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
1281
|
+
};
|
|
1282
|
+
};
|
|
1283
|
+
/** @description Too Many Requests */
|
|
1284
|
+
429: {
|
|
1285
|
+
headers: {
|
|
1286
|
+
[name: string]: unknown;
|
|
1287
|
+
};
|
|
1288
|
+
content: {
|
|
1289
|
+
/**
|
|
1290
|
+
* @example {
|
|
1291
|
+
* "status": "error",
|
|
1292
|
+
* "message": "Too many requests",
|
|
1293
|
+
* "message_code": "RATE_LIMIT_EXCEEDED",
|
|
1294
|
+
* "metadata": {
|
|
1295
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
1296
|
+
* "requestId": "uuid",
|
|
1297
|
+
* "traceId": "uuid",
|
|
1298
|
+
* "version": "v1",
|
|
1299
|
+
* "executionTime": 0,
|
|
1300
|
+
* "language": "en-US",
|
|
1301
|
+
* "links": [
|
|
1302
|
+
* {
|
|
1303
|
+
* "rel": "self",
|
|
1304
|
+
* "href": "/v1/cart/items",
|
|
1305
|
+
* "method": "POST"
|
|
1306
|
+
* }
|
|
1307
|
+
* ]
|
|
1308
|
+
* },
|
|
1309
|
+
* "error": {
|
|
1310
|
+
* "type": "https://{your-domain}/errors/rate-limit-exceeded",
|
|
1311
|
+
* "code": "RATE_LIMIT_EXCEEDED",
|
|
1312
|
+
* "title": "Rate Limit Exceeded",
|
|
1313
|
+
* "status": 429,
|
|
1314
|
+
* "detail": "Too many requests",
|
|
1315
|
+
* "instance": "/v1/cart/items",
|
|
1316
|
+
* "extensions": {
|
|
1317
|
+
* "message_code": "RATE_LIMIT_EXCEEDED",
|
|
1318
|
+
* "invalid_params": []
|
|
1319
|
+
* }
|
|
1320
|
+
* }
|
|
1321
|
+
* }
|
|
1322
|
+
*/
|
|
1323
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
1324
|
+
};
|
|
1325
|
+
};
|
|
1326
|
+
/** @description Internal Server Error */
|
|
1327
|
+
500: {
|
|
1328
|
+
headers: {
|
|
1329
|
+
[name: string]: unknown;
|
|
1330
|
+
};
|
|
1331
|
+
content: {
|
|
1332
|
+
/**
|
|
1333
|
+
* @example {
|
|
1334
|
+
* "status": "error",
|
|
1335
|
+
* "message": "An unexpected error occurred",
|
|
1336
|
+
* "message_code": "SERVER_ERROR",
|
|
1337
|
+
* "metadata": {
|
|
1338
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
1339
|
+
* "requestId": "uuid",
|
|
1340
|
+
* "traceId": "uuid",
|
|
1341
|
+
* "version": "v1",
|
|
1342
|
+
* "executionTime": 0,
|
|
1343
|
+
* "language": "en-US",
|
|
1344
|
+
* "links": [
|
|
1345
|
+
* {
|
|
1346
|
+
* "rel": "self",
|
|
1347
|
+
* "href": "/v1/cart/items",
|
|
1348
|
+
* "method": "POST"
|
|
1349
|
+
* }
|
|
1350
|
+
* ]
|
|
1351
|
+
* },
|
|
1352
|
+
* "error": {
|
|
1353
|
+
* "type": "https://{your-domain}/errors/server-error",
|
|
1354
|
+
* "code": "SERVER_ERROR",
|
|
1355
|
+
* "title": "Server Error",
|
|
1356
|
+
* "status": 500,
|
|
1357
|
+
* "detail": "An unexpected error occurred",
|
|
1358
|
+
* "instance": "/v1/cart/items",
|
|
1359
|
+
* "extensions": {
|
|
1360
|
+
* "message_code": "SERVER_ERROR",
|
|
1361
|
+
* "invalid_params": []
|
|
1362
|
+
* }
|
|
1363
|
+
* }
|
|
1364
|
+
* }
|
|
1365
|
+
*/
|
|
1366
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
1367
|
+
};
|
|
1368
|
+
};
|
|
1369
|
+
};
|
|
1370
|
+
};
|
|
1371
|
+
getInvitation: {
|
|
1372
|
+
parameters: {
|
|
1373
|
+
query?: never;
|
|
1374
|
+
header?: {
|
|
1375
|
+
authorization?: string | null;
|
|
1376
|
+
};
|
|
1377
|
+
path: {
|
|
1378
|
+
/** @description Invitation external ID (inv_xxx) */
|
|
1379
|
+
invitation_id: string;
|
|
1380
|
+
};
|
|
1381
|
+
cookie?: never;
|
|
1382
|
+
};
|
|
1383
|
+
requestBody?: never;
|
|
1384
|
+
responses: {
|
|
1385
|
+
/** @description Successful Response */
|
|
1386
|
+
200: {
|
|
1387
|
+
headers: {
|
|
1388
|
+
[name: string]: unknown;
|
|
1389
|
+
};
|
|
1390
|
+
content: {
|
|
1391
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
1392
|
+
};
|
|
1393
|
+
};
|
|
1394
|
+
/** @description Bad Request */
|
|
1395
|
+
400: {
|
|
1396
|
+
headers: {
|
|
1397
|
+
[name: string]: unknown;
|
|
1398
|
+
};
|
|
1399
|
+
content: {
|
|
1400
|
+
/**
|
|
1401
|
+
* @example {
|
|
1402
|
+
* "status": "error",
|
|
1403
|
+
* "message": "An error occurred",
|
|
1404
|
+
* "message_code": "GENERIC_ERROR",
|
|
1405
|
+
* "metadata": {
|
|
1406
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
1407
|
+
* "requestId": "uuid",
|
|
1408
|
+
* "traceId": "uuid",
|
|
1409
|
+
* "version": "v1",
|
|
1410
|
+
* "executionTime": 0,
|
|
1411
|
+
* "language": "en-US",
|
|
1412
|
+
* "links": [
|
|
1413
|
+
* {
|
|
1414
|
+
* "rel": "self",
|
|
1415
|
+
* "href": "/v1/cart/items",
|
|
1416
|
+
* "method": "POST"
|
|
1417
|
+
* }
|
|
1418
|
+
* ]
|
|
1419
|
+
* },
|
|
1420
|
+
* "error": {
|
|
1421
|
+
* "type": "https://{your-domain}/errors/client-error",
|
|
1422
|
+
* "code": "GENERIC_ERROR",
|
|
1423
|
+
* "title": "Client Error",
|
|
1424
|
+
* "status": 400,
|
|
1425
|
+
* "detail": "An error occurred",
|
|
1426
|
+
* "instance": "/v1/cart/items",
|
|
1427
|
+
* "extensions": {
|
|
1428
|
+
* "message_code": "GENERIC_ERROR",
|
|
1429
|
+
* "invalid_params": []
|
|
1430
|
+
* }
|
|
1431
|
+
* }
|
|
1432
|
+
* }
|
|
1433
|
+
*/
|
|
1434
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
1435
|
+
};
|
|
1436
|
+
};
|
|
1437
|
+
/** @description Unprocessable Entity */
|
|
1438
|
+
422: {
|
|
1439
|
+
headers: {
|
|
1440
|
+
[name: string]: unknown;
|
|
1441
|
+
};
|
|
1442
|
+
content: {
|
|
1443
|
+
/**
|
|
1444
|
+
* @example {
|
|
1445
|
+
* "status": "error",
|
|
1446
|
+
* "message": "One or more input fields are invalid",
|
|
1447
|
+
* "message_code": "INVALID_INPUT",
|
|
1448
|
+
* "metadata": {
|
|
1449
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
1450
|
+
* "requestId": "uuid",
|
|
1451
|
+
* "traceId": "uuid",
|
|
1452
|
+
* "version": "v1",
|
|
1453
|
+
* "executionTime": 0,
|
|
1454
|
+
* "language": "en-US",
|
|
1455
|
+
* "links": [
|
|
1456
|
+
* {
|
|
1457
|
+
* "rel": "self",
|
|
1458
|
+
* "href": "/v1/cart/items",
|
|
1459
|
+
* "method": "POST"
|
|
1460
|
+
* }
|
|
1461
|
+
* ]
|
|
1462
|
+
* },
|
|
1463
|
+
* "error": {
|
|
1464
|
+
* "type": "https://{your-domain}/errors/invalid-input",
|
|
1465
|
+
* "code": "INVALID_INPUT",
|
|
1466
|
+
* "title": "Invalid Input",
|
|
1467
|
+
* "status": 422,
|
|
1468
|
+
* "detail": "One or more input fields are invalid",
|
|
1469
|
+
* "instance": "/v1/cart/items",
|
|
1470
|
+
* "extensions": {
|
|
1471
|
+
* "message_code": "INVALID_INPUT",
|
|
1472
|
+
* "invalid_params": [
|
|
1473
|
+
* {
|
|
1474
|
+
* "field": "items[0].quantity",
|
|
1475
|
+
* "error": "Input should be greater than or equal to 1"
|
|
1476
|
+
* }
|
|
1477
|
+
* ]
|
|
1478
|
+
* }
|
|
1479
|
+
* }
|
|
1480
|
+
* }
|
|
1481
|
+
*/
|
|
1482
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
1483
|
+
};
|
|
1484
|
+
};
|
|
1485
|
+
/** @description Too Many Requests */
|
|
1486
|
+
429: {
|
|
1487
|
+
headers: {
|
|
1488
|
+
[name: string]: unknown;
|
|
1489
|
+
};
|
|
1490
|
+
content: {
|
|
1491
|
+
/**
|
|
1492
|
+
* @example {
|
|
1493
|
+
* "status": "error",
|
|
1494
|
+
* "message": "Too many requests",
|
|
1495
|
+
* "message_code": "RATE_LIMIT_EXCEEDED",
|
|
1496
|
+
* "metadata": {
|
|
1497
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
1498
|
+
* "requestId": "uuid",
|
|
1499
|
+
* "traceId": "uuid",
|
|
1500
|
+
* "version": "v1",
|
|
1501
|
+
* "executionTime": 0,
|
|
1502
|
+
* "language": "en-US",
|
|
1503
|
+
* "links": [
|
|
1504
|
+
* {
|
|
1505
|
+
* "rel": "self",
|
|
1506
|
+
* "href": "/v1/cart/items",
|
|
1507
|
+
* "method": "POST"
|
|
1508
|
+
* }
|
|
1509
|
+
* ]
|
|
1510
|
+
* },
|
|
1511
|
+
* "error": {
|
|
1512
|
+
* "type": "https://{your-domain}/errors/rate-limit-exceeded",
|
|
1513
|
+
* "code": "RATE_LIMIT_EXCEEDED",
|
|
1514
|
+
* "title": "Rate Limit Exceeded",
|
|
1515
|
+
* "status": 429,
|
|
1516
|
+
* "detail": "Too many requests",
|
|
1517
|
+
* "instance": "/v1/cart/items",
|
|
1518
|
+
* "extensions": {
|
|
1519
|
+
* "message_code": "RATE_LIMIT_EXCEEDED",
|
|
1520
|
+
* "invalid_params": []
|
|
1521
|
+
* }
|
|
1522
|
+
* }
|
|
1523
|
+
* }
|
|
1524
|
+
*/
|
|
1525
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
1526
|
+
};
|
|
1527
|
+
};
|
|
1528
|
+
/** @description Internal Server Error */
|
|
1529
|
+
500: {
|
|
1530
|
+
headers: {
|
|
1531
|
+
[name: string]: unknown;
|
|
1532
|
+
};
|
|
1533
|
+
content: {
|
|
1534
|
+
/**
|
|
1535
|
+
* @example {
|
|
1536
|
+
* "status": "error",
|
|
1537
|
+
* "message": "An unexpected error occurred",
|
|
1538
|
+
* "message_code": "SERVER_ERROR",
|
|
1539
|
+
* "metadata": {
|
|
1540
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
1541
|
+
* "requestId": "uuid",
|
|
1542
|
+
* "traceId": "uuid",
|
|
1543
|
+
* "version": "v1",
|
|
1544
|
+
* "executionTime": 0,
|
|
1545
|
+
* "language": "en-US",
|
|
1546
|
+
* "links": [
|
|
1547
|
+
* {
|
|
1548
|
+
* "rel": "self",
|
|
1549
|
+
* "href": "/v1/cart/items",
|
|
1550
|
+
* "method": "POST"
|
|
1551
|
+
* }
|
|
1552
|
+
* ]
|
|
1553
|
+
* },
|
|
1554
|
+
* "error": {
|
|
1555
|
+
* "type": "https://{your-domain}/errors/server-error",
|
|
1556
|
+
* "code": "SERVER_ERROR",
|
|
1557
|
+
* "title": "Server Error",
|
|
1558
|
+
* "status": 500,
|
|
1559
|
+
* "detail": "An unexpected error occurred",
|
|
1560
|
+
* "instance": "/v1/cart/items",
|
|
1561
|
+
* "extensions": {
|
|
1562
|
+
* "message_code": "SERVER_ERROR",
|
|
1563
|
+
* "invalid_params": []
|
|
1564
|
+
* }
|
|
1565
|
+
* }
|
|
1566
|
+
* }
|
|
1567
|
+
*/
|
|
1568
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
1569
|
+
};
|
|
1570
|
+
};
|
|
1571
|
+
};
|
|
1572
|
+
};
|
|
1573
|
+
resendInvitation: {
|
|
1574
|
+
parameters: {
|
|
1575
|
+
query?: never;
|
|
1576
|
+
header?: {
|
|
1577
|
+
authorization?: string | null;
|
|
1578
|
+
};
|
|
1579
|
+
path: {
|
|
1580
|
+
/** @description Invitation external ID (inv_xxx) */
|
|
1581
|
+
invitation_id: string;
|
|
1582
|
+
};
|
|
1583
|
+
cookie?: never;
|
|
1584
|
+
};
|
|
1585
|
+
requestBody?: {
|
|
1586
|
+
content: {
|
|
1587
|
+
"application/json": components["schemas"]["ResendInviteRequest"];
|
|
1588
|
+
};
|
|
1589
|
+
};
|
|
1590
|
+
responses: {
|
|
1591
|
+
/** @description Successful Response */
|
|
1592
|
+
200: {
|
|
1593
|
+
headers: {
|
|
1594
|
+
[name: string]: unknown;
|
|
1595
|
+
};
|
|
1596
|
+
content: {
|
|
1597
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
1598
|
+
};
|
|
1599
|
+
};
|
|
1600
|
+
/** @description Bad Request */
|
|
1601
|
+
400: {
|
|
1602
|
+
headers: {
|
|
1603
|
+
[name: string]: unknown;
|
|
1604
|
+
};
|
|
1605
|
+
content: {
|
|
1606
|
+
/**
|
|
1607
|
+
* @example {
|
|
1608
|
+
* "status": "error",
|
|
1609
|
+
* "message": "An error occurred",
|
|
1610
|
+
* "message_code": "GENERIC_ERROR",
|
|
1611
|
+
* "metadata": {
|
|
1612
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
1613
|
+
* "requestId": "uuid",
|
|
1614
|
+
* "traceId": "uuid",
|
|
1615
|
+
* "version": "v1",
|
|
1616
|
+
* "executionTime": 0,
|
|
1617
|
+
* "language": "en-US",
|
|
1618
|
+
* "links": [
|
|
1619
|
+
* {
|
|
1620
|
+
* "rel": "self",
|
|
1621
|
+
* "href": "/v1/cart/items",
|
|
1622
|
+
* "method": "POST"
|
|
1623
|
+
* }
|
|
1624
|
+
* ]
|
|
1625
|
+
* },
|
|
1626
|
+
* "error": {
|
|
1627
|
+
* "type": "https://{your-domain}/errors/client-error",
|
|
1628
|
+
* "code": "GENERIC_ERROR",
|
|
1629
|
+
* "title": "Client Error",
|
|
1630
|
+
* "status": 400,
|
|
1631
|
+
* "detail": "An error occurred",
|
|
1632
|
+
* "instance": "/v1/cart/items",
|
|
1633
|
+
* "extensions": {
|
|
1634
|
+
* "message_code": "GENERIC_ERROR",
|
|
1635
|
+
* "invalid_params": []
|
|
1636
|
+
* }
|
|
1637
|
+
* }
|
|
1638
|
+
* }
|
|
1639
|
+
*/
|
|
1640
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
1641
|
+
};
|
|
1642
|
+
};
|
|
1643
|
+
/** @description Unprocessable Entity */
|
|
1644
|
+
422: {
|
|
1645
|
+
headers: {
|
|
1646
|
+
[name: string]: unknown;
|
|
1647
|
+
};
|
|
1648
|
+
content: {
|
|
1649
|
+
/**
|
|
1650
|
+
* @example {
|
|
1651
|
+
* "status": "error",
|
|
1652
|
+
* "message": "One or more input fields are invalid",
|
|
1653
|
+
* "message_code": "INVALID_INPUT",
|
|
1654
|
+
* "metadata": {
|
|
1655
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
1656
|
+
* "requestId": "uuid",
|
|
1657
|
+
* "traceId": "uuid",
|
|
1658
|
+
* "version": "v1",
|
|
1659
|
+
* "executionTime": 0,
|
|
1660
|
+
* "language": "en-US",
|
|
1661
|
+
* "links": [
|
|
1662
|
+
* {
|
|
1663
|
+
* "rel": "self",
|
|
1664
|
+
* "href": "/v1/cart/items",
|
|
1665
|
+
* "method": "POST"
|
|
1666
|
+
* }
|
|
1667
|
+
* ]
|
|
1668
|
+
* },
|
|
1669
|
+
* "error": {
|
|
1670
|
+
* "type": "https://{your-domain}/errors/invalid-input",
|
|
1671
|
+
* "code": "INVALID_INPUT",
|
|
1672
|
+
* "title": "Invalid Input",
|
|
1673
|
+
* "status": 422,
|
|
1674
|
+
* "detail": "One or more input fields are invalid",
|
|
1675
|
+
* "instance": "/v1/cart/items",
|
|
1676
|
+
* "extensions": {
|
|
1677
|
+
* "message_code": "INVALID_INPUT",
|
|
1678
|
+
* "invalid_params": [
|
|
1679
|
+
* {
|
|
1680
|
+
* "field": "items[0].quantity",
|
|
1681
|
+
* "error": "Input should be greater than or equal to 1"
|
|
1682
|
+
* }
|
|
1683
|
+
* ]
|
|
1684
|
+
* }
|
|
1685
|
+
* }
|
|
1686
|
+
* }
|
|
1687
|
+
*/
|
|
1688
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
1689
|
+
};
|
|
1690
|
+
};
|
|
1691
|
+
/** @description Too Many Requests */
|
|
1692
|
+
429: {
|
|
1693
|
+
headers: {
|
|
1694
|
+
[name: string]: unknown;
|
|
1695
|
+
};
|
|
1696
|
+
content: {
|
|
1697
|
+
/**
|
|
1698
|
+
* @example {
|
|
1699
|
+
* "status": "error",
|
|
1700
|
+
* "message": "Too many requests",
|
|
1701
|
+
* "message_code": "RATE_LIMIT_EXCEEDED",
|
|
1702
|
+
* "metadata": {
|
|
1703
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
1704
|
+
* "requestId": "uuid",
|
|
1705
|
+
* "traceId": "uuid",
|
|
1706
|
+
* "version": "v1",
|
|
1707
|
+
* "executionTime": 0,
|
|
1708
|
+
* "language": "en-US",
|
|
1709
|
+
* "links": [
|
|
1710
|
+
* {
|
|
1711
|
+
* "rel": "self",
|
|
1712
|
+
* "href": "/v1/cart/items",
|
|
1713
|
+
* "method": "POST"
|
|
1714
|
+
* }
|
|
1715
|
+
* ]
|
|
1716
|
+
* },
|
|
1717
|
+
* "error": {
|
|
1718
|
+
* "type": "https://{your-domain}/errors/rate-limit-exceeded",
|
|
1719
|
+
* "code": "RATE_LIMIT_EXCEEDED",
|
|
1720
|
+
* "title": "Rate Limit Exceeded",
|
|
1721
|
+
* "status": 429,
|
|
1722
|
+
* "detail": "Too many requests",
|
|
1723
|
+
* "instance": "/v1/cart/items",
|
|
1724
|
+
* "extensions": {
|
|
1725
|
+
* "message_code": "RATE_LIMIT_EXCEEDED",
|
|
1726
|
+
* "invalid_params": []
|
|
1727
|
+
* }
|
|
1728
|
+
* }
|
|
1729
|
+
* }
|
|
1730
|
+
*/
|
|
1731
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
1732
|
+
};
|
|
1733
|
+
};
|
|
1734
|
+
/** @description Internal Server Error */
|
|
1735
|
+
500: {
|
|
1736
|
+
headers: {
|
|
1737
|
+
[name: string]: unknown;
|
|
1738
|
+
};
|
|
1739
|
+
content: {
|
|
1740
|
+
/**
|
|
1741
|
+
* @example {
|
|
1742
|
+
* "status": "error",
|
|
1743
|
+
* "message": "An unexpected error occurred",
|
|
1744
|
+
* "message_code": "SERVER_ERROR",
|
|
1745
|
+
* "metadata": {
|
|
1746
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
1747
|
+
* "requestId": "uuid",
|
|
1748
|
+
* "traceId": "uuid",
|
|
1749
|
+
* "version": "v1",
|
|
1750
|
+
* "executionTime": 0,
|
|
1751
|
+
* "language": "en-US",
|
|
1752
|
+
* "links": [
|
|
1753
|
+
* {
|
|
1754
|
+
* "rel": "self",
|
|
1755
|
+
* "href": "/v1/cart/items",
|
|
1756
|
+
* "method": "POST"
|
|
1757
|
+
* }
|
|
1758
|
+
* ]
|
|
1759
|
+
* },
|
|
1760
|
+
* "error": {
|
|
1761
|
+
* "type": "https://{your-domain}/errors/server-error",
|
|
1762
|
+
* "code": "SERVER_ERROR",
|
|
1763
|
+
* "title": "Server Error",
|
|
1764
|
+
* "status": 500,
|
|
1765
|
+
* "detail": "An unexpected error occurred",
|
|
1766
|
+
* "instance": "/v1/cart/items",
|
|
1767
|
+
* "extensions": {
|
|
1768
|
+
* "message_code": "SERVER_ERROR",
|
|
1769
|
+
* "invalid_params": []
|
|
1770
|
+
* }
|
|
1771
|
+
* }
|
|
1772
|
+
* }
|
|
1773
|
+
*/
|
|
1774
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
1775
|
+
};
|
|
1776
|
+
};
|
|
1777
|
+
};
|
|
1778
|
+
};
|
|
1779
|
+
revokeInvitation: {
|
|
1780
|
+
parameters: {
|
|
1781
|
+
query?: never;
|
|
1782
|
+
header?: {
|
|
1783
|
+
authorization?: string | null;
|
|
1784
|
+
};
|
|
1785
|
+
path: {
|
|
1786
|
+
/** @description Invitation external ID (inv_xxx) */
|
|
1787
|
+
invitation_id: string;
|
|
1788
|
+
};
|
|
1789
|
+
cookie?: never;
|
|
1790
|
+
};
|
|
1791
|
+
requestBody?: never;
|
|
1792
|
+
responses: {
|
|
1793
|
+
/** @description Successful Response */
|
|
1794
|
+
200: {
|
|
1795
|
+
headers: {
|
|
1796
|
+
[name: string]: unknown;
|
|
1797
|
+
};
|
|
1798
|
+
content: {
|
|
1799
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
1800
|
+
};
|
|
1801
|
+
};
|
|
1802
|
+
/** @description Bad Request */
|
|
1803
|
+
400: {
|
|
1804
|
+
headers: {
|
|
1805
|
+
[name: string]: unknown;
|
|
1806
|
+
};
|
|
1807
|
+
content: {
|
|
1808
|
+
/**
|
|
1809
|
+
* @example {
|
|
1810
|
+
* "status": "error",
|
|
1811
|
+
* "message": "An error occurred",
|
|
1812
|
+
* "message_code": "GENERIC_ERROR",
|
|
1813
|
+
* "metadata": {
|
|
1814
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
1815
|
+
* "requestId": "uuid",
|
|
1816
|
+
* "traceId": "uuid",
|
|
1817
|
+
* "version": "v1",
|
|
1818
|
+
* "executionTime": 0,
|
|
1819
|
+
* "language": "en-US",
|
|
1820
|
+
* "links": [
|
|
1821
|
+
* {
|
|
1822
|
+
* "rel": "self",
|
|
1823
|
+
* "href": "/v1/cart/items",
|
|
1824
|
+
* "method": "POST"
|
|
1825
|
+
* }
|
|
1826
|
+
* ]
|
|
1827
|
+
* },
|
|
1828
|
+
* "error": {
|
|
1829
|
+
* "type": "https://{your-domain}/errors/client-error",
|
|
1830
|
+
* "code": "GENERIC_ERROR",
|
|
1831
|
+
* "title": "Client Error",
|
|
1832
|
+
* "status": 400,
|
|
1833
|
+
* "detail": "An error occurred",
|
|
1834
|
+
* "instance": "/v1/cart/items",
|
|
1835
|
+
* "extensions": {
|
|
1836
|
+
* "message_code": "GENERIC_ERROR",
|
|
1837
|
+
* "invalid_params": []
|
|
1838
|
+
* }
|
|
1839
|
+
* }
|
|
1840
|
+
* }
|
|
1841
|
+
*/
|
|
1842
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
1843
|
+
};
|
|
1844
|
+
};
|
|
1845
|
+
/** @description Unprocessable Entity */
|
|
1846
|
+
422: {
|
|
1847
|
+
headers: {
|
|
1848
|
+
[name: string]: unknown;
|
|
1849
|
+
};
|
|
1850
|
+
content: {
|
|
1851
|
+
/**
|
|
1852
|
+
* @example {
|
|
1853
|
+
* "status": "error",
|
|
1854
|
+
* "message": "One or more input fields are invalid",
|
|
1855
|
+
* "message_code": "INVALID_INPUT",
|
|
1856
|
+
* "metadata": {
|
|
1857
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
1858
|
+
* "requestId": "uuid",
|
|
1859
|
+
* "traceId": "uuid",
|
|
1860
|
+
* "version": "v1",
|
|
1861
|
+
* "executionTime": 0,
|
|
1862
|
+
* "language": "en-US",
|
|
1863
|
+
* "links": [
|
|
1864
|
+
* {
|
|
1865
|
+
* "rel": "self",
|
|
1866
|
+
* "href": "/v1/cart/items",
|
|
1867
|
+
* "method": "POST"
|
|
1868
|
+
* }
|
|
1869
|
+
* ]
|
|
1870
|
+
* },
|
|
1871
|
+
* "error": {
|
|
1872
|
+
* "type": "https://{your-domain}/errors/invalid-input",
|
|
1873
|
+
* "code": "INVALID_INPUT",
|
|
1874
|
+
* "title": "Invalid Input",
|
|
1875
|
+
* "status": 422,
|
|
1876
|
+
* "detail": "One or more input fields are invalid",
|
|
1877
|
+
* "instance": "/v1/cart/items",
|
|
1878
|
+
* "extensions": {
|
|
1879
|
+
* "message_code": "INVALID_INPUT",
|
|
1880
|
+
* "invalid_params": [
|
|
1881
|
+
* {
|
|
1882
|
+
* "field": "items[0].quantity",
|
|
1883
|
+
* "error": "Input should be greater than or equal to 1"
|
|
1884
|
+
* }
|
|
1885
|
+
* ]
|
|
1886
|
+
* }
|
|
1887
|
+
* }
|
|
1888
|
+
* }
|
|
1889
|
+
*/
|
|
1890
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
1891
|
+
};
|
|
1892
|
+
};
|
|
1893
|
+
/** @description Too Many Requests */
|
|
1894
|
+
429: {
|
|
1895
|
+
headers: {
|
|
1896
|
+
[name: string]: unknown;
|
|
1897
|
+
};
|
|
1898
|
+
content: {
|
|
1899
|
+
/**
|
|
1900
|
+
* @example {
|
|
1901
|
+
* "status": "error",
|
|
1902
|
+
* "message": "Too many requests",
|
|
1903
|
+
* "message_code": "RATE_LIMIT_EXCEEDED",
|
|
1904
|
+
* "metadata": {
|
|
1905
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
1906
|
+
* "requestId": "uuid",
|
|
1907
|
+
* "traceId": "uuid",
|
|
1908
|
+
* "version": "v1",
|
|
1909
|
+
* "executionTime": 0,
|
|
1910
|
+
* "language": "en-US",
|
|
1911
|
+
* "links": [
|
|
1912
|
+
* {
|
|
1913
|
+
* "rel": "self",
|
|
1914
|
+
* "href": "/v1/cart/items",
|
|
1915
|
+
* "method": "POST"
|
|
1916
|
+
* }
|
|
1917
|
+
* ]
|
|
1918
|
+
* },
|
|
1919
|
+
* "error": {
|
|
1920
|
+
* "type": "https://{your-domain}/errors/rate-limit-exceeded",
|
|
1921
|
+
* "code": "RATE_LIMIT_EXCEEDED",
|
|
1922
|
+
* "title": "Rate Limit Exceeded",
|
|
1923
|
+
* "status": 429,
|
|
1924
|
+
* "detail": "Too many requests",
|
|
1925
|
+
* "instance": "/v1/cart/items",
|
|
1926
|
+
* "extensions": {
|
|
1927
|
+
* "message_code": "RATE_LIMIT_EXCEEDED",
|
|
1928
|
+
* "invalid_params": []
|
|
1929
|
+
* }
|
|
1930
|
+
* }
|
|
1931
|
+
* }
|
|
1932
|
+
*/
|
|
1933
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
1934
|
+
};
|
|
1935
|
+
};
|
|
1936
|
+
/** @description Internal Server Error */
|
|
1937
|
+
500: {
|
|
1938
|
+
headers: {
|
|
1939
|
+
[name: string]: unknown;
|
|
1940
|
+
};
|
|
1941
|
+
content: {
|
|
1942
|
+
/**
|
|
1943
|
+
* @example {
|
|
1944
|
+
* "status": "error",
|
|
1945
|
+
* "message": "An unexpected error occurred",
|
|
1946
|
+
* "message_code": "SERVER_ERROR",
|
|
1947
|
+
* "metadata": {
|
|
1948
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
1949
|
+
* "requestId": "uuid",
|
|
1950
|
+
* "traceId": "uuid",
|
|
1951
|
+
* "version": "v1",
|
|
1952
|
+
* "executionTime": 0,
|
|
1953
|
+
* "language": "en-US",
|
|
1954
|
+
* "links": [
|
|
1955
|
+
* {
|
|
1956
|
+
* "rel": "self",
|
|
1957
|
+
* "href": "/v1/cart/items",
|
|
1958
|
+
* "method": "POST"
|
|
1959
|
+
* }
|
|
1960
|
+
* ]
|
|
1961
|
+
* },
|
|
1962
|
+
* "error": {
|
|
1963
|
+
* "type": "https://{your-domain}/errors/server-error",
|
|
1964
|
+
* "code": "SERVER_ERROR",
|
|
1965
|
+
* "title": "Server Error",
|
|
1966
|
+
* "status": 500,
|
|
1967
|
+
* "detail": "An unexpected error occurred",
|
|
1968
|
+
* "instance": "/v1/cart/items",
|
|
1969
|
+
* "extensions": {
|
|
1970
|
+
* "message_code": "SERVER_ERROR",
|
|
1971
|
+
* "invalid_params": []
|
|
1972
|
+
* }
|
|
1973
|
+
* }
|
|
1974
|
+
* }
|
|
1975
|
+
*/
|
|
1976
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
1977
|
+
};
|
|
1978
|
+
};
|
|
1979
|
+
};
|
|
1980
|
+
};
|
|
1981
|
+
createBulkInviteJob: {
|
|
1982
|
+
parameters: {
|
|
1983
|
+
query?: never;
|
|
1984
|
+
header?: {
|
|
1985
|
+
authorization?: string | null;
|
|
1986
|
+
};
|
|
1987
|
+
path?: never;
|
|
1988
|
+
cookie?: never;
|
|
1989
|
+
};
|
|
1990
|
+
requestBody: {
|
|
1991
|
+
content: {
|
|
1992
|
+
"application/json": components["schemas"]["BulkInviteRequest"];
|
|
1993
|
+
};
|
|
1994
|
+
};
|
|
1995
|
+
responses: {
|
|
1996
|
+
/** @description Successful Response */
|
|
1997
|
+
202: {
|
|
1998
|
+
headers: {
|
|
1999
|
+
[name: string]: unknown;
|
|
2000
|
+
};
|
|
2001
|
+
content: {
|
|
2002
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
2003
|
+
};
|
|
2004
|
+
};
|
|
2005
|
+
/** @description Bad Request */
|
|
2006
|
+
400: {
|
|
2007
|
+
headers: {
|
|
2008
|
+
[name: string]: unknown;
|
|
2009
|
+
};
|
|
2010
|
+
content: {
|
|
2011
|
+
/**
|
|
2012
|
+
* @example {
|
|
2013
|
+
* "status": "error",
|
|
2014
|
+
* "message": "An error occurred",
|
|
2015
|
+
* "message_code": "GENERIC_ERROR",
|
|
2016
|
+
* "metadata": {
|
|
2017
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
2018
|
+
* "requestId": "uuid",
|
|
2019
|
+
* "traceId": "uuid",
|
|
2020
|
+
* "version": "v1",
|
|
2021
|
+
* "executionTime": 0,
|
|
2022
|
+
* "language": "en-US",
|
|
2023
|
+
* "links": [
|
|
2024
|
+
* {
|
|
2025
|
+
* "rel": "self",
|
|
2026
|
+
* "href": "/v1/cart/items",
|
|
2027
|
+
* "method": "POST"
|
|
2028
|
+
* }
|
|
2029
|
+
* ]
|
|
2030
|
+
* },
|
|
2031
|
+
* "error": {
|
|
2032
|
+
* "type": "https://{your-domain}/errors/client-error",
|
|
2033
|
+
* "code": "GENERIC_ERROR",
|
|
2034
|
+
* "title": "Client Error",
|
|
2035
|
+
* "status": 400,
|
|
2036
|
+
* "detail": "An error occurred",
|
|
2037
|
+
* "instance": "/v1/cart/items",
|
|
2038
|
+
* "extensions": {
|
|
2039
|
+
* "message_code": "GENERIC_ERROR",
|
|
2040
|
+
* "invalid_params": []
|
|
2041
|
+
* }
|
|
2042
|
+
* }
|
|
2043
|
+
* }
|
|
2044
|
+
*/
|
|
2045
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
2046
|
+
};
|
|
2047
|
+
};
|
|
2048
|
+
/** @description Unprocessable Entity */
|
|
2049
|
+
422: {
|
|
2050
|
+
headers: {
|
|
2051
|
+
[name: string]: unknown;
|
|
2052
|
+
};
|
|
2053
|
+
content: {
|
|
2054
|
+
/**
|
|
2055
|
+
* @example {
|
|
2056
|
+
* "status": "error",
|
|
2057
|
+
* "message": "One or more input fields are invalid",
|
|
2058
|
+
* "message_code": "INVALID_INPUT",
|
|
2059
|
+
* "metadata": {
|
|
2060
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
2061
|
+
* "requestId": "uuid",
|
|
2062
|
+
* "traceId": "uuid",
|
|
2063
|
+
* "version": "v1",
|
|
2064
|
+
* "executionTime": 0,
|
|
2065
|
+
* "language": "en-US",
|
|
2066
|
+
* "links": [
|
|
2067
|
+
* {
|
|
2068
|
+
* "rel": "self",
|
|
2069
|
+
* "href": "/v1/cart/items",
|
|
2070
|
+
* "method": "POST"
|
|
2071
|
+
* }
|
|
2072
|
+
* ]
|
|
2073
|
+
* },
|
|
2074
|
+
* "error": {
|
|
2075
|
+
* "type": "https://{your-domain}/errors/invalid-input",
|
|
2076
|
+
* "code": "INVALID_INPUT",
|
|
2077
|
+
* "title": "Invalid Input",
|
|
2078
|
+
* "status": 422,
|
|
2079
|
+
* "detail": "One or more input fields are invalid",
|
|
2080
|
+
* "instance": "/v1/cart/items",
|
|
2081
|
+
* "extensions": {
|
|
2082
|
+
* "message_code": "INVALID_INPUT",
|
|
2083
|
+
* "invalid_params": [
|
|
2084
|
+
* {
|
|
2085
|
+
* "field": "items[0].quantity",
|
|
2086
|
+
* "error": "Input should be greater than or equal to 1"
|
|
2087
|
+
* }
|
|
2088
|
+
* ]
|
|
2089
|
+
* }
|
|
2090
|
+
* }
|
|
2091
|
+
* }
|
|
2092
|
+
*/
|
|
2093
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
2094
|
+
};
|
|
2095
|
+
};
|
|
2096
|
+
/** @description Too Many Requests */
|
|
2097
|
+
429: {
|
|
2098
|
+
headers: {
|
|
2099
|
+
[name: string]: unknown;
|
|
2100
|
+
};
|
|
2101
|
+
content: {
|
|
2102
|
+
/**
|
|
2103
|
+
* @example {
|
|
2104
|
+
* "status": "error",
|
|
2105
|
+
* "message": "Too many requests",
|
|
2106
|
+
* "message_code": "RATE_LIMIT_EXCEEDED",
|
|
2107
|
+
* "metadata": {
|
|
2108
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
2109
|
+
* "requestId": "uuid",
|
|
2110
|
+
* "traceId": "uuid",
|
|
2111
|
+
* "version": "v1",
|
|
2112
|
+
* "executionTime": 0,
|
|
2113
|
+
* "language": "en-US",
|
|
2114
|
+
* "links": [
|
|
2115
|
+
* {
|
|
2116
|
+
* "rel": "self",
|
|
2117
|
+
* "href": "/v1/cart/items",
|
|
2118
|
+
* "method": "POST"
|
|
2119
|
+
* }
|
|
2120
|
+
* ]
|
|
2121
|
+
* },
|
|
2122
|
+
* "error": {
|
|
2123
|
+
* "type": "https://{your-domain}/errors/rate-limit-exceeded",
|
|
2124
|
+
* "code": "RATE_LIMIT_EXCEEDED",
|
|
2125
|
+
* "title": "Rate Limit Exceeded",
|
|
2126
|
+
* "status": 429,
|
|
2127
|
+
* "detail": "Too many requests",
|
|
2128
|
+
* "instance": "/v1/cart/items",
|
|
2129
|
+
* "extensions": {
|
|
2130
|
+
* "message_code": "RATE_LIMIT_EXCEEDED",
|
|
2131
|
+
* "invalid_params": []
|
|
2132
|
+
* }
|
|
2133
|
+
* }
|
|
2134
|
+
* }
|
|
2135
|
+
*/
|
|
2136
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
2137
|
+
};
|
|
2138
|
+
};
|
|
2139
|
+
/** @description Internal Server Error */
|
|
2140
|
+
500: {
|
|
2141
|
+
headers: {
|
|
2142
|
+
[name: string]: unknown;
|
|
2143
|
+
};
|
|
2144
|
+
content: {
|
|
2145
|
+
/**
|
|
2146
|
+
* @example {
|
|
2147
|
+
* "status": "error",
|
|
2148
|
+
* "message": "An unexpected error occurred",
|
|
2149
|
+
* "message_code": "SERVER_ERROR",
|
|
2150
|
+
* "metadata": {
|
|
2151
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
2152
|
+
* "requestId": "uuid",
|
|
2153
|
+
* "traceId": "uuid",
|
|
2154
|
+
* "version": "v1",
|
|
2155
|
+
* "executionTime": 0,
|
|
2156
|
+
* "language": "en-US",
|
|
2157
|
+
* "links": [
|
|
2158
|
+
* {
|
|
2159
|
+
* "rel": "self",
|
|
2160
|
+
* "href": "/v1/cart/items",
|
|
2161
|
+
* "method": "POST"
|
|
2162
|
+
* }
|
|
2163
|
+
* ]
|
|
2164
|
+
* },
|
|
2165
|
+
* "error": {
|
|
2166
|
+
* "type": "https://{your-domain}/errors/server-error",
|
|
2167
|
+
* "code": "SERVER_ERROR",
|
|
2168
|
+
* "title": "Server Error",
|
|
2169
|
+
* "status": 500,
|
|
2170
|
+
* "detail": "An unexpected error occurred",
|
|
2171
|
+
* "instance": "/v1/cart/items",
|
|
2172
|
+
* "extensions": {
|
|
2173
|
+
* "message_code": "SERVER_ERROR",
|
|
2174
|
+
* "invalid_params": []
|
|
2175
|
+
* }
|
|
2176
|
+
* }
|
|
2177
|
+
* }
|
|
2178
|
+
*/
|
|
2179
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
2180
|
+
};
|
|
2181
|
+
};
|
|
2182
|
+
};
|
|
2183
|
+
};
|
|
2184
|
+
getBulkInviteJob: {
|
|
2185
|
+
parameters: {
|
|
2186
|
+
query?: never;
|
|
2187
|
+
header?: {
|
|
2188
|
+
authorization?: string | null;
|
|
2189
|
+
};
|
|
2190
|
+
path: {
|
|
2191
|
+
/** @description Job external ID (bijob_xxx) */
|
|
2192
|
+
job_id: string;
|
|
2193
|
+
};
|
|
2194
|
+
cookie?: never;
|
|
2195
|
+
};
|
|
2196
|
+
requestBody?: never;
|
|
2197
|
+
responses: {
|
|
2198
|
+
/** @description Successful Response */
|
|
2199
|
+
200: {
|
|
2200
|
+
headers: {
|
|
2201
|
+
[name: string]: unknown;
|
|
2202
|
+
};
|
|
2203
|
+
content: {
|
|
2204
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
2205
|
+
};
|
|
2206
|
+
};
|
|
2207
|
+
/** @description Bad Request */
|
|
2208
|
+
400: {
|
|
2209
|
+
headers: {
|
|
2210
|
+
[name: string]: unknown;
|
|
2211
|
+
};
|
|
2212
|
+
content: {
|
|
2213
|
+
/**
|
|
2214
|
+
* @example {
|
|
2215
|
+
* "status": "error",
|
|
2216
|
+
* "message": "An error occurred",
|
|
2217
|
+
* "message_code": "GENERIC_ERROR",
|
|
2218
|
+
* "metadata": {
|
|
2219
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
2220
|
+
* "requestId": "uuid",
|
|
2221
|
+
* "traceId": "uuid",
|
|
2222
|
+
* "version": "v1",
|
|
2223
|
+
* "executionTime": 0,
|
|
2224
|
+
* "language": "en-US",
|
|
2225
|
+
* "links": [
|
|
2226
|
+
* {
|
|
2227
|
+
* "rel": "self",
|
|
2228
|
+
* "href": "/v1/cart/items",
|
|
2229
|
+
* "method": "POST"
|
|
2230
|
+
* }
|
|
2231
|
+
* ]
|
|
2232
|
+
* },
|
|
2233
|
+
* "error": {
|
|
2234
|
+
* "type": "https://{your-domain}/errors/client-error",
|
|
2235
|
+
* "code": "GENERIC_ERROR",
|
|
2236
|
+
* "title": "Client Error",
|
|
2237
|
+
* "status": 400,
|
|
2238
|
+
* "detail": "An error occurred",
|
|
2239
|
+
* "instance": "/v1/cart/items",
|
|
2240
|
+
* "extensions": {
|
|
2241
|
+
* "message_code": "GENERIC_ERROR",
|
|
2242
|
+
* "invalid_params": []
|
|
2243
|
+
* }
|
|
2244
|
+
* }
|
|
2245
|
+
* }
|
|
2246
|
+
*/
|
|
2247
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
2248
|
+
};
|
|
2249
|
+
};
|
|
2250
|
+
/** @description Unprocessable Entity */
|
|
2251
|
+
422: {
|
|
2252
|
+
headers: {
|
|
2253
|
+
[name: string]: unknown;
|
|
2254
|
+
};
|
|
2255
|
+
content: {
|
|
2256
|
+
/**
|
|
2257
|
+
* @example {
|
|
2258
|
+
* "status": "error",
|
|
2259
|
+
* "message": "One or more input fields are invalid",
|
|
2260
|
+
* "message_code": "INVALID_INPUT",
|
|
2261
|
+
* "metadata": {
|
|
2262
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
2263
|
+
* "requestId": "uuid",
|
|
2264
|
+
* "traceId": "uuid",
|
|
2265
|
+
* "version": "v1",
|
|
2266
|
+
* "executionTime": 0,
|
|
2267
|
+
* "language": "en-US",
|
|
2268
|
+
* "links": [
|
|
2269
|
+
* {
|
|
2270
|
+
* "rel": "self",
|
|
2271
|
+
* "href": "/v1/cart/items",
|
|
2272
|
+
* "method": "POST"
|
|
2273
|
+
* }
|
|
2274
|
+
* ]
|
|
2275
|
+
* },
|
|
2276
|
+
* "error": {
|
|
2277
|
+
* "type": "https://{your-domain}/errors/invalid-input",
|
|
2278
|
+
* "code": "INVALID_INPUT",
|
|
2279
|
+
* "title": "Invalid Input",
|
|
2280
|
+
* "status": 422,
|
|
2281
|
+
* "detail": "One or more input fields are invalid",
|
|
2282
|
+
* "instance": "/v1/cart/items",
|
|
2283
|
+
* "extensions": {
|
|
2284
|
+
* "message_code": "INVALID_INPUT",
|
|
2285
|
+
* "invalid_params": [
|
|
2286
|
+
* {
|
|
2287
|
+
* "field": "items[0].quantity",
|
|
2288
|
+
* "error": "Input should be greater than or equal to 1"
|
|
2289
|
+
* }
|
|
2290
|
+
* ]
|
|
2291
|
+
* }
|
|
2292
|
+
* }
|
|
2293
|
+
* }
|
|
2294
|
+
*/
|
|
2295
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
2296
|
+
};
|
|
2297
|
+
};
|
|
2298
|
+
/** @description Too Many Requests */
|
|
2299
|
+
429: {
|
|
2300
|
+
headers: {
|
|
2301
|
+
[name: string]: unknown;
|
|
2302
|
+
};
|
|
2303
|
+
content: {
|
|
2304
|
+
/**
|
|
2305
|
+
* @example {
|
|
2306
|
+
* "status": "error",
|
|
2307
|
+
* "message": "Too many requests",
|
|
2308
|
+
* "message_code": "RATE_LIMIT_EXCEEDED",
|
|
2309
|
+
* "metadata": {
|
|
2310
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
2311
|
+
* "requestId": "uuid",
|
|
2312
|
+
* "traceId": "uuid",
|
|
2313
|
+
* "version": "v1",
|
|
2314
|
+
* "executionTime": 0,
|
|
2315
|
+
* "language": "en-US",
|
|
2316
|
+
* "links": [
|
|
2317
|
+
* {
|
|
2318
|
+
* "rel": "self",
|
|
2319
|
+
* "href": "/v1/cart/items",
|
|
2320
|
+
* "method": "POST"
|
|
2321
|
+
* }
|
|
2322
|
+
* ]
|
|
2323
|
+
* },
|
|
2324
|
+
* "error": {
|
|
2325
|
+
* "type": "https://{your-domain}/errors/rate-limit-exceeded",
|
|
2326
|
+
* "code": "RATE_LIMIT_EXCEEDED",
|
|
2327
|
+
* "title": "Rate Limit Exceeded",
|
|
2328
|
+
* "status": 429,
|
|
2329
|
+
* "detail": "Too many requests",
|
|
2330
|
+
* "instance": "/v1/cart/items",
|
|
2331
|
+
* "extensions": {
|
|
2332
|
+
* "message_code": "RATE_LIMIT_EXCEEDED",
|
|
2333
|
+
* "invalid_params": []
|
|
2334
|
+
* }
|
|
2335
|
+
* }
|
|
2336
|
+
* }
|
|
2337
|
+
*/
|
|
2338
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
2339
|
+
};
|
|
2340
|
+
};
|
|
2341
|
+
/** @description Internal Server Error */
|
|
2342
|
+
500: {
|
|
2343
|
+
headers: {
|
|
2344
|
+
[name: string]: unknown;
|
|
2345
|
+
};
|
|
2346
|
+
content: {
|
|
2347
|
+
/**
|
|
2348
|
+
* @example {
|
|
2349
|
+
* "status": "error",
|
|
2350
|
+
* "message": "An unexpected error occurred",
|
|
2351
|
+
* "message_code": "SERVER_ERROR",
|
|
2352
|
+
* "metadata": {
|
|
2353
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
2354
|
+
* "requestId": "uuid",
|
|
2355
|
+
* "traceId": "uuid",
|
|
2356
|
+
* "version": "v1",
|
|
2357
|
+
* "executionTime": 0,
|
|
2358
|
+
* "language": "en-US",
|
|
2359
|
+
* "links": [
|
|
2360
|
+
* {
|
|
2361
|
+
* "rel": "self",
|
|
2362
|
+
* "href": "/v1/cart/items",
|
|
2363
|
+
* "method": "POST"
|
|
2364
|
+
* }
|
|
2365
|
+
* ]
|
|
2366
|
+
* },
|
|
2367
|
+
* "error": {
|
|
2368
|
+
* "type": "https://{your-domain}/errors/server-error",
|
|
2369
|
+
* "code": "SERVER_ERROR",
|
|
2370
|
+
* "title": "Server Error",
|
|
2371
|
+
* "status": 500,
|
|
2372
|
+
* "detail": "An unexpected error occurred",
|
|
2373
|
+
* "instance": "/v1/cart/items",
|
|
2374
|
+
* "extensions": {
|
|
2375
|
+
* "message_code": "SERVER_ERROR",
|
|
2376
|
+
* "invalid_params": []
|
|
2377
|
+
* }
|
|
2378
|
+
* }
|
|
2379
|
+
* }
|
|
2380
|
+
*/
|
|
2381
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
2382
|
+
};
|
|
2383
|
+
};
|
|
2384
|
+
};
|
|
2385
|
+
};
|
|
2386
|
+
listBulkInviteJobItems: {
|
|
2387
|
+
parameters: {
|
|
2388
|
+
query?: {
|
|
2389
|
+
/** @description Filter by row status */
|
|
2390
|
+
status?: string | null;
|
|
2391
|
+
/** @description Page number (1-based) */
|
|
2392
|
+
page?: number;
|
|
2393
|
+
/** @description Items per page (1–100, default 20) */
|
|
2394
|
+
limit?: number;
|
|
2395
|
+
};
|
|
2396
|
+
header?: {
|
|
2397
|
+
authorization?: string | null;
|
|
2398
|
+
};
|
|
2399
|
+
path: {
|
|
2400
|
+
/** @description Job external ID (bijob_xxx) */
|
|
2401
|
+
job_id: string;
|
|
2402
|
+
};
|
|
2403
|
+
cookie?: never;
|
|
2404
|
+
};
|
|
2405
|
+
requestBody?: never;
|
|
2406
|
+
responses: {
|
|
2407
|
+
/** @description Successful Response */
|
|
2408
|
+
200: {
|
|
2409
|
+
headers: {
|
|
2410
|
+
[name: string]: unknown;
|
|
2411
|
+
};
|
|
2412
|
+
content: {
|
|
2413
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
2414
|
+
};
|
|
2415
|
+
};
|
|
2416
|
+
/** @description Bad Request */
|
|
2417
|
+
400: {
|
|
2418
|
+
headers: {
|
|
2419
|
+
[name: string]: unknown;
|
|
2420
|
+
};
|
|
2421
|
+
content: {
|
|
2422
|
+
/**
|
|
2423
|
+
* @example {
|
|
2424
|
+
* "status": "error",
|
|
2425
|
+
* "message": "An error occurred",
|
|
2426
|
+
* "message_code": "GENERIC_ERROR",
|
|
2427
|
+
* "metadata": {
|
|
2428
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
2429
|
+
* "requestId": "uuid",
|
|
2430
|
+
* "traceId": "uuid",
|
|
2431
|
+
* "version": "v1",
|
|
2432
|
+
* "executionTime": 0,
|
|
2433
|
+
* "language": "en-US",
|
|
2434
|
+
* "links": [
|
|
2435
|
+
* {
|
|
2436
|
+
* "rel": "self",
|
|
2437
|
+
* "href": "/v1/cart/items",
|
|
2438
|
+
* "method": "POST"
|
|
2439
|
+
* }
|
|
2440
|
+
* ]
|
|
2441
|
+
* },
|
|
2442
|
+
* "error": {
|
|
2443
|
+
* "type": "https://{your-domain}/errors/client-error",
|
|
2444
|
+
* "code": "GENERIC_ERROR",
|
|
2445
|
+
* "title": "Client Error",
|
|
2446
|
+
* "status": 400,
|
|
2447
|
+
* "detail": "An error occurred",
|
|
2448
|
+
* "instance": "/v1/cart/items",
|
|
2449
|
+
* "extensions": {
|
|
2450
|
+
* "message_code": "GENERIC_ERROR",
|
|
2451
|
+
* "invalid_params": []
|
|
2452
|
+
* }
|
|
2453
|
+
* }
|
|
2454
|
+
* }
|
|
2455
|
+
*/
|
|
2456
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
2457
|
+
};
|
|
2458
|
+
};
|
|
2459
|
+
/** @description Unprocessable Entity */
|
|
2460
|
+
422: {
|
|
2461
|
+
headers: {
|
|
2462
|
+
[name: string]: unknown;
|
|
2463
|
+
};
|
|
2464
|
+
content: {
|
|
2465
|
+
/**
|
|
2466
|
+
* @example {
|
|
2467
|
+
* "status": "error",
|
|
2468
|
+
* "message": "One or more input fields are invalid",
|
|
2469
|
+
* "message_code": "INVALID_INPUT",
|
|
2470
|
+
* "metadata": {
|
|
2471
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
2472
|
+
* "requestId": "uuid",
|
|
2473
|
+
* "traceId": "uuid",
|
|
2474
|
+
* "version": "v1",
|
|
2475
|
+
* "executionTime": 0,
|
|
2476
|
+
* "language": "en-US",
|
|
2477
|
+
* "links": [
|
|
2478
|
+
* {
|
|
2479
|
+
* "rel": "self",
|
|
2480
|
+
* "href": "/v1/cart/items",
|
|
2481
|
+
* "method": "POST"
|
|
2482
|
+
* }
|
|
2483
|
+
* ]
|
|
2484
|
+
* },
|
|
2485
|
+
* "error": {
|
|
2486
|
+
* "type": "https://{your-domain}/errors/invalid-input",
|
|
2487
|
+
* "code": "INVALID_INPUT",
|
|
2488
|
+
* "title": "Invalid Input",
|
|
2489
|
+
* "status": 422,
|
|
2490
|
+
* "detail": "One or more input fields are invalid",
|
|
2491
|
+
* "instance": "/v1/cart/items",
|
|
2492
|
+
* "extensions": {
|
|
2493
|
+
* "message_code": "INVALID_INPUT",
|
|
2494
|
+
* "invalid_params": [
|
|
2495
|
+
* {
|
|
2496
|
+
* "field": "items[0].quantity",
|
|
2497
|
+
* "error": "Input should be greater than or equal to 1"
|
|
2498
|
+
* }
|
|
2499
|
+
* ]
|
|
2500
|
+
* }
|
|
2501
|
+
* }
|
|
2502
|
+
* }
|
|
2503
|
+
*/
|
|
2504
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
2505
|
+
};
|
|
2506
|
+
};
|
|
2507
|
+
/** @description Too Many Requests */
|
|
2508
|
+
429: {
|
|
2509
|
+
headers: {
|
|
2510
|
+
[name: string]: unknown;
|
|
2511
|
+
};
|
|
2512
|
+
content: {
|
|
2513
|
+
/**
|
|
2514
|
+
* @example {
|
|
2515
|
+
* "status": "error",
|
|
2516
|
+
* "message": "Too many requests",
|
|
2517
|
+
* "message_code": "RATE_LIMIT_EXCEEDED",
|
|
2518
|
+
* "metadata": {
|
|
2519
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
2520
|
+
* "requestId": "uuid",
|
|
2521
|
+
* "traceId": "uuid",
|
|
2522
|
+
* "version": "v1",
|
|
2523
|
+
* "executionTime": 0,
|
|
2524
|
+
* "language": "en-US",
|
|
2525
|
+
* "links": [
|
|
2526
|
+
* {
|
|
2527
|
+
* "rel": "self",
|
|
2528
|
+
* "href": "/v1/cart/items",
|
|
2529
|
+
* "method": "POST"
|
|
2530
|
+
* }
|
|
2531
|
+
* ]
|
|
2532
|
+
* },
|
|
2533
|
+
* "error": {
|
|
2534
|
+
* "type": "https://{your-domain}/errors/rate-limit-exceeded",
|
|
2535
|
+
* "code": "RATE_LIMIT_EXCEEDED",
|
|
2536
|
+
* "title": "Rate Limit Exceeded",
|
|
2537
|
+
* "status": 429,
|
|
2538
|
+
* "detail": "Too many requests",
|
|
2539
|
+
* "instance": "/v1/cart/items",
|
|
2540
|
+
* "extensions": {
|
|
2541
|
+
* "message_code": "RATE_LIMIT_EXCEEDED",
|
|
2542
|
+
* "invalid_params": []
|
|
2543
|
+
* }
|
|
2544
|
+
* }
|
|
2545
|
+
* }
|
|
2546
|
+
*/
|
|
2547
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
2548
|
+
};
|
|
2549
|
+
};
|
|
2550
|
+
/** @description Internal Server Error */
|
|
2551
|
+
500: {
|
|
2552
|
+
headers: {
|
|
2553
|
+
[name: string]: unknown;
|
|
2554
|
+
};
|
|
2555
|
+
content: {
|
|
2556
|
+
/**
|
|
2557
|
+
* @example {
|
|
2558
|
+
* "status": "error",
|
|
2559
|
+
* "message": "An unexpected error occurred",
|
|
2560
|
+
* "message_code": "SERVER_ERROR",
|
|
2561
|
+
* "metadata": {
|
|
2562
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
2563
|
+
* "requestId": "uuid",
|
|
2564
|
+
* "traceId": "uuid",
|
|
2565
|
+
* "version": "v1",
|
|
2566
|
+
* "executionTime": 0,
|
|
2567
|
+
* "language": "en-US",
|
|
2568
|
+
* "links": [
|
|
2569
|
+
* {
|
|
2570
|
+
* "rel": "self",
|
|
2571
|
+
* "href": "/v1/cart/items",
|
|
2572
|
+
* "method": "POST"
|
|
2573
|
+
* }
|
|
2574
|
+
* ]
|
|
2575
|
+
* },
|
|
2576
|
+
* "error": {
|
|
2577
|
+
* "type": "https://{your-domain}/errors/server-error",
|
|
2578
|
+
* "code": "SERVER_ERROR",
|
|
2579
|
+
* "title": "Server Error",
|
|
2580
|
+
* "status": 500,
|
|
2581
|
+
* "detail": "An unexpected error occurred",
|
|
2582
|
+
* "instance": "/v1/cart/items",
|
|
2583
|
+
* "extensions": {
|
|
2584
|
+
* "message_code": "SERVER_ERROR",
|
|
2585
|
+
* "invalid_params": []
|
|
2586
|
+
* }
|
|
2587
|
+
* }
|
|
2588
|
+
* }
|
|
2589
|
+
*/
|
|
2590
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
2591
|
+
};
|
|
2592
|
+
};
|
|
2593
|
+
};
|
|
2594
|
+
};
|
|
2595
|
+
retryBulkInviteJob: {
|
|
2596
|
+
parameters: {
|
|
2597
|
+
query?: never;
|
|
2598
|
+
header?: {
|
|
2599
|
+
authorization?: string | null;
|
|
2600
|
+
};
|
|
2601
|
+
path: {
|
|
2602
|
+
/** @description Job external ID (bijob_xxx) */
|
|
2603
|
+
job_id: string;
|
|
2604
|
+
};
|
|
2605
|
+
cookie?: never;
|
|
2606
|
+
};
|
|
2607
|
+
requestBody?: never;
|
|
2608
|
+
responses: {
|
|
2609
|
+
/** @description Successful Response */
|
|
2610
|
+
200: {
|
|
2611
|
+
headers: {
|
|
2612
|
+
[name: string]: unknown;
|
|
2613
|
+
};
|
|
2614
|
+
content: {
|
|
2615
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
2616
|
+
};
|
|
2617
|
+
};
|
|
2618
|
+
/** @description Bad Request */
|
|
2619
|
+
400: {
|
|
2620
|
+
headers: {
|
|
2621
|
+
[name: string]: unknown;
|
|
2622
|
+
};
|
|
2623
|
+
content: {
|
|
2624
|
+
/**
|
|
2625
|
+
* @example {
|
|
2626
|
+
* "status": "error",
|
|
2627
|
+
* "message": "An error occurred",
|
|
2628
|
+
* "message_code": "GENERIC_ERROR",
|
|
2629
|
+
* "metadata": {
|
|
2630
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
2631
|
+
* "requestId": "uuid",
|
|
2632
|
+
* "traceId": "uuid",
|
|
2633
|
+
* "version": "v1",
|
|
2634
|
+
* "executionTime": 0,
|
|
2635
|
+
* "language": "en-US",
|
|
2636
|
+
* "links": [
|
|
2637
|
+
* {
|
|
2638
|
+
* "rel": "self",
|
|
2639
|
+
* "href": "/v1/cart/items",
|
|
2640
|
+
* "method": "POST"
|
|
2641
|
+
* }
|
|
2642
|
+
* ]
|
|
2643
|
+
* },
|
|
2644
|
+
* "error": {
|
|
2645
|
+
* "type": "https://{your-domain}/errors/client-error",
|
|
2646
|
+
* "code": "GENERIC_ERROR",
|
|
2647
|
+
* "title": "Client Error",
|
|
2648
|
+
* "status": 400,
|
|
2649
|
+
* "detail": "An error occurred",
|
|
2650
|
+
* "instance": "/v1/cart/items",
|
|
2651
|
+
* "extensions": {
|
|
2652
|
+
* "message_code": "GENERIC_ERROR",
|
|
2653
|
+
* "invalid_params": []
|
|
2654
|
+
* }
|
|
2655
|
+
* }
|
|
2656
|
+
* }
|
|
2657
|
+
*/
|
|
2658
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
2659
|
+
};
|
|
2660
|
+
};
|
|
2661
|
+
/** @description Unprocessable Entity */
|
|
2662
|
+
422: {
|
|
2663
|
+
headers: {
|
|
2664
|
+
[name: string]: unknown;
|
|
2665
|
+
};
|
|
2666
|
+
content: {
|
|
2667
|
+
/**
|
|
2668
|
+
* @example {
|
|
2669
|
+
* "status": "error",
|
|
2670
|
+
* "message": "One or more input fields are invalid",
|
|
2671
|
+
* "message_code": "INVALID_INPUT",
|
|
2672
|
+
* "metadata": {
|
|
2673
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
2674
|
+
* "requestId": "uuid",
|
|
2675
|
+
* "traceId": "uuid",
|
|
2676
|
+
* "version": "v1",
|
|
2677
|
+
* "executionTime": 0,
|
|
2678
|
+
* "language": "en-US",
|
|
2679
|
+
* "links": [
|
|
2680
|
+
* {
|
|
2681
|
+
* "rel": "self",
|
|
2682
|
+
* "href": "/v1/cart/items",
|
|
2683
|
+
* "method": "POST"
|
|
2684
|
+
* }
|
|
2685
|
+
* ]
|
|
2686
|
+
* },
|
|
2687
|
+
* "error": {
|
|
2688
|
+
* "type": "https://{your-domain}/errors/invalid-input",
|
|
2689
|
+
* "code": "INVALID_INPUT",
|
|
2690
|
+
* "title": "Invalid Input",
|
|
2691
|
+
* "status": 422,
|
|
2692
|
+
* "detail": "One or more input fields are invalid",
|
|
2693
|
+
* "instance": "/v1/cart/items",
|
|
2694
|
+
* "extensions": {
|
|
2695
|
+
* "message_code": "INVALID_INPUT",
|
|
2696
|
+
* "invalid_params": [
|
|
2697
|
+
* {
|
|
2698
|
+
* "field": "items[0].quantity",
|
|
2699
|
+
* "error": "Input should be greater than or equal to 1"
|
|
2700
|
+
* }
|
|
2701
|
+
* ]
|
|
2702
|
+
* }
|
|
2703
|
+
* }
|
|
2704
|
+
* }
|
|
2705
|
+
*/
|
|
2706
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
2707
|
+
};
|
|
2708
|
+
};
|
|
2709
|
+
/** @description Too Many Requests */
|
|
2710
|
+
429: {
|
|
2711
|
+
headers: {
|
|
2712
|
+
[name: string]: unknown;
|
|
2713
|
+
};
|
|
2714
|
+
content: {
|
|
2715
|
+
/**
|
|
2716
|
+
* @example {
|
|
2717
|
+
* "status": "error",
|
|
2718
|
+
* "message": "Too many requests",
|
|
2719
|
+
* "message_code": "RATE_LIMIT_EXCEEDED",
|
|
2720
|
+
* "metadata": {
|
|
2721
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
2722
|
+
* "requestId": "uuid",
|
|
2723
|
+
* "traceId": "uuid",
|
|
2724
|
+
* "version": "v1",
|
|
2725
|
+
* "executionTime": 0,
|
|
2726
|
+
* "language": "en-US",
|
|
2727
|
+
* "links": [
|
|
2728
|
+
* {
|
|
2729
|
+
* "rel": "self",
|
|
2730
|
+
* "href": "/v1/cart/items",
|
|
2731
|
+
* "method": "POST"
|
|
2732
|
+
* }
|
|
2733
|
+
* ]
|
|
2734
|
+
* },
|
|
2735
|
+
* "error": {
|
|
2736
|
+
* "type": "https://{your-domain}/errors/rate-limit-exceeded",
|
|
2737
|
+
* "code": "RATE_LIMIT_EXCEEDED",
|
|
2738
|
+
* "title": "Rate Limit Exceeded",
|
|
2739
|
+
* "status": 429,
|
|
2740
|
+
* "detail": "Too many requests",
|
|
2741
|
+
* "instance": "/v1/cart/items",
|
|
2742
|
+
* "extensions": {
|
|
2743
|
+
* "message_code": "RATE_LIMIT_EXCEEDED",
|
|
2744
|
+
* "invalid_params": []
|
|
2745
|
+
* }
|
|
2746
|
+
* }
|
|
2747
|
+
* }
|
|
2748
|
+
*/
|
|
2749
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
2750
|
+
};
|
|
2751
|
+
};
|
|
2752
|
+
/** @description Internal Server Error */
|
|
2753
|
+
500: {
|
|
2754
|
+
headers: {
|
|
2755
|
+
[name: string]: unknown;
|
|
2756
|
+
};
|
|
2757
|
+
content: {
|
|
2758
|
+
/**
|
|
2759
|
+
* @example {
|
|
2760
|
+
* "status": "error",
|
|
2761
|
+
* "message": "An unexpected error occurred",
|
|
2762
|
+
* "message_code": "SERVER_ERROR",
|
|
2763
|
+
* "metadata": {
|
|
2764
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
2765
|
+
* "requestId": "uuid",
|
|
2766
|
+
* "traceId": "uuid",
|
|
2767
|
+
* "version": "v1",
|
|
2768
|
+
* "executionTime": 0,
|
|
2769
|
+
* "language": "en-US",
|
|
2770
|
+
* "links": [
|
|
2771
|
+
* {
|
|
2772
|
+
* "rel": "self",
|
|
2773
|
+
* "href": "/v1/cart/items",
|
|
2774
|
+
* "method": "POST"
|
|
2775
|
+
* }
|
|
2776
|
+
* ]
|
|
2777
|
+
* },
|
|
2778
|
+
* "error": {
|
|
2779
|
+
* "type": "https://{your-domain}/errors/server-error",
|
|
2780
|
+
* "code": "SERVER_ERROR",
|
|
2781
|
+
* "title": "Server Error",
|
|
2782
|
+
* "status": 500,
|
|
2783
|
+
* "detail": "An unexpected error occurred",
|
|
2784
|
+
* "instance": "/v1/cart/items",
|
|
2785
|
+
* "extensions": {
|
|
2786
|
+
* "message_code": "SERVER_ERROR",
|
|
2787
|
+
* "invalid_params": []
|
|
2788
|
+
* }
|
|
2789
|
+
* }
|
|
2790
|
+
* }
|
|
2791
|
+
*/
|
|
2792
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
2793
|
+
};
|
|
2794
|
+
};
|
|
2795
|
+
};
|
|
2796
|
+
};
|
|
2797
|
+
cancelBulkInviteJob: {
|
|
2798
|
+
parameters: {
|
|
2799
|
+
query?: never;
|
|
2800
|
+
header?: {
|
|
2801
|
+
authorization?: string | null;
|
|
2802
|
+
};
|
|
2803
|
+
path: {
|
|
2804
|
+
/** @description Job external ID (bijob_xxx) */
|
|
2805
|
+
job_id: string;
|
|
2806
|
+
};
|
|
2807
|
+
cookie?: never;
|
|
2808
|
+
};
|
|
2809
|
+
requestBody?: never;
|
|
2810
|
+
responses: {
|
|
2811
|
+
/** @description Successful Response */
|
|
2812
|
+
200: {
|
|
2813
|
+
headers: {
|
|
2814
|
+
[name: string]: unknown;
|
|
2815
|
+
};
|
|
2816
|
+
content: {
|
|
2817
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
2818
|
+
};
|
|
2819
|
+
};
|
|
2820
|
+
/** @description Bad Request */
|
|
2821
|
+
400: {
|
|
2822
|
+
headers: {
|
|
2823
|
+
[name: string]: unknown;
|
|
2824
|
+
};
|
|
2825
|
+
content: {
|
|
2826
|
+
/**
|
|
2827
|
+
* @example {
|
|
2828
|
+
* "status": "error",
|
|
2829
|
+
* "message": "An error occurred",
|
|
2830
|
+
* "message_code": "GENERIC_ERROR",
|
|
2831
|
+
* "metadata": {
|
|
2832
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
2833
|
+
* "requestId": "uuid",
|
|
2834
|
+
* "traceId": "uuid",
|
|
2835
|
+
* "version": "v1",
|
|
2836
|
+
* "executionTime": 0,
|
|
2837
|
+
* "language": "en-US",
|
|
2838
|
+
* "links": [
|
|
2839
|
+
* {
|
|
2840
|
+
* "rel": "self",
|
|
2841
|
+
* "href": "/v1/cart/items",
|
|
2842
|
+
* "method": "POST"
|
|
2843
|
+
* }
|
|
2844
|
+
* ]
|
|
2845
|
+
* },
|
|
2846
|
+
* "error": {
|
|
2847
|
+
* "type": "https://{your-domain}/errors/client-error",
|
|
2848
|
+
* "code": "GENERIC_ERROR",
|
|
2849
|
+
* "title": "Client Error",
|
|
2850
|
+
* "status": 400,
|
|
2851
|
+
* "detail": "An error occurred",
|
|
2852
|
+
* "instance": "/v1/cart/items",
|
|
2853
|
+
* "extensions": {
|
|
2854
|
+
* "message_code": "GENERIC_ERROR",
|
|
2855
|
+
* "invalid_params": []
|
|
2856
|
+
* }
|
|
2857
|
+
* }
|
|
2858
|
+
* }
|
|
2859
|
+
*/
|
|
2860
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
2861
|
+
};
|
|
2862
|
+
};
|
|
2863
|
+
/** @description Unprocessable Entity */
|
|
2864
|
+
422: {
|
|
2865
|
+
headers: {
|
|
2866
|
+
[name: string]: unknown;
|
|
2867
|
+
};
|
|
2868
|
+
content: {
|
|
2869
|
+
/**
|
|
2870
|
+
* @example {
|
|
2871
|
+
* "status": "error",
|
|
2872
|
+
* "message": "One or more input fields are invalid",
|
|
2873
|
+
* "message_code": "INVALID_INPUT",
|
|
2874
|
+
* "metadata": {
|
|
2875
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
2876
|
+
* "requestId": "uuid",
|
|
2877
|
+
* "traceId": "uuid",
|
|
2878
|
+
* "version": "v1",
|
|
2879
|
+
* "executionTime": 0,
|
|
2880
|
+
* "language": "en-US",
|
|
2881
|
+
* "links": [
|
|
2882
|
+
* {
|
|
2883
|
+
* "rel": "self",
|
|
2884
|
+
* "href": "/v1/cart/items",
|
|
2885
|
+
* "method": "POST"
|
|
2886
|
+
* }
|
|
2887
|
+
* ]
|
|
2888
|
+
* },
|
|
2889
|
+
* "error": {
|
|
2890
|
+
* "type": "https://{your-domain}/errors/invalid-input",
|
|
2891
|
+
* "code": "INVALID_INPUT",
|
|
2892
|
+
* "title": "Invalid Input",
|
|
2893
|
+
* "status": 422,
|
|
2894
|
+
* "detail": "One or more input fields are invalid",
|
|
2895
|
+
* "instance": "/v1/cart/items",
|
|
2896
|
+
* "extensions": {
|
|
2897
|
+
* "message_code": "INVALID_INPUT",
|
|
2898
|
+
* "invalid_params": [
|
|
2899
|
+
* {
|
|
2900
|
+
* "field": "items[0].quantity",
|
|
2901
|
+
* "error": "Input should be greater than or equal to 1"
|
|
2902
|
+
* }
|
|
2903
|
+
* ]
|
|
2904
|
+
* }
|
|
2905
|
+
* }
|
|
2906
|
+
* }
|
|
2907
|
+
*/
|
|
2908
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
2909
|
+
};
|
|
2910
|
+
};
|
|
2911
|
+
/** @description Too Many Requests */
|
|
2912
|
+
429: {
|
|
2913
|
+
headers: {
|
|
2914
|
+
[name: string]: unknown;
|
|
2915
|
+
};
|
|
2916
|
+
content: {
|
|
2917
|
+
/**
|
|
2918
|
+
* @example {
|
|
2919
|
+
* "status": "error",
|
|
2920
|
+
* "message": "Too many requests",
|
|
2921
|
+
* "message_code": "RATE_LIMIT_EXCEEDED",
|
|
2922
|
+
* "metadata": {
|
|
2923
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
2924
|
+
* "requestId": "uuid",
|
|
2925
|
+
* "traceId": "uuid",
|
|
2926
|
+
* "version": "v1",
|
|
2927
|
+
* "executionTime": 0,
|
|
2928
|
+
* "language": "en-US",
|
|
2929
|
+
* "links": [
|
|
2930
|
+
* {
|
|
2931
|
+
* "rel": "self",
|
|
2932
|
+
* "href": "/v1/cart/items",
|
|
2933
|
+
* "method": "POST"
|
|
2934
|
+
* }
|
|
2935
|
+
* ]
|
|
2936
|
+
* },
|
|
2937
|
+
* "error": {
|
|
2938
|
+
* "type": "https://{your-domain}/errors/rate-limit-exceeded",
|
|
2939
|
+
* "code": "RATE_LIMIT_EXCEEDED",
|
|
2940
|
+
* "title": "Rate Limit Exceeded",
|
|
2941
|
+
* "status": 429,
|
|
2942
|
+
* "detail": "Too many requests",
|
|
2943
|
+
* "instance": "/v1/cart/items",
|
|
2944
|
+
* "extensions": {
|
|
2945
|
+
* "message_code": "RATE_LIMIT_EXCEEDED",
|
|
2946
|
+
* "invalid_params": []
|
|
2947
|
+
* }
|
|
2948
|
+
* }
|
|
2949
|
+
* }
|
|
2950
|
+
*/
|
|
2951
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
2952
|
+
};
|
|
2953
|
+
};
|
|
2954
|
+
/** @description Internal Server Error */
|
|
2955
|
+
500: {
|
|
2956
|
+
headers: {
|
|
2957
|
+
[name: string]: unknown;
|
|
2958
|
+
};
|
|
2959
|
+
content: {
|
|
2960
|
+
/**
|
|
2961
|
+
* @example {
|
|
2962
|
+
* "status": "error",
|
|
2963
|
+
* "message": "An unexpected error occurred",
|
|
2964
|
+
* "message_code": "SERVER_ERROR",
|
|
2965
|
+
* "metadata": {
|
|
2966
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
2967
|
+
* "requestId": "uuid",
|
|
2968
|
+
* "traceId": "uuid",
|
|
2969
|
+
* "version": "v1",
|
|
2970
|
+
* "executionTime": 0,
|
|
2971
|
+
* "language": "en-US",
|
|
2972
|
+
* "links": [
|
|
2973
|
+
* {
|
|
2974
|
+
* "rel": "self",
|
|
2975
|
+
* "href": "/v1/cart/items",
|
|
2976
|
+
* "method": "POST"
|
|
2977
|
+
* }
|
|
2978
|
+
* ]
|
|
2979
|
+
* },
|
|
2980
|
+
* "error": {
|
|
2981
|
+
* "type": "https://{your-domain}/errors/server-error",
|
|
2982
|
+
* "code": "SERVER_ERROR",
|
|
2983
|
+
* "title": "Server Error",
|
|
2984
|
+
* "status": 500,
|
|
2985
|
+
* "detail": "An unexpected error occurred",
|
|
2986
|
+
* "instance": "/v1/cart/items",
|
|
2987
|
+
* "extensions": {
|
|
2988
|
+
* "message_code": "SERVER_ERROR",
|
|
2989
|
+
* "invalid_params": []
|
|
2990
|
+
* }
|
|
2991
|
+
* }
|
|
2992
|
+
* }
|
|
2993
|
+
*/
|
|
2994
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
2995
|
+
};
|
|
2996
|
+
};
|
|
2997
|
+
};
|
|
2998
|
+
};
|
|
2999
|
+
createBulkRegistrationJob: {
|
|
3000
|
+
parameters: {
|
|
3001
|
+
query?: never;
|
|
3002
|
+
header?: {
|
|
3003
|
+
authorization?: string | null;
|
|
3004
|
+
};
|
|
3005
|
+
path?: never;
|
|
3006
|
+
cookie?: never;
|
|
3007
|
+
};
|
|
3008
|
+
requestBody: {
|
|
3009
|
+
content: {
|
|
3010
|
+
"application/json": components["schemas"]["app__models__invitations__bulk_register_schemas__BulkRegisterRequest"];
|
|
3011
|
+
};
|
|
3012
|
+
};
|
|
3013
|
+
responses: {
|
|
3014
|
+
/** @description Successful Response */
|
|
3015
|
+
202: {
|
|
3016
|
+
headers: {
|
|
3017
|
+
[name: string]: unknown;
|
|
3018
|
+
};
|
|
3019
|
+
content: {
|
|
3020
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
3021
|
+
};
|
|
3022
|
+
};
|
|
3023
|
+
/** @description Bad Request */
|
|
3024
|
+
400: {
|
|
3025
|
+
headers: {
|
|
3026
|
+
[name: string]: unknown;
|
|
3027
|
+
};
|
|
3028
|
+
content: {
|
|
3029
|
+
/**
|
|
3030
|
+
* @example {
|
|
3031
|
+
* "status": "error",
|
|
3032
|
+
* "message": "An error occurred",
|
|
3033
|
+
* "message_code": "GENERIC_ERROR",
|
|
3034
|
+
* "metadata": {
|
|
3035
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
3036
|
+
* "requestId": "uuid",
|
|
3037
|
+
* "traceId": "uuid",
|
|
3038
|
+
* "version": "v1",
|
|
3039
|
+
* "executionTime": 0,
|
|
3040
|
+
* "language": "en-US",
|
|
3041
|
+
* "links": [
|
|
3042
|
+
* {
|
|
3043
|
+
* "rel": "self",
|
|
3044
|
+
* "href": "/v1/cart/items",
|
|
3045
|
+
* "method": "POST"
|
|
3046
|
+
* }
|
|
3047
|
+
* ]
|
|
3048
|
+
* },
|
|
3049
|
+
* "error": {
|
|
3050
|
+
* "type": "https://{your-domain}/errors/client-error",
|
|
3051
|
+
* "code": "GENERIC_ERROR",
|
|
3052
|
+
* "title": "Client Error",
|
|
3053
|
+
* "status": 400,
|
|
3054
|
+
* "detail": "An error occurred",
|
|
3055
|
+
* "instance": "/v1/cart/items",
|
|
3056
|
+
* "extensions": {
|
|
3057
|
+
* "message_code": "GENERIC_ERROR",
|
|
3058
|
+
* "invalid_params": []
|
|
3059
|
+
* }
|
|
3060
|
+
* }
|
|
3061
|
+
* }
|
|
3062
|
+
*/
|
|
3063
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
3064
|
+
};
|
|
3065
|
+
};
|
|
3066
|
+
/** @description Unprocessable Entity */
|
|
3067
|
+
422: {
|
|
3068
|
+
headers: {
|
|
3069
|
+
[name: string]: unknown;
|
|
3070
|
+
};
|
|
3071
|
+
content: {
|
|
3072
|
+
/**
|
|
3073
|
+
* @example {
|
|
3074
|
+
* "status": "error",
|
|
3075
|
+
* "message": "One or more input fields are invalid",
|
|
3076
|
+
* "message_code": "INVALID_INPUT",
|
|
3077
|
+
* "metadata": {
|
|
3078
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
3079
|
+
* "requestId": "uuid",
|
|
3080
|
+
* "traceId": "uuid",
|
|
3081
|
+
* "version": "v1",
|
|
3082
|
+
* "executionTime": 0,
|
|
3083
|
+
* "language": "en-US",
|
|
3084
|
+
* "links": [
|
|
3085
|
+
* {
|
|
3086
|
+
* "rel": "self",
|
|
3087
|
+
* "href": "/v1/cart/items",
|
|
3088
|
+
* "method": "POST"
|
|
3089
|
+
* }
|
|
3090
|
+
* ]
|
|
3091
|
+
* },
|
|
3092
|
+
* "error": {
|
|
3093
|
+
* "type": "https://{your-domain}/errors/invalid-input",
|
|
3094
|
+
* "code": "INVALID_INPUT",
|
|
3095
|
+
* "title": "Invalid Input",
|
|
3096
|
+
* "status": 422,
|
|
3097
|
+
* "detail": "One or more input fields are invalid",
|
|
3098
|
+
* "instance": "/v1/cart/items",
|
|
3099
|
+
* "extensions": {
|
|
3100
|
+
* "message_code": "INVALID_INPUT",
|
|
3101
|
+
* "invalid_params": [
|
|
3102
|
+
* {
|
|
3103
|
+
* "field": "items[0].quantity",
|
|
3104
|
+
* "error": "Input should be greater than or equal to 1"
|
|
3105
|
+
* }
|
|
3106
|
+
* ]
|
|
3107
|
+
* }
|
|
3108
|
+
* }
|
|
3109
|
+
* }
|
|
3110
|
+
*/
|
|
3111
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
3112
|
+
};
|
|
3113
|
+
};
|
|
3114
|
+
/** @description Too Many Requests */
|
|
3115
|
+
429: {
|
|
3116
|
+
headers: {
|
|
3117
|
+
[name: string]: unknown;
|
|
3118
|
+
};
|
|
3119
|
+
content: {
|
|
3120
|
+
/**
|
|
3121
|
+
* @example {
|
|
3122
|
+
* "status": "error",
|
|
3123
|
+
* "message": "Too many requests",
|
|
3124
|
+
* "message_code": "RATE_LIMIT_EXCEEDED",
|
|
3125
|
+
* "metadata": {
|
|
3126
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
3127
|
+
* "requestId": "uuid",
|
|
3128
|
+
* "traceId": "uuid",
|
|
3129
|
+
* "version": "v1",
|
|
3130
|
+
* "executionTime": 0,
|
|
3131
|
+
* "language": "en-US",
|
|
3132
|
+
* "links": [
|
|
3133
|
+
* {
|
|
3134
|
+
* "rel": "self",
|
|
3135
|
+
* "href": "/v1/cart/items",
|
|
3136
|
+
* "method": "POST"
|
|
3137
|
+
* }
|
|
3138
|
+
* ]
|
|
3139
|
+
* },
|
|
3140
|
+
* "error": {
|
|
3141
|
+
* "type": "https://{your-domain}/errors/rate-limit-exceeded",
|
|
3142
|
+
* "code": "RATE_LIMIT_EXCEEDED",
|
|
3143
|
+
* "title": "Rate Limit Exceeded",
|
|
3144
|
+
* "status": 429,
|
|
3145
|
+
* "detail": "Too many requests",
|
|
3146
|
+
* "instance": "/v1/cart/items",
|
|
3147
|
+
* "extensions": {
|
|
3148
|
+
* "message_code": "RATE_LIMIT_EXCEEDED",
|
|
3149
|
+
* "invalid_params": []
|
|
3150
|
+
* }
|
|
3151
|
+
* }
|
|
3152
|
+
* }
|
|
3153
|
+
*/
|
|
3154
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
3155
|
+
};
|
|
3156
|
+
};
|
|
3157
|
+
/** @description Internal Server Error */
|
|
3158
|
+
500: {
|
|
3159
|
+
headers: {
|
|
3160
|
+
[name: string]: unknown;
|
|
3161
|
+
};
|
|
3162
|
+
content: {
|
|
3163
|
+
/**
|
|
3164
|
+
* @example {
|
|
3165
|
+
* "status": "error",
|
|
3166
|
+
* "message": "An unexpected error occurred",
|
|
3167
|
+
* "message_code": "SERVER_ERROR",
|
|
3168
|
+
* "metadata": {
|
|
3169
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
3170
|
+
* "requestId": "uuid",
|
|
3171
|
+
* "traceId": "uuid",
|
|
3172
|
+
* "version": "v1",
|
|
3173
|
+
* "executionTime": 0,
|
|
3174
|
+
* "language": "en-US",
|
|
3175
|
+
* "links": [
|
|
3176
|
+
* {
|
|
3177
|
+
* "rel": "self",
|
|
3178
|
+
* "href": "/v1/cart/items",
|
|
3179
|
+
* "method": "POST"
|
|
3180
|
+
* }
|
|
3181
|
+
* ]
|
|
3182
|
+
* },
|
|
3183
|
+
* "error": {
|
|
3184
|
+
* "type": "https://{your-domain}/errors/server-error",
|
|
3185
|
+
* "code": "SERVER_ERROR",
|
|
3186
|
+
* "title": "Server Error",
|
|
3187
|
+
* "status": 500,
|
|
3188
|
+
* "detail": "An unexpected error occurred",
|
|
3189
|
+
* "instance": "/v1/cart/items",
|
|
3190
|
+
* "extensions": {
|
|
3191
|
+
* "message_code": "SERVER_ERROR",
|
|
3192
|
+
* "invalid_params": []
|
|
3193
|
+
* }
|
|
3194
|
+
* }
|
|
3195
|
+
* }
|
|
3196
|
+
*/
|
|
3197
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
3198
|
+
};
|
|
3199
|
+
};
|
|
3200
|
+
};
|
|
3201
|
+
};
|
|
3202
|
+
getBulkRegistrationJob: {
|
|
3203
|
+
parameters: {
|
|
3204
|
+
query?: never;
|
|
3205
|
+
header?: {
|
|
3206
|
+
authorization?: string | null;
|
|
3207
|
+
};
|
|
3208
|
+
path: {
|
|
3209
|
+
/** @description Job external ID (brrjob_xxx) */
|
|
3210
|
+
job_id: string;
|
|
3211
|
+
};
|
|
3212
|
+
cookie?: never;
|
|
3213
|
+
};
|
|
3214
|
+
requestBody?: never;
|
|
3215
|
+
responses: {
|
|
3216
|
+
/** @description Successful Response */
|
|
3217
|
+
200: {
|
|
3218
|
+
headers: {
|
|
3219
|
+
[name: string]: unknown;
|
|
3220
|
+
};
|
|
3221
|
+
content: {
|
|
3222
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
3223
|
+
};
|
|
3224
|
+
};
|
|
3225
|
+
/** @description Bad Request */
|
|
3226
|
+
400: {
|
|
3227
|
+
headers: {
|
|
3228
|
+
[name: string]: unknown;
|
|
3229
|
+
};
|
|
3230
|
+
content: {
|
|
3231
|
+
/**
|
|
3232
|
+
* @example {
|
|
3233
|
+
* "status": "error",
|
|
3234
|
+
* "message": "An error occurred",
|
|
3235
|
+
* "message_code": "GENERIC_ERROR",
|
|
3236
|
+
* "metadata": {
|
|
3237
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
3238
|
+
* "requestId": "uuid",
|
|
3239
|
+
* "traceId": "uuid",
|
|
3240
|
+
* "version": "v1",
|
|
3241
|
+
* "executionTime": 0,
|
|
3242
|
+
* "language": "en-US",
|
|
3243
|
+
* "links": [
|
|
3244
|
+
* {
|
|
3245
|
+
* "rel": "self",
|
|
3246
|
+
* "href": "/v1/cart/items",
|
|
3247
|
+
* "method": "POST"
|
|
3248
|
+
* }
|
|
3249
|
+
* ]
|
|
3250
|
+
* },
|
|
3251
|
+
* "error": {
|
|
3252
|
+
* "type": "https://{your-domain}/errors/client-error",
|
|
3253
|
+
* "code": "GENERIC_ERROR",
|
|
3254
|
+
* "title": "Client Error",
|
|
3255
|
+
* "status": 400,
|
|
3256
|
+
* "detail": "An error occurred",
|
|
3257
|
+
* "instance": "/v1/cart/items",
|
|
3258
|
+
* "extensions": {
|
|
3259
|
+
* "message_code": "GENERIC_ERROR",
|
|
3260
|
+
* "invalid_params": []
|
|
3261
|
+
* }
|
|
3262
|
+
* }
|
|
3263
|
+
* }
|
|
3264
|
+
*/
|
|
3265
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
3266
|
+
};
|
|
3267
|
+
};
|
|
3268
|
+
/** @description Unprocessable Entity */
|
|
3269
|
+
422: {
|
|
3270
|
+
headers: {
|
|
3271
|
+
[name: string]: unknown;
|
|
3272
|
+
};
|
|
3273
|
+
content: {
|
|
3274
|
+
/**
|
|
3275
|
+
* @example {
|
|
3276
|
+
* "status": "error",
|
|
3277
|
+
* "message": "One or more input fields are invalid",
|
|
3278
|
+
* "message_code": "INVALID_INPUT",
|
|
3279
|
+
* "metadata": {
|
|
3280
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
3281
|
+
* "requestId": "uuid",
|
|
3282
|
+
* "traceId": "uuid",
|
|
3283
|
+
* "version": "v1",
|
|
3284
|
+
* "executionTime": 0,
|
|
3285
|
+
* "language": "en-US",
|
|
3286
|
+
* "links": [
|
|
3287
|
+
* {
|
|
3288
|
+
* "rel": "self",
|
|
3289
|
+
* "href": "/v1/cart/items",
|
|
3290
|
+
* "method": "POST"
|
|
3291
|
+
* }
|
|
3292
|
+
* ]
|
|
3293
|
+
* },
|
|
3294
|
+
* "error": {
|
|
3295
|
+
* "type": "https://{your-domain}/errors/invalid-input",
|
|
3296
|
+
* "code": "INVALID_INPUT",
|
|
3297
|
+
* "title": "Invalid Input",
|
|
3298
|
+
* "status": 422,
|
|
3299
|
+
* "detail": "One or more input fields are invalid",
|
|
3300
|
+
* "instance": "/v1/cart/items",
|
|
3301
|
+
* "extensions": {
|
|
3302
|
+
* "message_code": "INVALID_INPUT",
|
|
3303
|
+
* "invalid_params": [
|
|
3304
|
+
* {
|
|
3305
|
+
* "field": "items[0].quantity",
|
|
3306
|
+
* "error": "Input should be greater than or equal to 1"
|
|
3307
|
+
* }
|
|
3308
|
+
* ]
|
|
3309
|
+
* }
|
|
3310
|
+
* }
|
|
3311
|
+
* }
|
|
3312
|
+
*/
|
|
3313
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
3314
|
+
};
|
|
3315
|
+
};
|
|
3316
|
+
/** @description Too Many Requests */
|
|
3317
|
+
429: {
|
|
3318
|
+
headers: {
|
|
3319
|
+
[name: string]: unknown;
|
|
3320
|
+
};
|
|
3321
|
+
content: {
|
|
3322
|
+
/**
|
|
3323
|
+
* @example {
|
|
3324
|
+
* "status": "error",
|
|
3325
|
+
* "message": "Too many requests",
|
|
3326
|
+
* "message_code": "RATE_LIMIT_EXCEEDED",
|
|
3327
|
+
* "metadata": {
|
|
3328
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
3329
|
+
* "requestId": "uuid",
|
|
3330
|
+
* "traceId": "uuid",
|
|
3331
|
+
* "version": "v1",
|
|
3332
|
+
* "executionTime": 0,
|
|
3333
|
+
* "language": "en-US",
|
|
3334
|
+
* "links": [
|
|
3335
|
+
* {
|
|
3336
|
+
* "rel": "self",
|
|
3337
|
+
* "href": "/v1/cart/items",
|
|
3338
|
+
* "method": "POST"
|
|
3339
|
+
* }
|
|
3340
|
+
* ]
|
|
3341
|
+
* },
|
|
3342
|
+
* "error": {
|
|
3343
|
+
* "type": "https://{your-domain}/errors/rate-limit-exceeded",
|
|
3344
|
+
* "code": "RATE_LIMIT_EXCEEDED",
|
|
3345
|
+
* "title": "Rate Limit Exceeded",
|
|
3346
|
+
* "status": 429,
|
|
3347
|
+
* "detail": "Too many requests",
|
|
3348
|
+
* "instance": "/v1/cart/items",
|
|
3349
|
+
* "extensions": {
|
|
3350
|
+
* "message_code": "RATE_LIMIT_EXCEEDED",
|
|
3351
|
+
* "invalid_params": []
|
|
3352
|
+
* }
|
|
3353
|
+
* }
|
|
3354
|
+
* }
|
|
3355
|
+
*/
|
|
3356
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
3357
|
+
};
|
|
3358
|
+
};
|
|
3359
|
+
/** @description Internal Server Error */
|
|
3360
|
+
500: {
|
|
3361
|
+
headers: {
|
|
3362
|
+
[name: string]: unknown;
|
|
3363
|
+
};
|
|
3364
|
+
content: {
|
|
3365
|
+
/**
|
|
3366
|
+
* @example {
|
|
3367
|
+
* "status": "error",
|
|
3368
|
+
* "message": "An unexpected error occurred",
|
|
3369
|
+
* "message_code": "SERVER_ERROR",
|
|
3370
|
+
* "metadata": {
|
|
3371
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
3372
|
+
* "requestId": "uuid",
|
|
3373
|
+
* "traceId": "uuid",
|
|
3374
|
+
* "version": "v1",
|
|
3375
|
+
* "executionTime": 0,
|
|
3376
|
+
* "language": "en-US",
|
|
3377
|
+
* "links": [
|
|
3378
|
+
* {
|
|
3379
|
+
* "rel": "self",
|
|
3380
|
+
* "href": "/v1/cart/items",
|
|
3381
|
+
* "method": "POST"
|
|
3382
|
+
* }
|
|
3383
|
+
* ]
|
|
3384
|
+
* },
|
|
3385
|
+
* "error": {
|
|
3386
|
+
* "type": "https://{your-domain}/errors/server-error",
|
|
3387
|
+
* "code": "SERVER_ERROR",
|
|
3388
|
+
* "title": "Server Error",
|
|
3389
|
+
* "status": 500,
|
|
3390
|
+
* "detail": "An unexpected error occurred",
|
|
3391
|
+
* "instance": "/v1/cart/items",
|
|
3392
|
+
* "extensions": {
|
|
3393
|
+
* "message_code": "SERVER_ERROR",
|
|
3394
|
+
* "invalid_params": []
|
|
3395
|
+
* }
|
|
3396
|
+
* }
|
|
3397
|
+
* }
|
|
3398
|
+
*/
|
|
3399
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
3400
|
+
};
|
|
3401
|
+
};
|
|
3402
|
+
};
|
|
3403
|
+
};
|
|
3404
|
+
listBulkRegistrationJobItems: {
|
|
3405
|
+
parameters: {
|
|
3406
|
+
query?: {
|
|
3407
|
+
/** @description Filter by row status */
|
|
3408
|
+
status?: string | null;
|
|
3409
|
+
/** @description Page number (1-based) */
|
|
3410
|
+
page?: number;
|
|
3411
|
+
/** @description Items per page (1–100, default 20) */
|
|
3412
|
+
limit?: number;
|
|
3413
|
+
};
|
|
3414
|
+
header?: {
|
|
3415
|
+
authorization?: string | null;
|
|
3416
|
+
};
|
|
3417
|
+
path: {
|
|
3418
|
+
/** @description Job external ID (brrjob_xxx) */
|
|
3419
|
+
job_id: string;
|
|
3420
|
+
};
|
|
3421
|
+
cookie?: never;
|
|
3422
|
+
};
|
|
3423
|
+
requestBody?: never;
|
|
3424
|
+
responses: {
|
|
3425
|
+
/** @description Successful Response */
|
|
3426
|
+
200: {
|
|
3427
|
+
headers: {
|
|
3428
|
+
[name: string]: unknown;
|
|
3429
|
+
};
|
|
3430
|
+
content: {
|
|
3431
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
3432
|
+
};
|
|
3433
|
+
};
|
|
3434
|
+
/** @description Bad Request */
|
|
3435
|
+
400: {
|
|
3436
|
+
headers: {
|
|
3437
|
+
[name: string]: unknown;
|
|
3438
|
+
};
|
|
3439
|
+
content: {
|
|
3440
|
+
/**
|
|
3441
|
+
* @example {
|
|
3442
|
+
* "status": "error",
|
|
3443
|
+
* "message": "An error occurred",
|
|
3444
|
+
* "message_code": "GENERIC_ERROR",
|
|
3445
|
+
* "metadata": {
|
|
3446
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
3447
|
+
* "requestId": "uuid",
|
|
3448
|
+
* "traceId": "uuid",
|
|
3449
|
+
* "version": "v1",
|
|
3450
|
+
* "executionTime": 0,
|
|
3451
|
+
* "language": "en-US",
|
|
3452
|
+
* "links": [
|
|
3453
|
+
* {
|
|
3454
|
+
* "rel": "self",
|
|
3455
|
+
* "href": "/v1/cart/items",
|
|
3456
|
+
* "method": "POST"
|
|
3457
|
+
* }
|
|
3458
|
+
* ]
|
|
3459
|
+
* },
|
|
3460
|
+
* "error": {
|
|
3461
|
+
* "type": "https://{your-domain}/errors/client-error",
|
|
3462
|
+
* "code": "GENERIC_ERROR",
|
|
3463
|
+
* "title": "Client Error",
|
|
3464
|
+
* "status": 400,
|
|
3465
|
+
* "detail": "An error occurred",
|
|
3466
|
+
* "instance": "/v1/cart/items",
|
|
3467
|
+
* "extensions": {
|
|
3468
|
+
* "message_code": "GENERIC_ERROR",
|
|
3469
|
+
* "invalid_params": []
|
|
3470
|
+
* }
|
|
3471
|
+
* }
|
|
3472
|
+
* }
|
|
3473
|
+
*/
|
|
3474
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
3475
|
+
};
|
|
3476
|
+
};
|
|
3477
|
+
/** @description Unprocessable Entity */
|
|
3478
|
+
422: {
|
|
3479
|
+
headers: {
|
|
3480
|
+
[name: string]: unknown;
|
|
3481
|
+
};
|
|
3482
|
+
content: {
|
|
3483
|
+
/**
|
|
3484
|
+
* @example {
|
|
3485
|
+
* "status": "error",
|
|
3486
|
+
* "message": "One or more input fields are invalid",
|
|
3487
|
+
* "message_code": "INVALID_INPUT",
|
|
3488
|
+
* "metadata": {
|
|
3489
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
3490
|
+
* "requestId": "uuid",
|
|
3491
|
+
* "traceId": "uuid",
|
|
3492
|
+
* "version": "v1",
|
|
3493
|
+
* "executionTime": 0,
|
|
3494
|
+
* "language": "en-US",
|
|
3495
|
+
* "links": [
|
|
3496
|
+
* {
|
|
3497
|
+
* "rel": "self",
|
|
3498
|
+
* "href": "/v1/cart/items",
|
|
3499
|
+
* "method": "POST"
|
|
3500
|
+
* }
|
|
3501
|
+
* ]
|
|
3502
|
+
* },
|
|
3503
|
+
* "error": {
|
|
3504
|
+
* "type": "https://{your-domain}/errors/invalid-input",
|
|
3505
|
+
* "code": "INVALID_INPUT",
|
|
3506
|
+
* "title": "Invalid Input",
|
|
3507
|
+
* "status": 422,
|
|
3508
|
+
* "detail": "One or more input fields are invalid",
|
|
3509
|
+
* "instance": "/v1/cart/items",
|
|
3510
|
+
* "extensions": {
|
|
3511
|
+
* "message_code": "INVALID_INPUT",
|
|
3512
|
+
* "invalid_params": [
|
|
3513
|
+
* {
|
|
3514
|
+
* "field": "items[0].quantity",
|
|
3515
|
+
* "error": "Input should be greater than or equal to 1"
|
|
3516
|
+
* }
|
|
3517
|
+
* ]
|
|
3518
|
+
* }
|
|
3519
|
+
* }
|
|
3520
|
+
* }
|
|
3521
|
+
*/
|
|
3522
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
3523
|
+
};
|
|
3524
|
+
};
|
|
3525
|
+
/** @description Too Many Requests */
|
|
3526
|
+
429: {
|
|
3527
|
+
headers: {
|
|
3528
|
+
[name: string]: unknown;
|
|
3529
|
+
};
|
|
3530
|
+
content: {
|
|
3531
|
+
/**
|
|
3532
|
+
* @example {
|
|
3533
|
+
* "status": "error",
|
|
3534
|
+
* "message": "Too many requests",
|
|
3535
|
+
* "message_code": "RATE_LIMIT_EXCEEDED",
|
|
3536
|
+
* "metadata": {
|
|
3537
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
3538
|
+
* "requestId": "uuid",
|
|
3539
|
+
* "traceId": "uuid",
|
|
3540
|
+
* "version": "v1",
|
|
3541
|
+
* "executionTime": 0,
|
|
3542
|
+
* "language": "en-US",
|
|
3543
|
+
* "links": [
|
|
3544
|
+
* {
|
|
3545
|
+
* "rel": "self",
|
|
3546
|
+
* "href": "/v1/cart/items",
|
|
3547
|
+
* "method": "POST"
|
|
3548
|
+
* }
|
|
3549
|
+
* ]
|
|
3550
|
+
* },
|
|
3551
|
+
* "error": {
|
|
3552
|
+
* "type": "https://{your-domain}/errors/rate-limit-exceeded",
|
|
3553
|
+
* "code": "RATE_LIMIT_EXCEEDED",
|
|
3554
|
+
* "title": "Rate Limit Exceeded",
|
|
3555
|
+
* "status": 429,
|
|
3556
|
+
* "detail": "Too many requests",
|
|
3557
|
+
* "instance": "/v1/cart/items",
|
|
3558
|
+
* "extensions": {
|
|
3559
|
+
* "message_code": "RATE_LIMIT_EXCEEDED",
|
|
3560
|
+
* "invalid_params": []
|
|
3561
|
+
* }
|
|
3562
|
+
* }
|
|
3563
|
+
* }
|
|
3564
|
+
*/
|
|
3565
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
3566
|
+
};
|
|
3567
|
+
};
|
|
3568
|
+
/** @description Internal Server Error */
|
|
3569
|
+
500: {
|
|
3570
|
+
headers: {
|
|
3571
|
+
[name: string]: unknown;
|
|
3572
|
+
};
|
|
3573
|
+
content: {
|
|
3574
|
+
/**
|
|
3575
|
+
* @example {
|
|
3576
|
+
* "status": "error",
|
|
3577
|
+
* "message": "An unexpected error occurred",
|
|
3578
|
+
* "message_code": "SERVER_ERROR",
|
|
3579
|
+
* "metadata": {
|
|
3580
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
3581
|
+
* "requestId": "uuid",
|
|
3582
|
+
* "traceId": "uuid",
|
|
3583
|
+
* "version": "v1",
|
|
3584
|
+
* "executionTime": 0,
|
|
3585
|
+
* "language": "en-US",
|
|
3586
|
+
* "links": [
|
|
3587
|
+
* {
|
|
3588
|
+
* "rel": "self",
|
|
3589
|
+
* "href": "/v1/cart/items",
|
|
3590
|
+
* "method": "POST"
|
|
3591
|
+
* }
|
|
3592
|
+
* ]
|
|
3593
|
+
* },
|
|
3594
|
+
* "error": {
|
|
3595
|
+
* "type": "https://{your-domain}/errors/server-error",
|
|
3596
|
+
* "code": "SERVER_ERROR",
|
|
3597
|
+
* "title": "Server Error",
|
|
3598
|
+
* "status": 500,
|
|
3599
|
+
* "detail": "An unexpected error occurred",
|
|
3600
|
+
* "instance": "/v1/cart/items",
|
|
3601
|
+
* "extensions": {
|
|
3602
|
+
* "message_code": "SERVER_ERROR",
|
|
3603
|
+
* "invalid_params": []
|
|
3604
|
+
* }
|
|
3605
|
+
* }
|
|
3606
|
+
* }
|
|
3607
|
+
*/
|
|
3608
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
3609
|
+
};
|
|
3610
|
+
};
|
|
3611
|
+
};
|
|
3612
|
+
};
|
|
3613
|
+
retryBulkRegistrationJob: {
|
|
3614
|
+
parameters: {
|
|
3615
|
+
query?: never;
|
|
3616
|
+
header?: {
|
|
3617
|
+
authorization?: string | null;
|
|
3618
|
+
};
|
|
3619
|
+
path: {
|
|
3620
|
+
/** @description Job external ID (brrjob_xxx) */
|
|
3621
|
+
job_id: string;
|
|
3622
|
+
};
|
|
3623
|
+
cookie?: never;
|
|
3624
|
+
};
|
|
3625
|
+
requestBody?: never;
|
|
3626
|
+
responses: {
|
|
3627
|
+
/** @description Successful Response */
|
|
3628
|
+
200: {
|
|
3629
|
+
headers: {
|
|
3630
|
+
[name: string]: unknown;
|
|
3631
|
+
};
|
|
3632
|
+
content: {
|
|
3633
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
3634
|
+
};
|
|
3635
|
+
};
|
|
3636
|
+
/** @description Bad Request */
|
|
3637
|
+
400: {
|
|
3638
|
+
headers: {
|
|
3639
|
+
[name: string]: unknown;
|
|
3640
|
+
};
|
|
3641
|
+
content: {
|
|
3642
|
+
/**
|
|
3643
|
+
* @example {
|
|
3644
|
+
* "status": "error",
|
|
3645
|
+
* "message": "An error occurred",
|
|
3646
|
+
* "message_code": "GENERIC_ERROR",
|
|
3647
|
+
* "metadata": {
|
|
3648
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
3649
|
+
* "requestId": "uuid",
|
|
3650
|
+
* "traceId": "uuid",
|
|
3651
|
+
* "version": "v1",
|
|
3652
|
+
* "executionTime": 0,
|
|
3653
|
+
* "language": "en-US",
|
|
3654
|
+
* "links": [
|
|
3655
|
+
* {
|
|
3656
|
+
* "rel": "self",
|
|
3657
|
+
* "href": "/v1/cart/items",
|
|
3658
|
+
* "method": "POST"
|
|
3659
|
+
* }
|
|
3660
|
+
* ]
|
|
3661
|
+
* },
|
|
3662
|
+
* "error": {
|
|
3663
|
+
* "type": "https://{your-domain}/errors/client-error",
|
|
3664
|
+
* "code": "GENERIC_ERROR",
|
|
3665
|
+
* "title": "Client Error",
|
|
3666
|
+
* "status": 400,
|
|
3667
|
+
* "detail": "An error occurred",
|
|
3668
|
+
* "instance": "/v1/cart/items",
|
|
3669
|
+
* "extensions": {
|
|
3670
|
+
* "message_code": "GENERIC_ERROR",
|
|
3671
|
+
* "invalid_params": []
|
|
3672
|
+
* }
|
|
3673
|
+
* }
|
|
3674
|
+
* }
|
|
3675
|
+
*/
|
|
3676
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
3677
|
+
};
|
|
3678
|
+
};
|
|
3679
|
+
/** @description Unprocessable Entity */
|
|
3680
|
+
422: {
|
|
3681
|
+
headers: {
|
|
3682
|
+
[name: string]: unknown;
|
|
3683
|
+
};
|
|
3684
|
+
content: {
|
|
3685
|
+
/**
|
|
3686
|
+
* @example {
|
|
3687
|
+
* "status": "error",
|
|
3688
|
+
* "message": "One or more input fields are invalid",
|
|
3689
|
+
* "message_code": "INVALID_INPUT",
|
|
3690
|
+
* "metadata": {
|
|
3691
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
3692
|
+
* "requestId": "uuid",
|
|
3693
|
+
* "traceId": "uuid",
|
|
3694
|
+
* "version": "v1",
|
|
3695
|
+
* "executionTime": 0,
|
|
3696
|
+
* "language": "en-US",
|
|
3697
|
+
* "links": [
|
|
3698
|
+
* {
|
|
3699
|
+
* "rel": "self",
|
|
3700
|
+
* "href": "/v1/cart/items",
|
|
3701
|
+
* "method": "POST"
|
|
3702
|
+
* }
|
|
3703
|
+
* ]
|
|
3704
|
+
* },
|
|
3705
|
+
* "error": {
|
|
3706
|
+
* "type": "https://{your-domain}/errors/invalid-input",
|
|
3707
|
+
* "code": "INVALID_INPUT",
|
|
3708
|
+
* "title": "Invalid Input",
|
|
3709
|
+
* "status": 422,
|
|
3710
|
+
* "detail": "One or more input fields are invalid",
|
|
3711
|
+
* "instance": "/v1/cart/items",
|
|
3712
|
+
* "extensions": {
|
|
3713
|
+
* "message_code": "INVALID_INPUT",
|
|
3714
|
+
* "invalid_params": [
|
|
3715
|
+
* {
|
|
3716
|
+
* "field": "items[0].quantity",
|
|
3717
|
+
* "error": "Input should be greater than or equal to 1"
|
|
3718
|
+
* }
|
|
3719
|
+
* ]
|
|
3720
|
+
* }
|
|
3721
|
+
* }
|
|
3722
|
+
* }
|
|
3723
|
+
*/
|
|
3724
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
3725
|
+
};
|
|
3726
|
+
};
|
|
3727
|
+
/** @description Too Many Requests */
|
|
3728
|
+
429: {
|
|
3729
|
+
headers: {
|
|
3730
|
+
[name: string]: unknown;
|
|
3731
|
+
};
|
|
3732
|
+
content: {
|
|
3733
|
+
/**
|
|
3734
|
+
* @example {
|
|
3735
|
+
* "status": "error",
|
|
3736
|
+
* "message": "Too many requests",
|
|
3737
|
+
* "message_code": "RATE_LIMIT_EXCEEDED",
|
|
3738
|
+
* "metadata": {
|
|
3739
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
3740
|
+
* "requestId": "uuid",
|
|
3741
|
+
* "traceId": "uuid",
|
|
3742
|
+
* "version": "v1",
|
|
3743
|
+
* "executionTime": 0,
|
|
3744
|
+
* "language": "en-US",
|
|
3745
|
+
* "links": [
|
|
3746
|
+
* {
|
|
3747
|
+
* "rel": "self",
|
|
3748
|
+
* "href": "/v1/cart/items",
|
|
3749
|
+
* "method": "POST"
|
|
3750
|
+
* }
|
|
3751
|
+
* ]
|
|
3752
|
+
* },
|
|
3753
|
+
* "error": {
|
|
3754
|
+
* "type": "https://{your-domain}/errors/rate-limit-exceeded",
|
|
3755
|
+
* "code": "RATE_LIMIT_EXCEEDED",
|
|
3756
|
+
* "title": "Rate Limit Exceeded",
|
|
3757
|
+
* "status": 429,
|
|
3758
|
+
* "detail": "Too many requests",
|
|
3759
|
+
* "instance": "/v1/cart/items",
|
|
3760
|
+
* "extensions": {
|
|
3761
|
+
* "message_code": "RATE_LIMIT_EXCEEDED",
|
|
3762
|
+
* "invalid_params": []
|
|
3763
|
+
* }
|
|
3764
|
+
* }
|
|
3765
|
+
* }
|
|
3766
|
+
*/
|
|
3767
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
3768
|
+
};
|
|
3769
|
+
};
|
|
3770
|
+
/** @description Internal Server Error */
|
|
3771
|
+
500: {
|
|
3772
|
+
headers: {
|
|
3773
|
+
[name: string]: unknown;
|
|
3774
|
+
};
|
|
3775
|
+
content: {
|
|
3776
|
+
/**
|
|
3777
|
+
* @example {
|
|
3778
|
+
* "status": "error",
|
|
3779
|
+
* "message": "An unexpected error occurred",
|
|
3780
|
+
* "message_code": "SERVER_ERROR",
|
|
3781
|
+
* "metadata": {
|
|
3782
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
3783
|
+
* "requestId": "uuid",
|
|
3784
|
+
* "traceId": "uuid",
|
|
3785
|
+
* "version": "v1",
|
|
3786
|
+
* "executionTime": 0,
|
|
3787
|
+
* "language": "en-US",
|
|
3788
|
+
* "links": [
|
|
3789
|
+
* {
|
|
3790
|
+
* "rel": "self",
|
|
3791
|
+
* "href": "/v1/cart/items",
|
|
3792
|
+
* "method": "POST"
|
|
3793
|
+
* }
|
|
3794
|
+
* ]
|
|
3795
|
+
* },
|
|
3796
|
+
* "error": {
|
|
3797
|
+
* "type": "https://{your-domain}/errors/server-error",
|
|
3798
|
+
* "code": "SERVER_ERROR",
|
|
3799
|
+
* "title": "Server Error",
|
|
3800
|
+
* "status": 500,
|
|
3801
|
+
* "detail": "An unexpected error occurred",
|
|
3802
|
+
* "instance": "/v1/cart/items",
|
|
3803
|
+
* "extensions": {
|
|
3804
|
+
* "message_code": "SERVER_ERROR",
|
|
3805
|
+
* "invalid_params": []
|
|
3806
|
+
* }
|
|
3807
|
+
* }
|
|
3808
|
+
* }
|
|
3809
|
+
*/
|
|
3810
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
3811
|
+
};
|
|
3812
|
+
};
|
|
3813
|
+
};
|
|
3814
|
+
};
|
|
3815
|
+
quickRegisterUser: {
|
|
3816
|
+
parameters: {
|
|
3817
|
+
query?: never;
|
|
3818
|
+
header?: {
|
|
3819
|
+
authorization?: string | null;
|
|
3820
|
+
};
|
|
3821
|
+
path?: never;
|
|
3822
|
+
cookie?: never;
|
|
3823
|
+
};
|
|
3824
|
+
requestBody: {
|
|
3825
|
+
content: {
|
|
3826
|
+
"application/json": components["schemas"]["QuickRegisterRequest"];
|
|
3827
|
+
};
|
|
3828
|
+
};
|
|
3829
|
+
responses: {
|
|
3830
|
+
/** @description Successful Response */
|
|
3831
|
+
201: {
|
|
3832
|
+
headers: {
|
|
3833
|
+
[name: string]: unknown;
|
|
3834
|
+
};
|
|
3835
|
+
content: {
|
|
3836
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
3837
|
+
};
|
|
3838
|
+
};
|
|
3839
|
+
/** @description Bad Request */
|
|
3840
|
+
400: {
|
|
3841
|
+
headers: {
|
|
3842
|
+
[name: string]: unknown;
|
|
3843
|
+
};
|
|
3844
|
+
content: {
|
|
3845
|
+
/**
|
|
3846
|
+
* @example {
|
|
3847
|
+
* "status": "error",
|
|
3848
|
+
* "message": "An error occurred",
|
|
3849
|
+
* "message_code": "GENERIC_ERROR",
|
|
3850
|
+
* "metadata": {
|
|
3851
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
3852
|
+
* "requestId": "uuid",
|
|
3853
|
+
* "traceId": "uuid",
|
|
3854
|
+
* "version": "v1",
|
|
3855
|
+
* "executionTime": 0,
|
|
3856
|
+
* "language": "en-US",
|
|
3857
|
+
* "links": [
|
|
3858
|
+
* {
|
|
3859
|
+
* "rel": "self",
|
|
3860
|
+
* "href": "/v1/cart/items",
|
|
3861
|
+
* "method": "POST"
|
|
3862
|
+
* }
|
|
3863
|
+
* ]
|
|
3864
|
+
* },
|
|
3865
|
+
* "error": {
|
|
3866
|
+
* "type": "https://{your-domain}/errors/client-error",
|
|
3867
|
+
* "code": "GENERIC_ERROR",
|
|
3868
|
+
* "title": "Client Error",
|
|
3869
|
+
* "status": 400,
|
|
3870
|
+
* "detail": "An error occurred",
|
|
3871
|
+
* "instance": "/v1/cart/items",
|
|
3872
|
+
* "extensions": {
|
|
3873
|
+
* "message_code": "GENERIC_ERROR",
|
|
3874
|
+
* "invalid_params": []
|
|
3875
|
+
* }
|
|
3876
|
+
* }
|
|
3877
|
+
* }
|
|
3878
|
+
*/
|
|
3879
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
3880
|
+
};
|
|
3881
|
+
};
|
|
3882
|
+
/** @description Unprocessable Entity */
|
|
3883
|
+
422: {
|
|
3884
|
+
headers: {
|
|
3885
|
+
[name: string]: unknown;
|
|
3886
|
+
};
|
|
3887
|
+
content: {
|
|
3888
|
+
/**
|
|
3889
|
+
* @example {
|
|
3890
|
+
* "status": "error",
|
|
3891
|
+
* "message": "One or more input fields are invalid",
|
|
3892
|
+
* "message_code": "INVALID_INPUT",
|
|
3893
|
+
* "metadata": {
|
|
3894
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
3895
|
+
* "requestId": "uuid",
|
|
3896
|
+
* "traceId": "uuid",
|
|
3897
|
+
* "version": "v1",
|
|
3898
|
+
* "executionTime": 0,
|
|
3899
|
+
* "language": "en-US",
|
|
3900
|
+
* "links": [
|
|
3901
|
+
* {
|
|
3902
|
+
* "rel": "self",
|
|
3903
|
+
* "href": "/v1/cart/items",
|
|
3904
|
+
* "method": "POST"
|
|
3905
|
+
* }
|
|
3906
|
+
* ]
|
|
3907
|
+
* },
|
|
3908
|
+
* "error": {
|
|
3909
|
+
* "type": "https://{your-domain}/errors/invalid-input",
|
|
3910
|
+
* "code": "INVALID_INPUT",
|
|
3911
|
+
* "title": "Invalid Input",
|
|
3912
|
+
* "status": 422,
|
|
3913
|
+
* "detail": "One or more input fields are invalid",
|
|
3914
|
+
* "instance": "/v1/cart/items",
|
|
3915
|
+
* "extensions": {
|
|
3916
|
+
* "message_code": "INVALID_INPUT",
|
|
3917
|
+
* "invalid_params": [
|
|
3918
|
+
* {
|
|
3919
|
+
* "field": "items[0].quantity",
|
|
3920
|
+
* "error": "Input should be greater than or equal to 1"
|
|
3921
|
+
* }
|
|
3922
|
+
* ]
|
|
3923
|
+
* }
|
|
3924
|
+
* }
|
|
3925
|
+
* }
|
|
3926
|
+
*/
|
|
3927
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
3928
|
+
};
|
|
3929
|
+
};
|
|
3930
|
+
/** @description Too Many Requests */
|
|
3931
|
+
429: {
|
|
3932
|
+
headers: {
|
|
3933
|
+
[name: string]: unknown;
|
|
3934
|
+
};
|
|
3935
|
+
content: {
|
|
3936
|
+
/**
|
|
3937
|
+
* @example {
|
|
3938
|
+
* "status": "error",
|
|
3939
|
+
* "message": "Too many requests",
|
|
3940
|
+
* "message_code": "RATE_LIMIT_EXCEEDED",
|
|
3941
|
+
* "metadata": {
|
|
3942
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
3943
|
+
* "requestId": "uuid",
|
|
3944
|
+
* "traceId": "uuid",
|
|
3945
|
+
* "version": "v1",
|
|
3946
|
+
* "executionTime": 0,
|
|
3947
|
+
* "language": "en-US",
|
|
3948
|
+
* "links": [
|
|
3949
|
+
* {
|
|
3950
|
+
* "rel": "self",
|
|
3951
|
+
* "href": "/v1/cart/items",
|
|
3952
|
+
* "method": "POST"
|
|
3953
|
+
* }
|
|
3954
|
+
* ]
|
|
3955
|
+
* },
|
|
3956
|
+
* "error": {
|
|
3957
|
+
* "type": "https://{your-domain}/errors/rate-limit-exceeded",
|
|
3958
|
+
* "code": "RATE_LIMIT_EXCEEDED",
|
|
3959
|
+
* "title": "Rate Limit Exceeded",
|
|
3960
|
+
* "status": 429,
|
|
3961
|
+
* "detail": "Too many requests",
|
|
3962
|
+
* "instance": "/v1/cart/items",
|
|
3963
|
+
* "extensions": {
|
|
3964
|
+
* "message_code": "RATE_LIMIT_EXCEEDED",
|
|
3965
|
+
* "invalid_params": []
|
|
3966
|
+
* }
|
|
3967
|
+
* }
|
|
3968
|
+
* }
|
|
3969
|
+
*/
|
|
3970
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
3971
|
+
};
|
|
3972
|
+
};
|
|
3973
|
+
/** @description Internal Server Error */
|
|
3974
|
+
500: {
|
|
3975
|
+
headers: {
|
|
3976
|
+
[name: string]: unknown;
|
|
3977
|
+
};
|
|
3978
|
+
content: {
|
|
3979
|
+
/**
|
|
3980
|
+
* @example {
|
|
3981
|
+
* "status": "error",
|
|
3982
|
+
* "message": "An unexpected error occurred",
|
|
3983
|
+
* "message_code": "SERVER_ERROR",
|
|
3984
|
+
* "metadata": {
|
|
3985
|
+
* "timestamp": "2025-08-05T18:38:57Z",
|
|
3986
|
+
* "requestId": "uuid",
|
|
3987
|
+
* "traceId": "uuid",
|
|
3988
|
+
* "version": "v1",
|
|
3989
|
+
* "executionTime": 0,
|
|
3990
|
+
* "language": "en-US",
|
|
3991
|
+
* "links": [
|
|
3992
|
+
* {
|
|
3993
|
+
* "rel": "self",
|
|
3994
|
+
* "href": "/v1/cart/items",
|
|
3995
|
+
* "method": "POST"
|
|
3996
|
+
* }
|
|
3997
|
+
* ]
|
|
3998
|
+
* },
|
|
3999
|
+
* "error": {
|
|
4000
|
+
* "type": "https://{your-domain}/errors/server-error",
|
|
4001
|
+
* "code": "SERVER_ERROR",
|
|
4002
|
+
* "title": "Server Error",
|
|
4003
|
+
* "status": 500,
|
|
4004
|
+
* "detail": "An unexpected error occurred",
|
|
4005
|
+
* "instance": "/v1/cart/items",
|
|
4006
|
+
* "extensions": {
|
|
4007
|
+
* "message_code": "SERVER_ERROR",
|
|
4008
|
+
* "invalid_params": []
|
|
4009
|
+
* }
|
|
4010
|
+
* }
|
|
4011
|
+
* }
|
|
4012
|
+
*/
|
|
4013
|
+
"application/json": components["schemas"]["StandardResponse"];
|
|
4014
|
+
};
|
|
4015
|
+
};
|
|
4016
|
+
};
|
|
4017
|
+
};
|
|
4018
|
+
}
|
|
4019
|
+
//# sourceMappingURL=generated.d.ts.map
|